Trailers unavailable after watching

After thorough investigation I still have no clue how this is possible.

Even when I hard set the AppleTV to the Plexconnect DNS, it still at times goes to the real trailers app.

Plexconnect is running fine, including dns but for some reason the ATV3 goes to trailers.apple.com (the real one).

I even removed certificate, reinstalled it but still.... i get the real apple trailers app :(

Really? I get's re-routed to the REAL trailers?

Is it any special circumstances? Or always after watching a long movie/having PlexConnect idle for a while?

same here with PMS v0.9.9.0.308 on Synology NAS (Intel) and latest git sources for PlexConnect

20:26:15 XMLConverter: XML_ExpandNode - Error in cmd ADDXML, line 

    

    {{ADDXML(RecentlyAired::newest?X-Plex-Container-Start=0&X-Plex-Container-Size=40)}}

    {{ADDXML(RecentlyAdded::recentlyAdded?stack=1&X-Plex-Container-Start=0&X-Plex-Container-Size=40)}}

    {{ADDXML(RecentlyViewedEpisodes::recentlyViewed?X-Plex-Container-Start=0&X-Plex-Container-Size=40)}}

 

    {{VAR(items:NoKey:FALSE)}}  

 

    

Traceback (most recent call last):

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 503, in XML_ExpandNode

    res = getattr(g_CommandCollection, 'TREE_'+cmd)(elem, child, src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 845, in TREE_ADDXML

    self.PMSroot[tag] = PMS.getroot()  # store additional PMS XML

AttributeError: 'bool' object has no attribute 'getroot'

 

20:26:36 XMLConverter: XML_ExpandNode - Error in cmd CUT, line 

          

          

Traceback (most recent call last):

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 503, in XML_ExpandNode

    res = getattr(g_CommandCollection, 'TREE_'+cmd)(elem, child, src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 804, in TREE_CUT

    key, leftover, dfltd = self.getKey(src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 638, in getKey

    el, srcXML, attrib = self.getBase(src, srcXML, attrib)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 702, in getBase

    src = self.PMSroot[srcXML]

KeyError: 'OnDeck'

 

20:26:36 XMLConverter: XML_ExpandNode - Error in cmd CUT, line 

          

          

Traceback (most recent call last):

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 503, in XML_ExpandNode

    res = getattr(g_CommandCollection, 'TREE_'+cmd)(elem, child, src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 804, in TREE_CUT

    key, leftover, dfltd = self.getKey(src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 638, in getKey

    el, srcXML, attrib = self.getBase(src, srcXML, attrib)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 702, in getBase

    src = self.PMSroot[srcXML]

KeyError: 'OnDeck'

 

20:26:36 XMLConverter: XML_ExpandNode - Error in cmd COPY, line 

                  

                  {{VAR(items:NoKey:TRUE)}}  

                  

Traceback (most recent call last):

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 503, in XML_ExpandNode

    res = getattr(g_CommandCollection, 'TREE_'+cmd)(elem, child, src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 764, in TREE_COPY

    src, srcXML, tag = self.getBase(src, srcXML, tag)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 702, in getBase

    src = self.PMSroot[srcXML]

KeyError: 'OnDeck'

 

20:26:57 PlexAPI: Error loading response XML from Plex Media Server

20:26:57 XMLConverter: XML_ExpandNode - Error in cmd ADDXML, line 

    

    {{ADDXML(RecentlyAired::newest?X-Plex-Container-Start=0&X-Plex-Container-Size=40)}}

    {{ADDXML(RecentlyAdded::recentlyAdded?stack=1&X-Plex-Container-Start=0&X-Plex-Container-Size=40)}}

    {{ADDXML(RecentlyViewedEpisodes::recentlyViewed?X-Plex-Container-Start=0&X-Plex-Container-Size=40)}}

 

    {{VAR(items:NoKey:FALSE)}}  

 

    

Traceback (most recent call last):

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 503, in XML_ExpandNode

    res = getattr(g_CommandCollection, 'TREE_'+cmd)(elem, child, src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 845, in TREE_ADDXML

    self.PMSroot[tag] = PMS.getroot()  # store additional PMS XML

AttributeError: 'bool' object has no attribute 'getroot'

 

20:27:18 XMLConverter: XML_ExpandNode - Error in cmd CUT, line 

          

          

Traceback (most recent call last):

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 503, in XML_ExpandNode

    res = getattr(g_CommandCollection, 'TREE_'+cmd)(elem, child, src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 804, in TREE_CUT

    key, leftover, dfltd = self.getKey(src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 638, in getKey

    el, srcXML, attrib = self.getBase(src, srcXML, attrib)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 702, in getBase

    src = self.PMSroot[srcXML]

KeyError: 'OnDeck'

 

20:27:18 XMLConverter: XML_ExpandNode - Error in cmd CUT, line 

          

          

Traceback (most recent call last):

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 503, in XML_ExpandNode

    res = getattr(g_CommandCollection, 'TREE_'+cmd)(elem, child, src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 804, in TREE_CUT

    key, leftover, dfltd = self.getKey(src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 638, in getKey

    el, srcXML, attrib = self.getBase(src, srcXML, attrib)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 702, in getBase

    src = self.PMSroot[srcXML]

KeyError: 'OnDeck'

 

20:27:18 XMLConverter: XML_ExpandNode - Error in cmd COPY, line 

                  

                  {{VAR(items:NoKey:TRUE)}}  

                  

Traceback (most recent call last):

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 503, in XML_ExpandNode

    res = getattr(g_CommandCollection, 'TREE_'+cmd)(elem, child, src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 764, in TREE_COPY

    src, srcXML, tag = self.getBase(src, srcXML, tag)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 702, in getBase

    src = self.PMSroot[srcXML]

KeyError: 'OnDeck'

 

20:27:39 PlexAPI: Error loading response XML from Plex Media Server

20:27:39 XMLConverter: XML_ExpandNode - Error in cmd ADDXML, line 

    

    {{ADDXML(RecentlyAired::newest?X-Plex-Container-Start=0&X-Plex-Container-Size=40)}}

    {{ADDXML(RecentlyAdded::recentlyAdded?stack=1&X-Plex-Container-Start=0&X-Plex-Container-Size=40)}}

    {{ADDXML(RecentlyViewedEpisodes::recentlyViewed?X-Plex-Container-Start=0&X-Plex-Container-Size=40)}}

 

    {{VAR(items:NoKey:FALSE)}}  

 

    

Traceback (most recent call last):

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 503, in XML_ExpandNode

    res = getattr(g_CommandCollection, 'TREE_'+cmd)(elem, child, src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 845, in TREE_ADDXML

    self.PMSroot[tag] = PMS.getroot()  # store additional PMS XML

AttributeError: 'bool' object has no attribute 'getroot'

 

20:28:00 XMLConverter: XML_ExpandNode - Error in cmd CUT, line 

          

          

Traceback (most recent call last):

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 503, in XML_ExpandNode

    res = getattr(g_CommandCollection, 'TREE_'+cmd)(elem, child, src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 804, in TREE_CUT

    key, leftover, dfltd = self.getKey(src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 638, in getKey

    el, srcXML, attrib = self.getBase(src, srcXML, attrib)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 702, in getBase

    src = self.PMSroot[srcXML]

KeyError: 'OnDeck'

 

20:28:00 XMLConverter: XML_ExpandNode - Error in cmd CUT, line 

          

          

Traceback (most recent call last):

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 503, in XML_ExpandNode

    res = getattr(g_CommandCollection, 'TREE_'+cmd)(elem, child, src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 804, in TREE_CUT

    key, leftover, dfltd = self.getKey(src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 638, in getKey

    el, srcXML, attrib = self.getBase(src, srcXML, attrib)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 702, in getBase

    src = self.PMSroot[srcXML]

KeyError: 'OnDeck'

 

20:28:00 XMLConverter: XML_ExpandNode - Error in cmd COPY, line 

                  

                  {{VAR(items:NoKey:TRUE)}}  

                  

Traceback (most recent call last):

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 503, in XML_ExpandNode

    res = getattr(g_CommandCollection, 'TREE_'+cmd)(elem, child, src, srcXML, param)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 764, in TREE_COPY

    src, srcXML, tag = self.getBase(src, srcXML, tag)

  File "/volume1/@appstore/plexconnect/share/PlexConnect/XMLConverter.py", line 702, in getBase

    src = self.PMSroot[srcXML]

KeyError: 'OnDeck'

Really? I get's re-routed to the REAL trailers?

Is it any special circumstances? Or always after watching a long movie/having PlexConnect idle for a while?

Most of the times its when we just turn on the Appletv and go to trailers we instantly get the trailers app.

Then after some time we might or might not get Plexconnect suddenly.

This sometimes also happens after watching a few tv shows. It is so random that I have no idea where this is coming from, nor how it could be possible since even on my router i hard set trailers.apple.com to go to plexconnect.

Do you switch DNS back and forth between manual (PlexConnect) and automatic?

I am asking as recently I had my aTV running on std. DNS, looking into trailers. After resetting it to manual plus changing the address, original trailers nav bar was still available. I guess application.js/the nav bar XML was still cached somewhere. Having no connection, it couldn't populate the real trailers, though.

Rebooting the aTV helped. But it doesn't sound like this is what your are experiencing...

I have given up for now (sorry) and bought a GTV instead which has a native plex app.

Thx for the work though!

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