Quantcast
Channel: PlexConnect (Apple TV 2 & 3) — Plex Forums
Viewing all 540 articles
Browse latest View live

ATV enters perpetual buffering during video (Solution proposed)

$
0
0

Three problems have been reported in this thread. This can make debugging problematic. So I have opened this separate thread to handle the situation where the ATV stops buffering when playing a film, it's possible to navigate through the ATV menus, but it's not possible to play any film at all, neither from PlexConnect, nor from YouTube or other channels.

 

I was lucky to have a file with which I could reproduce the problem, so I have used it in all my tests. Each test was preceeded by the following actions:

  1. Stop PMS and PlexConnect
  2. Delete PMS and PlexConnect logs
  3. Start PMS and PlexConnect
  4. Reboot the ATV

PlexConnect report form

  • Your ATV model (2 or 3) and firmware version (found under the ATV settings > general > about > Apple TV software): ATV3 Rev.A firmware 7.0.3
  • The DNS server set on the ATV (found under the ATV settings > general > network > DNS): 192.168.1.100

  • The local IP address of the device that PlexConnect is installed on: 192.168.1.100

  • The device and operating system (including version number) that PlexConnect is installed on: Synology DS411slim (armv5 processor), DSM 5.1-5022 Update 2, Python Module 0002 from Synology

  • The device and operating system (including version number) that the Plex media server (PMS) is installed on: same as PlexConnect

  • The Plex media server (PMS) version number you are running: 0.9.11.7 for Synology ARM

  • The local IP address of the device that the Plex media server (PMS) is installed on: same as PlexConnect

  • The PlexConnect version number. If using Github source then a time and date of download (look at the creation date of the folder) and if you are using any non-standard setup e.g. Plexify or a fork. github Baa Feb/5th 12:00 GMT

The film used for testing has two audio tracks, AC3 and AAC, I've always used the AAC track for the tests (although the ATV always started playing the AC3 track when Dolby Digital was On, so I had to select the AAC track during the initial minutes of play).

 

So here are the tests:

  1. Using PlexConnect from bwynants installer 0.5-7, and setting Dolby Digital (in the ATV menu) to On - I've played the film 2-3 times to confirm that I could reproduce the problem. The ATV entered in perpetual buffering at varying times (normally on chapter 16 or after). Loglevel was Normal in PlexConnect, and PMS verbose logging was disabled
  2. Then I changed Dolby Digital to Off, and to my great surprise the film played to the end. I've played it twice, and the "perpetual buffering" problem did not appear
  3. Then I changed Dolby Digital back to Off, this time the problem appeared
  4. Willing to create a "clean" testing environment, I made a git clone from Baa's repository on Feb 5th ~12:00 (UK time). I've also set Dolby Digital to On, PlexConnect logs to High, and PMS logs to verbose. After rebooting the ATV I started to play the film, and to my great surprise it played until the end
  5. I was really puzzled with test 4, so I went back to the bwynants 0.5-7 version of PlexConnect, and the problem appeared again
  6. Then I tested again with the version used in test #4, and this time the problem appeared

The fact is that tests #4 and #6 have used exactly the same PlexConnect code, nevertheless one was Ok, and the other showed the problem. I'm attaching the log files for both.


Buffering problem - Help Needed

$
0
0

I would like to ask the help of other forum members to collect data to help diagnose this issue, in order to find a solution. Only ATV3 users please (test film uses 20MBps bitrate and is not suitable for ATV2).

Tests must be performed using the same test video (video, setup and report instructions here). For each test I need some info. As an example, here is a template filled with my own data:

1) Test date - Aug 28, 2015
2) Test result - buffering starts at ~01:07:00 after start
3) ATV HW - ATV3 Rev. A
4) ATV SW - 7.2
5) HDMI connection - 720p 60Hz
6) PlexConnect HW - Synology DS411slim
7) PlexConnect SW - 0.5-dev-020615
8) Python version - 2.7.9
9) Fanart enabled - Yes
10) PMS HW - Synology DS411slim
11) PMS SW - 0.9.12.11
12) ATV and PMS connected to same router / switch - Yes
13) Cat5e cabling (or better) - Yes
14) Special cabling (if yes pls describe) - ATV connected with 2x tplink av500 (powerline)

can't connect Plex Server to Apple TV3 on my TS-251

$
0
0

Hello,

I have installed Plex Server on my Qnap TS-251. All run correctly. I try to install Plex in my Apple TV 3. I know ( I think...) what to do, I had this configuration on a Sinology and all works (but the Sinology was too slow...). When i Install Plex Connect, I have an error of Python. I have Python 3.5 but I have the same error with Python 2.7. The error is : "ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770."

Someone can help me ? I have no idea how to connect or what is to change...

Channels for Apple TV 3 PlexConnect App

$
0
0

Hey forum!
I've recently started with Plex and I'm amazed. (really like it).
Now to my question. I'd like to know if it's possible to use channels on the Apple TV 3 or if I need an Apple TV 4 then, when the Plex App is released?

Regards,
tr.ms323

PlexConnect works fine with the new AppleTV

$
0
0

Just got my new AppleTV and PlexConnect still works great :-)

I've installed the Certificate ("Send Data to Apple" thing still works https://goo.gl/uQUZb1) and "iMovie Theater" from the Appstore. Then just pointed it to the right dns-ip and .. voila! :-)
(I assume you have an working plexconnect setup with Settings.cfg hosttointercept set to www.icloud.com)

--- Sorry if it was disscussed somewhere else but i could not find anything.

Apple TV OS update

$
0
0

Hi everybody,

I have a Apple TV 3g with Plex and I'd like to know if we can make the OS update of the Apple TV without reinstall everything.

Thanks ;-)

PlexConnectApp (working title) - PlexConnect for AppleTV4 clone

$
0
0

History tends to repeat itself:
- a couple of years back, I didn't know how to spell "python". But with from great idea of DNS hacking and some stubbornness, PlexConnect was born.
- now, until recently, I really didn't care to much about "swift". But Apple's Server/Client architecture with TVML/TVJS really did smell like out old XMLConverter.
So it goes: Learning a new language, gathering information throughout the web, hacking stuff together... along comes PlexConnectApp (working title), with XMLConverter rethought and rewritten in swift, with XMLTemplates translated to TVMLTemplates, without the DNS part, 'cause we just don't need it anymore.

I would like to see that thing fly. It's Open Source, we all know the address: https://github.com/iBaa/PlexConnectApp
Feel free to have a look and play around. Yes today you need OSX/XCode... but we are all developers of some kind aren't we?
Not sure about the distribution model, I guess it will need to go through the AppStore, at some minor cost, it would have to pay for an AppleTV plus Apple's developer program.

It's not ready, it's far from done yet. I even haven't tested it on real hardware yet...
therefore looking for swift/js developers for code review and bug fixes, layouters and artists for views, thumbs and icons, testers for feedback, translators for the localization to come, a mechanic to fix my car.

Before you leave, let me give a toast to...
- Apple. For - well, you know - their support with PlexConnect (cough...), their hardware, but mainly the documentation in the developers' area.
- stackoverflow.com. For the great knowledge database around coding. I had no need to post a question, everything was basically readily answered beforehand. Well, nearly.
- raywenderlich.com. For their nice tutorials. And no, the don't write my paycheck.
- all the other unnamed sources of tips, tricks and hints, sometimes seemingly hidden in the last corner of the webs.

Not to stress you to much with reading: Have fun!

Plexconnect Issue - Error " Trailers Unavailable"

$
0
0

**Hello Team.

Installed a fresh copy of PMS and plex connect after a PC format. Unable to access the trailers. Something unusual found when the plexconnect is started. I see too many commands in the plex connect command prompt.

Adding the logs here. Hope Someone could help me out**


Thanks and farewell

$
0
0

Just wanted to post a quick thank you to everyone involved in getting Plex running on the aTV3 using PlexConnect, but now Plex have released a client for the aTV4 I'm going to be using a legitimate client for the first time in years!

For anyone sat on the fence, I think the new aTV is great and whilst it does have it's flaws, the potential is huge.

Hope PlexConnect can continue to be developed for those still using a previous aTV, and thanks again to those who've helped me and provided support when things didn't always work as expected!

ATV 3 with Plexconnect can't find any library error

$
0
0

When I launch Trailers (plexconnect) it says it can't find any libraries. It worked just a few days ago. I am running latest PlexConnect which I made sure to update just in case that was the problem. I did update to the latest version of PMS (0.9.12.18) a few days ago so that might be the problem. Anyone who can confirm this?

On Apple TV if I login to my plex account it shows me I have 0 PMS servers online. Which I find strange as when I log out says there is 1 server online.

I made sure to delete the plexconnect version just in case that was the problem but even with a freshly installed version I get the same error. I made sure to logout from plexconnect and PMS and then login again just to make sure that everything is connecting properly. Apple TV still don't see any libraries.

Just for testing I installed the master_backup version from github and when I run that version it worked so I am a little confused why the old version works but the latest doesn't.

Does anyone have a clue what might be going on?

Thanks

Plex connect works for a few minutes and then stops

$
0
0

I was using Plex connect at my home flawless for the past 6 months or so. Yesterday I gave may parents my apple tv gave then a Plex account to share my library's with and set up Plex connect on their windows machine. Everything seems to work fine for a while but eventually it stops working (i can see the script running in task manager but the all channels give the failed to connect error) thus making the apple tv stop working with Netflix and the like. I was running plexconnet by renaming the Plex connect.py file to pwy extension so it would run without the cmd window. I can't for the life of me figure out what's going on. Any help pointing me in the right direction would great.

Plexconnect running on any jailbroken iOS device

$
0
0
I have my jailbroken iphone 4s on iOS 8.3 running plexconnect! (Also a mini2 on 8.3, ipad 3 on 8.3.)



Updated instructions for iOS devices here (tested on iPhone 4S iOS 8.3):

SSH into your JB iOS device (install OpenSSH from the BB repo if needed) then paste this easy one liner or fire up mobile terminal on your iOS device and paste it using that instead. "APT 0.7 Strict" or higher required (a simple search in cydia will allow you to install it, required for apt-get function). INSTALL "APT 0.7 strict" PRIOR TO RUNNING THIS COMMAND BELOW!

iBaa or Wahlman.j with prompts for desired theme & optional autoupdating plist:
apt-get -y update; apt-get -y upgrade; apt-get -y install git; rm -R /Applications/iosjailbreak; cd /Applications; git clone git://github.com/wahlmanj/iosjailbreak.git; cd /Applications/iosjailbreak; ./installios.bash

Please note PIL (Fanart) does not work using this method...yet (not sure if it ever will).

This method is best suited for traveling, you can connect multiple devices to one jailbroken PlexConnect host or repurposing an old or new iOS device to be a PlexConnect host. Not everyone brings a laptop when traveling or uses airplay from the Plex for iOS app or other airplay enabled devices. Personally I prefer a remote to control my aTV and find airplaying to cause an immense amount of congestion on any network that I have ever used. If you do use this method I suggest to turn on airplay mode then turn your wifi back on to keep your network connection on your iOS device alive even if your iOS device has its screen locked. 

Plexconnect suddendly stopped working

$
0
0

Ok this is quite strange. I really can't explain this. Today i was enjoying my Plex on AppleTV with Plexconnect configured on wall street journal, when i left the room for a couple of hours. Everything worked great since 1.5 years. When i came back i saw a new Wall Street Journal icon (WSJ Video) and when i click it i'm sent to the real wall street journal channel. 

What happened? 

I'm the only one?

 

i run plexconnect with openplex on a mac mini, but i haven't done anything since last time it worked...

 

thanks to anyone...

 

PlexConnect RPM for Linux (RedHat/CentOS)

$
0
0

I've put together a RPM for PlexConnect, which I hope some of you can use!

 

The package includes:

  • PlexConnect configuration file for dnsmasq
  • PlexConnect configuration file for httpd
  • PlexConnect configuration file for nginx
  • PlexConnect init script
  • PlexConnect log rotation (high output)
  • PlexConnect sysconfig configuration file
  • PlexConnect spec file
  • Certificates for trailers.apple.com
  • Certificates for secure.marketwatch.com
  • A modified Settings.cfg

Every time you build the package, it'll pull down the latest sources from the PlexConnect git repository.

 

After you build and install the package, you can update PlexConnect periodically by executing: service plexconnect update

 

https://github.com/tkimball83/plexconnect

Plexconnect Stops Working after Computer Restart

$
0
0

I've had this problem a couple times in the last week or so. Plexconnect works just fine until i restart my computer. Then I can't get anything working for my appletv's to connect.

If I restart the aTV it boots and only shows me computers and settings. If I go to settings, change my DNS to automatic, everything works (as it should, no plex obviously). If I then change it back to my comp's ip it all shows up but when I try to open trailers it just sits there loading and nothing happens. Last time I had to recreate the certificates and set up both apple tv's again.

Is there something I'm missing? what would cause the computer to do this on a restart? I've checked and the plex-connect service is running.


No servers found - Resolution Error

$
0
0

Hi All,

Can someone help me out here.

I have setup a new Lubuntu server 15.10 and have everything installed correctly as far as i can see, however i am getting the following error in the logs when i attempt to access the server

21:55:20 PlexAPI: Servers (local, plex.tv, MyPlex): 1
22:00:26 PlexAPI: ***
22:00:26 PlexAPI: poke plex.tv - request Plex Media Server list
22:00:26 PlexAPI: ***
22:00:42 PlexAPI: No Response from Plex Media Server
22:00:42 PlexAPI: We failed to reach a server. Reason: [Errno -3] Temporary failure in name resolution
22:00:42 PlexAPI: Traceback:
Traceback (most recent call last):
File "/usr/lib/PlexConnect/PlexAPI.py", line 406, in getXMLFromPMS
response = urllib2.urlopen(request, timeout=20)
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1240, in https_open
context=self._context)
File "/usr/lib/python2.7/urllib2.py", line 1197, in do_open
raise URLError(err)
URLError:

22:00:42 PlexAPI: Servers (local, plex.tv, MyPlex): 1
22:01:21 PlexConnect: Shutting down.
22:01:21 WebServer: Shutting down (HTTPS).
22:01:22 WebServer: Shutting down (HTTP).
22:01:23 DNSServer: Shutting down.
22:01:23 PlexConnect: shutdown

ALAC DirectPlay

$
0
0

After some years of "resistance" I'm trying to evaluate Plex for music, now that Plex has been enhanced and playlist support was made available) but I have a problem. Plex plays (DirectPlay) mp3's but tries to transcode alac's and my server cannot transcode. But alac's are supported natively by the ATV (I've been using Synology Audio Station without problem).

Probably this could be solved by changing the Plex profile (I don't know how, if someone could send me a working profile it would be superb), but I'm wondering why I can state in PlexConnect to force DirectPlay and this only applies to videos, and not to music files. Can this be changed ?

Moving certificates from a MAC to Windows

$
0
0

I have read that you can move the cert files from MAC to MAC but what about MAC to Windows PC? I have issues with the hackintosh I have plexconnect and openplex on and am moving everything over to a virtualized PC. Can I just install python, pillow, and plexconnect to the pc. Then copy the existing cert files to the PC. Finally create a new profile in the ATV to use that ip address and cert? Then I wouldn't need to generate certificates on the PC.

How to use iMovie Theater instead of the Trailers app

$
0
0

With plexconnect newer than 20. November 2013:

  1. Follow the tutorial here: http://langui.sh/201...l-plexconnect/. to install the certificate,
    but in the first command replace "trailers.apple.com" with "www.icloud.com". (You can have both certificates installed).
  2. Edit your "Settings.cfg" file:
    hosttointercept = www.icloud.com
    

    Enter:

www.icloud.com                  for the iMovies Theater App

trailers.apple.com              for the Trailers App. (default)

secure.marketwatch.com   for the WSJ App.

 

OLD Instructions:

Spoiler:

I consider this instructons to be quite difficult, so unless you know what you are doing continue using the Trailers app. :-)

 

  1. Follow the tutorial here: http://langui.sh/201...l-plexconnect/. to install the certificate,
    but in the first command replace "trailers.apple.com" with "www.icloud.com". (You can have both certificates installed).
  2. Edit "PlexConnect.py" and replace "trailers.apple.com" with "www.icloud.com" (at line 69). It should look like this:
                param['HostToIntercept'] = 'www.icloud.com'
    
  3. Edit "WebServer.py", find this part (about line 145)
                    if basename in ("application.js", "main.js") or \
                       basename.endswith(".js") and dirname == '/js':
                        if basename == "main.js":
                            basename = "application.js"
    

     

    and replace it with this:

                    if basename in ("application.js", "main.js", "javascript-packed.js") or \
                       basename.endswith(".js") and dirname == '/js':
                        if basename == "main.js" or basename == "javascript-packed.js":
                            basename = "application.js"
    
    

     (in Python the structure and the leading space characters in front of the code line are relevant)

  4. Restart your Apple TV to flush the DNS Cache.
    There you go ... :-)


As far as i can tell right now this patch doesn't affect ANY other functions of the Apple TV.
- Not affected apps: Movie & TV Rentals, iTunes Radio, Home Sharing, Apple Special Event, iCloud Photos, Podcast, Radio
- Not affected functions: iCloud Sign in/out (+Terms of Conditions), Activation, iPhone Remote, iTunes Sign in/out

EDIT: fixed for plexconnect from today 12. November 2013
EDIT2: added the compatibility test part.
EDIT3: updated: the modifications are now part of the code

Why not share certificates instead of generating them

$
0
0

Today I moved my plexconnect from my hackintosh to a virtual pc. To make it easy I copied the certificates over to the new pc. It works great. So I'm wondering, why generate them instead of everyone sharing them? I want to change to the iMovie icon instead of trailers and the only thing holding me back is I struggle generating the certificates the first time around.

Viewing all 540 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>