RasPlex / OpenPHT

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

Trailers won't play, "Unable to play media" #199

Closed jeffmurchison closed 7 years ago

jeffmurchison commented 7 years ago

I've noticed on recent releases that I can't get any trailers to play for movies.

Whenever I try I just get an error that pops up saying "Unable to play media. Please check that this file exists and the necessary drive is mounted."

I copied the contents of ~/Library/Logs/OpenPHT.log during the time after I try and play the trailer and put it on Pastebin:

http://pastebin.com/d3dBRyEm

OpenPHT: v1.7.1.137-b604995c, default skin, OS X 10.9.5 PMS: 1.3.4.3285-b46e0eafd, OS X 10.9.5.

7ABt6kB commented 7 years ago

The 1.3.4.3285 server update breaks both openpht and pht. Only the new plex media player works at the moment.

dan-the-man-nz commented 7 years ago

Hi Jeff

can you attach some debug logs from openpht showing this please.

cheers

g1t-dlanor commented 7 years ago

@jeffmurchison Your report leaves it unclear whether or not the trailers that failed are such as you have explicitly added as separate files into your library, or the kind that PMS automatically searches for on Internet. I suspect it was the latter, mainly due to the substring "api.internetvideoarchive.com" found in your log. But it could also be a case of PMS confusing the use of local trailers with the use of those on Internet, so please clarify whether or not you had those trailers as stored files in your library.

If they are purely Internet-based trailers, there are a number of different possible reasons for failure that do not involve the Plex client at all. Online trailer playback is always dependent on the online servers providing those trailers, and it's also dependent on the precise protocols used by PMS for trailer interaction with those servers as well as with the Plex clients. (And if @7ABt6kB is correct, the latest PMS version may have changed either of those protocols (breaking its backwards compatibility).)

Trailers and other 'extras' work fine for me with latest OpenPHT, but I'm still using PMS 1.3.2, so that may be one reason for our different results.

jeffmurchison commented 7 years ago

I had totally forgotten about this issue until it came up again. This was for trailers fetched from the internet.

The problem? My system clock was somehow 10 minutes off. Setting it to the correct time worked to resolve the issue.