[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 »

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: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: (virtually) Merge shared folders

Post 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-)
User avatar
kuroukage
Posts: 283
Joined: Wed Dec 12, 2012 3:56 pm

Re: (virtually) Merge shared folders

Post by kuroukage »

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 »

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: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: (virtually) Merge shared folders

Post by ExSport »

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: 283
Joined: Wed Dec 12, 2012 3:56 pm

Re: (virtually) Merge shared folders

Post 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.
黒影
_______________________________________________|_._._._._._._._._._
\______________________________________________|_#_#_#_#_#_#_|
------------------------------------------------------------------|---------------------
User avatar
MasterPhW
Posts: 16
Joined: Thu Mar 07, 2013 12:49 am

Re: (virtually) Merge shared folders

Post 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. ;)
User avatar
MasterPhW
Posts: 16
Joined: Thu Mar 07, 2013 12:49 am

Re: (virtually) Merge shared folders

Post 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.
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: (virtually) Merge shared folders

Post 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
User avatar
MasterPhW
Posts: 16
Joined: Thu Mar 07, 2013 12:49 am

Re: (virtually) Merge shared folders

Post 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.
Locked