Virtual Folders

Discuss issues related to PS3 Media Server development (only for programmers)

Re: Virtual Folders

Postby squadjot » Sun Jul 24, 2011 2:48 am

The json is valid - validate at http://jsonlint.com/

Did you put the above structure in a file called "vfolders.json" placed in the same dir as pms.exe?
And you are sure that the PMS.conf you are editing, are the actual file that PMS uses?

Whats your OS?
User avatar
squadjot
 
Posts: 243
Joined: Thu Mar 25, 2010 10:03 pm

Re: Virtual Folders

Postby timmyj » Sun Jul 24, 2011 5:48 am

squadjot wrote:The json is valid - validate at http://jsonlint.com/

Did you put the above structure in a file called "vfolders.json" placed in the same dir as pms.exe?
And you are sure that the PMS.conf you are editing, are the actual file that PMS uses?

Whats your OS?


I just had it next to PMS.conf in C:\ProgramData\PMS
The Media Server "Traces" says that it's using that .conf
My OS is Windows 7 x64 SP1
I tried moving vfolders.json to C:\Program Files(x86)\PS3 Media Server (beside PMS.exe) but it still makes no diff
timmyj
 
Posts: 5
Joined: Sun Nov 14, 2010 12:19 pm

Re: Virtual Folders

Postby chocolateboy » Sun Jul 24, 2011 1:11 pm

timmyj wrote:I just had it next to PMS.conf in C:\ProgramData\PMS


If that's the working directory listed near the top of the Traces tab/debug.log, then, yes, that should currently work. However, in the next major release (1.40), relative vfolder paths - i.e.

Code: Select all
vfolders = @vfolders.conf


- will be looked up in the profile directory along with the other configuration files. If in doubt, you should be able to use an absolute path.

https://code.google.com/p/ps3mediaserve ... il?id=1150
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: Virtual Folders

Postby timmyj » Mon Jul 25, 2011 2:31 am

ok thanks i've got it working now :)
timmyj
 
Posts: 5
Joined: Sun Nov 14, 2010 12:19 pm

Re: Virtual Folders

Postby hottif » Mon Aug 01, 2011 9:53 am

Hi there,

first of all I like to thank the developers of this enhancement for their great work. I was playing around with hardlinks/junctions/symbolic links some time to get that functionality but it did not work out well.

Now that I got my virtual folders configured I got 2 issues:

1. I got my movie covers in a separate folder and configured the folder in PMS

Code: Select all
alternate_thumb_folder = \\\\Datavault\\pms\\Cover


That works for normal folders and for subfolders of virtual folders but not for virtual folders themselves. Here is my virtual folder config:

Code: Select all
[
    {
        "name": "Video",
        "children": [
            {
                "name": "HD-Filme",
                "children": [
                    {
                        "name": "Action",
                        "files": [
                            "Q:\\Action",
                            "R:\\Action",
                            "S:\\Action",
                            "T:\\Action",
                            "U:\\Action"
                        ]
                    },
                    {
                        "name": "Animation",
                        "files": [
                            "Q:\\Animation",
                            "R:\\Animation",
                            "S:\\Animation",
                            "T:\\Animation",
                            "U:\\Animation"
                        ]
                    },
                    {
                        "name": "Comedy",
                        "files": [
                            "Q:\\Comedy",
                            "R:\\Comedy",
                            "S:\\Comedy",
                            "T:\\Comedy",
                            "U:\\Comedy",
                            "Q:\\Tragicomedy",
                            "R:\\Tragicomedy",
                            "S:\\Tragicomedy",
                            "T:\\Tragicomedy",
                            "U:\\Tragicomedy"
                        ]
                    },
                    {
                        "name": "Dokumentation",
                        "files": [
                            "Q:\\Dokumentation",
                            "R:\\Dokumentation",
                            "S:\\Dokumentation",
                            "T:\\Dokumentation",
                            "U:\\Dokumentation"
                        ]
                    },
                    {
                        "name": "Drama",
                        "files": [
                            "Q:\\Drama",
                            "R:\\Drama",
                            "S:\\Drama",
                            "T:\\Drama",
                            "U:\\Drama"
                        ]
                    },
                    {
                        "name": "Eastern & Western",
                        "files": [
                            "Q:\\Eastern",
                            "R:\\Eastern",
                            "S:\\Eastern",
                            "T:\\Eastern",
                            "U:\\Eastern",
                            "Q:\\Western",
                            "R:\\Western",
                            "S:\\Western",
                            "T:\\Western",
                            "U:\\Western"
                        ]
                    },
                    {
                        "name": "Fantasy & SciFi",
                        "files": [
                            "Q:\\Fantasy",
                            "R:\\Fantasy",
                            "S:\\Fantasy",
                            "T:\\Fantasy",
                            "U:\\Fantasy",
                            "Q:\\SciFi",
                            "R:\\SciFi",
                            "S:\\SciFi",
                            "T:\\SciFi",
                            "U:\\SciFi"
                        ]
                    },
                    {
                        "name": "Horror",
                        "files": [
                            "Q:\\Horror",
                            "R:\\Horror",
                            "S:\\Horror",
                            "T:\\Horror",
                            "U:\\Horror"
                        ]
                    },
                    {
                        "name": "Musical",
                        "files": [
                            "Q:\\Musical",
                            "R:\\Musical",
                            "S:\\Musical",
                            "T:\\Musical",
                            "U:\\Musical"
                        ]
                    },
                    {
                        "name": "Thriller & Krimi",
                        "files": [
                            "Q:\\Krimi",
                            "R:\\Krimi",
                            "S:\\Krimi",
                            "T:\\Krimi",
                            "U:\\Krimi",
                            "Q:\\Thriller",
                            "R:\\Thriller",
                            "S:\\Thriller",
                            "T:\\Thriller",
                            "U:\\Thriller"
                        ]
                    }
                ]
            },
            {
                "name": "SD-Filme",
                "files": [
                    "H:\\SD-Filme"
                ]
            },
            {
                "name": "Serien",
                "files": [
                    "F:\\"
                ]
            },
            {
                "name": "Dokumentationen",
                "files": [
                    "H: \\Dokus",
                    "G: \\Band-Dokus"
                ]
            },
            {
                "name": "Comedy",
                "files": [
                    "I: \\"
                ]
            },
            {
                "name": "TV",
                "files": [
                    "H:\\TV"
                ]
            },
            {
                "name": "Konzerte",
                "files": [
                    "G:\\Konzerte"
                ]
            },
            {
                "name": "Videoclips",
                "files": [
                    "G:\\Videoclips"
                ]
            },
            {
                "name": "Temp",
                "files": [
                    "D:\\"
                ]
            }
        ]
    }
]


As you can see I am merging 5 hard drives with identically named subfolders into virtual folders. When I enter for example the folder "Action" on my PS3 there are no cover thumbnails. If I enter a subfolder of "Action" like "[Place your favorite action movie name here]" the cover thumbnails are shown.

2. In my configuration above some virtual folders are named like "Fantasy & SciFi". Actually I'd like to have a virtual folder for every genre itself, but when I tried that the PS3 only showed me 10 virtual folders and left out the rest. Is there a limitation in numbers of virtual subfolders?

And one last question here as I have not found an solution in the forum yet: Is there a way to get rid of the normal folders. When I delete all folders in the navigation configuration all drives are shown as default and when I insert a dummy folder to disable sharing all drives the dummy is shown above the virtual folders.

Thanks in advance,
hottif
hottif
 
Posts: 2
Joined: Sun Jul 31, 2011 3:52 pm

Re: Virtual Folders

Postby squadjot » Mon Aug 01, 2011 10:16 am

Thumbnails not working is a know issue
Maybe vote for this: http://code.google.com/p/ps3mediaserver ... il?id=1107
User avatar
squadjot
 
Posts: 243
Joined: Thu Mar 25, 2010 10:03 pm

Previous

Return to Developers

Who is online

Users browsing this forum: No registered users and 1 guest