jellyfin-youtube-metadata-plugin
jellyfin-youtube-metadata-plugin copied to clipboard
Fix local metadata exiting if file already exists
Is this logic correct? Sorry, I am not too involved with the project, so unsure.
Here's the git blame: https://github.com/ankenyr/jellyfin-youtube-metadata-plugin/commit/93f4b2784bca74133f7b9ad08c358ba4f608cff0
While trying to fix the issue myself I found a few more things that should be done.
- The
ReadYTDLInfo
Is redundant in the AbstractYoutubeRemoteProvider.cs to the Method in the Utils class - ReadYTDLInfo should use the method in the Utils class as well
- Same with the Call in the YTDLSeriesProvider here
- The
File.Exists
you changed should then be moved to theUtils.ReadYTDLInfo
for a more centralized usage.
This would then cover everything when the ReadYTDLInfo
is used, not only for Movies, Series but also for Image requests (where it also fails)
Would be great if we can merge this and get a new release out.
Hey @ankenyr, this fixes a bug introduced in 93f4b2784bca74133f7b9ad08c358ba4f608cff0 that prevents getting metadata from info.json files. Could you merge it please?
Thank you.