jellyfin / jellyfin-plugin-tmdbboxsets

https://jellyfin.org
MIT License
86 stars 20 forks source link

Plugin Error is causing JellyFin to Crash #16

Open feerlessleadr opened 4 years ago

feerlessleadr commented 4 years ago

Hi - new to JF and testing it out. I installed the box set plugin, and it seems that every time it tries to create a box set for Bill & Ted, it causes JF to crash. Here is the relevant bit from the JF log:

[2020-05-14 02:01:13.022 -04:00] [INF] [19] App: Box Set for "Bill & Ted's Most Excellent Collection" ("91746") does not exist. Creating it now!
[2020-05-14 02:01:13.028 -04:00] [FTL] [19] Main: Unhandled Exception
System.IO.IOException: The filename, directory name, or volume label syntax is incorrect. : 'C:\ProgramData\Jellyfin\Server\data\collections\Bill & Ted's Most Excellent Collection [boxset]'
   at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
   at System.IO.Directory.CreateDirectory(String path)
   at Emby.Server.Implementations.Collections.CollectionManager.CreateCollection(CollectionCreationOptions options)
   at Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager.AddMoviesToCollection(IReadOnlyCollection`1 movies, String tmdbCollectionId, BoxSet boxSet)
   at Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager.OnTimerElapsed()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.TimerQueueTimer.CallCallback(Boolean isThreadPool)
   at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
   at System.Threading.TimerQueue.FireNextTimers()

Thanks

danimart1991 commented 2 years ago

I think Release 8 fix this problem. Could you test it?