There is a simple reason for this, the plex_url value is what is embedded in the HTML source as the "src" for images and since you are trying to access a resource that is private to your network (setting 2 above) your browser will get errors that it cannot find the resource or server since 192.168.x.x will not resolve outside of the private network. Hence why it needs to be an externally available/routeable address.
Hmm… does not explain why img files are not loaded when I’m away from home with the external ip set and router is set up so I can use PMS remotely from my android phone. I can still watch and download files, so that part works. Why can’t images be loaded remotely.
/Mark
Update just saw your other post. Will wait for code update.
Just posting to let you know I’ve not disappeared, just been very busy! I will let you know when there is more to play with!!
Thanks Eclipse. Just to throw some options out there; I'd be happy to do a Google Hangout to discuss the technical hurdles here. I'd love to lend a hand in development. Let me know if you're interested.
Cheers man!
- Brad
Anyone know why I get the below error when running under xampp in windows. I am running PMS 0.9.5.2
Fatal error: Call to undefined function curl_init() in C:\xampp\htdocs\plex\plex_over\models\plex.php on line 216
Your are missing the cURL extension for PHP. Look at the documentation for XAMPP and PHP. It is probably bundled with your install but not set up in the php.ini file but it might not be.
Thanks I will take a look.
So I am having this same external problem with no images, etc. I think I can provide a little more information that might be helpful. When I am on my home network I can plug the plexip:32400 into a browser and an xml stream returns from plex with some options defined.
I checked that my port is configured with upnp through my router via plex to be some unique port. When I go to the router's external ip address with the port that is open in my router for plex, I get a 401 unauthorized error. I am assuming that for the images/data to load, this needs to be able to return the xml stream from plex to an external client. It looks like I need some more configuration setting/permissions set up to allow external access to plex's data. Is this related?
Thanks madsmooth, I already know the issue, it is just taking me time to get around to fixing it. I have a lot of other, paid projects right now 
I’ve not disappeared though!
“Directory access is forbidden.” error:
The issue is that you need to not put just the “plex_over” subfolder into your web server, but actually the whole “Plex-Over” folder. The index file that you should be accessing via web is “index.php” in the Plex-Over folder, NOT “index.html” in plex_over.
The directions included with the Plex-Over documentation indicate you should move the “plex_over” folder, or at least they read that way to me, so I ended up not moving the entire folder, just that subfolder.
I know this is a bit of a noob error to make, but looks like I’m not the only one that was making it; one previous post in this mentioned it, then just had an “Edit: Fixed”, which I think is the most irritating anything ever.
I assume this does work with the latest version of PMS. I’ve got it set up so I can see my media and all, but nothing will actually start streaming, and any attempt to download throws a 404. I’m on Mac OS 10.7, I’m not seeing any of the images for movies/TV shows either (but I gather this is common) and I DO have it set up to log in with myPlex using Eclipse’s fork of the original. I’ve tried with setting transcoding to both true and false.
Any Mac users out there successfully using this with the most current version of Plex server? Any suggestions at all would be grand.
edit: So problem seems to lie in not being able to externally control Plex? If I set my $config[‘plex_url’] = ‘http://10.0.1.25:32400’; it’ll get the images AND do playback without issue (on my local network, of course). If I set it to an externally accessible IP, it won’t do playback even.
edit2: So it’s clear the issue is that Plex_Over is trying to make a connection between the PMS and the user (when not local), and because PMS doesn’t authenticate appropriately to the user, and it’s not possible to turn off the “secure” element… so it won’t stream. I don’t know if anyone else is getting around this somehow. However, since PMS doesn’t try to authenticate when it’s on localhost, I thought perhaps it would be possible to set up some kind of local SSH port tunneling, so that incoming connections are treated locally by PMS and serve up the content through the tunnel back to the external user. I don’t really know enough about SSH tunneling to set that up, but maybe someone else does?
I'm also having issues when plex_url is set to an external URL (as it should be). Images don't load and streams don't play though I can download.
I get 401 unauthorized when trying to open the image thumbnail links that plex_over is generating which suggests that the authentication header is not being sent for these items. It is much the same result as entering ipaddress:32400 directly into a browser.
I can successfully download the stream m3u8 file but the transcode fails. Given the transcode is successful when plex_url is set to an internal IP (and accessed internally) it would seem that these two issues are related.
Yeah, I’ve had a lot of other projects on me the past few months so I’ve not had time to throw at this. I need to track down all areas that call back to PMS and append the auth_token from myPlex onto the URLs, still finding them.
Greg-
I can’t get past the blank white screen with either the original version or eclipse’s fork. Any ideas? I’ve checked and rechecked my config and user_pref.
$config[‘base_url’] = “http://plexover/”; // (I set up an apache virtual server)
username = i’ve tried blank as well as my myplex info
password = ^ ditto
plex_local = http://192.168.1.104:32400 (no trailing slash. I also tried creating a tunnel to the other machine and doing localhost:32450)
$config[‘plex_local’] = ‘http://localhost:32450’;
plex_url = same as local, I don’t need remote access.
$config[‘plex_url’] = ‘http://localhost:32450’;
EDIT: Fixed. I had to “rewrite short tags”
I think HTML5 video is ideal as long as you can figure out trans-coding... It isn't that hard to discover which browsers support particular formats.
HTML5 support is growing.
- Flash never supported on Apple mobile devices
- Adobe has removed all future mobile Flash support.
- Microsoft has abandon SilverLight and is moving to HTML5
- Microsoft just announced Internet Explore for Xbox360 and demoed it playing full screen video.
HTML5 should allow supporting some devices that are not currently supported and my be a better option than DLNA for some that have browsers
- It would be nice to get all the metadata and art views on the Xbox360 when the IE feature launches
- Many Playbook owners would like to use plex and it uses a Webkit browser that supports H.264 and Mpeg4 video
- Mozilla has shown some hints that it may bend to support H.264 in its video player making it the common format for browsers
Quote:
Many Playbook owners would like to use plex and it uses a Webkit browser that supports H.264 and Mpeg4 video
I second this… Plex is excellent… I just wish it was available on my playback!!
When i try to play the videos nothing happens, when i try to dl them i get “404 Page Not Found The page you requested was not found.”
And in safari i get “401 Unauthorized” when i try to play a video. Any thing i could try to make it work :/?
Is there still any one who is working on this or is it dead?
I think we’re all waiting for eclipse to patch that issue. Local videos seem to work fine (at least the last time I tried) but you get the 401s from the token not being set right (or something.) Personally I’m trying to write a similar program in python and I also can’t get the token right. Just try to be patient, eclipse knows people are interested in this.
Hi All,
I’m beginning to loose faith that this php client will get the jump start it needs. I’m a javascript/python guy and I’ve put nearly 10 hours total into attempting to reverse engineer this thing to no avail. Sadness…
Anyone know a php guru with a love for Plex? Calling all PHP Plex-heads!! Help!
Let’s make this thing work!
Hey, Im a PHP and javascript guru and would be willing to help you out. Let me know how I can help.