Absolute Path to Media Files

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
CinemarDave
Posts: 3
Joined: Sat Dec 28, 2013 7:38 am

Absolute Path to Media Files

Post 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?
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: Absolute Path to Media Files

Post 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.
CinemarDave
Posts: 3
Joined: Sat Dec 28, 2013 7:38 am

Re: Absolute Path to Media Files

Post 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.
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: Absolute Path to Media Files

Post by DeFlanko »

I think thats how UMS works is in logical paths.
CinemarDave
Posts: 3
Joined: Sat Dec 28, 2013 7:38 am

Re: Absolute Path to Media Files

Post 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.
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: Absolute Path to Media Files

Post by DeFlanko »

Correct. I dont think it is either... otherwise change your \\NASBox\... to \\172.10.1.9\.. or IP of the NASBox...
Post Reply