jellyfin / jellyfin-roku

The Official Roku Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
412 stars 128 forks source link

Roku Main Captions gets stuck to "On Always" #1665

Open Alliyance opened 5 months ago

Alliyance commented 5 months ago

Software Versions

Describe the bug

When you play a movie with Forced subtiltes, the main Roku Captions is turn to "On Always" which is fine. Then, when you play a movie without "Forced subtitles" the normal subtitles will display even though In CC is mark to "None".

How To Reproduce

Play a movie who has Forced subtitles. Press star, The Roku main captions is in the "On always" position. Then, play a movie who doesn't have a forced subtitles. Go to the Roku main captions, you'll notice that it's stuck to "On always"

Expected behavior

When there's no "Forced subtitles" the roku main captions should turn to the "Off" position.

Logs

[2024-01-21 22:28:53.188 +00:00] [INF] [303] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "phil". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: False EnableAudioPlaybackTranscoding: False [2024-01-21 22:28:53.188 +00:00] [INF] [303] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Official Roku Client", Path="/home/alliyance/files/Movies/The.Marvels.2023.mkv", AudioStreamIndex=1, SubtitleStreamIndex=3 ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/96ca0c87-b6fd-4f8f-e98b-b2ecc4c77004/stream.mkv?MediaSourceId=96ca0c87b6fd4f8fe98bb2ecc4c77004&Static=true&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&api_key=&Tag=df44f2cb9db825620f43e79901d92f90" [2024-01-21 22:29:15.893 +00:00] [INF] [147] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Roku" "2.0.2" playing "The Marvels". Stopped at "19000" ms [2024-01-21 22:29:17.324 +00:00] [INF] [147] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was forbidden. [2024-01-21 22:29:25.121 +00:00] [INF] [147] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "phil". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: False EnableAudioPlaybackTranscoding: False [2024-01-21 22:29:25.121 +00:00] [INF] [147] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Official Roku Client", Path="/home/alliyance/files/Series/Bad.sisters (2022)/Season.01/S01E08.mkv", AudioStreamIndex=1, SubtitleStreamIndex=-2 ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/855ce031-b53c-5bef-df34-2aa5862b277c/stream.mkv?MediaSourceId=855ce031b53c5befdf342aa5862b277c&Static=true&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&SubtitleStreamIndex=-2&api_key=&SubtitleMethod=Encode&Tag=0438eb975582430254537cfc6e0280f9" [2024-01-21 22:29:26.765 +00:00] [INF] [277] MediaBrowser.MediaEncoding.Subtitles.SubtitleEncoder: "/usr/bin/ffmpeg" "-i file:\"/home/alliyance/files/Series/Bad.sisters (2022)/Season.01/S01E08.mkv\" -copyts -map 0:5 -an -vn -c:s copy \"/home/alliyance/.config/jellyfin/data/data/subtitles/9/988b44e1-cfcd-2ab4-b637-0c3139246eac.srt\"" [2024-01-21 22:29:44.321 +00:00] [INF] [181] MediaBrowser.MediaEncoding.Subtitles.SubtitleEncoder: ffmpeg subtitle extraction completed for "file:\"/home/alliyance/files/Series/Bad.sisters (2022)/Season.01/S01E08.mkv\"" to "/home/alliyance/.config/jellyfin/data/data/subtitles/9/988b44e1-cfcd-2ab4-b637-0c3139246eac.srt" [2024-01-21 22:29:58.017 +00:00] [INF] [229] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: "CustomAuthentication" was forbidden. [2024-01-21 22:30:03.803 +00:00] [INF] [229] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "phil". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: False EnableAudioPlaybackTranscoding: False [2024-01-21 22:30:03.803 +00:00] [INF] [229] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Official Roku Client", Path="/home/alliyance/files/Series/Bad.sisters (2022)/Season.01/S01E08.mkv", AudioStreamIndex=1, SubtitleStreamIndex=-2 ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/855ce031-b53c-5bef-df34-2aa5862b277c/stream.mkv?MediaSourceId=855ce031b53c5befdf342aa5862b277c&Static=true&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&SubtitleStreamIndex=-2&api_key=&SubtitleMethod=Encode&Tag=0438eb975582430254537cfc6e0280f9" [2024-01-21 22:30:38.956 +00:00] [WRN] [229] 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." [2024-01-21 22:30:38.963 +00:00] [INF] [229] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "::ffff:127.0.0.1" closed [2024-01-21 22:34:58.932 +00:00] [INF] [64] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "::ffff:127.0.0.1" request [2024-01-21 22:35:11.055 +00:00] [INF] [42] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "::ffff:127.0.0.1" request [2024-01-21 22:35:31.644 +00:00] [WRN] [42] 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." [2024-01-21 22:35:31.659 +00:00] [INF] [42] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "::ffff:127.0.0.1" closed [2024-01-21 22:35:48.627 +00:00] [INF] [12] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.

Screenshots

Connection Information

Additional context

lakerssuperman commented 5 months ago

I've been remiss in reporting this, but I can confirm this behavior with the latest stable release in the testing I've done with it. I would also note that subtitle selection dialog in the Jellyfin overview indicates "None" when playing movie after a movie with Forced subtitles where the subtitles should be off. As noted above, the Roku menu indicates the Captions are set to on, but Jellyfin does not. At least, from what I've seen.

TravisRoy commented 2 weeks ago

I'm running Jellyfin Server 10.9.6 and Roku 2.0.7 and playing any video has the subtitles on, regardless of any other settings anywhere to tell it not to.

Alliyance commented 2 weeks ago

Yeah it's back to where it was.😒 If the subs are turn ON by a foreign forced subs, it activate the main captioned Roku to the "On always" and stays there regardless of the subs settings.

A year ago, all was working fine, been many months and still isn't fix. On top of it, they also screw up the subs on android tv a month ago. Also not fix.

I love Jellyfin but I am force to send my family member to Plex.