2024-12-14, 10:53 AM
(This post was last modified: 2024-12-14, 10:53 AM by TheColin21.)
Thanks, I was able to get it working.
I suppose you just singled them out because they were the last files listed before the crash?
I continued like this and singled out six files overall that were causing problems. Each an extra from a different BluRay
Some others still threw errors, for example:
I saw this one quite a lot for different files although I don't know why Jellyfin queries any metadata provider at all for extras.
This does not really bother me though as it at least doesn't crash the whole Jellyfin server.
I think there should be some kind of better error handling than restarting the whole server when a scan finds a file that it cannot handle for some reason - especially without obviously alerting the user.
I suppose you just singled them out because they were the last files listed before the crash?
I continued like this and singled out six files overall that were causing problems. Each an extra from a different BluRay
Some others still threw errors, for example:
Code:
[11:48:41] [INF] [30] MediaBrowser.Providers.MediaInfo.VideoImageProvider: Skipping image extraction due to missing DefaultVideoStreamIndex for /mount/media/Filme/The Grand Budapest Hotel (2014) [imdbid-tt2278388]/extras/The Grand Budapest Hotel_t27.mkv.
[11:48:42] [ERR] [32] MediaBrowser.Providers.Videos.VideoMetadataService: Error in Probe Provider
System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.ContinueDeserialize(ReadBufferState& bufferState, JsonReaderState& jsonReaderState, ReadStack& readStack)
at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.DeserializeAsync(Stream utf8Json, CancellationToken cancellationToken)
at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, CancellationToken cancellationToken)
at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
This does not really bother me though as it at least doesn't crash the whole Jellyfin server.
I think there should be some kind of better error handling than restarting the whole server when a scan finds a file that it cannot handle for some reason - especially without obviously alerting the user.