Page 1 of 2

[Resolved] (virtually) Merge shared folders

Posted: Thu Mar 07, 2013 12:53 am
by MasterPhW
I like to keep my stuff sorted, that means I have multiple HDDs with series and with movies, alphabetical sorted (lika HDD1 A-F...).
I would love an option to virtually merge multiple shared folders to one main folder, like Movies (checks HDD1, HDD2 & HDD3) and Series (only loads HDD4 up to 6), so my collection would still be sorted, but I could check all files and folders with one search.
Would it be possible?
Hoping for a response.


PS: Thanks for all the hard work you put into UMS!

Re: (virtually) Merge shared folders

Posted: Thu Mar 07, 2013 5:48 am
by ExSport
If you are on WIndows add in UMS.conf similar line:

Code: Select all

virtual_folders=HDMovies|E:\\HDMOVIESA-H,F:\\HDMOVIESI-Q,G:\\HDMOVIESR-Z
Works also for other platforms but with another syntax for defining paths which I don't know. 8-)

Re: (virtually) Merge shared folders

Posted: Thu Mar 07, 2013 5:46 pm
by kuroukage
Thanks for the heads up, ExSport. I was going to suggest he use the XBMC plugin, but this is a better solution. :)

Re: (virtually) Merge shared folders

Posted: Fri Mar 08, 2013 2:49 am
by MasterPhW
I'm on Windows, but I didn't found the setting in the UMS.conf, so I have to ask, how I can set it up.
My Movies are found in the folders U:\,V:\ and W:\ and my series in X:\,Y:\ and Z:\.
Would that mean

Code: Select all

virtual_folders=Movies|U:\\,V:\\,W:\\ Series|X:\\,Y:\\,Z:\\
?

Re: (virtually) Merge shared folders

Posted: Fri Mar 08, 2013 5:12 am
by ExSport
You should divide it by ";" and not with "space":

Code: Select all

virtual_folders=Movies|U:\\,V:\\,W:\\;Series|X:\\,Y:\\,Z:\\

Re: (virtually) Merge shared folders

Posted: Fri Mar 08, 2013 6:39 am
by kuroukage
Would it be possible to add this to the Navigation/Share Settings tab instead of it only being hidden in the UMS.conf file? I think this is a useful feature and could be made easier to use that way.

Re: (virtually) Merge shared folders

Posted: Fri Mar 08, 2013 6:53 am
by MasterPhW
ExSport wrote:You should divide it by ";" and not with "space":

Code: Select all

virtual_folders=Movies|U:\\,V:\\,W:\\;Series|X:\\,Y:\\,Z:\\
Thanks for the fast response, will try it tomorrow and report back than.
kuroukage wrote:Would it be possible to add this to the Navigation/Share Settings tab instead of it only being hidden in the UMS.conf file? I think this is a useful feature and could be made easier to use that way.
I second that. It's a great feature I wasn't aware till ExSports post. It isn't even described in the UMS.conf at all. ;)

Re: (virtually) Merge shared folders

Posted: Sat Mar 09, 2013 12:54 am
by MasterPhW
I tried the virtual folder entrie in the UMS.conf but it still shows me all the different folders. I also tried removing the folders entrie, but didn't worked either.
I aldded the virtual folders at

Code: Select all

 # ---< Shared folders >-------------------------------------------------------
# Media Locations
but that shouldn't matter at all afaik.

Re: (virtually) Merge shared folders

Posted: Sat Mar 09, 2013 2:35 am
by ExSport
Virtual folders are not manageable via GUI so if you set your shares via Virtual folders, don't define same folders in UMS GUI via classic sharing.
After UMS restart you should see both shares, virtual ones and also ones defined in GUI directly (so remove virtual ones from GUI to avoid their coexistence)
It works for me on Windows so it must work to others when configured correctly. Be aware that on WIN you have to double "\\" instead of simple "\" so you should define path like:

Code: Select all

D:\\Movies\\HD\\2012

Re: (virtually) Merge shared folders

Posted: Mon Mar 11, 2013 8:50 am
by MasterPhW
If I remove the folders added with the GUI in classic sharing with a #, all folders are searchable via PS3, instead of the virtual folders added to the UMS.conf.
Here's my ums.conf, probably you can see the error.