PlexConnect on ATV 7.0 GM (iOS 8.0 GM)

Guess we will see how it goes. I was just saying for now patching files doesn't allow you to git pull (update) you have to git clone new commits every time to use the patch which seems tedious to do just for ios 8 be it for iMovie or the whatever the case may be. It's great you found the issue preventing this but unless it get implemented into the main code it's not going to be easy to do all the time during every new commit. I guess it's best to be patient and see if/when the plexconnect dev's fix this for iOS 8.

edit - OpenPlex 0.3.1 updated to include the IOS 8 fix in extras tab.

Hi all,

I'm running PlexConnect on Ubuntu 13.10 using the Trailers app on Apple TV 3. I updated to the Apple TV 7.0 software this week, and.. PlexConnect no longer wants to work. I downloaded the latest version, as well as the patched .py files from earlier in this thread and still no go.

When I launch the Trailers app, it finds my Plex library, and I'm able to browse it with no problems. But as soon as I try to play anything, I get "Trailers is unavailable. Please try again later."

Here's what I get at the command prompt when running PlexConnect.py.. anyone have any ideas?

$ sudo python /usr/local/lib/PlexConnect-master/PlexConnect.py

 

11:25:33 PlexConnect: ***

11:25:33 PlexConnect: PlexConnect

11:25:33 PlexConnect: Press CTRL-C to shut down.

11:25:33 PlexConnect: ***

11:25:33 PlexConnect: started: 11:25:33

11:25:33 PlexConnect: Version: 0.4-dev

11:25:33 PlexConnect: Python: 2.7.5+ (default, Sep 19 2013, 13:48:49) 

[GCC 4.8.1]

11:25:33 PlexConnect: Host OS: linux2

11:25:33 PlexConnect: IP_self: 192.xxx.xxx.50

11:25:33 DNSServer: started: 11:25:33

11:25:33 DNSServer: ***

11:25:33 DNSServer: DNSServer: Serving DNS on 192.xxx.xxx.50 port 53.

11:25:33 DNSServer: intercept: ['trailers.apple.com'] => 192.xxx.xxx.50

11:25:33 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1

11:25:33 DNSServer: forward other to higher level DNS: 192.xxx.xxx.1

11:25:33 DNSServer: ***

11:25:33 WebServer: started: 11:25:33

11:25:33 WebServer: ***

11:25:33 WebServer: WebServer: Serving HTTP on 192.xxx.xxx.50 port 80.

11:25:33 WebServer: ***

11:25:33 WebServer: started: 11:25:33

11:25:33 WebServer: ***

11:25:33 WebServer: WebServer: Serving HTTPS on 192.xxx.xxx.50 port 443.

11:25:33 WebServer: ***

11:25:40 DNSServer: DNS request received!

11:25:40 DNSServer: Source: ('192.xxx.xxx.163', 55784)

11:25:40 DNSServer: Domain: trailers.apple.com

11:25:40 DNSServer: ***intercept request

11:25:40 DNSServer: -> DNS response: 192.xxx.xxx.50

11:25:40 WebServer: serving /js/application.js

11:25:40 WebServer: serving .xml: /

11:25:40 PlexAPI: ***

11:25:40 PlexAPI: looking up Plex Media Server

11:25:40 PlexAPI: ***

11:25:40 DNSServer: DNS request received!

11:25:40 DNSServer: Source: ('192.xxx.xxx.163', 50703)

11:25:40 DNSServer: Domain: p6-buy.itunes.apple.com

11:25:40 DNSServer: ***forward request

11:25:41 DNSServer: -> DNS response from higher level

11:25:41 PlexAPI: GDM: Servers discovered: 1

11:25:41 PlexAPI: Servers (local+MyPlex): 1

11:25:41 WebServer: serving .xml: /PlexConnect.xml

11:25:41 WebServer: serving /js/utils.js

11:25:41 WebServer: serving .xml: /library/sections

11:25:42 WebServer: serving /js/utils.js

11:25:42 WebServer: serving /js/sectionHoldSelect.js

11:25:42 WebServer: serving .xml: /library/sections/1/recentlyAdded

11:25:48 WebServer: serving .xml: /library/sections/1

11:25:48 WebServer: serving /js/utils.js

11:25:49 WebServer: serving .xml: /library/sections/1/recentlyAdded/recentlyAdded

11:25:52 WebServer: serving .xml: /library/sections/1/recentlyAdded

11:25:53 WebServer: serving /js/utils.js

11:25:56 WebServer: serving .xml: /library/metadata/13287

11:25:56 XMLConverter: XML_ExpandLine - Found unknown cmd SVAL in line playTrailer('{{SVAL(Video/title)}}','{{VAL(Video/year)}}')

11:25:56 XMLConverter: XML_ExpandLine - Found unknown cmd SVAL in line playTrailer('{{SVAL(Video/title)}}','{{VAL(Video/year)}}')

11:25:57 WebServer: serving /js/utils.js

11:25:57 WebServer: serving /js/selectAudioAndSubs.js

11:26:00 WebServer: serving .xml: /library/metadata/13287

11:26:00 WebServer: serving /js/utils.js

11:26:03 WebServer: serving .xml: /library/metadata/13287

11:26:03 XMLConverter: XML_ExpandLine - Found unknown cmd SVAL in line playTrailer('{{SVAL(Video/title)}}','{{VAL(Video/year)}}')

11:26:03 XMLConverter: XML_ExpandLine - Found unknown cmd SVAL in line playTrailer('{{SVAL(Video/title)}}','{{VAL(Video/year)}}')

11:26:03 WebServer: serving /js/utils.js

11:26:03 WebServer: serving /js/selectAudioAndSubs.js

11:27:39 DNSServer: DNS request received!

11:27:39 DNSServer: Source: ('192.xxx.xxx.163', 55204)

11:27:39 DNSServer: Domain: 33-courier.push.apple.com

11:27:39 DNSServer: ***forward request

11:27:39 DNSServer: -> DNS response from higher level

You only need them for iMovie, you can hijack trailers and WSJ without the patched files.

new commit fixed iMovie 

I thought so, but it wasn't working without the patch files either, so I tried them. 

>> cmd SVAL

got renamed a couple of weeks ago - most probably your update didn't catch everything (namely the templates).

>> cmd SVAL

got renamed a couple of weeks ago - most probably your update didn't catch everything (namely the templates).

Awesome, thanks Baa, that was it. :)

I think when I first updated it, to preserve the certificates, I just copied the entire old assets/ directory back into the PlexConnect directory, instead of just the certs themselves. Working again. :)

Hello, first time here.

I have Plex on my ATV3. Am I correct in reading through this thread that the latest ATV update is just fine with the Trailers app? I see a lot of talk about iMovie or other hijacked apps... I've only ever installed Plex once, following the specs that used Trailers.  Is there a consensus on this yet?

Cheers, and thanks for this great piece of work :)

Consensus?

Everything is great... :-D

Thanks. I just tried software update (after reverting DNS back to normal and a restart for good measure), and it's not wanting to update. Will try it again in a few mins. I don't remember many ATV updates where it didn't have this sort of hiccup.

Will look into OpenPlex too, as I'm just seeing that for the first time.

---

edit: All good.

https://github.com/iBaa/PlexConnect/commit/84b2596a95c38fb0a95c3b36eeeccd706b89c564

So is iMovie fixed now from this commit...just curious :) I haven't updated to iOS 8 yet.

Also does anyone know if you can still upload a plex icon or if it will carry over if you update to iOS 8?

Yup, iMovie is cool now, after the latest commit.

Yup, iMovie is cool now, after the latest commit.

Including use of the Plex logo?

Updating.....

Updating.....

lol...good luck [emoji1]

Firmware

you can still downgrade worst case ;)

If iMovie can't be changed I may be able to make a new webserver.py file to serve the custom plex icon for iOS 8 looks like they renamed it to:

iMovieNewAuth

 

http://a1.phobos.apple.com/us/r1000/000/Features/atv/AutumnResources/images/atv7/iMovieNewAuth@1080.png

 

Plex Icon overwritten by update :(

 

Let the coding begin.

 

I can confirm PlexConnect works on iMovie as well.

 

 

Here is the old one:

http://a1.phobos.apple.com/us/r1000/000/Features/atv/AutumnResources/images/Theater@1080.png

Theater

I had several problems with aTV not recognizing new certs. Wahlman helped me out and suggested at the end to restore my aTV. Now it works like a charm. iMovie is working also. Great. Thanks to all for your hard work.

And on a site note, how do I upload a plex icon? :D

Im working on it :)

if i figure it out the tut is in the OP topic by @hkmacs or in the trailers to plex icon topic.

Testing this now:

https://github.com/wahlmanj/PlexConnect/blob/master/update/OSX/WebServer.py

So is this a go ahead for IOS 7 on iMovie?  I just updated to the latest commit and just waiting to get the go ahead to run the update :)

Yes. This new iOS seems much faster also.

Yes. This new iOS seems much faster also.

Safari seems faster?  Sorry couldn't resist this is what everyone says about iOS upgrades on their phones/ipads.