ankenyr / jellyfin-youtube-metadata-plugin

Youtube Metadata Plugin for Jellyfin
GNU Affero General Public License v3.0
517 stars 33 forks source link

Error in Log: youtube-dl not found on path! #112

Open lamyergeier opened 1 month ago

lamyergeier commented 1 month ago

Error

[2024-09-11 11:57:53.050 +00:00] [ERR] [73] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "YoutubeMetadata"
System.IO.FileNotFoundException: youtube-dl not found on path!
   at NYoutubeDL.Services.PreparationService.SetupPrepare(YoutubeDLP ydl)
   at NYoutubeDL.Services.InfoService.GetDownloadInfoAsync(YoutubeDLP ydl, CancellationToken cancellationToken)
   at NYoutubeDL.Services.PreparationService.PrepareDownloadAsync(YoutubeDLP ydl, CancellationToken cancellationToken)
   at NYoutubeDL.Services.DownloadService.DownloadAsync(YoutubeDLP ydl, CancellationToken cancellationToken)
   at NYoutubeDL.Services.DownloadService.DownloadAsync(YoutubeDLP ydl, String url, CancellationToken cancellationToken)
   at NYoutubeDL.YoutubeDLP.DownloadAsync(String videoUrl)
   at Jellyfin.Plugin.YoutubeMetadata.Utils.YTDLMetadata(String id, IServerApplicationPaths appPaths, CancellationToken cancellationToken)
   at Jellyfin.Plugin.YoutubeMetadata.Providers.YTDLMovieProvider.GetAndCacheMetadata(String id, IServerApplicationPaths appPaths, CancellationToken cancellationToken)
   at Jellyfin.Plugin.YoutubeMetadata.Providers.AbstractYoutubeRemoteProvider`3.GetMetadata(E info, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, Boolean replaceData, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)

Info

$ type yt-dlp 
yt-dlp is /home/lamy/opt/bin/yt-dlp
yt-dlp is /home/lamy/.local/bin/yt-dlp
yt-dlp is /usr/bin/yt-dlp
yt-dlp is /home/linuxbrew/.linuxbrew/bin/yt-dlp
$ docker images
REPOSITORY                     TAG       IMAGE ID       CREATED        SIZE
jellyfin/jellyfin              latest    de4f7879e9d1   3 days ago     1.03GB

Installed plugin using: Recommended method

ankenyr commented 1 month ago

Are you doing that type from within the container?