Page 1 of 1

Absolute Path to Media Files

Posted: Sat Dec 28, 2013 7:42 am
by CinemarDave
I'm building a media controller app and I was wondering if there was some setting in UMS that would expose the full path to the media files when browsing the folders via a DLNA client? Why? Knowing the full path to the file will help immensely when browsing DVD video_ts folders that are showing up as "[DVD ISO]Video_TS folders. There's a lot of other reasons this will be useful for too. Is it possible?

Re: Absolute Path to Media Files

Posted: Sat Dec 28, 2013 12:01 pm
by DeFlanko
I believe its dependant on your shared folders and how deep your folders are..

and i think its something like:

http://<ip of server>:<port>/get/$1/$1/...etc.../<file>.<Extension>

so like for example http://172.10.1.9:5001/get/$1/$1/Avatar.mp4 -- i think... Subjunk would know.

Re: Absolute Path to Media Files

Posted: Sat Dec 28, 2013 12:06 pm
by CinemarDave
That's a logical path to the file from the UMS server's point of view but not the absolute path. Ideally I'm looking for a parameter like

<dc:file>\\NASBox\Movies\Transformers\Video_TS\Video_TS.ifo</dc:file>

or the equivalent. For non-DVD files it is okay to just use the logical name because it contains enough information to find the real media file. It's the DVDs that cause the heart ache.

Re: Absolute Path to Media Files

Posted: Sat Dec 28, 2013 12:16 pm
by DeFlanko
I think thats how UMS works is in logical paths.

Re: Absolute Path to Media Files

Posted: Sat Dec 28, 2013 12:19 pm
by CinemarDave
Yes, that is correct. And everything about the server works fine and as expected. I just also need the real path to the file for my application and it does not look like it is possible to obtain via a UPNP Browse. None of the DLNA servers I've tested provide this info so it probably means it is not part of the DLNA specs.

Re: Absolute Path to Media Files

Posted: Sat Dec 28, 2013 12:33 pm
by DeFlanko
Correct. I dont think it is either... otherwise change your \\NASBox\... to \\172.10.1.9\.. or IP of the NASBox...