Jump to content

Update broke automatic playback of TV media


Recommended Posts

BillybobBilly
Posted

Ever since updating to the new version episodes do not auto-play correctly. Once an episode is finished it hangs on the "next episode starting in X seconds" thing. It shows 0 seconds remaining and just sits there doing nothing. 

Carlo
Posted

Hi, what client are you seeing this in?
Have you performed a full library scan?

If so, can you upload your server log and let us know what tv show you were watching?

BillybobBilly
Posted

I have done a full library scan multiple times at this point.

Weird thing is it sometimes stops playing and sometimes it doesn't.

Using Emby via a web connection in my internet browser.

Unfortunately I am not able to post server logs for security purposes.

Carlo
Posted

You could PM the logs to me instead of posting them here.

Posted

@BillybobBilly are you able to do this? The contents of the browser debug console would also be helpful. thanks.

BillybobBilly
Posted

I believe I pm'd the correct log file to Cayars. I'm not sure what the browser debug console is... If it is generated with "debug logging" enabled then I have not had this enabled previously. I will need to enable this if the log file I sent is inadequate. 

justinrh
Posted

@BillybobBilly in your browser, while on the page where you experience the problem, hit F12 (or menu -> developer tools).  A new pane will appear, where there will be a Console tab.

image.png.21d6a0f5c161ba1060c7451b5abeab1f.png

If you see any errors (and maybe warnings?), copy/paste or take a screenshot.  There are ways to filter for errors, but you'll have to figure out that for your browser.

BillybobBilly
Posted

With a little more testing this appears to be a very inconsistent issue.

Some shows have the problem outright while others appear to have this issue with only specific episodes.

Additionally, if I manually adjust the playback to around 1 minute remaining the video autoplays the next episode correctly. Only when the file plays for its full duration does this issue come up.

@justinrh I will try this the next time I have the issue.

Posted

For the ones that do, does it happen consistently every time?

BillybobBilly
Posted
7 hours ago, Luke said:

For the ones that do, does it happen consistently every time?

Yeah it is consistent. Prior to the update everything worked fine. I had no issues with playback of any media, and the issue seems localized to autoplay on specific shows. At first I thought maybe it was an issue with .avi files but I have had some work just fine.

BillybobBilly
Posted (edited)
On 5/22/2021 at 3:06 PM, justinrh said:

@BillybobBilly in your browser, while on the page where you experience the problem, hit F12 (or menu -> developer tools).  A new pane will appear, where there will be a Console tab.

image.png.21d6a0f5c161ba1060c7451b5abeab1f.png

If you see any errors (and maybe warnings?), copy/paste or take a screenshot.  There are ways to filter for errors, but you'll have to figure out that for your browser.

These two errors appear on the page where this is an issue (under each error it says "next episode starting in 0 seconds"):

getGamepad will now require Secure Context. gamepadtokey.js?v=4.6.0.50:1 Please update your application accordingly. For more information see https://github.com/w3c/gamepad/pull/120

DevTools failed to load SourceMap: Could not load content for http://Address.Removed: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Edited by BillybobBilly
Posted

Those are nothing to worry about.

Posted
6 hours ago, BillybobBilly said:

Yeah it is consistent. Prior to the update everything worked fine. I had no issues with playback of any media, and the issue seems localized to autoplay on specific shows. At first I thought maybe it was an issue with .avi files but I have had some work just fine.

Are the only ones affected avi files?

BillybobBilly
Posted
2 hours ago, Luke said:

Are the only ones affected avi files?

I am still doing research on it to see if it happens with other file types but so far it seems to be happening, at the very least, more commonly with avi files.

Because the issue doesn't seem to happen if I rush the file to the end I actually need to let shows play in the background... which is pretty time consuming. I've got my entire collection on random-play right now and I am recording each file that stops autoplay from working correctly.

BillybobBilly
Posted (edited)

Tested it all day today with random files and i found a solution.

 

The issue appears to be related to watched episodes. When playing content that is watched it does not play the watched episodes and just hangs on the autoplay screen.

The issue was not related to file extension. I had it come up with avi and mp4, both on series that i watch regularly. When i cleared the watch status the issue went away.

In configs i have set it to play all episodes regardless of whether or not they have been viewed before. Seems to have become broken with the new update.

 

Edit: Annnnd I was wrong. The issue still happens. Though I was playing a show that previously would not auto play at all for like 2 hours before getting the problem to come up. 

Edited by BillybobBilly
Posted

Is it transcoding or direct playing when this happens?

BillybobBilly
Posted
On 5/27/2021 at 9:24 AM, Luke said:

Is it transcoding or direct playing when this happens?

I'm not really sure. How can I tell if it is transcoding?

 

Carlo
Posted

Stats for Nerds while playing back (cog menu on client).
On the server you can look to see if a ffmpeg file is generated for playback.

BillybobBilly
Posted (edited)

A little late but I have been busy.

I just had a file stop autoplay and it is transcoding. I added the little arrows because copy-paste made the formatting look weird.

It should be noted that the transcoding process doesn't result in any apparent issue when I'm watching it transcode from the server dashboard. 

Transcoding
2.8 Mbps H264 MP3
MPEG4
Software 
->>>
H.264 (AVC)

Software

Edited by BillybobBilly
BillybobBilly
Posted
On 6/9/2021 at 9:47 AM, Luke said:

@BillybobBilly are you still having an issue with this?

Yep

BillybobBilly
Posted
On 6/10/2021 at 11:32 PM, BillybobBilly said:

Yep

To follow up, the error does seem to be most associated with .avi files. 

I've got a few shows where it happens consistently and they are .avi files.

Using Chrome browser Version 91.0.4472.106 (Official Build) (64-bit)

Posted

Could you try either updating to Emby Beta 4.7.0.3 or trying to log in via app.media.emby?

That will have an updated web code. Let us know if either of these work for you.

BillybobBilly
Posted

I upgraded to the beta. I only had time this afternoon to do one test but it autoplayed correctly.

I will need to do a bit more testing though to confirm if the issue is truly gone. In my test this afternoon I sped up the video 2x speed and positioned the progress bar 75% to the end (not enough time to let it play normally) which I believe caused it to function correctly prior to the beta update as well.

  • Like 1
Posted

That's good news so far.  Keep us updated.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...