[Solved] How can I add media to be read by UMS [Solved]

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
szymok
Posts: 2
Joined: Mon Mar 30, 2020 10:48 am

[Solved] How can I add media to be read by UMS [Solved]

Post by szymok »

Hi everyone

I recently installed UMS in ubuntu server using this manual https://www.universalmediaserver.com/fo ... php?t=2761 and I have rather stupid question how can I add media to be read by UMS ?

I store all of my media in /dane/Wideo and /dane/Muzyka folders
So I edited the UMS.conf file in that way:

# ---< Shared folders >-------------------------------------------------------

# Shared folders
# --------------
# A comma-separated list of absolute path names.
# If empty, the default media folders on your computer will be chosen. That is:
# On macOS:
# - /user/Movies
# - /user/Music
# - /user/Pictures
# On Windows:
# - /user/Music
# - /user/Pictures
# - /user/Videos
# On Linux:
# - /user
# Default: ""
folders = /dane

# Monitor played status of files
# ------------------------------
# List of folders to be monitored for changes. Folders that aren't monitored
# won't register new media with the New Media folder.
# Default: ""
folders_monitored = /dane

But after restarting ums service it still doesn't read the content of /dane folder
Is there any user created in the system that needs permitions to read /dane folder like in emby media server ?

Please help
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: How can I add media to be read by UMS

Post by Nadahar »

I can't see anything obvious wrong, but make sure that you're editing the correct configuration file (the one being used). When it comes to permissions, the user under which you run UMS must have access - obviously. UMS doesn't create an account itself, this is entirely controlled by you.

You should check the log file to see what the problem is, it should say so if there are permission problems.
boss
Posts: 343
Joined: Thu Jun 30, 2016 1:07 pm

Re: How can I add media to be read by UMS

Post by boss »

If dane is a user directory, then should not the path be /home/dane
EG:
folders = /home/dane
folders_monitored = /home/dane

Because:
# Shared folders
# --------------
# A comma-separated list of absolute path names.
szymok
Posts: 2
Joined: Mon Mar 30, 2020 10:48 am

Re: How can I add media to be read by UMS

Post by szymok »

Thanks a lot for your help. Problem solved

Edited the file etc/init.d/ums that was created with this tut https://www.universalmediaserver.com/fo ... php?t=2761
and replaced UMS_PROFILE=/etc/ums with UMS_PROFILE=/usr/ums

:)
Post Reply