Jellyfin Forum
Crashing Theme Songs - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Crashing Theme Songs (/t-crashing-theme-songs)



Crashing Theme Songs - nxllxvxxd - 2024-04-22

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_01.<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()


RE: Crashing Theme Songs - TheDreadPirate - 2024-04-22

Can you upgrade to 10.8.13? I vaguely recall this being a bug in 10.8.12.


RE: Crashing Theme Songs - nxllxvxxd - 2024-04-23

(2024-04-22, 06:15 PM)TheDreadPirate Wrote: Can you upgrade to 10.8.13?  I vaguely recall this being a bug in 10.8.12.

I am on 10.8.13 actually as a matter of fact


RE: Crashing Theme Songs - TheDreadPirate - 2024-04-23

Are you server and web versions mismatched?

Your log states Jellyfin web is on 10.8.12.

Code:
[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



RE: Crashing Theme Songs - nxllxvxxd - 2025-03-25

Old thread but it was because it was back when there wasn't a native version of introskipper for 10.8.13 yet