Jellyfin Forum
Roku Skip Outro - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Roku Skip Outro (/t-roku-skip-outro--11646)

Pages: 1 2


Roku Skip Outro - Alliyance - 2025-04-10

Before the update, We used to have a "Next Episode button" that would appear at the end of a episode, so you can press OK on the remote and it would skip to the next episode. Now since the new update 3,0,1, That button was change to "Skip Outro" which do appear just like the older version but if I press OK, I get a black screen. If i wait a few seconds, I get this messge "Error during playback, there was an error retrieving the data for this item from the server" 

Now, if I ignore the "Skip Outro" and let the media go all to the end, the next episode plays automatically. I did open a bug ticket but they closed my ticket saying to come here first. 

My server is up to date 10.10.7 Running on Linux,
All my media are direct play, nothing in log to report except "the remote party closed the websocket connection without completing the close handshake."

On the server setting, the Outro Segments is set to Ask to skip.  Outro Segme


RE: Roku Skip Outro - TheDreadPirate - 2025-04-10

Can you share your jellyfin log via privatebin.net? Does this happen with all episodes? Or just some?


RE: Roku Skip Outro - Alliyance - 2025-04-10

Here's the log, it's pretty empty.
It happens to all media, my medias are all direct play. H264, 8 bit, AAC 5.1

[2025-04-10 21:16:27.571 +00:00] [INF] [148] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "phil". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: False EnableAudioPlaybackTranscoding: False
[2025-04-10 21:17:31.432 +00:00] [INF] [186] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Roku" "3.0.1" playing "Pot O'Gold". Stopped at "2085000" ms
[2025-04-10 21:19:39.540 +00:00] [WRN] [115] Emby.Server.Implementations.HttpServer.WebSocketConnection: WS "127.0.0.1" error receiving data: "The remote party closed the WebSocket connection without completing the close handshake."
[2025-04-10 21:19:39.546 +00:00] [INF] [115] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "127.0.0.1" closed


RE: Roku Skip Outro - 1hitsong - 2025-04-10

What media segment provider plugins to you have enabled?

Intro Skipper? Chapter Segments Provider?


RE: Roku Skip Outro - Alliyance - 2025-04-10

I never installed any plugins, here are the ones by default.

Audio BD
MusicBrainz
OMBD
Studio Images
TMDB


RE: Roku Skip Outro - Alliyance - 2025-04-10

In the media segment actions

I have Outro Segments set to Ask to skip.

Preview segments is NONE
Recap is at NONE
Commercial also at NONE


RE: Roku Skip Outro - 1hitsong - 2025-04-10

I think I figured it out!

TLDR: I'll open a PR to add my fix in the next release.

Explanation: Every number in Roku is very fuzzy and inaccurate. It's especially bad at telling us the duration of a video! Additionally, when seeking to a new position, it'll kinda-sorta get you to the position you requested. In certain circumstances, the Skip Outro button will instruct the video player to seek to a position past the end of the video.

Normally, this isn't a big deal and the video player simply closes; however, when direct playing without server provided media segments, it will seek past the end and will get stuck in a "buffering" state until the buffer error timer hits.

The fix is to add code to check if the seek position is past what Roku's video player believes is the media duration (Not what Jellyfin says it is) and if so, only seek to the duration position.

It's weird, it's goofy, it's a fight with Roku's video component data to match what EVERY API CALL says it accurate. /shrug


RE: Roku Skip Outro - theguymadmax - 2025-04-10

Media segments allow you to skip intros, outros, etc. But you need to have a plugin like Chapter Segments Provider or Intro Skipper to produce them.

The Chapter Segments Provider plugin creates media segments from existing chapter makers in your media. If you don't have them, that it won't produce any media segments.

The Intro Skipper plugin analyzes your media and creates media segments based on their detection methods.

You need to have one of these plugins installed to use media segments in any client.


RE: Roku Skip Outro - 1hitsong - 2025-04-10

Root Cause issue: https://github.com/jellyfin/jellyfin-roku/issues/274
Fix PR: https://github.com/jellyfin/jellyfin-roku/pull/275


RE: Roku Skip Outro - Alliyance - 2025-04-11

(2025-04-10, 11:02 PM)1hitsong Wrote: Root Cause issue: https://github.com/jellyfin/jellyfin-roku/issues/274
Fix PR: https://github.com/jellyfin/jellyfin-roku/pull/275


That make total sense.Thanks for looking into the issue.