Everything works except media playback

Oke, I switched the log level to High and this the result: http://pastebin.com/embed_js.php?i=PSHUGuyt

At the end you'll see this appearing twice:

  1. 13:02:46 WebServer: request options:
  2. {'PlexConnectLog': 'Player state: Stopped at this time: 0'}
  3. 13:02:46 ATVLogger: Player state: Stopped at this time: 0

Try disabling GDM and hardcoding the PMS IP in settings.cfg please.

Try disabling GDM and hardcoding the PMS IP in settings.cfg please.

Yes! That magically worked. Thanks for your help!

No problem :)

Do you use VMWare or another similar program?

EDIT: I was a terrible ass. My NAS was not mounted to my MAC. Works like a charm. Discard everything below.

Hello f00b4r,

Your help is much appreciated. I had this working perfectly yesterday but i'm getting same issues as guys above. Details below:

  • Your ATV model (2 or 3) and firmware version (found under the ATV settings > general > about > Apple TV software): ATV3 (5.3/ 6105)

  • The DNS server set on the ATV (found under the ATV settings > general > network > DNS): 192.168.100.4

  • The device and operating system (including version number) that PlexConnect is installed on: Mac OS X10.8.4

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

  • The device and operating system (including version number) that the Plex media server (PMS) is installed on: Mac OS X10.8.4

  • The Plex media server (PMS) version number you are running (**do not put 'latest'**): 0.9.8.3

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

  • 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 testing branch e.g. the Elan/PlexInc one. Downloaded using Git 31/07/13 12:50pm (GMT +3)

  • The content of your 'Settings.cfg' file (if you do not have this file you are running an old version, please update)

[PlexConnect]
ip_pms = 192.168.100.4
enable_dnsserver = True
ip_webserver = 0.0.0.0
enable_plexconnect_autodetect = True
port_pms = 32400
port_webserver = 80
ip_plexconnect = 0.0.0.0
ip_dnsmaster = 8.8.8.8
loglevel = High
logpath = .
enable_plexgdm = True

  • Detail on the media file if it is an issue related to playing a media file (in order to get the necessary information on a particular media file go into the Plex web interface, select the video file, when it brings up the page for the media file click on the "i" information button on the left hand side, it will then bring up a "media info" box, click on the "View XML" button, it will then open a browser window with the relevant information, copy this to http://www.pastebin.com and use the pastebin link to post the details; posting the information directly in the forum may mess up the formatting and generally takes up a lot of space):

All files

  • A detailed description of the issue (the clearer you can make this the better):

I read through this thread first and changed the Settings.cfg file to hardcode the IP_PMS. I've also tried changing value of ENABLE_PlexGDM to False and disabling it in PMS settings. I cannot connect to the PMS in the ATV or it returns an error saying cannot find UUID of PMS. With standard settings, either with hardcoded IP or not, I get an error on ATV when I try to play the file. I had Elan's fork installed before this main version and it came back with same error, giving a "Broken Pipe" error on logging in Terminal. I imagine the same is happening here.

13:17:46 PlexConnect: ***
13:17:46 PlexConnect: PlexConnect
13:17:46 PlexConnect: Press CTRL-C to shut down.
13:17:46 PlexConnect: ***
13:17:46 PlexConnect: started: 13:17:46
13:17:46 PlexConnect: IP_self: 192.168.100.4
13:17:46 DNSServer: started: 13:17:46
13:17:46 DNSServer: ***
13:17:46 DNSServer: Starting up.
13:17:46 DNSServer: intercept trailers.apple.com: 192.168.100.4
13:17:46 DNSServer: forward other to higher level DNS: 8.8.8.8
13:17:46 DNSServer: ***
13:17:46 WebServer: started: 13:17:46
13:17:46 WebServer: ***
13:17:46 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
13:17:46 WebServer: ***
13:17:46 PlexGDM: ***
13:17:46 PlexGDM: looking up Plex Media Server
13:17:46 PlexGDM: ***
13:17:47 PlexGDM: servers discovered: 1
13:17:47 XMLConverter: PlexGDM - PMS: 192.168.100.4:32400
13:18:07 DNSServer: DNS request received!
13:18:07 DNSServer: Source: ('192.168.100.15', 61092)
13:18:07 DNSServer: Domain: p23-buy.itunes.apple.com.akadns.net
13:18:07 DNSServer: ***forward request
13:18:08 DNSServer: -> DNS response from higher level
13:18:10 DNSServer: DNS request received!
13:18:10 DNSServer: Source: ('192.168.100.15', 63033)
13:18:10 DNSServer: Domain: trailers.apple.com
13:18:10 DNSServer: ***intercept request
13:18:10 DNSServer: -> DNS response: 192.168.100.4
13:18:10 WebServer: serving application.js
13:18:10 WebServer: serving /Users/mattfh/PlexConnect/assets/plexconnect.xml
13:18:10 WebServer: serving  /Users/mattfh/PlexConnect/assets/js/utils.js
13:18:10 ATVLogger: loadItem: Library
13:18:10 WebServer: serving .xml: /library/sections
13:18:10 WebServer: serving  /Users/mattfh/PlexConnect/assets/js/utils.js
13:18:11 WebServer: serving .xml: /library/sections/1/recentlyAdded?stack=1&X-Plex-Container-Start=0&X-Plex-Container-Size=20
13:18:11 DNSServer: DNS request received!
13:18:11 DNSServer: Source: ('192.168.100.15', 64823)
13:18:11 DNSServer: Domain: itunes-cdn.apple.com.akadns.net
13:18:11 DNSServer: ***forward request
13:18:12 DNSServer: -> DNS response from higher level
13:18:12 DNSServer: DNS request received!
13:18:12 DNSServer: Source: ('192.168.100.15', 51943)
13:18:12 DNSServer: Domain: ax.init-cdn.itunes.apple.com.akadns.net
13:18:12 DNSServer: ***forward request
13:18:12 DNSServer: -> DNS response from higher level
13:18:13 ATVLogger: loadURL (override): http://trailers.apple.com/library/sections/1
13:18:13 WebServer: serving .xml: /library/sections/1
13:18:13 WebServer: serving  /Users/mattfh/PlexConnect/assets/js/utils.js
13:18:13 WebServer: serving  /Users/mattfh/PlexConnect/assets/js/updateXML.js
13:18:13 ATVLogger: 1
13:18:14 ATVLogger: 1
13:18:14 WebServer: serving .xml: /library/sections/1
13:18:17 WebServer: serving  /Users/mattfh/PlexConnect/assets/js/utils.js
13:18:17 WebServer: serving  /Users/mattfh/PlexConnect/assets/js/updateXML.js
13:18:17 WebServer: serving  /Users/mattfh/PlexConnect/assets/js/settings.js
13:18:17 WebServer: serving  /Users/mattfh/PlexConnect/assets/js/scrobble.js
13:18:21 ATVLogger: loadURL (override): http://trailers.apple.com/library/metadata/606&PlexConnect=MoviePrePlay
13:18:21 WebServer: serving .xml: /library/metadata/606
13:18:23 WebServer: serving  /Users/mattfh/PlexConnect/assets/js/utils.js
13:18:23 WebServer: serving  /Users/mattfh/PlexConnect/assets/js/selectAudioAndSubs.js
13:18:25 ATVLogger: loadURL (override): http://trailers.apple.com/library/metadata/606&PlexConnect=Play
13:18:25 WebServer: serving .xml: /library/metadata/606
13:18:26 ATVLogger: Player state: Loading at this time: 0
13:18:30 ATVLogger: Player state: Stopped at this time: 0

Hi. I know this is an older thread though I'm hoping you could help. I have the same issues and this thread looked like a winner, though it still hasn't helped. Below is my answers to the questions

  • Your ATV model (2 or 3) and firmware version (found under the ATV settings > general > about > Apple TV software): aTV 3  running 6.0.2
  • The DNS server set on the ATV (found under the ATV settings > general > network > DNS): 192.168.1.83
  • The device and operating system (including version number) that PlexConnect is installed on: Qnap TS459 Pro
  • The local IP address of the device that PlexConnect is installed on: 192.168.1.83
  • The device and operating system (including version number) that the Plex media server (PMS) is installed on: Qnap TS459 Pro
  • The Plex media server (PMS) version number you are running (**do not put 'latest'**): 0.9.7.12.4
  • The local IP address of the device that the Plex media server (PMS) is installed on: 192.168.1.83
  • 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 testing branch e.g. the Elan/PlexInc one. Github source zip download 9/11/2013
  • The content of your 'Settings.cfg' file (if you do not have this file you are running an old version, please update)
  • [PlexConnect]
  • port_pms = 32400
  • port_webserver = 80
  • ip_plexconnect = 0.0.0.0
  • certfile = ./assets/certificates/trailers.pem
  • ip_dnsmaster = 8.8.8.8
  • loglevel = High
  • enable_dnsserver = True
  • logpath = .
  • ip_pms = 192.168.1.83
  • enable_plexgdm = False
  • hosttointercept = trailers.apple.com
  • port_ssl = 443
  • enable_webserver_ssl = True
  • prevent_atv_update = True
  • port_dnsserver = 53
  • enable_plexconnect_autodetect = True
     
  • Detail on the media file if it is an issue related to playing a media file (in order to get the necessary information on a particular media file go into the Plex web interface, select the video file, when it brings up the page for the media file click on the "i" information button on the left hand side, it will then bring up a "media info" box, click on the "View XML" button, it will then open a browser window with the relevant information, copy this to http://www.pastebin.com and use the pastebin link to post the details; posting the information directly in the forum may mess up the formatting and generally takes up a lot of space): Location is here https://dl.dropboxusercontent.com/u/16186677/plexerror/2346.xml
  • detailed description of the issue (the clearer you can make this the better): Some media files don’t play, you get the “an error occurred loading this content” message. Some files work, some don’t. Most don’t. 
  • Ensure you post your 'PlexConnect.log' file to pastebin and post the link ('PlexConnect.log' is located in your PlexConnect folder). If possible, follow these steps to create a "more detailed fresh" one: location is here https://dl.dropboxusercontent.com/u/16186677/plexerror/PlexConnect.log

 

I have followed the steps on this such as force transcode, and disabled  gem though it still has no improvement.

Any help would be greatly appreciated.
 

Hi. I know this is an older thread though I'm hoping you could help. I have the same issues and this thread looked like a winner, though it still hasn't helped. Below is my answers to the questions

  • Your ATV model (2 or 3) and firmware version (found under the ATV settings > general > about > Apple TV software): aTV 3  running 6.0.2
  • The DNS server set on the ATV (found under the ATV settings > general > network > DNS): 192.168.1.83
  • The device and operating system (including version number) that PlexConnect is installed on: Qnap TS459 Pro
  • The local IP address of the device that PlexConnect is installed on: 192.168.1.83
  • The device and operating system (including version number) that the Plex media server (PMS) is installed on: Qnap TS459 Pro
  • The Plex media server (PMS) version number you are running (**do not put 'latest'**): 0.9.7.12.4
  • The local IP address of the device that the Plex media server (PMS) is installed on: 192.168.1.83
  • 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 testing branch e.g. the Elan/PlexInc one. Github source zip download 9/11/2013
  • The content of your 'Settings.cfg' file (if you do not have this file you are running an old version, please update)
  • [PlexConnect]
  • port_pms = 32400
  • port_webserver = 80
  • ip_plexconnect = 0.0.0.0
  • certfile = ./assets/certificates/trailers.pem
  • ip_dnsmaster = 8.8.8.8
  • loglevel = High
  • enable_dnsserver = True
  • logpath = .
  • ip_pms = 192.168.1.83
  • enable_plexgdm = False
  • hosttointercept = trailers.apple.com
  • port_ssl = 443
  • enable_webserver_ssl = True
  • prevent_atv_update = True
  • port_dnsserver = 53
  • enable_plexconnect_autodetect = True
     
  • Detail on the media file if it is an issue related to playing a media file (in order to get the necessary information on a particular media file go into the Plex web interface, select the video file, when it brings up the page for the media file click on the "i" information button on the left hand side, it will then bring up a "media info" box, click on the "View XML" button, it will then open a browser window with the relevant information, copy this to http://www.pastebin.com and use the pastebin link to post the details; posting the information directly in the forum may mess up the formatting and generally takes up a lot of space): Location is here https://dl.dropboxusercontent.com/u/16186677/plexerror/2346.xml
  • detailed description of the issue (the clearer you can make this the better): Some media files don’t play, you get the “an error occurred loading this content” message. Some files work, some don’t. Most don’t. 
  • Ensure you post your 'PlexConnect.log' file to pastebin and post the link ('PlexConnect.log' is located in your PlexConnect folder). If possible, follow these steps to create a "more detailed fresh" one: location is here https://dl.dropboxusercontent.com/u/16186677/plexerror/PlexConnect.log

 

I have followed the steps on this such as force transcode, and disabled  gem though it still has no improvement.

Any help would be greatly appreciated.
 

So far i noticed the AVI's are giving the most issues.. MPG formats are OK

Check the Plex wiki on your NAS device to see if it able to transcode the problem files.

No problem :)

Do you use VMWare or another similar program?

It is interesting you ask that. I am running Vmware on my Win 7 PC which also happens to run PlexConnect and PMS. Is there any known issues with this? Thanks.

It is interesting you ask that. I am running Vmware on my Win 7 PC which also happens to run PlexConnect and PMS. Is there any known issues with this? Thanks.


There can be as it can confuse PMS auto discovery (as it either NATs or bridges the virtual machines IP).
Try disabling GDM and hard funding the PMS IP in settings.cfg.

There can be as it can confuse PMS auto discovery (as it either NATs or bridges the virtual machines IP).
Try disabling GDM and hard funding the PMS IP in settings.cfg.

Auto discovery works fine for me (with an older version of PlexConnect though) and Plex works on my ATV3 (although I have a feeling media playback is not 100% perfect. I haven't had much of a chance to test it completely). My settings.cfg does not have the correct IP of my PMS (I believe it has 192.168.178.10 which I am guessing that's the virtual interface?). Do you think if I hard code the PMS IP in settings.cfg, things will improve even though Plex stil works with the current settings? Thanks.

That is a test IP.
It may appear to auto discover your PMS but something is going on so try it - make sure you disable GDM though.

That is a test IP.
It may appear to auto discover your PMS but something is going on so try it - make sure you disable GDM though.

Disable GDM on PMS or PlexConnect? If PlexConnect, could you tell me the exact line please? Thanks.

See the advance options section in the wiki.

Check the Plex wiki on your NAS device to see if it able to transcode the problem files.

Hi.. your right.. qnap can't transcode.. issue found :) looks like ill have a mac mini sitting in the server room to be the PMS and PlexConnect and it can access the files off the qnap..

Quick question, how many streams can PMS transcode simultaneously? would 3 be OK. I am using this in a large home theatre system that uses a central control system with 4 apple TV's and there is a chance that all 4 apple TVs will want to watch something from PLEX at the same time... 

Any foreseen issues using the i5 iMac mini as a PMS?

The how many streams question is dependant upon PMS hardware and client codec support e.g. sending multiple streams doesnt require too beefy hardware, direct streaming requires a little more effort and full transcoding requires even more, PMS itself will easily handle multiple streams.

I would think that your Mini should be able to handle it but maybe worth checking in the PMS forum (provide the full specs though including CPU speed and RAM).

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.