My parents have an AT3 and I wish to share my plex library with them. Will I still need to have PMS set up on my Dad's MacBook each time he uses plex.
Or will it only be needed for setup?
My parents have an AT3 and I wish to share my plex library with them. Will I still need to have PMS set up on my Dad's MacBook each time he uses plex.
Or will it only be needed for setup?
Had an Asus rt-n66u with merlin firmware that worked excellent to tribute plex to my atv3.
Then I bought an airport extreme gen 5 and the problem started.. First of all I have a Mac mini with necessary things like python 2.7 and openplex etc. Now time to time my trailer app doesn't work.
I can see my movies but not play them. Then suddenly I can. Plexconnect status always is red. How come? What have I missed. I did a restore of atv3. Updated to 7.2. Typed In dns and created the trailers.cer profile.
After that I hijacked trailer app and then it works sometimes. Has I missed something? Can someone explain exactly whitch step is first? maby I'm to stressed to understand the guide.
For example should I create profile and edit dns manually before I hijacking trailer app? Or must I add an theme? Before hijack? And profile edit for last? And then reboot?
Have tried to open port 32400 also.
History tends to repeat itself:
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 AppleTV4 plus Apple's developer program.
It's not ready, it's far from done yet. I even haven't tested it on real hardware...
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...
Not to stress you to much with reading any more: Life is good! Have fun!
Edit 14Nov15 // 19Nov15:
Couple of weeks later - I will try to keep this list updated. Treat it as the one-stop information point for the state of our business for now. Total feature list is pretty much the current state of well known PlexConnect.
Implemented:
Open (as in not yet implemented)
PlexGDM, PMS per IP
- myPlex Home user
subtitles, selecting and non-tvOS, in-App rendering
audio track selection
- channels
more settings/options (as needed)
- playlist (video/audio)
fanart, background graphics, skining/themes
Man... and I thought the "done" list should by now be much longer compared to the open items. :-(
Hi all.
Since the last two revisions 1.1.2.2680 & 1.1.2.2680 I keep getting this error when I'm logging with my ATV2 & 3. I tried to install an updated version of PLEXCONNECT still same issue...if I revert back to 1.0.3.2461 plexconnect works fine.
My firewall settings hasn't changed I can connect to my plex server on my ipad and Apple tv4 units. Under settings of the Trailer on the AppleTV2 I do see the server found.
here is the errors.
12:45:28 PlexConnect: ***
12:45:28 PlexConnect: PlexConnect
12:45:28 PlexConnect: Press CTRL-C to shut down.
12:45:28 PlexConnect: ***
12:45:28 PlexConnect: started: 12:45:28
12:45:28 PlexConnect: Version: 0.5-dev-101215
12:45:28 PlexConnect: Python: 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)]
12:45:28 PlexConnect: Host OS: win32
12:45:28 PlexConnect: PILBackgrounds: Is PIL installed? False
12:45:28 PlexConnect: IP_self: 192.168.2.18
12:45:28 DNSServer: started: 12:45:28
12:45:28 DNSServer: ***
12:45:28 DNSServer: DNSServer: Serving DNS on 192.168.2.18 port 53.
12:45:28 DNSServer: intercept: ['trailers.apple.com'] => 192.168.2.18
12:45:28 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
12:45:28 DNSServer: forward other to higher level DNS: 8.8.8.8
12:45:28 DNSServer: ***
12:45:28 WebServer: started: 12:45:28
12:45:28 WebServer: ***
12:45:28 WebServer: WebServer: Serving HTTP on 192.168.2.18 port 80.
12:45:28 WebServer: ***
12:45:29 WebServer: started: 12:45:29
12:45:29 WebServer: ***
12:45:29 WebServer: WebServer: Serving HTTPS on 192.168.2.18 port 443.
12:45:29 WebServer: ***
12:45:47 DNSServer: DNS request received!
12:45:47 DNSServer: Source: ('192.168.2.27', 50467)
12:45:47 DNSServer: Domain: trailers.apple.com
12:45:47 DNSServer: **intercept request
12:45:47 DNSServer: -> DNS response: 192.168.2.18
12:45:47 WebServer: serving /js/application.js
12:45:47 WebServer: serving .xml: /
12:45:47 ATVSettings: add section C07H14Q3DDR5
12:45:47 PlexAPI: ***
12:45:47 PlexAPI: PlexGDM - looking up Plex Media Server
12:45:47 PlexAPI: ***
12:45:48 PlexAPI: GDM: Servers discovered: 1
12:45:48 PlexAPI: Servers (local, plex.tv, MyPlex): 2
12:45:48 WebServer: serving .xml: /PlexConnect.xml
12:45:49 WebServer: serving /js/utils.js
12:45:49 WebServer: serving /js/handlePlexConnectNavbar.js
12:45:49 WebServer: serving .xml: /library/sections
12:45:49 PlexAPI: No Response from Plex Media Server
12:45:49 PlexAPI: We failed to reach a server. Reason: Unauthorized
12:45:49 PlexAPI: Traceback:
Traceback (most recent call last):
File "C:\Users\Seeder\Desktop\Plex Connect old\PlexConnect-master\PlexAPI.py", line 406, in getXMLFromPMS
response = urllib2.urlopen(request, timeout=20)
File "C:\Python27\lib\urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\lib\urllib2.py", line 410, in open
response = meth(req, response)
File "C:\Python27\lib\urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Python27\lib\urllib2.py", line 448, in error
return self._call_chain(args)
File "C:\Python27\lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 401: Unauthorized
12:45:49 WebServer: serving /js/utils.js
12:45:49 WebServer: serving /js/sectionHoldSelect.js
Hi everybody, due to the recent update of the plex server part i was no more able to access my library from my aTV3. Then i come here and i've read that in order to see all of my stuff i must login every client connected to the Plex Server. So i tried to login my aTV but when i confirm the username and then the password i still get a spinning circle and nothing happen.
So i looked what happen on my server side, and PlexConnect.pyc gives me this:
10:38:15 WebServer: serving .xml: /PlexConnect.xml
10:38:44 WebServer: serving .xml: /
10:38:44 WebServer: serving .xml: /PlexConnect.xml
10:38:58 WebServer: File Not Found:
Traceback (most recent call last):
File "C:\PlexConnect\WebServer.py", line 229, in do_GET
XML = XMLConverter.XML_PMS2aTV(PMSaddress, self.path + query, options)
File "C:\PlexConnect\XMLConverter.py", line 241, in XML_PMS2aTV
(username, auth_token) = PlexAPI.MyPlexSignIn(parts[0], parts[1], options)
File "C:\PlexConnect\PlexAPI.py", line 628, in MyPlexSignIn
response = urlopener.open(request).read()
File "C:\Python27\lib\urllib2.py", line 404, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 422, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1222, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\Python27\lib\urllib2.py", line 1184, in do_open
raise URLError(err)
URLError:
I would like to know the reason this is happening because as of now i had to revert to the previous Plex Server version.
Thanks in advance
Hi friends! I used PlexConnect for some days but now I have this error:
Failed to connect to HTTP on 192.168.0.106 port 443: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions
The only thing I changed is set an fixed IP because other gadget is using ip 192.168.0.106, so I released him and set as fix IP in Windows 10. How can I see who is blocking this port?
Thanks!
I'm running into a problem playing music back using PlexConnect. I've got a large music library which plays back fine on other Plex clients. When I try to play back music using PlexConnect, I get between 5-8 seconds of playback and then it errors out. I know the music experience is 'experimental.' But has anyone else run into something like this (and hopefully solved it?) I turned the debug log to high but didn't see anything particularly interesting.
Thanks!
-Dan
I know this has been asked before but no definitive answer. Will Plexconnect at some point support pre-rolls before a movie? The ability to play trailers and a pre-roll before a movie is the only thing missing in my opinion.
How do i setup with the new ATV4? Would it work the same as the older versions?
Hi all,
Forgive me if this is a noob question (I haven't been using Plex that long).
I've been running Plex through my Apple TV (Gen 3), and it works beautifully most of the time. Except that is for one problem, my ATV can't connect to Plex Connect sometimes, all due to the Self_IP that keeps changing! So I go on my mac, into terminal and write down the new IP, go back to my ATV, into the settings and change the DNS to the same IP Number and BAM! Works fine again until the next time!
Is there any way to stop Plexconnect from changing the 'Self_IP' all the time?
Many Thanks!
Hi,
I have been trying to setup plex for my aTV a few days ago now, and from what I've read it seemed like a straight-forward solution. However, I have hit bump after bump trying to get this to work, and I've come to the point where I'm not quite sure what to do, hence my question here.
My setup:
Mac Mini (Model MGEN2LL/A, late 2014, System Version: OS X 10.11 (15A284), Kernel Version: Darwin 15.0.0)
Apple TV 3 (Apple TV software 7.2 (7512)
TP-LINK Archer C7 router.
So I managed to install PlexConnect using OpenPlex by disabling csrutil in OS X recovery mode, and the following the instructions. So far, the trailers app shows PlexConnect when opening, and I am successfully logging into my account and selected my appropriate home user in setting within the apple tv. The profile has been added and send data to apple has been set to no, but whenever i choose a category in apple tv, it shows "No Plex Library Sections Available", and this is no matter what section i choose, no content is displayed.
ATVSettings.cfg:
http://pastebin.com/B2f3MDwp
Settings.cfg:
http://pastebin.com/9w1mUNMh
PlexConnect Logs:
Normal level log when opening "trailers" app:
http://pastebin.com/RV9Xp5wP
High level log when opening "trailers" app:
http://pastebin.com/iZtr0gMG
I am no python expert, but as far as I can tell from the logs, the problems seems to be with the connection between plexconnect and pms, correct me if i'm wrong. I simply don't know how to fix it, so any help would be greatly appreciated.
Thanks in advance
I've tried to install OpenPlex three times. Each time, the installer message says to click the menubar icon to continue. My problem is that there is no OpenPlex icon on the menubar. How do I fix this?
Hi all,
Hope the question makes sense. After pausing and hitting play again, the video length recalculates, gradually getting smaller and smaller. As a result, Plex/ATV thinks the video is shorter than it actually is and cuts it off early. In order to watch the whole video, I have to either start it again, fastforwarding to where it thought it ended, or watch the entire video without pausing.
This has never happened until the most recent Plex Media Server updates. Is this happening for anyone else? Any help would be appreciated. Thanks!
I running Win10 Pro, Plex Server Version 1.1.4.2757, Python v2.78, and latest plexconnect. I tried this on two different Computers. Both have the same error.
Thanks ahead of time :)
This is the error message that I got from plexconnect server
File "C:\PlexConnect\PlexAPI.py", line 432, in getXMLFromPMS
response = urllib2.urlopen(request, timeout=20)
File "C:\Python27\Lib\urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "C:\Python27\Lib\urllib2.py", line 410, in open
response = meth(req, response)
File "C:\Python27\Lib\urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Python27\Lib\urllib2.py", line 448, in error
return self._call_chain(*args)
File "C:\Python27\Lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "C:\Python27\Lib\urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 401: Unauthorized
Background Story
(New users skip straight to How to install)
I have been running Plexconnect as a service through sysvinit (/etc/init.d/) as explained in this post:
https://forums.plex.tv/discussion/156534/install-on-ubuntu-server#latest
After each reboot i still had to restart the service.
This is because now (After 15.x) Ubuntu uses systemd, naturally Plex Media Server now comes with a unit file (systemd) . So what we need now is a systemd unit file for plexconnect. Ill follow most of the old steps as i have no intention of reinventing the wheel.
It's also worth mentioning if you have your init.d script running without any issues, you dont need to follow this guide.
Removing the old sysvinit script (/etc/init.d/plexconnect)
(If you never followed the old guide you obviously dont have to do this)
Stop the server:
sudo service plexconnect stop
Backup your current script in case our new unit file does not work for you!
sudo mv /etc/init.d/plexconnect /etc/init.d/plexconnect.bak
Remove the script from rc.d
sudo update-rc.d plexconnect remove
Now you are ready to proceed.
If for some reason our new unit file does not work:
sudo mv /etc/init.d/plexconnect.bak /etc/init.d/plexconnect
sudo update-rc.d plexconnect defaults
How to Install
Part 1
If you have installed plexconnect in the directories specified bellow (/opt/PlexConnect) and it's up and running/working skip straight to step 2.
Full installation documentation can be found here:
https://github.com/iBaa/PlexConnect/wiki/Install-Guide-Linux
We start by downloading Plexconnect, moving it to a more suitable location, adding some sql keys & certificates for the appletv and then moving the certificates. Do this commands one at a time (Trippel click on each line and copy) .
wget https://github.com/iBaa/PlexConnect/archive/master.zip
unzip master.zip
sudo mv PlexConnect-master/ /opt/PlexConnect
openssl req -new -nodes -newkey rsa:2048 -out ./trailers.pem -keyout ./trailers.key -x509 -days 7300 -subj "/C=US/CN=trailers.apple.com"
openssl x509 -in ./trailers.pem -outform der -out ./trailers.cer && cat ./trailers.key >> ./trailers.pem
mv trailers.* /opt/PlexConnect/assets/certificates/
Part2
Now we are going to make the unit file for the startup process:
(If you have installed Plexconnect somewhere else than "/opt/PlexConnect" you need to replace this path with yours in every step its mentioned)
sudo nano /etc/systemd/system/plexconnect.service
Paste the following: (Look under for Arch)
[Unit]
Description=Plexconnect
After=plexmediaserver.service
[Service]
Type=simple
ExecStart=/usr/bin/python /opt/PlexConnect/PlexConnect.py
User=root
Group=root
Restart=on-failure
RestartSec=15
StartLimitInterval=10s
StartLimitBurst=3
[Install]
WantedBy=multi-user.target
For Arch (or based)
[Unit]
Description=Plexconnect
After=plexmediaserver.service
[Service]
Type=simple
ExecStart=/usr/bin/python2.7 /opt/PlexConnect/PlexConnect.py
User=root
Group=root
Restart=on-failure
RestartSec=15
StartLimitInterval=10s
StartLimitBurst=3
[Install]
WantedBy=multi-user.target
Exit and save with: "Ctrl-x, Y, Enter"
Now we need to set the right permissions for our unit file:
sudo chmod 644 /etc/systemd/system/plexconnect.service
Now we update systemd:
sudo systemctl daemon-reload
Finally we add our unit file:
sudo systemctl enable plexconnect.service
Now our service is ready and we can start it with:
sudo systemctl start plexconnect.service
You can check your service status with:
sudo systemctl status plexconnect.service
or:
sudo service plexconnect status
Finally, how to setup your apple-tv:
https://github.com/iBaa/PlexConnect/wiki/Install-Guide
Sources:
http://www.raspberrypi-spy.co.uk/2015/10/how-to-autorun-a-python-script-on-boot-using-systemd/
https://gist.github.com/tstellanova/7323116
https://forums.plex.tv/discussion/156534/install-on-ubuntu-server#latest
https://wiki.ubuntu.com/SystemdForUpstartUsers
I have a Raspberry Pi 3 running Jessie with Plex Media Server installed and running fine. I can access it via the web, iPhone and even Apple TV4 Plex app, however I have been try to get Plex install on my old ATV2 5.3 jailbroken one.
Somehow I have managed to install PlexConnect but when ever I run it it says "PlexConnect is unavailable. Try again later."
I've read peoples posts etc about SSH'ing in to edit the Settings.cfg file and have tried but whatever I do it still says the above error message.
Is there a way to uninstall it and reinstall clean and a new setup you can advise me to run.???
I'm assuming I don't need to do anything additional with the Pi 3 PMS as its serving files fine to my other devices...
Any help would be great.
M
Apple TV model 3 version 7.0.1
DNS - 192.168.0.14
Local address - 192.168.0.14
Windows 10
Plex server version 1.1.4.2757
Plex local - 192.168.0.14
Downloaded copy today of plex connect
[PlexConnect]
enable_plexgdm = True
ip_pms = 192.168.178.10
port_pms = 32400
enable_dnsserver = True
port_dnsserver = 53
ip_dnsmaster = 8.8.8.8
prevent_atv_update = True
enable_plexconnect_autodetect = True
ip_plexconnect = 0.0.0.0
hosttointercept = trailers.apple.com
port_webserver = 80
enable_webserver_ssl = True
port_ssl = 443
certfile = ./assets/certificates/trailers.pem
allow_gzip_atv = False
allow_gzip_pmslocal = False
allow_gzip_pmsremote = True
loglevel = Normal
logpath = .
Keep getting the error plexconnect failed to connect to https 443 on the plex command line.
...I think its safe to say its the AppleTV3 end of my equation,
as the solution is to simply restart, press Play and Resume and away I go again on the Apple TV3
AppleTV3 with Powerline connection to Synology NAS based Plex library. All movies are .MP4
But I'm experiencing this more and more!
Tends to be approx 20mins into a film, or towards the end (no exact timings noted)
Some movies are worse than others... can sometimes experience freezing 3 or 4 times, during a 2hour film.
More often than not its a complete freeze (image & audio) but sometime the image freezes and the audio continues.
I have sometimes got away with pressing PAUSE and PLAY again...but typically I have to restart the ATV3
Any thoughts on what it can be?
Plex Connect v0.5-17
Plex Media Server 1.0.0.2261-a17e99e
I setup PMS on my Pi 3 using the following tutorial and it has been working fine:-
I wanted to setup a VPN to connect to PIA and followed a combination of these guides:-
https://www.privateinternetaccess.com/forum/discussion/3093/raspberry-pi-issues-solved
I've not yet configured it to start automatically but when I start it manually PLEX seems to run fine for a period of time but then when I try it again in the morning its not responding.
I've had to ssh on and issue a service restart command to plexmediaserver. This has happened twice now.
Any ideas? Is it the VPN or have I broke Plex somehow? If so what is the best way to fix this?
M