PlexConnect on ATV 7.0 GM (iOS 8.0 GM)

But if I replace the .py files as in post #165, PlexConnect wont even start...

I just updated to Atv software ver. 7.0 and Plexconnect worked flawlessly just like before. Nothing was needed to be changed. 

Play any 1080p .mp4 movie & press pause while watching it, see if it eventually locks up iOS 8. It will look as if it’s buffering but it will lock up the entire iOS. It has nothing to do with PlexConnect, all my iOS 7 aTV’s work flawlessly with 1080p .mp4’s. More details here:


https://forums.plex.tv/topic/121863-ios-8-black-screen-of-death/

Play any 1080p .mp4 movie & press pause while watching it, see if it eventually locks up iOS 8. It will look as if it's buffering but it will lock up the entire iOS. It has nothing to do with PlexConnect, all my iOS 7 aTV's work flawlessly with 1080p .mp4's. More details here:

https://forums.plex.tv/topic/121863-ios-8-black-screen-of-death/

I posted on that thread before updating. same problem occurred to me even though I did not have new iOS 8 or atv ver 7.0

Since going back to iOS 7.1.2 I have yet to see it personally. I played and paused 3 1080p .mp4 movies last night without a hitch. I wonder if it’s a atv3 or atv3 rev a hardware issue, I would be shocked if it wasn’t iOS 8 specific.


Looks like we have confirmation on iOS 8 (if your already there) trailers can be also switched to a plex icon also:

https://forums.plex.tv/topic/122424-plexconnect-stuck-at-serving-jsapplicationjs/


Still waiting to see if wsj can be done and screen shots. :slight_smile:

Hi,

I'm a newbie here. I'm running Plex server on a Windows 7 WS with PlexConnect.

Should I wait longer before updating my aTV3 ? Reading this thread, it seems that the solution may not be entirely reliable.

I also wanna trade the "trailers" icon to the Plex icon.

Thanks

It's official on iOS 8 you can change any of the typical icons trailers, wsj, and iMovie (and more):

https://www.youtube.com/watch?v=leBK6kgSLkw

Thanks goto @xCharlus for testing wsj & trailers here:

https://forums.plex.tv/topic/122424-plexconnect-stuck-at-serving-jsapplicationjs/

I still don't like iOS 8 but if you are stuck you might as well make some use of it :)

Hi,

I'm a newbie here. I'm running Plex server on a Windows 7 WS with PlexConnect.

Should I wait longer before updating my aTV3 ? Reading this thread, it seems that the solution may not be entirely reliable.

I also wanna trade the "trailers" icon to the Plex icon.

Thanks

In my personal opinion yes! I would wait to update to iOS 8 but thats me.

Also you can only currently upload the plex icon on iOS 8 since apple stopped signing iOS 7.2.1 Firmware (and lower) for all aTV 3 revisions 

But then again our "worker" WebServer calling XMLConverter might get multiple requests at the same time as well, all of which are currently not really answered in parallel... tststs.

as it stands, running the webserver in a separate process does not provide any relevant performance advantage: the XMLConverter takes several seconds per request, and the requests are served by threads.

by profiling the code, i found that is the xml template expansion that takes an incredible amount of time; which i can't understand, given the (atleast) apparent simplicity of the template format.

i can't wrap my head around python, but with deeper profiling it appears that the template expansion explodes in to an enormous number of xml tree reparses, as if there was some kind of termination bug which causes the expansion code to be repeated over and over.

>> running the webserver in a separate process does not provide any relevant performance advantage

Yep. I am with you there...

>> with deeper profiling it appears that the template expansion explodes in to an enormous number of xml tree reparses

Well, at least every COPY will create a new branch, that needs to be added back into the main template's structure. Other than that I can't see any major reason for xml tree reparses.

What we have seen in the past: The debug output (to terminal window or file) adds a lot of processing time - especially when it comes to "pretty printing" and XML tree. Try to disable it (loglevel=Off).

Well, at least every COPY will create a new branch, that needs to be added back into the main template's structure. Other than that I can't see any major reason for xml tree reparses.

What we have seen in the past: The debug output (to terminal window or file) adds a lot of processing time - especially when it comes to "pretty printing" and XML tree. Try to disable it (loglevel=Off).

i will look into the parser a bit deeper.

i have loglevel=Normal and it does not seem to generate really that much output. it's actually even a bit too terse.

Hi everyone.

I'm driving myself bonkers trying to get this to work (the plex icon), but I just can't get it. I've tried what feels like 100 times and no luck. I've tried most every suggestion I've found in this thread, and the latest was following post #165. My first issue there was that when I replace the DNSServer.py and WebServer.py files with the code supplied, PlexConnect wouldn't even run. It just kept giving me "unexpected indent" errors. So I opened up the respective files in xcode and fixed the places where it reported an error, and after doing that a few times I was able to get PlexConnect to run...which was pretty exciting.

Unfortunately, after restoring the ATV3 and changing the DNS, pretty much no icons load at all. It's just a bunch of black rectangles. The only apps that show icons are Movies, TV Shows, Music, iTunes Radio, Computers, and Settings. So that's frustrating, but this is however the closest I've gotten thus far...

If it matters, my plex server runs on an older macbook running OSX 10.7.5 (because it's old enough that it won't update to any newer OS than that). I've tried using OpenPlex, but it just seems to hang forever (like hours) without anything ever happening. I've tried to change the iMovie Theater icon, but this last time I was trying to change the Trailers icon since I read that was now possible.

I'm running all the newest everything, just pulled a spankin' new PlexConnect and started essentially from scratch. I'm not sure what other info to post, but please let me know and I will post it. Any help from you smart folks would be much appreciated, and thanks in advance.

Other Os’s or non OpenPlex users:


Copy (overwrite if existing) these files:
DNSServer.py ------>PlexConnect base dir (Overwrite Existing)
WebServer.py ------>PlexConnect base dir (Overwrite Existing)
icon@1080.png ------>/assets/thumbnails
icon@720.png ------>/assets/thumbnails

Restart PlexConnect once the new files are in place and Follow these steps below


Here is an illustrated guide for the wahlman.j method for getting Plex icon on Apple TV.

- Goto aTV settings (not plexconnect) and restore aTV to factory settings

This found in Settings - General

attachicon.gifIMG_2716.jpg


Scroll down till you get to Reset

attachicon.gifIMG_2717.jpg


Click Reset and you get to Restore

attachicon.gifIMG_2718.jpg


Then the AppleTV will update as follows:

attachicon.gifIMG_2710.jpg

attachicon.gifIMG_2711.jpg

attachicon.gifIMG_2712.jpg

- When it hits step 2 of 2 of the restore disconnect your Ethernet from your aTV and disconnect the Ethernet from your ISP (Internet modem) NOT your router
- when your aTV boots up to the home screen hook your Ethernet only to your aTV it will pull a IP address but have no internet since the ISP is still disconnected from the router.
- Change the DNS to your plexconnect host ip as usual
- hook back up your ISP to your router. Plexconnect will now serve the custom icon to your desired hijack, and all the icons will load up on the aTV.

attachicon.gifIMG_2713.jpg


While the icons are blank/black scroll down your aTV app list to see if your desired icon loaded!


The icons will remain black on the aTV until you:


REINSTALL YOUR THEME (github) to get rid of the temporary files needed to upload the custom plex icon and reboot aTV to load the REMAINING ICONS. Enjoy

Ah crap. Can't believe I missed that bit. However, and forgive me for being daft, but what exactly does that mean to do? I've always just used the default theme...not sure what I need to replace. Thanks again.

What does what mean?

All my icons were black, including the one that was supposed to have the plex icon. Reading back through, the only step that I missed from your post was:

"REINSTALL YOUR THEME (github) to get rid of the temporary files needed to upload the custom plex icon and reboot aTV to load the REMAINING ICONS."

I'm not sure what that means I need to do...or if that will solve the issue since the plex icon did not show up anyway...

With the customs icons and files are in place to serve the icon if you followed the steps provided it should of loaded the custom icon if followed properly. I assume you are using ibaa’s github.

Hurrah! I got the icon to load! So pumped. However, not all the other icons have loaded and I'm getting the error stating "ValueError: too many values to unpack" which I saw mentioned in post #196. Since this has taken such a time for me to get working, I don't want to screw anything up. I think this may be the part I wasn't clear on before, so any word on how to proceed with this? Should I replace the DNSServer.py and WebServer.py with the original files, or what?
 

PS: I am in fact using ibaa's github.

EDIT: Nevermind, that seemed to do the trick. Thanks so much for all you guys do here, Plex/PlexConnect and all the other wonderful things floating around here are so fantastic, I don't how I ever lived without it!

Ya after you load the custom icon it’s stuck, you need to git clone any theme (github) then setup PlexConnect normally without the icon method for plexconnect to work as intended to load the remaining icons. The icon method is just a temporary way to upload the desired custom icon.


@km4n kortv has been fixed now I had a outdated line item on webserver.py, it’s updated on post 165. Basically almost all icons should work now on iOS 8 a full working list of icons are here (post 165 again):

icons able to be customized

@wahlman.j thank you! Question can I do this without restoring the atv. I know for windows it’s required but I have access to an osx machine so I can use openplex.

Please advise.


Thanks…

You can only do the aTV restore method as far as I know unless you want to disconnect the aTV and do the restore via iTunes which I dislike personally:

usb method