Trailer is unavailable... start again later

Dear Plexers,

 

I installed PMS and Plex connect on PC, but can't make it work on my ATV3. I always get the Trailer unavailable,try again later.

 

  • ATV 3rd gen and firmware version 5.2.1 (6025), connected via ethernet

  • The DNS server set on the ATV: 192.168.0.120

  • The device and operating system (including version number) that PlexConnect is installed on: Acer PC X1301 Windows 7 Family edition premium SP1 

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

  • The device and operating system (including version number) that the Plex media server (PMS) is installed on:  Acer PC Windows 7 Family edition premium SP1 

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

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

  • Downloaded plexconnect on saturday 20th july from github

  • The content of your 'Settings.cfg' file : file not available, even though I installed and ran Plexconnect-0.1 IOS pre5.1

  • I have the .py file, but not the cfg

      But from the  settings.py file, I have the following:

       Connect]port_pms = 32400

       enable_plexgdm = True
       ip_dnsmaster = 8.8.8.8
       ip_webserver = 0.0.0.0
       loglevel = Normal
       enable_dnsserver = True
       ip_pms = 192.168.178.10
       port_webserver = 80
 
  • detailed description of the issue (the clearer you can make this the better): Plex Media Server is working, on my PC, but I xan't find a way to open the trailer app from my ATV3. As soon as I put 192.168.0.120 in the DNS address, the ATV is not connected anymore to the network. When I set it to automatic again, the connection is back... but I get the Apple trailers...

  • I tried to change the DNS master in settings (to the original ATV3 DNS server), but it failed. I tried to turn off the ATV3 by unpluggin it for 2 minutes, it failed. I restarted PMS and Plex connect, same result. I tried to turn on/off the firewall, no difference.

  • I feel I am missing a basic rule here, but I do'nt know what to do.

Any idea?

 

Pebrok

 

My first thought, is 192.168.0.120 (the PC with PlexConnect) running AV or a FW?  If so, kill both services and try again.

Also you have 192.168.178.10 as your PMS server.   Can 192.168.0.120 route (PING) to that address?

>>The content of your 'Settings.cfg' file : file not available, even though I installed and ran Plexconnect-0.1 IOS pre5.1

You have aTV/iOS 5.2.1 - why not grab the latest PlexConnect?

>>I have the .py file, but not the cfg

With later versions, .cfg is created once PlexConnect starts up/shuts down correctly...

>>But from the  settings.py file, I have the following:

>>Connect]port_pms = 32400

Is this really, how you see it? Or did the NEWLINE get removed while copy/pasting?

Thynak you for your advices.

I tried run it without the AV and FW, wihtout success.

As for the latest Plexconnect, I can't find a more recent one than the PlexConnect-0.1-iOS-pre5.1, and it doesn't create any cfg file in the folder when I run the Plexconnect.py file or the settings.py file...

I picked up the information inside the settings.py file by opening it with Winfows Notepad.

Still stuck...

By the way, the DNS from my ATV3 is 272.27.40.240 (before I changed it to 192.168.0.120)

Here's what is see in the settings.py file with Notepad

#!/usr/bin/env python
 
import sys
from os import sep
import ConfigParser
 
from Debug import *  # dprint()
 
 
 
"""
Global Settings...
PMS: plexgdm, ip_pms, port_pms
DNS: ip_dnsmaster - IP of Router, ISP's DNS, ... [dflt: google public DNS]
HTTP: ip_httpforward, port_httpforward
"""
g_settings = { \
    'enable_plexgdm'  :('True', 'False'), \
    'ip_pms'          :('192.168.178.10',), \
    'port_pms'        :('32400',), \
    \
    'enable_dnsserver':('True', 'False'), \
    'ip_dnsmaster'    :('8.8.8.8',), \
    \
    
    'ip_webserver'    :('0.0.0.0',), \
    'port_webserver'  :('80',), \
    \
    'loglevel'        :('Normal', 'High') \
    }
 
 
 
class CSettings():
    def __init__(self):
        dprint(__name__, 1, "init class CSettings")
        self.cfg = None
        self.section = 'PlexConnect'
        self.loadSettings()
        self.checkSection()
    
    
    
    # load/save config
    def loadSettings(self):
        dprint(__name__, 1, "load settings")
        # options -> default
        dflt = {}
        for opt in g_settings:
            dflt[opt] = g_settings[opt][0]
        
        # load settings
        self.cfg = ConfigParser.SafeConfigParser()
        self.cfg.read(self.getSettingsFile())
    
    def saveSettings(self):
        dprint(__name__, 1, "save settings")
        f = open(self.getSettingsFile(), 'wb')
        self.cfg.write(f)
        f.close()
    
    def getSettingsFile(self):
        return sys.path[0] + sep + "Settings.cfg"
    
    def checkSection(self):
        modify = False
        # check for existing section
        if not self.cfg.has_section(self.section):
            modify = True
            self.cfg.add_section(self.section)
            dprint(__name__, 0, "add section {0}", self.section)
        
        for opt in g_settings:
            if not self.cfg.has_option(self.section, opt):
                modify = True
                self.cfg.set(self.section, opt, g_settings[opt][0])
                dprint(__name__, 0, "add option {0}={1}", opt, g_settings[opt][0])
                
        # save if changed
        if modify:
            self.saveSettings()
    
    
    
    # access/modify PlexConnect settings
    def getSetting(self, option):
        dprint(__name__, 1, "getsetting {0}={1}", option, self.cfg.get(self.section, option))
        return self.cfg.get(self.section, option)
 
 
 
if __name__=="__main__":
    Settings = CSettings()
    
    option = 'enable_plexgdm'
    print Settings.getSetting(option)
    
    option = 'enable_dnsserver'
    print Settings.getSetting(option)
    
    Settings.saveSettings()
    del Settings

>> As for the latest Plexconnect, I can't find a more recent one than the PlexConnect-0.1-iOS-pre5.1

Yes... there is no other "release". Grab the latest of the XML_templates branch - this would be the current code en route to 0.2.

>> Here's what is see in the settings.py file with Notepad

Yes, that's fine. I have seen that before :-)

And it still should save a "Settings.cfg" file when running.

I discovered that my Python version was 3.32 and that only version up to 2.7 was working.

So I uninstalled the new version and installed the "old" one instead.

Now the cfg file finally appears... but the result is still the same on my ATV3...

Here is the log:

19:16:12 PlexConnect: started: 19:16:12
19:16:12 PlexConnect: ***
19:16:12 PlexConnect: PlexConnect
19:16:12 PlexConnect: Press ENTER to shut down.
19:16:12 PlexConnect: ***
19:16:12 PlexConnect: IP_self: 192.168.0.120
19:16:12 PlexConnect: started: 19:16:12
19:16:12 PlexGDM: ***
19:16:12 PlexGDM: looking up Plex Media Server
19:16:12 PlexGDM: ***
19:16:13 PlexGDM: servers discovered: 1
19:16:13 PlexConnect: PMS: 192.168.0.120:32400
19:16:13 DNSServer: started: 19:16:13
19:16:13 DNSServer: ***
19:16:13 DNSServer: Starting up.
19:16:13 DNSServer: intercept trailers.apple.com: 192.168.0.120
19:16:13 DNSServer: forward other to higher level DNS: 8.8.8.8
19:16:13 DNSServer: ***
19:16:14 WebServer: started: 19:16:14
19:16:14 WebServer: Failed to connect to HTTP on 0.0.0.0 port 80: [Errno 10013] Une tentative d’accès à un socket de manière interdite par ses autorisations d’accès a été tentée

You are running something on port 80, use netstat to find out what it is.

SOLVED:

Ok, solved: i turned off IIS services and restarted the ATV3.

It works!

Now I have to find the way to install plugins like Movie25, Icefilm and Navi-X plugin?

Any idea?

Plugins are always installed on the server not on the individual clients.

NaviX and Icefilms are in the Unsupported AppStore plugin. Do a search for it. Also NaviX and Movies2k does not currently work with Plexconnect as they are RTMP channels.

I am getting "Trailers is not available. Try again later" on the ATV3 using PlexConnect on a Synology NAS on some channels and not all, and in "Preferences" in IceFilms (movies do play on the other hand) for an example.  Any suggestions? Thanks.

Update: When I try to ping trailers.apple.com on the NAS it resolves to the local IP.  But when I try to ping atv.plexconnect, I "** get server can't find atv.plexconnect: NXDOMAIN".

>> Update: When I try to ping trailers.apple.com on the NAS it resolves to the local IP.  But when I try to ping atv.plexconnect, I "** get server can't find atv.plexconnect: NXDOMAIN".

The virtual server "atv.plexconnect" got removed again a couple of month ago. It's no more used nor needed.

So it seems most of the folders in MSNBC actually do work except for Rachel Maddow's most recent episode on the very top of the list.  USTVnow and IPTV don't work at all for instance.  I get "Trailers is unavailable. Try again later." or "PlexConnect - No Response from Plex Media Server".  With that said, there are things that do work, so I'm trying to figure out what's specific about these that are causing issues.

Please be aware that most Synology NAS are not able to transcode, or have very limited transcoding capability, so seeing channels in the ATV3 (when PMS is installed in the NAS) is a "try & error" experience. If the channel content is in H.264 / MP4 it should play on the ATV3 without need to transcode, but several channels contains films in with other codecs...

Also, PlexConnect has a 30 second timeout interval, and this may trigger the "no response from Plex Media Server" message, specially when the film list is being built. Selecting the button in the remote repeatedly until the film list shows up normally solves this issue.

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