Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video stops during playing #966

Open
DavidHenryThoreau opened this issue Jan 12, 2025 · 0 comments
Open

Video stops during playing #966

DavidHenryThoreau opened this issue Jan 12, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@DavidHenryThoreau
Copy link

Summary

When i'm playing a movie on latest kodi 21.1 version the movie stops.
I'm using Kodi Sync Queue 13.0

Steps to Reproduce

  1. Play movie in Kodi by using Jellyfin-kodi
  2. Watch logs until video stops

Operating System

Debian

Jellyfin Server Version

10.10.3

Kodi Version

21.1

Addon Mode

Addon-mode

Logs

2025-01-11 21:16:11.296 T:1265 error : CFileCache::Process - <https://jf.my.instance.local/Videos/cddaf35d15fd5c9f2d642660d105a20/stream?static=true&MediaSourceId=cddaf35d15fd5c9f2d642660d1050505&api_
2025-01-11 21:16:19.063 T:1263 info : Process - eof reading from demuxer
2025-01-11 21:16:19.063 T:1263 info : CVideoPlayer::OnExit()
2025-01-11 21:16:19.063 T:1263 info : VideoPlayer: eof, waiting for queues to empty
2025-01-11 21:16:19.064 T:1263 info : Closing stream player 1
2025-01-11 21:16:19.064 T:1263 info : CDVDMessageQueue(audio)::WaitUntilEmpty
2025-01-11 21:16:19.064 T:1263 info : Waiting for audio thread to exit
2025-01-11 21:16:19.064 T:1280 info : thread end: CVideoPlayerAudio::OnExit()
2025-01-11 21:16:19.064 T:1263 info : Closing audio device
2025-01-11 21:16:19.177 T:1263 info : Deleting audio codec
2025-01-11 21:16:19.177 T:1263 info : Closing stream player 2
2025-01-11 21:16:19.177 T:1263 info : CDVDMessageQueue(video)::WaitUntilEmpty
2025-01-11 21:16:19.270 T:1263 info : waiting for video thread to exit
2025-01-11 21:16:19.270 T:1278 info : thread end: video_thread
2025-01-11 21:16:19.271 T:1263 info : deleting video codec
2025-01-11 21:16:19.390 T:1176 info : CVideoPlayer::CloseFile()
2025-01-11 21:16:19.390 T:1176 info : VideoPlayer: waiting for threads to exit
2025-01-11 21:16:19.390 T:1176 info : VideoPlayer: finished waiting
2025-01-11 21:16:19.390 T:1176 info : CVideoPlayer::CloseFile()
2025-01-11 21:16:19.390 T:1176 info : VideoPlayer: waiting for threads to exit
2025-01-11 21:16:19.390 T:1176 info : VideoPlayer: finished waiting
2025-01-11 21:16:19.535 T:1236 info : JELLYFIN.jellyfin_kodi.player -> INFO::jellyfin_kodi/player.py:406 Played info: {'https://{jellyfin-server}/Videos/cddaf35d15fd5c9f2d642660d1050505/stream?static
2025-01-11 21:16:19.671 T:1184 info : CActiveAESink::OpenSink - initialize sink
2025-01-11 21:16:19.901 T:1184 info : CAESinkALSA::Initialize - Attempting to open device "@"
2025-01-11 21:16:20.117 T:1236 info : JELLYFIN.jellyfin_kodi.player -> INFO::jellyfin_kodi/player.py:399 --<<[ playback ]
2025-01-11 21:16:20.134 T:1184 info : CAESinkALSA::Initialize - Opened device "sysdefault"
2025-01-11 21:16:20.134 T:1184 info : CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2025-01-11 21:16:20.134 T:1184 info : CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4
2025-01-11 21:16:22.442 T:1236 info : JELLYFIN.jellyfin_kodi.monitor -> INFO::jellyfin_kodi/monitor.py:105 [ playlist ] cleared
2025-01-11 21:16:22.458 T:1236 info : JELLYFIN.jellyfin_kodi.entrypoint.service -> INFO::jellyfin_kodi/entrypoint/service.py:322 [ UserDataChanged ] {'UserDataList': [{'IsFavorite': False, 'ItemId':
2025-01-11 21:16:22.465 T:1236 info : JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:664 ---[ userdata:2 ]
2025-01-11 21:16:24.471 T:1240 info : JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:283 -->[ q:download/281470414656256 ]
2025-01-11 21:16:25.697 T:1366 info : JELLYFIN.jellyfin_kodi.downloader -> INFO::jellyfin_kodi/downloader.py:314 --<[ q:download/281470414656256 ]
2025-01-11 21:16:26.483 T:1240 info : JELLYFIN.jellyfin_kodi.library -> INFO::jellyfin_kodi/library.py:350 -->[ q:userdata/Movie/281470413667184 ]
2025-01-11 21:17:21.372 T:1370 error : /storage/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1099: InsecureRequestWarning: Unverified HTTPS request is being made to host
warnings.warn(

Server Logs

[2025-01-11 21:16:19.978 +01:00] [INF] [38] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Kodi" "1.0.7 py3" playing "My movie". Stopped at "3106000" ms
[2025-01-11 21:16:20.477 +01:00] [INF] [38] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification: Started user data sync
[2025-01-11 21:16:20.492 +01:00] [ERR] [38] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification: An error has occurred in UserUpdateTimerCallback
System.InvalidCastException: Unable to cast object of type 'System.Guid' to type 'System.String'.
at lambda_method1393(Closure, Object, Object)
at LiteDB.BsonMapper.DeserializeObject(EntityMapper entity, Object obj, BsonDocument value)
at LiteDB.BsonMapper.Deserialize(Type type, BsonValue value)
at LiteDB.LiteQueryable1.<ToEnumerable>b__27_2(BsonDocument x) at System.Linq.Enumerable.SelectEnumerableIterator2.ToList()
at Jellyfin.Plugin.KodiSyncQueue.Data.DbRepo.SetUserInfoSync(List1 dtos, List1 itemRefs, String userId)
at Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification.SaveUserChanges(List1 dtos, List1 itemRefs, String userName, String userId)
at Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification.SendNotifications(IEnumerable1 changes, List1 itemRefs, CancellationToken cancellationToken)
at Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification.UpdateTimerCallback(Object state)
[2025-01-11 21:17:21.707 +01:00] [INF] [48] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "j". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2025-01-11 21:17:23.458 +01:00] [INF] [20] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification: Started user data sync
[2025-01-11 21:17:23.472 +01:00] [ERR] [20] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification: An error has occurred in UserUpdateTimerCallback
System.InvalidCastException: Unable to cast object of type 'System.Guid' to type 'System.String'.
at lambda_method1393(Closure, Object, Object)
at LiteDB.BsonMapper.DeserializeObject(EntityMapper entity, Object obj, BsonDocument value)
at LiteDB.BsonMapper.Deserialize(Type type, BsonValue value)
at LiteDB.LiteQueryable1.<ToEnumerable>b__27_2(BsonDocument x) at System.Linq.Enumerable.SelectEnumerableIterator2.ToList()
at Jellyfin.Plugin.KodiSyncQueue.Data.DbRepo.SetUserInfoSync(List1 dtos, List1 itemRefs, String userId)
at Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification.SaveUserChanges(List1 dtos, List1 itemRefs, String userName, String userId)
at Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification.SendNotifications(IEnumerable1 changes, List1 itemRefs, CancellationToken cancellationToken)
at Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification.UpdateTimerCallback(Object state)
[2025-01-11 22:12:47.138 +01:00] [INF] [56] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Kodi" "1.0.7 py3" playing "My movie". Stopped at "6298000" ms
[2025-01-11 22:12:47.641 +01:00] [INF] [8] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification: Started user data sync
[2025-01-11 22:12:47.648 +01:00] [ERR] [8] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification: An error has occurred in UserUpdateTimerCallback
System.InvalidCastException: Unable to cast object of type 'System.Guid' to type 'System.String'.
at lambda_method1393(Closure, Object, Object)
at LiteDB.BsonMapper.DeserializeObject(EntityMapper entity, Object obj, BsonDocument value)
at LiteDB.BsonMapper.Deserialize(Type type, BsonValue value)
at LiteDB.LiteQueryable1.<ToEnumerable>b__27_2(BsonDocument x) at System.Linq.Enumerable.SelectEnumerableIterator2.ToList()
at Jellyfin.Plugin.KodiSyncQueue.Data.DbRepo.SetUserInfoSync(List1 dtos, List1 itemRefs, String userId)
at Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification.SaveUserChanges(List1 dtos, List1 itemRefs, String userName, String userId)
at Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification.SendNotifications(IEnumerable1 changes, List1 itemRefs, CancellationToken cancellationToken)
at Jellyfin.Plugin.KodiSyncQueue.EntryPoints.UserSyncNotification.UpdateTimerCallback(Object state)

Additional Information

No response

@DavidHenryThoreau DavidHenryThoreau added the bug Something isn't working label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant