[Resolved] (virtually) Merge shared folders

If you have a suggestion for a feature, post it here
User avatar
MasterPhW
Posts: 16
Joined: Thu Mar 07, 2013 12:49 am

[Resolved] (virtually) Merge shared folders

Post by MasterPhW » Thu Mar 07, 2013 12:53 am

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!

ExSport
Posts: 596
Joined: Wed Oct 10, 2012 1:57 am

Re: (virtually) Merge shared folders

Post by ExSport » Thu Mar 07, 2013 5:48 am

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-)

User avatar
kuroukage
Posts: 304
Joined: Wed Dec 12, 2012 3:56 pm

Re: (virtually) Merge shared folders

Post by kuroukage » Thu Mar 07, 2013 5:46 pm

Thanks for the heads up, ExSport. I was going to suggest he use the XBMC plugin, but this is a better solution. :)
黒影
_______________________________________________|_._._._._._._._._._
\______________________________________________|_#_#_#_#_#_#_|
------------------------------------------------------------------|---------------------

User avatar
MasterPhW
Posts: 16
Joined: Thu Mar 07, 2013 12:49 am

Re: (virtually) Merge shared folders

Post by MasterPhW » Fri Mar 08, 2013 2:49 am

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:\\
?

ExSport
Posts: 596
Joined: Wed Oct 10, 2012 1:57 am

Re: (virtually) Merge shared folders

Post by ExSport » Fri Mar 08, 2013 5:12 am

You should divide it by ";" and not with "space":

Code: Select all

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

User avatar
kuroukage
Posts: 304
Joined: Wed Dec 12, 2012 3:56 pm

Re: (virtually) Merge shared folders

Post by kuroukage » Fri Mar 08, 2013 6:39 am

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.
黒影
_______________________________________________|_._._._._._._._._._
\______________________________________________|_#_#_#_#_#_#_|
------------------------------------------------------------------|---------------------

User avatar
MasterPhW
Posts: 16
Joined: Thu Mar 07, 2013 12:49 am

Re: (virtually) Merge shared folders

Post by MasterPhW » Fri Mar 08, 2013 6:53 am

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. ;)

User avatar
MasterPhW
Posts: 16
Joined: Thu Mar 07, 2013 12:49 am

Re: (virtually) Merge shared folders

Post by MasterPhW » Sat Mar 09, 2013 12:54 am

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.

ExSport
Posts: 596
Joined: Wed Oct 10, 2012 1:57 am

Re: (virtually) Merge shared folders

Post by ExSport » Sat Mar 09, 2013 2:35 am

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

User avatar
MasterPhW
Posts: 16
Joined: Thu Mar 07, 2013 12:49 am

Re: (virtually) Merge shared folders

Post by MasterPhW » Mon Mar 11, 2013 8:50 am

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.

Locked