Possible bug affecting at least one Plex Channel in Plexconnect

The following is an exchange I had with the developer of the NFL Network Channel Plex plugin referring to a possible small bug in Plexconnect

 

Posted Today, 04:18 AM

Hi John, just a question. I noticed that the individual clips in the plugin loop back to play from the beginning once they have played the first time. Is that by design?

 

41John: No, it does not do this for me and shouldn't be doing this. It always returns to the main menu after playback. What client are you using?

 

Posted Today, 07:05 AM

Plexconnect

 

41John: I have just tried it on Plexconnect and it does not do this for me. I'm running an old version of plexconnect from when it was first mentioned on the plex homepage, so if you are running a newer version maybe there is a bug in the client?

 

 
Further, it works as John describes it should in the iOS Plex Client.

Might be related to the "stacked media" folder, maybe something else... Are you able to share logs, preferably opf the last PLAYVIDEO XMLs?

Hi Baa, are you referring to a specific log here? If so where do I find it. I know where to get the Plexconnect log and the Plugin logs but do not see anything that looks like the one you mention.

Here is a portion of the Plexconnect log that covers this situation occuring:

09:46:05 DNSServer: DNS request received!
09:46:05 DNSServer: Source: ('192.168.2.21', 62683)
09:46:05 DNSServer: Domain: atv.plexconnect
09:46:05 DNSServer: ***intercept request
09:46:05 DNSServer: -> DNS response: 192.168.2.15
09:46:05 ATVLogger: Player state: Stopped at this time: 0
09:46:13 ATVLogger: loadURL (override): http://atv.plexconnect/video/nflvideos/playmenu?url=http%3A%2F%2Fwww.nfl.com%2Fvideos%2Fnew-england-patriots&PlexConnect=ChannelsVideo
09:46:13 WebServer: serving .xml: /video/nflvideos/playmenu?url=http%3A%2F%2Fwww.nfl.com%2Fvideos%2Fnew-england-patriots
09:46:14 WebServer: serving  /Users/dburgwin/Desktop/PlexConnect-master/assets/js/utils.js
09:46:20 ATVLogger: loadURL (override): http://atv.plexconnect/system/:/services/url/lookup?url=http%3A//www.nfl.com/videos/new-england-patriots/0ap2000000228759/Pre-Week-1-Patriots-vs-Eagles-highlights&PlexConnect=ChannelPrePlay
09:46:20 WebServer: serving .xml: /system/:/services/url/lookup?url=http%3A//www.nfl.com/videos/new-england-patriots/0ap2000000228759/Pre-Week-1-Patriots-vs-Eagles-highlights
09:46:21 WebServer: serving  /Users/dburgwin/Desktop/PlexConnect-master/assets/js/utils.js
09:46:23 ATVLogger: loadURL (override): http://atv.plexconnect/system/:/services/url/lookup?url=http%3A//www.nfl.com/videos/new-england-patriots/0ap2000000228759/Pre-Week-1-Patriots-vs-Eagles-highlights&PlexConnect=Play
09:46:23 WebServer: serving .xml: /system/:/services/url/lookup?url=http%3A//www.nfl.com/videos/new-england-patriots/0ap2000000228759/Pre-Week-1-Patriots-vs-Eagles-highlights
09:46:23 ATVLogger: Player state: Loading at this time: 0
09:46:23 ATVLogger: load assets
09:46:24 DNSServer: DNS request received!
09:46:24 DNSServer: Source: ('192.168.2.21', 63053)
09:46:24 DNSServer: Domain: a.video.nfl.com
09:46:24 DNSServer: ***forward request
09:46:24 DNSServer: -> DNS response from higher level
09:46:25 ATVLogger: Player state: Playing at this time: 0.0333667000333667
09:46:55 ATVLogger: Player state: Paused at this time: 29.016160998
09:46:57 ATVLogger: Player state: Playing at this time: 29.153
09:48:09 DNSServer: DNS request received!
09:48:09 DNSServer: Source: ('192.168.2.21', 59129)
09:48:09 DNSServer: Domain: atv.plexconnect
09:48:09 DNSServer: ***intercept request
09:48:09 DNSServer: -> DNS response: 192.168.2.15
09:48:09 ATVLogger: Player state: Paused at this time: 101.014274597
09:48:10 ATVLogger: Player state: Playing at this time: 101.10243333333334
09:48:48 ATVLogger: Player state: FastForwarding at this time: 138.75482624
09:48:52 ATVLogger: Player state: Loading at this time: 250.489
09:48:52 ATVLogger: Player state: Paused at this time: 250.489
09:48:54 ATVLogger: Player state: Playing at this time: 250.489
09:48:59 ATVLogger: Player state: Loading at this time: 0
09:49:00 DNSServer: DNS request received!
09:49:00 DNSServer: Source: ('192.168.2.21', 52785)
09:49:00 DNSServer: Domain: a1796.g.akamai.net
09:49:00 DNSServer: ***forward request
09:49:00 DNSServer: -> DNS response from higher level
09:49:01 ATVLogger: Player state: Loading at this time: 0
09:49:01 ATVLogger: Player state: Playing at this time: 255.48915555555556
09:49:07 ATVLogger: Player state: Paused at this time: 4.8180381
09:49:14 DNSServer: DNS request received!
09:49:14 DNSServer: Source: ('192.168.2.21', 53260)
09:49:14 DNSServer: Domain: atv.plexconnect
09:49:14 DNSServer: ***intercept request
09:49:14 DNSServer: -> DNS response: 192.168.2.15
09:49:14 ATVLogger: Player state: Stopped at this time: 0

Yeah...

Play command is received at 09:46:23 - see "PlexConnect=Play". This is were the actual replay starts.

What I need... set LogLevel to High and send the two XMLs (one from PMS, one to aTV) right after that point in time.

Thanks!

Not sure how if I know what you mean when you ask me to "send the two XMLs (one from PMS, one to aTV) right after that point in time".

I did, however, set the debug level higher and have attached a log of playing a clip and it then looping and playing again.

Na... I am looking for a PlexConnect.log with this issue. In loglevel=High it will also log the XML files - the one received from PMS, Information on the XMLTemplate used, how XMLConverter worked on it as well as final PMS send to aTV.

All this right after the "PlexConnect=Play" line...

Similar to the attached - find the lines "XMLConverter: ====== received XML-PMS ======" and "XMLConverter: ====== generated aTV-XML ======".

I will see, if I can grab the NFL plugin as well...

The NFL Plugin is in the PMS Channel Directory, so it easy to find.

Okay, installed it. Created a log - see attached.

The issue is with our "stacked files" support. It is supposed to find the different sections within ONE tag, defined in several tags.

Here we have multiple tags for the different bitrates, each with one .

Unfortunately XMLConverter has some trouble deciding and adds the video in different bitrates into the playlist. Silly thing.

I guess this will happen to other channels as well...

Right. So it’s not looping its just playing different files of the same clip at different bit rates. At least we know what the issue is. Oh, and I thought I had sent you the Pkexconnect log last time, but uploaded the wrong file. Sorry about that.

the imdb plugin has the exact same issue (when it works)

... might be fixed - well, better hidden: {{COPY}} - enable "walk the path" code

Similar issue with transcoded files, or transcode-forced media. :-(

That does work, in that it doesn’t loop but goes back to the preplay screen. In the iOS client after a clip plays it goes back to the list of clips under that category, which is the way the plugin was designed to work according to 41John.

Does iOS have a pre-play screen?

As far as I understand, it goes back to the page you showed before starting the video. So... start with the PLAY button from the list should bring you back there as well.

Yeah, that is probably it. Thanks for the fix.

Urgh... did that fix kill playing "stacked channels"? Trying "the Colbert Show", it doesn't forward to the second section, does it?

:-(

Hmm. Jon Stewart seems to work and it is “stacked” as well.

Ah... my bad. From earlier debugging I had the "force_transcoding" option set. Unfortunately PMS transcoder isn't very good dealing with stacked media. Switched off, and PlexConnect is fine - at least with my local test files - still got to check the Colbert show.

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