Php client for Plex Media Server




Hi Nado,

So basically Plex_Over needs an update so that it can connect to the new PMS using MyPlex tokens (It was originally designed to connect to Plex 8 when the client and server were one piece of software). Specifically, Plex_Over cannot properly transcode between PMS and your browser when outside your intranet.

Fun Fact: Currently, from outside my network, I can download the files by clicking the download link in Plex_Over. However, nobody can seem to stream/transcode any movies or thumbnails through the browser. This is what really leads me to think just how close we are to getting this thing to work. :)

Also, Plex_Over only works in Safari for the most part. Would be great if we could get this thing transcoding into Flash video or maybe even HTML5 so that today's browsers could thrive.

The entire thread should walk you through the issue, but if you want to get to the "good stuff", head to page 5.

Work your magic Nado!

- Brad


I am looking into upgrading this to use myplex and the new flash transcoder. Can you point me to the documentation on both of these? I can't seem to find them.

Look in this thread for Eclipse2k's git. It worked with the flash transcoder for me. As far as myplex, we are still having trouble with that. Eclipse's build is close but has a problem with the token it passes to the pms.


I'll have to look into the Flash transcoder again, does this transcoder allow Plex_Over working in Chrome, Firefox?. I vaguely remember my test results.

Glad this browser-based client is picking up steam.


Yes it does, but only on a local network. Once you try to access it remotely, the plex token issue comes up and you get no video or thumbs.

Wow i just noticed this topic and very interested in giving this a go.



It seems development has slowed down a little in the past couple of weeks or is everyone on vacation? lol

Hi guys, just a few updates about this project…



I’m currently working on a new version of Plex Over, from scratch.

Images, audio and video (through m3u8 format right now) are streamed from Plex over. There is no direct requests from the client (ie your browser) to PMS.

This means you can stream your medias from anywhere, bypassing PMS remote connexion security. Of course, you’ll need to be authenticated on Plex over in order to view and stream you medias.

This also mean Plex over has to be installed on the same machine, or on your local network.



The Ui is heavily based on Twitter Bootstrap, and the server side script on FuelPHP framework.

The main issue is to find an “universal” video player, which can deal with subtitles, m3u8 format and flash streaming. Actually, videojs is a good enought for Html subtitles and m3u8, but flash streaming doesn’t works.



If you can help with flash, please PM me, i’ll already have a “working copy” for testing those things.

I’ll try to publish sources as soon as possible, but right now, it’s too early.



Cheers.

Why not focus on HTML 5 video support and trans-coding to WebM or MP4 based on the browser detected? The mobile browsers are getting rather consistent and even IE on the Xbox 360 should support the video tag when released. Adobe has killed off Flash for all mobile moving forward, leaving you with the rare locked down PC or VERY out of date system where loading an HTML 5 compatible browser is not an option.



Because there is no official support for html5 video and http live streaming outside Safari and some others clients. [See there](http://www.longtailvideo.com/html5#adaptive_streaming)
I'm currently looking at the DASH and MediaSource APi for Chrome, which is cross-platform. Further reading here:

[http://www-itec.uni-klu.ac.at/dash/?page_id=746](http://www-itec.uni-klu.ac.at/dash/?page_id=746) Chrome support
[http://www-itec.uni-klu.ac.at/dash/?p=833](http://www-itec.uni-klu.ac.at/dash/?p=833) Firefox support
[http://stackoverflow.com/questions/9316859/mediasource-api-and-mp4](http://stackoverflow.com/questions/9316859/mediasource-api-and-mp4)

Combining m3u8 and Dash support will be enough to skip flash support, but it seem's quite difficult to implement.
ffmpeg segments generation should be made outside from the plex transcode api.

Hi Sonotone,



can I begin by saying thankyou for plex-over, I am looking at using plex-over as more of an external view of Plex with ability to download whatever is wanted locally



so I would like to know firstly, how can I remove the sidebar so I can have the content area full width? sorry if fairly simple, but I dont know code ignitor so not sure how the framework creates the sidebar, I have hidden the sideba div but this just leaves the grey panel in the background.



secondly, downloading, in a TV Episode there is a direct download button showing the size which is great, in Movies there is a download button which then drops down to show parts, if the movie is a single part can the button be a direct one the same as TV Episodes?



thirdly, any plans to add download buttons in the music section? individual files and also maybe an album download button?



thanks again, and cant wait to try the new versions :lol:



Hi MARKYB0Y,

I've completely dropped support for the first version of plex over, but you'll be able to download tracks, videos and images.
I'll improve buttons for movie's downloads, thanks for the suggestion.


so is there a different version I should be using now?
if so from where?
if not yet then when? (days, weeks, months)


It's not published right now. I hope to publish something on Github before the end of August.

Cheers

Looking forward for your update too :slight_smile:

Thanks for all you work.

Hi Sonotone,



I tried your update, great work ! The display is nice and so the code is.

I believe your project still have interest even if the Plex team works on an embedded web client. I feel more confident with your application, and I have hope to make myPlex authentication as an option to replace it with basic Apache authentication (outsourcing the authentication system to MyPlex server is just a security aberration…).



I have some issues on video playing (video never start) that I have to investigate this evening.

By the way, it would be nice to not include external resources (http://vjs.zencdn.net/c/video-js.css / http://vjs.zencdn.net/c/video.js for example) but to embed them with your application.



Hi MaximeC,

Thanks for the feedback.
I've decided to use MyPlex authentication to use some features of the service later. But as i said in read me, i'll implements a local authentication driver if you don't want to use MyPlex driver.
Video playng is only supported by Safari on OSx / iOS ATM. I have to get the flash transcoding to work with a web flash video player. But as the PMS transcode API is not really documented or i can't find it!), it's not that easy.

Try use Github issues once you've tested further video playing, if something goes wrong.

Thank you for your answer.

Yes I saw the local authentication driver on your roadmap, is why I am more confident with your application :slight_smile:

For the flash transcoding, I never developed on Plex, but you should take a look on PleXBMC plugin source code (Plex plugin for XBMC), which seems to transcode m3u8 and flv : https://github.com/hippojay/plugin.video.plexbmc

default.py file, function ‘transcode’, line 2182



I don’t know if it is helpful…

Great Update!



local authentication would be great to so a +1 from me :), how about multiple local logins? maybe some form of control over what each login could see? (not desperate but would be nice)



photo sections do not display albums, just all photos in a big list, any chance of album support?



previously you said you would be able to download whole album, i dont see this option? I see each track with a download button, but a single button to download all album tracks would be great



keep up the awesome work :slight_smile:

Quick and dirty trick to avoid MyPlex authentication for those like me who realy dislike MyPlex :

  • create a stupid stub login controller, named ‘NoLogin’ here, which always see the visitor as authenticated (see attached file) on /app/classes/auth/login/
  • activate it on your configuration (file /app/config/auth.php, replace the driver ‘MyPlex’ with ‘NoLogin’
  • add Apache Basic Authentication which can be easily extended if required (PAM authentication, …)



    It should exist a better way to do it with the framework, but that was quick to do at least :slight_smile:

@MaximeC



Check the app on Github, i’ve quickly implemented a config based user authentication.



@MARKYB0Y

For now, i’ll wait when the offical web client will be out, and check if my project should be maintained.

I discovered the incoming web client like you, on the Elan’s blog…