I’m not understanding VirtualFolders.conf [soled]

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
F1Fish
Posts: 15
Joined: Fri Nov 27, 2015 6:15 am

I’m not understanding VirtualFolders.conf [soled]

Post by F1Fish »

I’m running Ubuntu 15 in headless mode. Running UMS-6.2.2-Java7
I’m not understanding VirtualFolders.conf. Does this feature not work under linux or is it a bug of this version of UMS?
This statement works as
virtual_folders = Cinema|/home/Video,/home/Cinema

But when I put in the config file for testing. It falls
virtual_folders_file =/etc/ums/VirtualFolders.conf
[
{
"name":"Cinema",
"files":[
"/home/Video",
"/home/Cinema"
]
}
]
Thank you for your help
Last edited by F1Fish on Wed Jun 29, 2016 7:34 am, edited 1 time in total.
User avatar
squadjot
Moderator
Posts: 652
Joined: Fri Jun 01, 2012 4:24 am

Re: I’m not understanding VirtualFolders.conf

Post by squadjot »

Your setup seems correct, does the logfile say anything about UMS not being able to find or read /etc/ums/VirtualFolders.conf
F1Fish
Posts: 15
Joined: Fri Nov 27, 2015 6:15 am

Re: I’m not understanding VirtualFolders.conf

Post by F1Fish »

here is what is in ther log

Code: Select all

INFO  2016-06-28 13:38:17.550 [main] Graphics environment not available or headless mode is forced
INFO  2016-06-28 13:38:17.550 [main] Switching to console mode
DEBUG 2016-06-28 13:38:17.578 [main] Checking dbgpack property in UMS.conf
DEBUG 2016-06-28 13:38:17.587 [main] Reading virtual_folders_file: "/etc/ums/VirtualFolders.conf" (default: "")
DEBUG 2016-06-28 13:38:17.587 [main] adding /etc/ums/etc/ums/VirtualFolders.conf
DEBUG 2016-06-28 13:38:17.587 [main] adding /etc/ums/WEB.conf
DEBUG 2016-06-28 13:38:17.587 [main] adding /etc/ums/UMS.conf
F1Fish
Posts: 15
Joined: Fri Nov 27, 2015 6:15 am

Re: I’m not understanding VirtualFolders.conf

Post by F1Fish »

Fixed

virtual_folders_file =file name

Code: Select all

virtual_folders_file =VirtualFolders.conf
Not the full path to file.

Code: Select all

virtual_folders_file =/etc/ums/VirtualFolders.conf
Post Reply