Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Roku client randomly stops playback, skips to next episode #2133

Open
3 tasks done
ezra-varady opened this issue Mar 3, 2025 · 2 comments
Open
3 tasks done

Roku client randomly stops playback, skips to next episode #2133

ezra-varady opened this issue Mar 3, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@ezra-varady
Copy link

This issue respects the following points:

  • This issue is not already reported on GitHub (I've searched it).
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Jellyfin Server Version

10.10.6

Roku Client Version

2.2.5

Bug Description

Episodes will randomly stop and skip to the next episode. My server was 10.8.13 and I bumped it to 10.10.6. The issue persists so I think it's in the client. If I restart the episode that stopped it might play a second or so before again stopping and going to the next episode. Logs are mostly uninteresting afaict. I can post more if I missed somthing.

After the screen goes black it immediately jumps into the next episode. Since I don't see any errors in the server and the files play correctly in other media players, I assume the issue is with the client. I have however seen some obscure forum posts implicating subtitle encoding in a similar issue, and while that wasn't resolved I do notice that there is subtitle encoding of some sort here. Apologies if I've misidentified the root cause, thanks for any ideas you have

Steps to Reproduce

Unclear what is causing the issue, it feels random

Expected Behavior

Files should play all the way through plus or minus some buffering

Logs

jellyfin-1 | [10:24:37] [INF] [55] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -ss 00:18:46.041 -fflags +genpts -i file:" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -start_at_zero -codec:a:0 libfdk_aac -ac 2 -ab 256000 -af "volume=2" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 133 -hls_segment_filename "/var/cache/jellyfin/transcodes/dcf78a34c8fc3f394cafbf74bc9c33c0%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/var/cache/jellyfin/transcodes/dcf78a34c8fc3f394cafbf74bc9c33c0.m3u8"
jellyfin-1 | [10:24:56] [INF] [62] MediaBrowser.Controller.MediaEncoding.TranscodingJob: Stopping ffmpeg process with q command for /var/cache/jellyfin/transcodes/dcf78a34c8fc3f394cafbf74bc9c33c0.m3u8
jellyfin-1 | [10:24:56] [INF] [62] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 0
jellyfin-1 | [10:24:56] [INF] [62] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) /var/cache/jellyfin/transcodes/dcf78a34c8fc3f394cafbf74bc9c33c0.m3u8
jellyfin-1 | [10:24:56] [INF] [16] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for pepperoni. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
jellyfin-1 | [10:24:57] [INF] [79] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for pepperoni. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
jellyfin-1 | [10:24:57] [INF] [79] MediaBrowser.MediaEncoding.Subtitles.SubtitleEncoder: -copyts -map 0:3 -an -vn -c:s copy "/var/lib/jellyfin/data/subtitles/8/871c6bd0-b9b8-c37f-20df-1babd9e36b12.srt" -map 0:4 -an -vn -c:s copy "/var/lib/jellyfin/data/subtitles/7/7df5e808-52f5-370c-a440-732268536fa2.srt"
ffmpeg version 7.0.2-Jellyfin Copyright (c) 2000-2024 the FFmpeg developers
jellyfin-1 | built with gcc 12 (Debian 12.2.0-14)
jellyfin-1 | configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
jellyfin-1 | libavutil 59. 8.100 / 59. 8.100
jellyfin-1 | libavcodec 61. 3.100 / 61. 3.100
jellyfin-1 | libavformat 61. 1.100 / 61. 1.100
jellyfin-1 | libavdevice 61. 1.100 / 61. 1.100
jellyfin-1 | libavfilter 10. 1.100 / 10. 1.100
jellyfin-1 | libswscale 8. 1.100 / 8. 1.100
jellyfin-1 | libswresample 5. 1.100 / 5. 1.100
jellyfin-1 | libpostproc 58. 1.100 / 58. 1.100
jellyfin-1 | [10:24:58] [INF] [79] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Jellyfin Roku 2.2.5 playing <title>. Stopped at 1129000 ms

Screenshots

No response

Is the server local or remote?

local

Is the server connection HTTP or HTTPS?

http

Additional Context

No response

@ezra-varady ezra-varady added the bug Something isn't working label Mar 3, 2025
@jimdogx
Copy link
Collaborator

jimdogx commented Mar 3, 2025

Any chance you can get the client logs? https://github.com/jellyfin/jellyfin-roku/blob/master/docs/DEVGUIDE.md

@ezra-varady
Copy link
Author

ezra-varady commented Mar 7, 2025

PostTask Started - Posting array to /Sessions/Capabilities/Full
event.Mode =    On
event.Mute =    false
PostTask Finished.  Response = 204
03-07 02:49:57.027 [beacon.signal] |AppLaunchComplete ---------> Pending Render Pass
03-07 02:49:57.091 [beacon.signal] |AppLaunchComplete ---------> Duration(118521 ms), DialogTime(116021 ms)
event.Mode =    On
event.Mute =    false
DEBUG file:///home/name/src_builds/jellyfin-roku/components/video/VideoPlayerView.bs:622 start onState() buffering       
DEBUG file:///home/name/src_builds/jellyfin-roku/components/video/VideoPlayerView.bs:694 end onState() buffering       
DEBUG file:///home/name/src_builds/jellyfin-roku/components/video/VideoPlayerView.bs:622 start onState() playing       
DEBUG file:///home/name/src_builds/jellyfin-roku/components/video/VideoPlayerView.bs:702 start ReportPlayback() start 0      
DEBUG file:///home/name/src_builds/jellyfin-roku/components/video/VideoPlayerView.bs:729 end ReportPlayback() start 0      
DEBUG file:///home/name/src_builds/jellyfin-roku/components/video/VideoPlayerView.bs:694 end onState() playing       
03-07 02:50:13.127 [beacon.signal] |VODStartInitiate ----------> TimeBase(127756 ms)
03-07 02:50:13.128 [beacon.signal] |VODStartComplete ----------> Duration(6777 ms)
DEBUG file:///home/name/src_builds/jellyfin-roku/components/video/VideoPlayerView.bs:622 start onState() buffering       
DEBUG file:///home/name/src_builds/jellyfin-roku/components/video/VideoPlayerView.bs:694 end onState() buffering       
DEBUG file:///home/name/src_builds/jellyfin-roku/components/video/VideoPlayerView.bs:622 start onState() stopped       
DEBUG file:///home/name/src_builds/jellyfin-roku/components/video/VideoPlayerView.bs:702 start ReportPlayback() stop 1130      
DEBUG file:///home/name/src_builds/jellyfin-roku/components/video/VideoPlayerView.bs:729 end ReportPlayback() stop 1130      
DEBUG file:///home/name/src_builds/jellyfin-roku/components/video/VideoPlayerView.bs:694 end onState() stopped       

sorry about the delay, busy week. I don't see anything esp interesting. I resumed playback, it played for a second or so, then it skipped to the next ep. logs look more or less identical when I use master

edit: It does seem like it might be confined to a specific set of files

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants