mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
Jellyfin 10.6.0 hangs when retrieving metadata #1915
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Enzo-Matrix on GitHub (Jul 21, 2020).
Describe the bug
Two metadata lookup scenario cause jellyfin 10.6.0 to hangs:
System (please complete the following information):
To Reproduce
Expected behavior
The expected behaviour is the UI will return to the previous screen with the updated metadata for the media.
Logs
[15:15:32] [DBG] [22] MediaBrowser.Providers.Movies.MovieMetadataService: Running FFProbeProvider for /movies/the_rocket/the_rocket.mp4
[15:15:32] [DBG] [22] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: /usr/bin/ffprobe -i file:"/movies/the_rocket/the_rocket.mp4" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format
[15:15:32] [DBG] [22] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting ffprobe with args -i file:"/movies/the_rocket/the_rocket.mp4" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format
[15:15:33] [DBG] [20] MediaBrowser.Providers.Movies.MovieMetadataService: Running MovieNfoProvider for /movies/the_rocket/the_rocket.mp4
[15:15:33] [DBG] [20] MediaBrowser.Providers.Movies.MovieMetadataService: MovieNfoProvider returned no metadata for /movies/the_rocket/the_rocket.mp4
[15:15:33] [DBG] [20] MediaBrowser.Providers.Movies.MovieMetadataService: Running TmdbMovieProvider for /movies/the_rocket/the_rocket.mp4
[15:15:33] [INF] [20] MediaBrowser.Providers.Plugins.Tmdb.Movies.TmdbMovieProvider: TmdbSearch: Finding id for item: the rocket (null)
[15:15:33] [DBG] [22] MediaBrowser.Providers.Movies.MovieMetadataService: Running OmdbItemProvider for /movies/the_rocket/the_rocket.mp4
[15:15:33] [DBG] [22] MediaBrowser.Providers.Movies.MovieMetadataService: Running TmdbImageProvider for /movies/the_rocket/the_rocket.mp4
[15:15:33] [DBG] [22] MediaBrowser.Providers.Movies.MovieMetadataService: Running OmdbImageProvider for /movies/the_rocket/the_rocket.mp4
[15:15:33] [DBG] [22] MediaBrowser.Providers.Movies.MovieMetadataService: Running VideoImageProvider for /movies/the_rocket/the_rocket.mp4
[15:15:33] [DBG] [22] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: /usr/bin/ffmpeg -f mov,mp4,m4a,3gp,3g2,mj2 -ss 00:09:33.731 -i file:"/movies/the_rocket/the_rocket.mp4" -threads 0 -v quiet -vframes 1 -vf "scale=600:trunc(600/dar/2)*2,thumbnail=24" -f image2 "~/.cache/jellyfin/temp/02c09cd3-c90b-4177-bf42-f9c68ee4d76e.jpg"
[1]+ Stopped ~/apps/jellyfin_10.6.0/jellyfin
@Enzo-Matrix commented on GitHub (Jul 22, 2020):
This may well be a user issue.
Jellyfin is started in the background using &. If the terminal remains open, when ffmpeg or ffprobe is spawned as a child process, the background jellyfin process stops. Prior to figure this out, I was killing the process with -9. I was able to fg to restore jellyfin when this happens and the ffmpeg or ffprode process continues. I am still unsure why jellyfin stops when spawning child processes. Once the terminal is detached (similar to when jellyfin starts at boot), this issue no longer occurs.
Closing this ticket. Will open another ticket for the adding media issue when metadata lookup fails.