RasPlex / OpenPHT

OpenPHT is a community driven fork of Plex Home Theater
Other
596 stars 110 forks source link

"There was a problem selecting this stream" constant popups when connected through browser UI #268

Open edifus opened 7 years ago

edifus commented 7 years ago

Since PMS 1.8.3, and the updated Plex Web 3.20.4, there is a constant popup, "There was a problem selecting this stream", when controlling OpenPHT through a browser and playing media.

OpenPHT is running on HTPC
Open browser on second PC and connect directly to PMS (http://localip:32400/web)
Connect to HTPC through Plex Web and start playback of media
Constant popup in red, "There was a problem selecting this stream"
Same issue occurs if I connect through app.plex.tv/desktop
There is no issue controlling media playback, pause/stop/forward/back/etc

Issue does not occur with PMP running on HTPC and performing the above steps

Skin change has no effect on browser error popup.

Seems like this is caused by the new Plex Web and how OpenPHT and Plex Web interact. I've included OpenPHT debug logs below, let me know if you need any other logs as well.

https://pastebin.com/NSXzZypp

OpenPHT: 1.8.0 PMS: 1.8.3-1.9.2 (does not occur 1.8.2 and below)

didster commented 6 years ago

Hey This is caused due to OpenPHT returning an id of -1 when there is no subtitle stream selected back to /poll. I can only guess older versions just silently ignored the error. Its an easy fix and I have created a pull request to do so here https://github.com/RasPlex/OpenPHT/pull/271 The only issue is tbh im really not sure on the status of OpenPHT(-Embedded) any more. With Plex themselves having their own PMS, plus now the official kodi addon for Plex coming out for all, I get the felling OpenPHT is dying. Which is a real shame as both those solutions are rubbish. Anyway, I will see if anyone picks up my pull request and if not fork OpenPHT-Embedded and provide a release with this fixed if its of any interest.

Kwiboo commented 6 years ago

@didster Thanks for tracking down the issue!

My focus is currently on a OpenPHT v2 rewrite (currently in private repo, will be moved to this public repo once Kodi branding is fully removed), I have no plan to push a new OpenPHT v1.x release unless there is a major breakage reported with OpenPHT 1.8.0, also my jenkins master broke down making it non-trivial to get a new v1.x release out for all platforms.

didster commented 6 years ago

@Kwiboo Thats great news on the re-write. I really thought this was dead. Tried PMS, hate it. Tried Kodi add on, hate it. Nothing beats OpenPHT with Aeon Nox.

I get you on lack of Jenkins. I only need it on RPi2 so wasn't a problem to re-build. I then chucked the rebuild in /Updates over samba and it all worked great.

If anyone wants the fix in 1.8 let me know and I'll stick it up on my git hub fork on a as-and-when basis. Mean while, I very much look forward to seeing v2!