Find Streaming URL from plex for third party player

other-dev

#1

Hi. So I have been playing with the unofficial plex API. I have managed to login, find servers and content on them servers but I can't figure out how to stream this content to a player for example a browser video player or mobile device player.

Can someone point me in the right direction to be able to stream video content from plex in third party video player.

Thank you.


#2

I concur with this question. I've been working on a HTPC software and I've implemented most end-points, but I'm struggling to find the correct URL to stream from (aside from accessing the video directly using the MediaContainer>Video>Media>Part>key value.) It seems when sending timeline updates, too, this doesn't seem to update the "last viewed" offset of the media.


#3

So I found this thread and tried using a url like this:
http://192.168.0.20:32400/video/:/transcode/universal/start.m3u8?maxVideoBitrate=720&videoQuality=10&X-Plex-Platform=pana&session=1234&protocol=hls&videoResolution=576x320&X-Plex-Device-Name=pana&X-Plex-Model=pana&directPlay=1&fastSeek=0&X-Plex-Device=pana&subtitleSize=0&X-Plex-Platform-Version=pana&X-Plex-Product=pana&X-Plex-Client-Platform=pana&X-Plex-Username=safinn&path=http%3A%2F%2F192.168.0.20%3A32400%2Flibrary%2Fmetadata%2F1&directStream=1&X-Plex-Token=4h...&audioBoost=1&X-Plex-Client-Identifier=pana&X-Plex-Version=2.6
Not sure if my Path attribute is ok but I get bad request 400 response. Any ideas what the issue is?