jellyfin / jellyfin-androidtv

Android TV Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.74k stars 468 forks source link

[Issue]: Issues displaying srt subtitles in jellyfin firetv app #3427

Closed itsjakeman closed 2 months ago

itsjakeman commented 7 months ago

Please describe your bug

If subtitles gets replaced it seems it wont pickup new file on firetv. All other devices show the subtitles. removing and adding back into library does not solve the issue. Issues just started happening in last version update.

Reproduction Steps

Add video with subtitle file but only containing a partial of the movie. Replace subtitles with correct version, rescan libary Movie on jellyfin app will detect new subtitle but will not display it.

------WORKAROUND--------

A workaround for the issue seems to be to rename the subtitle with another language extension or removing it. Example: movie.2024.mp4 movie.2024.eng.srt ---> movie.2024.eng2.srt

After a library scan the new file will display the subtitle as intended after selecting "Eng2" in this case. Not sure if this subtitle is getting cached somewhere and not being replace when the file is updated.

Jellyfin Version

10.8.13

if other:

FireTV

Environment

- OS:
- Linux Kernel:
- Virtualization:
- Clients:
- Browser:
- FFmpeg Version:
- Playback Method:
- Hardware Acceleration:
- GPU Model:
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:

Jellyfin logs

[2024-03-03 13:13:54.341 -06:00] [INF] Adding playback tracker : f0a089860104d74295ac324cc16a3e61d5abec9a-5ed13f69a0c44e0a97eebd950e36e451-70de5365fb71636bb813f929f914a4b4
[2024-03-03 13:13:54.341 -06:00] [INF] PlaybackTracker : Adding Start Event : 03/03/2024 13:13:54
[2024-03-03 13:13:54.341 -06:00] [INF] Creating StartPlaybackTimer Task
[2024-03-03 13:13:54.341 -06:00] [INF] StartPlaybackTimer : Entered
[2024-03-03 13:13:54.837 -06:00] [INF] Started user data sync
[2024-03-03 13:13:54.856 -06:00] [ERR] An error has occurred in UserUpdateTimerCallback
System.NullReferenceException: Object reference not set to an instance of an object.
   at Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification.SaveUserChanges(List`1 dtos, List`1 itemRefs, String userName, String userId)
   at Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification.SendNotifications(IEnumerable`1 changes, List`1 itemRefs, CancellationToken cancellationToken)
   at Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification.UpdateTimerCallback(Object state)
[2024-03-03 13:13:55.330 -06:00] [INF] Processing playback tracker : "f0a089860104d74295ac324cc16a3e61d5abec9a-5ed13f69a0c44e0a97eebd950e36e451-70de5365fb71636bb813f929f914a4b4"
[2024-03-03 13:13:57.251 -06:00] [INF] session.RemoteEndPoint : "10.10.77.177"
[2024-03-03 13:13:57.252 -06:00] [INF] StartPlaybackTimer : event_playing_id     = "70de5365fb71636bb813f929f914a4b4"
[2024-03-03 13:13:57.252 -06:00] [INF] StartPlaybackTimer : event_user_id        = "018d78cd3b824899a5de06c764201e6a"
[2024-03-03 13:13:57.252 -06:00] [INF] StartPlaybackTimer : event_user_id_int    = 1
[2024-03-03 13:13:57.252 -06:00] [INF] StartPlaybackTimer : session_playing_id   = "70de5365fb71636bb813f929f914a4b4"
[2024-03-03 13:13:57.252 -06:00] [INF] StartPlaybackTimer : session_user_id      = "018d78cd3b824899a5de06c764201e6a"
[2024-03-03 13:13:57.252 -06:00] [INF] StartPlaybackTimer : play_method          = "DirectPlay"
[2024-03-03 13:13:57.252 -06:00] [INF] StartPlaybackTimer : e.ClientName         = "Jellyfin Web"
[2024-03-03 13:13:57.252 -06:00] [INF] StartPlaybackTimer : e.DeviceName         = "Firefox"
[2024-03-03 13:13:57.252 -06:00] [INF] StartPlaybackTimer : ItemName             = "Harriet"
[2024-03-03 13:13:57.252 -06:00] [INF] StartPlaybackTimer : ItemId               = "70de5365fb71636bb813f929f914a4b4"
[2024-03-03 13:13:57.252 -06:00] [INF] StartPlaybackTimer : ItemType             = "Movie"
[2024-03-03 13:13:57.252 -06:00] [INF] StartPlaybackTimer : All matches, playback registered
[2024-03-03 13:13:57.252 -06:00] [INF] Playback tracker found, adding playback info : "TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTIyLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTIyLjB8MTcwNzM3MzE5OTM3MA11-018d78cd3b824899a5de06c764201e6a-70de5365fb71636bb813f929f914a4b4"
[2024-03-03 13:13:57.252 -06:00] [INF] Saving playback tracking activity in DB
[2024-03-03 13:13:57.255 -06:00] [INF] StartPlaybackTimer : Exited
[2024-03-03 13:13:58.080 -06:00] [INF] Processing playback tracker : "TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6MTIyLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTIyLjB8MTcwNzM3MzE5OTM3MA11-018d78cd3b824899a5de06c764201e6a-70de5365fb71636bb813f929f914a4b4"
[2024-03-03 13:14:08.098 -06:00] [ERR] Can't scrobble: User "jelly-admin" not logged in (True)
[2024-03-03 13:14:14.339 -06:00] [INF] session.RemoteEndPoint : "10.7.77.27"
[2024-03-03 13:14:14.339 -06:00] [INF] StartPlaybackTimer : event_playing_id     = "70de5365fb71636bb813f929f914a4b4"
[2024-03-03 13:14:14.339 -06:00] [INF] StartPlaybackTimer : event_user_id        = "5ed13f69a0c44e0a97eebd950e36e451"
[2024-03-03 13:14:14.339 -06:00] [INF] StartPlaybackTimer : event_user_id_int    = 2
[2024-03-03 13:14:14.339 -06:00] [INF] StartPlaybackTimer : session_playing_id   = "70de5365fb71636bb813f929f914a4b4"
[2024-03-03 13:14:14.339 -06:00] [INF] StartPlaybackTimer : session_user_id      = "5ed13f69a0c44e0a97eebd950e36e451"
[2024-03-03 13:14:14.339 -06:00] [INF] StartPlaybackTimer : play_method          = "DirectPlay"
[2024-03-03 13:14:14.339 -06:00] [INF] StartPlaybackTimer : e.ClientName         = "Android TV"
[2024-03-03 13:14:14.339 -06:00] [INF] StartPlaybackTimer : e.DeviceName         = "Living Room FireTV"
[2024-03-03 13:14:14.339 -06:00] [INF] StartPlaybackTimer : ItemName             = "Harriet"
[2024-03-03 13:14:14.339 -06:00] [INF] StartPlaybackTimer : ItemId               = "70de5365fb71636bb813f929f914a4b4"
[2024-03-03 13:14:14.339 -06:00] [INF] StartPlaybackTimer : ItemType             = "Movie"
[2024-03-03 13:14:14.340 -06:00] [INF] StartPlaybackTimer : All matches, playback registered
[2024-03-03 13:14:14.340 -06:00] [INF] Playback tracker found, adding playback info : "f0a089860104d74295ac324cc16a3e61d5abec9a-5ed13f69a0c44e0a97eebd950e36e451-70de5365fb71636bb813f929f914a4b4"
[2024-03-03 13:14:14.340 -06:00] [INF] Saving playback tracking activity in DB
[2024-03-03 13:14:14.341 -06:00] [INF] StartPlaybackTimer : Exited
[2024-03-03 13:14:15.065 -06:00] [INF] Playback stopped reported by app "Android TV" "0.16.6" playing "Harriet". Stopped at "398039" ms

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

TimGels commented 7 months ago

I cannot reproduce your issue on master or on 10.8.13 in the web client with your provided information. But this issue should be moved to the android tv client repo if that is where you encounter this issue. https://github.com/jellyfin/jellyfin-androidtv

jellyfin-bot commented 3 months ago

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.