Hi,
For the pleXBMC plugin I’m trying to use the media flags from PMS - seeing as XBMC doesn’t implement these for addons and the PMS data makes it easy to request…
Or at least it should do.
I’m trying http://localhost:32400/system/bundle/media/flags/audioCodec/aac and it doesn;t seem to like it. I get a bit more success if I telnet into port 32400 and issue the request myself, but it’s really hit and miss…
Is there a limitation to how media flags can be requested? Is the time flag required?
No one know? I might just stick to statics then to save http request lags, not sure I can load these up in the background.
I having a hard time understanding what you are attempting to do. You can go into the specific section like… localhost:32400/library/sections/1/all and get the media information for each file. Are you trying to get the specific image associated with a media flag? If that the case then that can’t be requested through the api, it’s skin specific.
Yeah, I’m trying to retrieve the flag images that correspond to “Blu-Ray”, “5.1”, “720p”, “1080p”, and studio icons.
I can see how these are requested, where they are stored within the Plex.app/Plex media Server.app bundles, but for some reason I get errors when I try to request them manually. I could just rip them all out, package them up with the skin and use them locally - but using the URL is slight more future proofed…
Hey hippojay, tried adding ?t=0 to my url and got images back......not 100% sure what the ?t=xxxx is for
Cheers - The t value is the UNIX time. Not entirely sure why it’s appended, but I guess it was to allow some requests to be rejected based on age? (perhaps in conjunction with authentication…)
I’d tried t=0 hat, but on subsequent tries it came back with an internal error. I might give it another go though as perhaps it was my over worked server…
Thanks for validating that it does work…
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.