Hello all,
I’m commenting on a thread here: http://forums.plexapp.com/index.php/topic/54703-panasonic-vt30-and-avi-files-size-attribute-required/
Summary:
I’m running PLEX on Mac OS X 10.8.2, I have an LG BP620 Blu-Ray player which supports DLNA, and it’s been playing media when using Nero Home Media Essentials (bundled package with the player) and Serviio, but it won’t play files served from PLEX, this seems to be because PLEX isn’t sending the “size” attribute (see aforementioned thread for what is sent by PLEX, Serviio and minidlna)
I’m grabbing the source from github as I want to try and dig around and figure out if a mere mortal like myself could add in that size variable, compile and get PLEX working for me. Pretty doubtful I will, but hey, worth a try!
So, the reason for the post is: Where in the source - I’ll be using Xcode - would I look to find where this block of data is generated and where I’d add the size variable?
Grabbed source, did a quick search for “<res” and found an entry in PltMediaItem.cpp. The items under // resource seem to be what is making up the information that seems to miss out the size item, however, size is indeed mentioned and listed there.
There is an if statement surrounding the size element (not sure if I’m allowed to post snippets of the code here or not), and I’m wondering if it is this that is, for some reason, causing the size attribute to be removed from the item.
Well, I’ve had zero luck in compiling Plex (Mac OS X 10.8.2 - Xcode 4.5.2), anyone care to help?
After investigation on my side, I have found that on the soap browse request, the "filter" element defines what should be returned by the server:
<?xml version="1.0" encoding="utf-8" standalone="yes"?> 57c8e18eb5956cd5c98f BrowseDirectChildren res,res@size,res@duration 0 2
the filter res@size is requested but never returned, even if you don't specify any filter (it should then return all meta data available)
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.