There is currently a bug in the code that affects the pre-play screen some users; PlexConnect appears to work until you hit the select button to get to the pre-play screen.
You can avoid this by hitting the “play” button rather than the “select” (centre) button on your Apple remote when selecting a movie or episode, this will skip the pre-play screen and start the media playing.
This is because of some metadata being missing. It happens when there are no actors, directors, or genres in your metadata.
Not just pre-5.1.
It happens to every version, depending on the quality/quantity of metadata available...
Updated the post and title.
Added a fix to github - please update and double check!
:-D
EDIT: I think I should release & unlock this to have a chance for feedback... write a note if you are still having trouble with this issue!
Heyo!
Just like to say super great work with this – loving having Plex on the aTV, dream come true! Got the latest version from Github yesterday.
So far it’s working smoothly, though sadly I’m getting intermittent occurrences of this issue with some (apparently arbitrary) TV seasons/episodes.
Console output whenever the “Trailers is unavailable” message hits:
WebServer : serving .xml: /library/metadata/16931&PlexConnect=EpisodePrePlaySeeing the ‘KeyError’ I flipped force transcoding on and that seemed to fix it, but don’t really want to have to leave this on.
10.0.50.110 - - [08/Jun/2013 13:37:38] “GET /library/metadata/16931&PlexConnect=EpisodePrePlay HTTP/1.1” 200 -
WebServer : serving /Applications/PlexConnect-new-movie-sections/assets/selectSubsAndAudio.js
10.0.50.110 - - [08/Jun/2013 13:37:38] “GET /selectSubsAndAudio.js HTTP/1.1” 200 -
WebServer : serving .xml: /library/metadata/16931&PlexConnect=Play&PlexUDID=DY3J77RVDRHN
XMLConverter : XML_ExpandLine - Error in {{MEDIAURL(Video)}}
Traceback (most recent call last):
File “/Applications/PlexConnect-new-movie-sections/XMLConverter.py”, line 431, in XML_ExpandLine
res = eval(“g_CommandCollection.ATTRIB_”+cmd+"(src, srcXML, ‘"+param+"’)")
File “”, line 1, in
File “/Applications/PlexConnect-new-movie-sections/XMLConverter.py”, line 783, in ATTRIB_MEDIAURL
res = PlexAPI_getTranscodePath(self.options, res)
File “/Applications/PlexConnect-new-movie-sections/XMLConverter.py”, line 460, in PlexAPI_getTranscodePath
vRes = quality[setQuality][0]
KeyError: ‘1080p 40.0Mbps’10.0.50.110 - - [08/Jun/2013 13:37:41] “GET /library/metadata/16931&PlexConnect=Play&PlexUDID=DY3J77RVDRHN HTTP/1.1” 200 -
Any help appreciated, cheers!
Ah... I love the new traceback feature. We will look into it!
I thought the 40Mbps was only in the Elan branch at the moment.
Yes f00bar, you are right.
I bet he was using Elan's fork, setting the "quality" and changing to the base line yesterday.
sneppid => Please delete the file "ATVSettings.cfg" or do a "Quality" change in aTV->PlexConnect->Settings (this should bring you back to the supported numbers).
Ah yes I was using the Elan branch initially (hence the folder name in the console) but when that failed constantly (same error) I cleaned out the dir and switched to the latest one from your guy's github.
Thanks for the help! I'll give it a go and report back.
edit: Cheers, worked a treat.
Hi,
I just started to use plexconnect today, and I have the same problem, "Trailers is unavailable". I downloaded plexconnect from https://github.com/iBaa/PlexConnect/archive/XML_templates.zip.
Pressing play launches the movie.
I have a jailbroken Apple Tv 2 with the plex app ( with firmware 5.0.2 )
Thanks !
Logs:
192.168.1.4 - - [08/Jun/2013 21:33:15] "GET /thumbnails/Settings.jpg HTTP/1.1" 403 -
When you say pressing play launches the movie do you means it works when you do that but not when you press select?
Yes
It is a known issue that has been fixed in the main branch, if you are using Elan's fork (the one with on deck etc) then you will need to live with the workaround until we can merge his changes in (there is some changes to the underpinnings needed to do that and it will require users to be on 5.1+ firmware).
Alternatively you can switch to the code in the main branch.
https://github.com/i..._templates.zip. is not the main branch ?
I have tried with the latest everything, same issue.
There was a new release today that undid some changes causing issues, are you using that?
I have installed GitHub to ensure that I have the latest everything, same bug...
And I tried with the latest media server ( 0.9.8.0.36 )
I also have the same issue with my aTV3 (5.1 fw): "Trailer is unavailable". When i hit play the movie starts but no movie info when i hit the select button.
Plexconnect: I downloaded the latest zip file from https://github.com/iBaa/PlexConnect last friday.
PMS: I downloaded the latest Windows (I'm using Windows 8) installer from: http://www.plexapp.com/getplex last friday. Probably version 0.9.7.22.511 (version info from website)
f00b4r, mine's really weird. If I press the select button (center button), I get 'Trailer is unavailable' error but when I press the play/pause button, it does work.
I am using Elan's git repo.
Is this a bad thing or a good thing?