LinFor / jellyfin-plugin-kinopoisk

Fetches metadata from kinopoisk
GNU General Public License v3.0
65 stars 18 forks source link

Ошибка в значении VOICE_DIRECTOR #23

Open Penguinnie opened 3 months ago

Penguinnie commented 3 months ago

Не удается обновить метаданные некоторых фильмов/сериалов. В логах однотипные ошибки. Ругается на значения DESIGN, OPERATOR, VOICE_DIRECTOR.


[2024-05-16 22:52:00.493 +00:00] [INF] [24] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/Anime/Mononoke-hime 1997 kp441.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-05-16 22:52:01.329 +00:00] [ERR] [3] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "КиноПоиск"
System.Runtime.CompilerServices.SwitchExpressionException: Non-exhaustive switch expression failed to match its input.
Unmatched value was VOICE_DIRECTOR.
   at <PrivateImplementationDetails>.ThrowSwitchExpressionException(Object unmatchedValue)
   at Jellyfin.Plugin.Kinopoisk.ApiModelExtensions.ToPersonType(StaffResponseProfessionKey src)
   at Jellyfin.Plugin.Kinopoisk.ApiModelExtensions.ToPersonInfo(StaffResponse src)
   at System.Linq.Enumerable.SelectListIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.ToArray()
   at Jellyfin.Plugin.Kinopoisk.ApiModelExtensions.ToPersonInfos(ICollection`1 src)
   at Jellyfin.Plugin.Kinopoisk.MetadataProviders.BaseVideoMetadataProvider`2.GetMetadata(TLookupInfoType info, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)