Giter Club home page Giter Club logo

plexconnect's People

Contributors

actionanalytics avatar bcse avatar bloerwald avatar chrisbcole avatar dionlarson avatar dmplex avatar drdavy avatar elan avatar ericyanush avatar finkdiff avatar fish2 avatar gavinbeatty avatar ghokun avatar ibaa avatar jeroenj avatar liuxuan30 avatar maronsen avatar marr avatar mdryden avatar moodyblue avatar nadavcoh avatar roidy avatar romaimperator avatar salbahra avatar sheasmith avatar tallerthenyou avatar thediamondpicks avatar thomashilzendegen avatar wahlmanj avatar xzkingzxburnzx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plexconnect's Issues

atvlogger is broken behind ReverseProxy

When you run PlexConnect behind a reverse proxy server (for instance Apache or IIS), the atvlogger-implementation is broken. Because the atvlogger-stuff doesn't reply with ANY answer back to the reverse proxy, the reverse proxy is retrying again and again and (on Apache) is generating alot of HTTP 502 error's.

I'm running PlexConnect on port 8085 and behind an Apache Reverse Proxy with the following virtual host:
http://forums.plexapp.com/index.php/topic/70321-running-with-local-dns-server-and-iis/#entry406414

The fix for the atvlogger is in post http://forums.plexapp.com/index.php/topic/70321-running-with-local-dns-server-and-iis/#entry406466

We should capture the other play states and send them via timeline endpoint

At least loading (buffering in our state) and paused are interesting to us.

atv.player.playerStateChanged = function(newState, timeIntervalSec) 
{   
    /*
    atv.player.states.FastForwarding
    atv.player.states.Loading
    atv.player.states.Paused
    atv.player.states.Playing
    atv.player.states.Rewinding
    atv.player.states.Stopped
    */
}

No subtitles

When I select a subtitle track I don't get subtitles by my movie stream.
While with other plex clients I get the subtitles.

TRAILER IS NOT AVAILABLE. PlEASE TRY AGAIN LATER.

Hello im very new to atv and so to plex but i tried to start it did everything as in your install guide for plex but it still doesnt work. everytime i try to open trailer on my atv3 it says trailer is not available. please try again later.

aufzeichnen

ive got the ATV3 running on 5.2.1
the ip of my computer where i run plexconnect is 192.168.178.24, ive changed the dns in the atv from 192.168.178.1 to 192.168.178.24 and ive changed the

aufzeichnen2

it would be great if you can help me, i appreciate your work

Add a config flag to disable UserAgent check in WebServer.py

I am trying to learn the system (so I can understand and perhaps contribute) and I would like to be able to use a browser to explore the server and how it work.

But the User-Agent (and perhaps other checks I haven't found yet) stop me from using a web browser to to explore.

It would be nice to be able to disable that check while I'm tinkering.

(Aside: Is that check even necessary?)

MKV issues

Hello, I'm trying to play H264 MKV files, but no luck. Now trying to get it work for days now. The only way to watch all of the movies, was to use the opsoneo version, and I had to change a line in the PlexAPI.py to:
plexAccess['X-Plex-Client-Capabilities'] = 'protocols=http-live-streaming,http-mp4-streaming,http-mp4-video,http-mp4-video-720p,http-mp4-video-1080p,http-streaming-video,http-streaming-video-720p,http-streaming-video-1080p;videoDecoders=h264{profile:main&resolution:720&level:42};audioDecoders=aac'

This solution works fine, but the UI is not so good, coz it's an older version.

Tried to get it work on the current version, but no luck. There is no PlexAPI.py file, I found these kind of lines in the XMLConverter.py file, tried to add X-Plex-Client-Capabilities attribute, but nothing. When I try to play an MKV, it's just beachballing.

Running on Ubuntu server 12.04 LTS, and the PMS is 0.9.7.22.

Any ideas?

Thank You!

DNS creation fails under linux

Tested the code under 2 versions of linux on different machines and both fail to create the DNS Server, giving the following error:-

Failed to create socket on UDP port 53: [Errno 98] Address already in use.

channels

Hi Guys,

Thank you for all your hard work on plex connect so far, i am really enjoying using it. I am having some issues with the channels however. I do understand not all the channel are supported at the moment but have seen other users saying they have successfully watched things of 'let me watch this.' I have not however been able to get it to work and get the error message 'trailers unavailable. try again later.' i have also verified that this channels works on an iPhone and also through my all in one home cinema system. I am running windows 7, python 27 and the latest version of plex.

Thanks for your help and keep up the good work :)

Enhancement Request - Push to PlexConnect

For my Roku, I can be in my plex app and choose to play a video directly to the Roku. I would like to see that ability in PlexConnect. Let me know if you need more details.

No Content artwork, no playback but all files are visable

getting a constant error on everything I try to run

firstly getting no artwork with any titles on the ATV but all there on my windows 8 Machine, then when going in to say a film that's been added I get all the info but no artwork then when I play content I get an error saying this content cant be played, try again later

been trying for a few hours but cant resolve it, any help would be good

Windows 8 machine
ATV 3

Ability to run alongside web server?

It's amazing to have something like this, it popped up just as I was looking for it.

However, there's one problem in my way of using PlexConnect. It sets up a server that listens on port 80, the same port that my dedicated web server also listens on...

I was wondering if there was anyway to have this be able to play nice with web servers like Apache and lighttpd. My Plex Server isn't solely home to Plex, but numerous other server software.

I know it's difficult, as the AppleTV only sends on Port 80, but I'm hoping there's some kind of solution. Reeeeally want to give PlexConnect a try.

External Connect ?

Hey,

I got this working thanks alot for that.

But can my friend connect to my server aswell ? can some one explain how this could be done ?

Thans in advanced

PlexConnect requires python v 2.5; state that as requirement & workaround?

ReadyNAS uses version 2.4.4 of python. Can't change very easily, as new firmware wipes.

Try-except-finally did not work until 2.5. You are using T-E-F in PlexConnect.py. Fails on line 76 with py 2.4.4

Please state that version 2.5+ of python is required

Please also offer a work-around for those of us with earlier versions?

Thanks,

TC

Pixelization on 1080p MKV's

Is there a way to watch high resolution MKV video files straight from a networked PC, rather than trans-coding/down-converting it. I have a 106" projector screen and when I play 1080p MKV files straight form my WDTV Live Media Player it looks flawless on there, but when using Plexconnect with my AppleTV3 I can see tons of pixelization (especially darker scenes) That would make this software complete if you ask me :) thanks!

"Trailers is unavailable...Try again later"

I keep getting this pop up message when trying to play mp4 video files. Its 2 specific folders that are doing this (family home videos I ripped from analog) I do not get it since they work just fine via PC/Mac web portal and on both iphone and ipad. Any suggestions on how to fix it? In addition, the plex media server app on my win7 machine said its all done updating/adding items to the database so its not that. thanks!

Configurable Web Server Port

I changed the web server port to 81 because the computer already uses 80.

    server = HTTPServer(('',81), MyHandler)

Via mod_proxy from apache I redirect incoming traffic at port 80 for trailers.apple.com to port 81

   <VirtualHost *:80>
       ServerName trailers.apple.com
       ProxyPreserveHost On
       ProxyPass / http://192.168.0.9:81/
       ProxyPassReverse / http://192.168.0.9:81/
   </VirtualHost>

this works.

Can you provide a setting for the Web server Port?

Nice work!
Thx

Ability to disregard headers (For IIS Setups)

For IIS setups i use a reverse proxy to connect to your web-server as port 80 is used. The proxy will send its own user-agent. To fix this i have manually changed the WebServer.py file.

Your version has:

if self.headers['Host'] == Settings.getHostToIntercept() and
self.headers['User-Agent'].startswith("iTunes-AppleTV"):

for it to work i changed it to:

if 1==1 :

Im thinking it would need to be changed to somehting like:

if (MyGlobalBooleanForDisregardHeaders) or (self.headers['Host'] == Settings.getHostToIntercept() and
self.headers['User-Agent'].startswith("iTunes-AppleTV")):

If we could put an option in the settings.py file i could make a guide on how to setup PlexConnect to play nice with IIS.

Web Server not working

I have OS X Server installed, but tried turning off websites, sharing, and DNS to make this work. It still wouldn't, AND I tried to find the process that was using port 80 and it didn't show up.

So I tried changing the port the web server used to 8080
def Run(cmdQueue, param):
#Protocol = "HTTP/1.0"
# todo: IP, port
try:
server = HTTPServer(('',8080), MyHandler)

But that doesn't work. The trailers app is still normal.

Is there any way to change the port the web server uses so I can use this with OS X server and whatever else is blocking 80?

Also is it possible to change some other app into Plex instead of trailers?

iOS Remote App no longer works

I typically control my Apple TV with the remote app on my iPhone. It no longer recognizes my AppleTV. The app says to turn on home sharing. Anyway around this?

I have home sharing on.

Poster art screen saver? Willing to try myself with some direction.

It would be really cool to be able to select Trailers are the screen saver source on ATV, and have PlexConnect serve up its poster art. Not sure if this functionality uses the same XML interface as the regular Trailers 'App' so it would be possible, but it would be really nice.

I'm a developer myself, and I'd love to give this a whirl. Having never done any work with the Apple TV though, I was wondering what the best way to intercept calls to find out the URLs as well as what Apples XML responses look like would be. Charles?

v0.1.0

• Initial point release
• Support for ATV firmwares 5.0-5.2.1
• Movie section grid view navigation (minus search and folder views)
• Movie section pre-play screen
• TV section with default list view navigation (minus search and folder views)
• TV section grid view navigation (advanced setting in settings.py)
• TV section pre-play screen
• Update of watched/unwatched status working on all ATV supported firmwares (automatically as media is viewed or by the user holding down the select button and selecting the status)
• Direct play fully working
• Transcoding working (possibly with some bugs - only currently uses the older PMS transcoder engine)
• Subtitles working for direct played media (not yet owkring for transcoded media)
• iTunes DRM'ed video files play (this is not possible with other Plex clients)
• Actor thumbnails on pre-play screen
• Use of GDM to automatically determine PMS IP
• Supports use of unblock DNS services, such as Unblock-US
• iPhoto channel fully working
• "Under construction" XML page for non-working items

Synology DS-412+ Python Error

ATV2 or ATV3?: ATV3
Your ATV firmware version : 5.2.1
The DNS server set on the ATV : 192.168.1.1
The device and operating system that PlexConnect is installed on: Synology DS412+ DSM 4.2-3211
The local IP address of the device that PlexConnect is installed on: 192.168.1.20
The device and operating system (including version number) that the Plex media server (PMS) is installed on: Synology DS412+ DSM 4.2-3211
The local IP address of the device that the Plex media server (PMS) is installed on: 192.168.1.1
Where your media is stored (e.g. internal drive): Same Synology DS412+ DSM 4.2-3211
The PlexConnect version number (or if using Github source then a time and date of download; look at the creation date of the folder): 1.0

A detailed description of the issue (the clearer you can make this the better): Running the Python script gives me an error and ATV3 is unable to connect.

LogFile: http://pastebin.com/zNf9zEuJ

.mp4 files playback only!

PlexConnect plays successfully only .mp4 files but fails to play any other format (mkv, avi, etc) returning "An error occurred loading this content. Try again later"

OS: Ubuntu 12.04 LTS 64-bit
Python version: 2.7

Terminal log:
PlexConnect: started: 02:07:46
PlexConnect: ***
PlexConnect: PlexConnect
PlexConnect: Press ENTER to shut down.
PlexConnect: ***
PlexConnect: started: 02:07:46
PlexConnect: IP_self: 192.168.1.3
PlexGDM: ***
PlexGDM: looking up Plex Media Server
PlexGDM: ***
PlexGDM: servers discovered: 1
PlexConnect: PMS: 192.168.1.3:32400
DNSServer: started: 02:07:47
DNSServer: ***
DNSServer: Starting up.
DNSServer: intercept trailers.apple.com: 192.168.1.3
DNSServer: forward other to higher level DNS: 62.38.0.81
DNSServer: ***
WebServer: started: 02:07:47
WebServer: ***
WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
WebServer: ***
DNSServer: DNS request received!
DNSServer: Source: ('127.0.0.1', 52071)
DNSServer: Domain: daisy.ubuntu.com
DNSServer: **forward request
DNSServer: -> DNS response from higher level
DNSServer: DNS request received!
DNSServer: Source: ('127.0.0.1', 57870)
DNSServer: Domain: daisy.ubuntu.com
DNSServer: *__forward request
DNSServer: -> DNS response from higher level
DNSServer: DNS request received!
DNSServer: Source: ('192.168.1.4', 61373)
DNSServer: Domain: trailers.apple.com
DNSServer: *__intercept request
DNSServer: -> DNS response: 192.168.1.3
WebServer: serving application.js
192.168.1.4 - - [14/Jun/2013 02:07:51] "GET /appletv/us/js/application.js HTTP/1.1" 200 -
WebServer: serving /home/delk/PlexConnect/assets/plexconnect.xml
192.168.1.4 - - [14/Jun/2013 02:07:51] "GET /plexconnect.xml HTTP/1.1" 200 -
WebServer: serving /home/delk/PlexConnect/assets/utils.js
192.168.1.4 - - [14/Jun/2013 02:07:51] "GET /utils.js HTTP/1.1" 200 -
ATVLogger: loadItem: Library
192.168.1.4 - - [14/Jun/2013 02:07:52] "GET /loadItem:%20Library&atvlogger HTTP/1.1" 200 -
WebServer: serving .xml: /library/sections
192.168.1.4 - - [14/Jun/2013 02:07:52] "GET /library/sections&PlexConnectUDID=C07JGKGLDRHN HTTP/1.1" 200 -
WebServer: serving /home/delk/PlexConnect/assets/utils.js
192.168.1.4 - - [14/Jun/2013 02:07:52] "GET /utils.js HTTP/1.1" 200 -
ATVLogger: loadURL (override): http://trailers.apple.com/library/sections/1
192.168.1.4 - - [14/Jun/2013 02:07:54] "GET /loadURL%20(override):%20http:&fs;&fs;trailers.apple.com&fs;library&fs;sections&fs;1&atvlogger HTTP/1.1" 200 -
WebServer: serving .xml: /library/sections/1
192.168.1.4 - - [14/Jun/2013 02:07:54] "GET /library/sections/1&PlexConnectUDID=C07JGKGLDRHN HTTP/1.1" 200 -
WebServer: serving /home/delk/PlexConnect/assets/utils.js
192.168.1.4 - - [14/Jun/2013 02:07:54] "GET /utils.js HTTP/1.1" 200 -
DNSServer: DNS request received!
DNSServer: Source: ('192.168.1.4', 59255)
DNSServer: Domain: p22-buy.itunes.apple.com.akadns.net
DNSServer: *__forward request
DNSServer: -> DNS response from higher level
ATVLogger: loadURL (override): http://trailers.apple.com/library/sections/1/all
192.168.1.4 - - [14/Jun/2013 02:07:56] "GET /loadURL%20(override):%20http:&fs;&fs;trailers.apple.com&fs;library&fs;sections&fs;1&fs;all&atvlogger HTTP/1.1" 200 -
WebServer: serving .xml: /library/sections/1/all
192.168.1.4 - - [14/Jun/2013 02:07:57] "GET /library/sections/1/all&PlexConnectUDID=C07JGKGLDRHN HTTP/1.1" 200 -
WebServer: serving /home/delk/PlexConnect/assets/utils.js
192.168.1.4 - - [14/Jun/2013 02:07:58] "GET /utils.js HTTP/1.1" 200 -
WebServer: serving /home/delk/PlexConnect/assets/scrobble.js
192.168.1.4 - - [14/Jun/2013 02:07:58] "GET /scrobble.js HTTP/1.1" 200 -
DNSServer: DNS request received!
DNSServer: Source: ('192.168.1.4', 50195)
DNSServer: Domain: itunes-cdn.apple.com.akadns.net
DNSServer: *__forward request
DNSServer: -> DNS response from higher level
DNSServer: DNS request received!
DNSServer: Source: ('192.168.1.4', 56832)
DNSServer: Domain: ax.init-cdn.itunes.apple.com.akadns.net
DNSServer: *
*forward request
DNSServer: -> DNS response from higher level
ATVLogger: loadURL (override): http://trailers.apple.com/library/metadata/15
192.168.1.4 - - [14/Jun/2013 02:08:04] "GET /loadURL%20(override):%20http:&fs;&fs;trailers.apple.com&fs;library&fs;metadata&fs;15&PlexConnect=Play&atvlogger HTTP/1.1" 200 -
WebServer: serving .xml: /library/metadata/15
192.168.1.4 - - [14/Jun/2013 02:08:04] "GET /library/metadata/15&PlexConnect=Play&PlexConnectUDID=C07JGKGLDRHN HTTP/1.1" 200 -
ATVLogger: Player state: Loading at this time: 0
192.168.1.4 - - [14/Jun/2013 02:08:04] "GET /Player%20state:%20Loading%20at%20this%20time:%200&atvlogger HTTP/1.1" 200 -
ATVLogger: Player state: Stopped at this time: 0
192.168.1.4 - - [14/Jun/2013 02:08:09] "GET /Player%20state:%20Stopped%20at%20this%20time:%200&atvlogger HTTP/1.1" 200 -

Audio/Video going out of sync...

I've noticed that the audio and video eventually get out of sync on higher quality videos. (especially MKVs) Is there anyway to fix that? I never have issues with audio/video being in sync with my WDTV Live player and I am also running on a gigabit LAN which should be plenty enough bandwidth.

Port Error on Startup

16:28:54 PlexConnect: started: 16:28:54
16:28:54 PlexConnect: ***
16:28:54 PlexConnect: PlexConnect
16:28:54 PlexConnect: Press ENTER to shut down.
16:28:54 PlexConnect: ***
16:28:54 PlexConnect: started: 16:28:54
16:28:54 PlexConnect: IP_self: 192.168.0.6
16:28:54 PlexGDM: ***
16:28:54 PlexGDM: looking up Plex Media Server
16:28:54 PlexGDM: ***
16:28:55 PlexGDM: servers discovered: 1
16:28:55 PlexConnect: PMS: 192.168.0.6:32400
16:28:55 DNSServer: started: 16:28:55
16:28:55 DNSServer: ***
16:28:55 DNSServer: Starting up.
16:28:55 DNSServer: intercept trailers.apple.com: 192.168.0.6
16:28:55 DNSServer: forward other to higher level DNS: 8.8.8.8
16:28:55 DNSServer: ***
16:28:55 WebServer: started: 16:28:55
16:28:55 WebServer: Failed to connect to port 80 (http): [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions

?? this is a new one... nothing changed. netstat -o shows nothing on port 80..?

How to allow PlexConnect to work without changing DNS settings

I am using a second router that uses Tomato USB firmware, with this setup you can configure the DNS/DHCP settings to intercept port 53.
Within the dnsmasq settings I put this entry:
address=/trailers.apple.com/192.168.1.23

Change the IP to match where you have PlexConnect running and you are done.
Now the AppleTV can use it's automatic DNS settings and it works perfectly!
This also allows a graceful failure in case my PlexConnect machine is having issues, the AppleTV and Netflix will continue to work and is much more WAF friendly...

Plex GDM: No servers discovered + DNSServer and Webserver: Failed to connect to port Errno 10013

Hi, I got this problem, when I opened PlexConnect the screen shows all this information:

PlexConnect : ***
PlexConnect : PlexConnect
PlexConnect: Press ENTER to shut down.
PlexConnect : ***
Plex Connect: IP_self : 192.168.0.100
PlexGDM: ***
PlexGDM: Looking up Plex Media Server
PlexGDM: ***
PlexGDM: No servers discovered
DNSServer : ***
DNSServer: Starting up.
DNSServer: intercept trailers.apple.com: 192.168.0.100
DNSServer: forward other to higher level DNS: 192.168.0.1
DNSServer: ***
WebServer: Failed to connect to port 80 : [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions

I hope you can help me, thank you.

Hi Am new, and i would like to ask a kuple of questions if possible :)

First of all i would like to point out that i am really new to all of this, but at the same time really interested in al of this.

My question is regarding the "exploit" that allows us to make a connection between the plex server and the apple tv. my knowledge in this area is very limited so sorry for my ignorance, but my question is would it be possible to instead to using our own plex server, if we maybe could use the server that MovieBox(a jailbroken exclusive app for iOS, that is similar to netflix but free) uses, as far as i know moviebox is pulling the movies from a russian streaming web page... because if posible it would result in som kind of free netflix to the apple tv's with both tv shows and movies.

pleas respond, with your honest opinion.
Ps: i leav the hompage for moviebox http://movie-box.cc
regards belfaz

Multi-user / myPlex support

Hello,

I was wondering if multi-user / myplex support could be added to Plexconnect.

It would be ideal if you could allow others (those you shared your library with) to also watch through plexconnect with their ATV at home but ofcourse everyone should have their own watched/unwatched status.

Thank you,
Michiel

Audio distorted when streaming MKV's (especially 1080p files)

I just installed plexconnect on my windows 7 PC and setup both my appletv2 and appletv3 with settings that allow for it to work. I have tons of mkv video files on my RAID5 server and I just tried streaming to both appletv's. I seem to get some audio distortion on louder scenes that are not there normally. Is this a known issue? Also, I have an WDTV Live media player as well which can stream mkv videos through my LAN, and I was wondering if using PlexConnect to the appletvs can degrade the video source file as compared to playing the actual mkv like on a wdtv player. (or is it a direct play via LAN?) Thanks in advance for your help!

Setting up PlexConnect.py via launchd not working

I always get an immediate shutdown and the following error (logged via launchd's logging facility):

Traceback (most recent call last):
  File "/Applications/PlexConnect/PlexConnect.py", line 72, in <module>
    key = raw_input()
EOFError: EOF when reading a line

Standard log output is always a variation of this:

PlexConnect : ***
PlexConnect : PlexConnect
PlexConnect : Press ENTER to shut down.
PlexConnect : ***
PlexConnect : IP_self: 192.168.178.34
PlexGDM : ***
PlexGDM : looking up Plex Media Server
PlexGDM : ***
PlexGDM : servers discovered: 1
WebServer : ***
WebServer : WebServer: Serving HTTP on 0.0.0.0 port 80.
WebServer : ***
WebServer : Shutting down.
DNSServer : ***
DNSServer : Starting up.
DNSServer : intercept trailers.apple.com: 192.168.178.34
DNSServer : forward other to higher level DNS: 192.168.178.1
DNSServer : ***
DNSServer : Shutting down.
PlexConnect : Shutting down.
PlexConnect : ***
PlexConnect : PlexConnect
PlexConnect : Press ENTER to shut down.
PlexConnect : ***
PlexConnect : IP_self: 192.168.178.34
PlexGDM : ***
PlexGDM : looking up Plex Media Server
PlexGDM : ***
PlexGDM : servers discovered: 1
WebServer : ***
WebServer : WebServer: Serving HTTP on 0.0.0.0 port 80.
WebServer : ***
WebServer : Shutting down.

When running manually, the whole thing works perfectly. I just don't want to manually restart PlexConnect every time my server restarts. And without PlexConnect running the whole AppleTV internet setup isn't working as far as I understand it. Correct?

External Server Works BUT ...

hi

i managed to run a external server with plexconnect
but there is a problem, images did not load,
also changed the external DNS to tunlr then i can use hulu and netflix in the same time because i'm not in the USA

is there any fix for the images ?
if you want to try it, change your DNS to 46.105.73.93

Thanks!

Password in setup

After entering the sudo ./PlexConnect.py command in terminal, machine asks for password. I enter my usual admin password, but to no avail. Says it's wrong. Is there something I'm missing here?

Thx

XMLConverter: Unable to connect to 192.168.1.100:32400 ;Reason: [Errno 61] Connection refused

Hi,

Could you please help me with the following error?
Thank you.

I changed the Setting.py->p_pms to local IP of server and the ip_dnsmaster to router IP.

After accessing Trailers app on ATV3 I still get the error
XMLConverter: Unable to connect to 192.168.1.100:32400
Reason: [Errno 61] Connection refused

Below please find the PlexConnect.log:

22:11:15 PlexConnect: started: 22:11:15
22:11:15 PlexConnect: ***
22:11:15 PlexConnect: PlexConnect
22:11:15 PlexConnect: Press ENTER to shut down.
22:11:15 PlexConnect: ***
22:11:15 PlexConnect: started: 22:11:15
22:11:15 PlexConnect: IP_self: 192.168.1.100
22:11:15 PlexGDM: ***
22:11:15 PlexGDM: looking up Plex Media Server
22:11:15 PlexGDM: ***
22:11:16 PlexGDM: No servers discovered
22:11:16 PlexConnect: PMS: 192.168.1.100:32400
22:11:16 DNSServer: started: 22:11:16
22:11:16 DNSServer: ***
22:11:16 DNSServer: Starting up.
22:11:16 DNSServer: intercept trailers.apple.com: 192.168.1.100
22:11:16 DNSServer: forward other to higher level DNS: 192.168.1.1
22:11:16 DNSServer: ***
22:11:16 WebServer: started: 22:11:16
22:11:16 WebServer: ***
22:11:16 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
22:11:16 WebServer: ***
22:12:26 DNSServer: DNS request received!
22:12:26 DNSServer: Source: ('192.168.1.101', 54663)
22:12:26 DNSServer: Domain: trailers.apple.com
22:12:26 DNSServer: ***intercept request
22:12:26 DNSServer: -> DNS response: 192.168.1.100
22:12:26 WebServer: serving application.js
22:12:26 WebServer: serving /Users/MacBook/Downloads/PlexConnect-XML_templates/assets/plexconnect.xml
22:12:26 WebServer: serving /Users/MacBook/Downloads/PlexConnect-XML_templates/assets/utils.js
22:12:26 ATVLogger: loadItem: Library
22:12:26 WebServer: serving .xml: /library/sections
22:12:26 XMLConverter: Unable to connect to 192.168.1.100:32400
Reason: [Errno 61] Connection refused
22:12:26 XMLConverter: No Response from Plex Media Server

Option to not show as default user

The main problem with PlexConnect now is that when you watch something from a AppleTV, it will count as watched/unwatched for the primary user in Plex. It would be awesome if we could define that so that you could also set plexconnect to not record what was being watched, at least not for the Plex library's first user.

Plays TV shows but not movies

I can select TV shows and they play brilliantly.
However, I don't seem to be able to play movies.

I'm running plexconnect on CentOS 6.4, which runs python 2.6.6.

My setup has the webserver component running on port 82, with a virtual server running Apache that proxies the request to the plexconnect webserver.

I've put the stacktrace below:-

WebServer: serving .xml: /library/metadata/398
XMLConverter: XML_ExpandLine - Error in {{VAL(Video/Role[2]/tag)}}
Traceback (most recent call last):
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 430, in XML_ExpandLine
res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
File "", line 1, in
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 712, in ATTRIB_VAL
key, leftover, dfltd = self.getKey(src, srcXML, param)
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 547, in getKey
el = el.find(parts[0])
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 186, in find
return _compile(path).find(element)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 176, in _compile
p = Path(path)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 93, in init
"expected path separator (%s)" % (op or tag)
SyntaxError: expected path separator ([)

XMLConverter: XML_ExpandLine - Error in {{VAL(Video/Director[2]/tag)}}
Traceback (most recent call last):
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 430, in XML_ExpandLine
res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
File "", line 1, in
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 712, in ATTRIB_VAL
key, leftover, dfltd = self.getKey(src, srcXML, param)
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 547, in getKey
el = el.find(parts[0])
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 186, in find
return _compile(path).find(element)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 176, in _compile
p = Path(path)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 93, in init
"expected path separator (%s)" % (op or tag)
SyntaxError: expected path separator ([)

XMLConverter: XML_ExpandLine - Error in {{VAL(Video/Producer[2]/tag)}}
Traceback (most recent call last):
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 430, in XML_ExpandLine
res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
File "", line 1, in
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 712, in ATTRIB_VAL
key, leftover, dfltd = self.getKey(src, srcXML, param)
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 547, in getKey
el = el.find(parts[0])
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 186, in find
return _compile(path).find(element)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 176, in _compile
p = Path(path)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 93, in init
"expected path separator (%s)" % (op or tag)
SyntaxError: expected path separator ([)

XMLConverter: XML_ExpandLine - Error in {{VAL(Video/Role[3]/tag)}}
Traceback (most recent call last):
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 430, in XML_ExpandLine
res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
File "", line 1, in
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 712, in ATTRIB_VAL
key, leftover, dfltd = self.getKey(src, srcXML, param)
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 547, in getKey
el = el.find(parts[0])
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 186, in find
return _compile(path).find(element)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 176, in _compile
p = Path(path)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 93, in init
"expected path separator (%s)" % (op or tag)
SyntaxError: expected path separator ([)

XMLConverter: XML_ExpandLine - Error in {{VAL(Video/Director[3]/tag)}}
Traceback (most recent call last):
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 430, in XML_ExpandLine
res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
File "", line 1, in
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 712, in ATTRIB_VAL
key, leftover, dfltd = self.getKey(src, srcXML, param)
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 547, in getKey
el = el.find(parts[0])
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 186, in find
return _compile(path).find(element)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 176, in _compile
p = Path(path)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 93, in init
"expected path separator (%s)" % (op or tag)
SyntaxError: expected path separator ([)

XMLConverter: XML_ExpandLine - Error in {{VAL(Video/Producer[3]/tag)}}
Traceback (most recent call last):
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 430, in XML_ExpandLine
res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
File "", line 1, in
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 712, in ATTRIB_VAL
key, leftover, dfltd = self.getKey(src, srcXML, param)
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 547, in getKey
el = el.find(parts[0])
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 186, in find
return _compile(path).find(element)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 176, in _compile
p = Path(path)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 93, in init
"expected path separator (%s)" % (op or tag)
SyntaxError: expected path separator ([)

XMLConverter: XML_ExpandLine - Error in {{VAL(Video/Role[4]/tag)}}
Traceback (most recent call last):
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 430, in XML_ExpandLine
res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
File "", line 1, in
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 712, in ATTRIB_VAL
key, leftover, dfltd = self.getKey(src, srcXML, param)
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 547, in getKey
el = el.find(parts[0])
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 186, in find
return _compile(path).find(element)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 176, in _compile
p = Path(path)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 93, in init
"expected path separator (%s)" % (op or tag)
SyntaxError: expected path separator ([)

XMLConverter: XML_ExpandLine - Error in {{VAL(Video/Director[4]/tag)}}
Traceback (most recent call last):
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 430, in XML_ExpandLine
res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
File "", line 1, in
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 712, in ATTRIB_VAL
key, leftover, dfltd = self.getKey(src, srcXML, param)
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 547, in getKey
el = el.find(parts[0])
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 186, in find
return _compile(path).find(element)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 176, in _compile
p = Path(path)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 93, in init
"expected path separator (%s)" % (op or tag)
SyntaxError: expected path separator ([)

XMLConverter: XML_ExpandLine - Error in {{VAL(Video/Producer[4]/tag)}}
Traceback (most recent call last):
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 430, in XML_ExpandLine
res = eval("g_CommandCollection.ATTRIB_"+cmd+"(src, srcXML, '"+param+"')")
File "", line 1, in
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 712, in ATTRIB_VAL
key, leftover, dfltd = self.getKey(src, srcXML, param)
File "/data/PlexConnect2/PlexConnect/XMLConverter.py", line 547, in getKey
el = el.find(parts[0])
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 186, in find
return _compile(path).find(element)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 176, in _compile
p = Path(path)
File "/usr/lib64/python2.6/xml/etree/ElementPath.py", line 93, in init
"expected path separator (%s)" % (op or tag)
SyntaxError: expected path separator ([)

Any ideas on the issue would be great

Thanks

Crash - consitent error

Work perfectly for random period... normally after watching a video to the end (guessing it's

Keep getting this error. Requires a restart for Plexconnect to work again.

DNSServer: Source: ('192.168.0.2', 65226)
DNSServer: Domain: upp.itunes.apple.com
DNSServer: **_forward request
DNSServer: -> DNS response from higher level
DNSServer: Shutting down.
Process Process-1:
Traceback (most recent call last):
File "C:\Python27\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "C:\Python27\lib\multiprocessing\process.py", line 114, in run
self._target(_self._args, **self._kwargs)
File "C:\plexconnect\DNSServer.py", line 166, in Run
data, addr = DNS.recvfrom(1024)
error: [Errno 10054] An existing connection was forcibly closed by the remote ho
st
192.168.0.123 - - [15/Jun/2013 08:42:59] code 403, message Not Serving Client 19
2.168.0.123
192.168.0.123 - - [15/Jun/2013 08:42:59] "GET /CgiTagMenu?page=Top&Language=0 HT
TP/1.1" 403 -
192.168.0.123 - - [15/Jun/2013 08:42:59] code 403, message Not Serving Client 19
2.168.0.123
192.168.0.123 - - [15/Jun/2013 08:42:59] "GET /CgiTagMenu?page=Top&Language=0 HT
TP/1.1" 403 -
192.168.0.123 - - [15/Jun/2013 08:42:59] code 403, message Not Serving Client 19
2.168.0.123
192.168.0.123 - - [15/Jun/2013 08:42:59] "GET /CgiTagMenu?page=Top&Language=0 HT
TP/1.1" 403 -
192.168.0.123 - - [15/Jun/2013 08:42:59] code 403, message Not Serving Client 19
2.168.0.123
192.168.0.123 - - [15/Jun/2013 08:42:59] "GET /get_log.cgi HTTP/1.1" 403 -
192.168.0.123 - - [15/Jun/2013 08:42:59] code 403, message Not Serving Client 19
2.168.0.123
192.168.0.123 - - [15/Jun/2013 08:42:59] "GET /get_log.cgi HTTP/1.1" 403 -
192.168.0.123 - - [15/Jun/2013 08:42:59] code 403, message Not Serving Client 19
2.168.0.123
192.168.0.123 - - [15/Jun/2013 08:42:59] "GET /get_log.cgi HTTP/1.1" 403 -
192.168.0.123 - - [15/Jun/2013 08:42:59] code 403, message Not Serving Client 19
2.168.0.123
192.168.0.123 - - [15/Jun/2013 08:42:59] "GET /top.htm HTTP/1.1" 403 -
192.168.0.123 - - [15/Jun/2013 08:42:59] code 403, message Not Serving Client 19
2.168.0.123

Restarting PMS loses connection to PlexConnect

If PMS ever needs to be relaunched or restarted, PlexConnect loses its' connection to PMS. PlexConnect needs to be restarted in order for the link to be re-created, this is true even though the addresses and ports are static on both services. I am not sure why this is the case; maybe a type of internal timer/reset where if a connection is lost after a certain amount of time the software will "relaunch" in a sense to re-connect to PMS.

This is on 10.7.5 with PMS and PlexConnect both running the newest versions as of this morning (6/2/13).

Enhancement: Audio Boost

It would be really nice to have a option in settings to audio boost, if possible. Besides this minor issue everything seems to be working well. Thanks!

Trailers is unavailable - no errors reported

Fresh install on OS X 10.8.1
python 2.7.2

Library browsing works but when I try to play a show I get:

WebServer : serving .xml: /library/metadata/921&PlexConnect=EpisodePrePlay
10.0.1.214 - - [01/Jun/2013 18:46:20] "GET /library/metadata/921&PlexConnect=EpisodePrePlay HTTP/1.1" 200 -

(Should that & be a ?)

but nothing shows and I see "Trailers is unavailable. Try again later".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.