nicknsy / jellyscrub

Smooth mouse-over video scrubbing previews for Jellyfin.
MIT License
668 stars 27 forks source link

theme song files should be ignored #76

Closed cm-chandler closed 1 year ago

cm-chandler commented 1 year ago

theme.mp3 files are used with the "Theme songs" option in user settings -> Display to play a theme in the background while browsing.

With the Jellyscrub "Generate trickplay files on demand when a client requests one" option enabled, trickplay files will unsuccessfully attempt to be made when themes are played.

Error:

[19:45:40] [INF] [35] Nick.Plugin.Jellyscrub.Drawing.VideoProcessor: Creating trickplay files at 320 width, for /mnt/TV Shows/The Bad Batch (2021)/theme.mp3 [ID: defc2f77-c5a2-4e70-a8f8-54a14bcaa346] [19:45:40] [ERR] [35] Nick.Plugin.Jellyscrub.Drawing.VideoProcessor: Error while creating BIF file System.InvalidOperationException: EncodingHelper returned empty or invalid filter parameters. at Nick.Plugin.Jellyscrub.Drawing.OldMediaEncoder.ExtractVideoImagesOnInterval(String inputFile, String container, MediaStream videoStream, MediaSourceInfo mediaSource, Nullable`1 threedFormat, TimeSpan interval, String targetDirectory, String filenamePrefix, Int32 maxWidth, CancellationToken cancellationToken) at Nick.Plugin.Jellyscrub.Drawing.VideoProcessor.CreateBif(String path, Int32 width, Int32 interval, BaseItem item, MediaSourceInfo mediaSource, CancellationToken cancellationToken) at Nick.Plugin.Jellyscrub.Drawing.VideoProcessor.Run(BaseItem item, MediaSourceInfo mediaSource, Int32 width, Int32 interval, CancellationToken cancellationToken)