Page 1 of 1

Re: Merge Subfolders within Virtual Folders

Posted: Thu Apr 07, 2022 4:36 pm
by mik_s
Just tested it out using the virtualfolders.conf but the sub directories are not merged too. Best way I can see round this is to set up virtual folders for each of the resolutions.


You need to set up a VirtualFolders.conf in C:\ProgramData\UMS and edit UMS.conf to set

Code: Select all

virtual_folders_file = VirtualFolders.conf
Set up your VirtualFolders.conf like this, note the double slashes (\\) instead of singles.

Code: Select all

[
	{
		"name":"Movies 480p",
		"addToMediaLibrary":"true",
		"files":"C:\\Movies\480p","D:\\Movies\\480p","E:\\Movies\\480p"]
	},
	{
		"name":"Movies 720p",
		"addToMediaLibrary":"true",
		"files":["C:\\Movies\720p","D:\\Movies\\720p","E:\\Movies\\720p"]
	},
	{
		"name":"Movies 1080p",
		"addToMediaLibrary":"true",
		"files":"C:\\Movies\1080p","D:\\Movies\\1080p","E:\\Movies\\1080p"]
	}

]
so it will appear like

Code: Select all

Movies 480p
Movies 720p
Movies 1080p
I know it is not quite what you want but is close enough. Maybe you can make a request to add that feature on GitHub by opening an issue.
I'm no coder either but it should be easy enough to merge subfolders if they are named the same. If the code handling virtual folders has not changed then that solution posted in the other topic could be added.

Re: Merge Subfolders within Virtual Folders

Posted: Tue Jun 14, 2022 11:03 am
by notesmedia
thank you for this, been trying to do it too lol

Re: Merge Subfolders within Virtual Folders

Posted: Mon Feb 05, 2024 12:59 pm
by hfert34
notesmedia wrote: ↑Tue Jun 14, 2022 11:03 am thank you for this, been trying to do it too lol
Any success on making this work?

Re: Merge Subfolders within Virtual Folders

Posted: Mon Feb 05, 2024 2:23 pm
by mik_s
Should be easier to do in "shared content" in web settings now.