Images for shows are not being downloaded - Pieter - 2025-06-17
Hi, I noticed that images for some TV shows are not being downloaded.
When I look at the show it does have various ID's for IMDB, TVDB, MovieDB, etc.
If I manually identify, and use the same e.g. IMDB id, then images are immediately shown and downloaded.
1) Is there a way to filter by missing artwork?
2) Is there a way to force downloading of artwork?
3) Is there maybe something wrong with my setup?
Running 10.10.7 on Docker on Debian.
I did find lots of ERR entries for failing to create TrickPlay images.
Also a few DB locked errors:
E.g.
Code: [color=#000000][2025-06-16 12:15:00.045 -07:00] [ERR] [100] Microsoft.EntityFrameworkCore.Database.Connection: An error occurred using the connection to database '"main"' on server '"/config/data/data/jellyfin.db"'.
[2025-06-16 12:15:00.048 -07:00] [ERR] [100] Microsoft.EntityFrameworkCore.Query: An exception occurred while iterating over the results of a query for context type '"Jellyfin.Server.Implementations.JellyfinDbContext"'."
""Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 5: 'database is locked For more information on this error code see https://www.sqlite.org/rescode.html'.
at Microsoft.Data.Sqlite.SqliteConnection.Open()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()"
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 5: 'database is locked For more information on this error code see https://www.sqlite.org/rescode.html'.
at Microsoft.Data.Sqlite.SqliteConnection.Open()
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternal(Boolean errorsExpected)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)
at lambda_method542(Closure, QueryContext)
at Jellyfin.Server.Implementations.MediaSegments.MediaSegmentManager.HasSegments(Guid itemId)
at MediaBrowser.Controller.Entities.BaseItem.GetVersionInfo(Boolean enablePathSubstitution, BaseItem item, MediaSourceType type)
at System.Linq.Enumerable.SelectListIterator`2.Fill(ReadOnlySpan`1 source, Span`1 destination, Func`2 func)
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at MediaBrowser.Controller.Entities.BaseItem.GetMediaSources(Boolean enablePathSubstitution)
at Emby.Server.Implementations.Library.MediaSourceManager.GetStaticMediaSources(BaseItem item, Boolean enablePathSubstitution, User user)
[2025-06-16 12:15:00.049 -07:00] [ERR] [100] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL "GET" "/Items".[/color]
I do see reports of the DB lock errors on github, but blamed on network storage or multiple isntances, I run directly on ZFS volumes, and only 1 instance.
RE: Images for shows are not being downloaded - bitmap - 2025-06-19
Full logs would help us trace the issue. Are you running out of disk space where trickplay or metadata would download? The DB locking may be a separate issue, but possibly related -- databases are not my forte...
RE: Images for shows are not being downloaded - Pieter - 2025-06-24
I looked at current logs and could not find a DB lock error, I do see lots of trickplay failed errors, lots of space available.
Code: [2025-06-22 03:00:10.445 -07:00] [INF] [90] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Creating trickplay files at 320 width, for "/media/Movies/Diana (2013)/Diana (2013).mkv" [ID: 1cc3b7d4-5ba3-2182-6466-9942486345d8]
[2025-06-22 03:00:10.445 -07:00] [INF] [90] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Trickplay generation: "/usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -skip_frame nokey -threads 1 -i file:\"/media/Movies/Diana (2013)/Diana (2013).mkv\" -an -sn -vf \"fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p\" -threads 1 -c:v mjpeg -qscale:v 4 -fps_mode passthrough -f image2 \"/tmp/jellyfin/07130280d4cc41039fa27991a1a76be3/%08d.jpg\""
[2025-06-22 03:00:30.446 -07:00] [INF] [136] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Trickplay process unresponsive.
[2025-06-22 03:00:30.446 -07:00] [INF] [136] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Stopping trickplay extraction.
[2025-06-22 03:00:31.446 -07:00] [INF] [136] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Killing ffmpeg process
[2025-06-22 03:00:31.446 -07:00] [ERR] [136] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: ffmpeg image extraction failed for "/usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -skip_frame nokey -threads 1 -i file:\"/media/Movies/Diana (2013)/Diana (2013).mkv\" -an -sn -vf \"fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p\" -threads 1 -c:v mjpeg -qscale:v 4 -fps_mode passthrough -f image2 \"/tmp/jellyfin/07130280d4cc41039fa27991a1a76be3/%08d.jpg\""
[2025-06-22 03:00:31.446 -07:00] [ERR] [136] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Error creating trickplay images.
MediaBrowser.Common.FfmpegException: ffmpeg image extraction failed for /usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -skip_frame nokey -threads 1 -i file:"/media/Movies/Diana (2013)/Diana (2013).mkv" -an -sn -vf "fps=0.10000000149011612,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*(a*sar))\,320)/2)*2:trunc(ow/(a*sar)/2)*2,format=yuv420p" -threads 1 -c:v mjpeg -qscale:v 4 -fps_mode passthrough -f image2 "/tmp/jellyfin/07130280d4cc41039fa27991a1a76be3/%08d.jpg"
at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.ExtractVideoImagesOnIntervalInternal(String inputArg, String filterParam, String vidEncoder, Nullable`1 outputThreads, Nullable`1 qualityScale, Nullable`1 priority, CancellationToken cancellationToken)
at Jellyfin.Server.Implementations.Trickplay.TrickplayManager.RefreshTrickplayDataInternal(Video video, Boolean replace, Int32 width, TrickplayOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken)
|