Open mikul9 opened 1 year ago
There's no errors in yours logs, or any indication that something is wrong. Playback also isn't something that we directly control, we essentially just hand Kodi a URL and it handles playback all on it's own. Without something more concrete, everything appears to be working as intended.
As for your other issues, you're going to have to be more specific.
Thanks for getting back to me.
The playback issue is baffling. After years of running PlexKodiConnect, I did not encounter this, and I cannot think of any other changes (aside from plugin updates) to the Shield since that started to have caused this. However, I am suspicious that this is a out of memory issue as the Shield has now shown a "Memory is running critically low" error twice when this happened. This would also explain why a reboot is required to resolve the issue. My guess is that something has a memory leak and the most likely culprits are the jellyfinKodi plugin or the skin as they are used constantly and have been updated multiple times. Memory leaks are so much fun to debug.
Whenever it does an update, it always updates the entire library. E.g. if it updated yesterday, it will show that it is pulling 2,000 changes (the approximate library size) . When I use it again today (and any other day), it will again pull 2,000 changes. It never updates the 1 or 2 files that actually changed.
Whenever UpNext replays the episode we just watched we see that the watched flag has not been updated iin Jellyfin server. E.g. We watch S01E01, the episode finishes to the very end, UpNext starts a video and it's S01E01, Jellyfin shows that the episode is unwatched. Kodi also shows that S01E01 is unwatched. I'm not sure if this is a chicken and egg problem.
in regards to 1, it's basically out of our hands. It needs changes to the plugin in the server. See https://github.com/jellyfin/jellyfin-kodi/issues/509 and https://github.com/jellyfin/jellyfin-plugin-kodisyncqueue/issues/44 if you wanna know more.
This is the first report I've heard of any issues with the up next addon
I'm experiencing this issue, same symptoms as in the OP but it only gets a few seconds into the video, rather than ~10 - the time seems related to the filesize, larger files quit faster. Has been happening for a while now but it seems to have gotten worse lately. Seems to happen at least once a day now. Is tempfixed by rebooting my Kodi box.
System:
When it drops the video, this is the first line in the log:
INFO <general>: Process - eof reading from demuxer
My box has 4GB RAM, usually with a few GB free so I doubt it's memory related.
A couple extra observations:
If I try to play via Jellycon, I get an error in the UI directing me to check the log, and this -
2023-12-29 10:56:09.328 T:9331 INFO <general>: JELLYFIN.resources.lib.play_utils -> INFO::resources/lib/play_utils.py:425 Play URL: {jellyfin-server}/Videos/c42bd40c58889c2798f5aa61ee57a8b3/stream?static=True&PlaySessionId=7454d904cff94ffe94ce410ad2eb834c&MediaSourceId=c42bd40c58889c2798f5aa61ee57a8b3 Playback Type: 1 ListItem Properties: []
2023-12-29 10:56:09.361 T:3470 INFO <general>: VideoPlayer::OpenFile: https://$MYSERVER.COM$/Videos/c42bd40c58889c2798f5aa61ee57a8b3/stream?static=True&PlaySessionId=7454d904cff94ffe94ce410ad2eb834c&MediaSourceId=c42bd40c58889c2798f5aa61ee57a8b3
2023-12-29 10:56:09.362 T:9331 INFO <general>: CPythonInvoker(42, /storage/.kodi/addons/plugin.video.jellycon/default.py): script successfully run
2023-12-29 10:56:09.363 T:9335 INFO <general>: Creating InputStream
2023-12-29 10:56:09.403 T:9335 ERROR <general>: Open - Unhandled exception
2023-12-29 10:56:09.403 T:9335 ERROR <general>: Open - Error opening https://$MYSERVER.COM$/Videos/c42bd40c58889c2798f5aa61ee57a8b3/stream?static=True&PlaySessionId=7454d904cff94ffe94ce410ad2eb834c&MediaSourceId=c42bd40c58889c2798f5aa61ee57a8b3
2023-12-29 10:56:09.403 T:9335 ERROR <general>: CVideoPlayer::OpenInputStream - error opening [https://$MYSERVER.COM$/Videos/c42bd40c58889c2798f5aa61ee57a8b3/stream?static=True&PlaySessionId=7454d904cff94ffe94ce410ad2eb834c&MediaSourceId=c42bd40c58889c2798f5aa61ee57a8b3]
2023-12-29 10:56:09.403 T:9335 INFO <general>: CVideoPlayer::OnExit()
2023-12-29 10:56:09.477 T:3470 INFO <general>: CVideoPlayer::CloseFile()
2023-12-29 10:56:09.477 T:3470 INFO <general>: VideoPlayer: waiting for threads to exit
2023-12-29 10:56:09.477 T:3470 INFO <general>: VideoPlayer: finished waiting
2023-12-29 10:56:09.625 T:3779 ERROR <general>: EXCEPTION: XBMC is not playing any file
2023-12-29 10:56:10.143 T:9331 INFO <general>: Skipped 1 duplicate messages..
2023-12-29 10:56:10.143 T:9331 INFO <general>: Python interpreter stopped
2023-12-29 10:56:10.145 T:3779 INFO <general>: JELLYFIN.jellyfin_kodi.monitor -> DEBUG::jellyfin_kodi/monitor.py:91 [ xbmc: Player.OnPlay ] {
"item": {
"title": "The Prestige",
"type": "movie",
"year": 2006
},
"player": {
"playerid": 1,
"speed": 1
}
}
2023-12-29 10:56:10.149 T:3779 INFO <general>: JELLYFIN.jellyfin_kodi.objects.actions -> DEBUG::jellyfin_kodi/objects/actions.py:765 Invalid playstate update
2023-12-29 10:56:10.270 T:3779 INFO <general>: JELLYFIN.jellyfin_kodi.helper.utils -> DEBUG::jellyfin_kodi/helper/utils.py:56 --[ window clear: jellyfin_play ]
2023-12-29 10:56:10.282 T:3779 INFO <general>: JELLYFIN.jellyfin_kodi.player -> INFO::jellyfin_kodi/player.py:377 --<[ playback ]
2023-12-29 10:56:13.159 T:3672 INFO <general>: script.module.slyguy - Repo: repository.slyguy requires force update
2023-12-29 10:56:13.181 T:3779 INFO <general>: JELLYFIN.jellyfin_kodi.monitor -> INFO::jellyfin_kodi/monitor.py:85 [ playlist ] cleared
2023-12-29 10:56:13.181 T:3779 ERROR <general>: EXCEPTION: XBMC is not playing any file
2023-12-29 10:56:17.192 T:3779 INFO <general>: Skipped 3 duplicate messages..
2023-12-29 10:56:17.192 T:3779 INFO <general>: JELLYFIN.jellyfin_kodi.player -> INFO::jellyfin_kodi/player.py:72 Cancel playback report
2023-12-29 10:56:17.192 T:3779 ERROR <general>: EXCEPTION: XBMC is not playing any file
2023-12-29 10:56:19.202 T:3779 INFO <general>: Skipped 1 duplicate messages..
2023-12-29 10:56:19.202 T:3779 INFO <general>: JELLYFIN.jellyfin_kodi.player -> INFO::jellyfin_kodi/player.py:72 Cancel playback report ```
Describe the bug After playing several videos, when starting a new video, the video begins to play with no audio and stops ~10s in. Stopping and restarting the video produces the same result stopping on (seemingly) the exact same frame. Stopping and starting Kodi does not fix the problem. The Nvidia Shield must be restarted to resolve the issue.
There are no issue when using the Jellyfin app from other devices.
To Reproduce Play a series of videos (probably 3 hours or more). As each one ends, start another and let it play. Eventually the next video that plays will have no sound and stop 10s in.
Expected behavior The video should play with sound all the way through.
Logs
Screenshots
System (please complete the following information):
Additional context Kodi is having multiple problems with Jellyfin including: 1) Refreshing the entire library every day. 2) When using NextUp to play the next TV episode, it instead replays the episode it was on. Checking the Jellyfin server shows that the just-finished episode has not been marked as played.