2024-04-22, 08:20 AM
So whenever I am using both the ListenBrainz plugin and the theme song plugin and go to a TV show or movie with a theme song if I allow the entire theme song to play to the end it causes the server to crash these are the log outputs when it does, I figure it has something to do with Listenbrainz not being able to keep track and send that to its servers:
[03:17:50] [INF] [7] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for Cody. EnableAudioPlaybackTranscoding: True
[03:17:50] [ERR] [28] Emby.Server.Implementations.Session.SessionManager: Error in event handler
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.SZArrayHelper.get_Item[T](Int32 index)
at Jellyfin.Plugin.Listenbrainz.Utils.Helpers.HasRequiredMetadata(Audio item)
at Jellyfin.Plugin.Listenbrainz.ServerEntryPoint.PlaybackStart(Object sender, PlaybackProgressEventArgs e)
at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()
Unhandled exception. System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.SZArrayHelper.get_Item[T](Int32 index)
at Jellyfin.Plugin.Listenbrainz.Utils.Helpers.HasRequiredMetadata(Audio item)
at Jellyfin.Plugin.Listenbrainz.ServerEntryPoint.PlaybackStopped(Object sender, PlaybackStopEventArgs e)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()
[03:17:50] [INF] [7] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for Cody. EnableAudioPlaybackTranscoding: True
[03:17:50] [ERR] [28] Emby.Server.Implementations.Session.SessionManager: Error in event handler
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.SZArrayHelper.get_Item[T](Int32 index)
at Jellyfin.Plugin.Listenbrainz.Utils.Helpers.HasRequiredMetadata(Audio item)
at Jellyfin.Plugin.Listenbrainz.ServerEntryPoint.PlaybackStart(Object sender, PlaybackProgressEventArgs e)
at MediaBrowser.Common.Events.EventHelper.<>c__DisplayClass1_0
1.<QueueEventIfNotNull>b__0()
[03:18:21] [INF] [13] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Jellyfin Web 10.8.12 playing theme. Stopped at 30066 ms
[03:18:21] [INF] [28] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: Playback stop did not have a tracker : TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzEyMS4wLjAuMCBTYWZhcmkvNTM3LjM2IE9QUi8xMDcuMC4wLjB8MTcxMDgyNjk2MjA1MQ11-aa23ecf52c9e4a0fa3889ee089a54d9b-daa35ce4d150cca2e0575ec1df550b90
[03:18:21] [FTL] [22] Main: Unhandled Exception
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.SZArrayHelper.get_Item[T](Int32 index)
at Jellyfin.Plugin.Listenbrainz.Utils.Helpers.HasRequiredMetadata(Audio item)
at Jellyfin.Plugin.Listenbrainz.ServerEntryPoint.PlaybackStopped(Object sender, PlaybackStopEventArgs e)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action
1 callback, TState& state)at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()
Unhandled exception. System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.SZArrayHelper.get_Item[T](Int32 index)
at Jellyfin.Plugin.Listenbrainz.Utils.Helpers.HasRequiredMetadata(Audio item)
at Jellyfin.Plugin.Listenbrainz.ServerEntryPoint.PlaybackStopped(Object sender, PlaybackStopEventArgs e)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()