GithubHelp home page GithubHelp logo

Comments (10)

ankenyr avatar ankenyr commented on September 26, 2024

Which version of the plugin are you on?

from jellyfin-youtube-metadata-plugin.

ankenyr avatar ankenyr commented on September 26, 2024

Can you also provide the json as found in the cache? The error indicates to me that it has something to do with that json.

from jellyfin-youtube-metadata-plugin.

bradbeattie avatar bradbeattie commented on September 26, 2024
jellyfin_1  | [02:17:04] [INF] [141] Jellyfin.Plugin.YoutubeMetadata.Providers.YoutubeLocalImageProvider: /media/TubeSync/downloads/video/veritasium-selected/2011-02-17_veritasium-selected_how-far-away-is-the-moon-the-scale-of-the-universe_[Bz9D6xba9Og].mkv
jellyfin_1  | [02:17:04] [ERR] [242] MediaBrowser.Providers.Movies.MovieMetadataService: Error in YouTube-DL Metadata
jellyfin_1  | System.ArgumentNullException: Value cannot be null. (Parameter 's')
jellyfin_1  |    at Jellyfin.Plugin.YoutubeMetadata.Utils.MovieJsonToMovie(YTDLMovieJson json)
jellyfin_1  |    at Jellyfin.Plugin.YoutubeMetadata.Providers.YoutubeDLMetadataProvider.GetMetadata(MovieInfo info, CancellationToken cancellationToken)
jellyfin_1  |    at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)
jellyfin_1  | [02:17:04] [INF] [242] Jellyfin.Plugin.YoutubeMetadata.Providers.YoutubeMetadataProvider: Bz9D6xba9Og
jellyfin_1  | [02:17:04] [INF] [242] Jellyfin.Plugin.YoutubeMetadata.Providers.YoutubeLocalProvider: Could not find /media/TubeSync/downloads/video/veritasium-selected/2011-02-17_veritasium-selected_how-far-away-is-the-moon-the-scale-of-the-universe_[Bz9D6xba9Og].mkv
jellyfin_1  | [02:17:04] [ERR] [242] MediaBrowser.Providers.Manager.ProviderManager: YTDLImageProvider failed in GetImageInfos for type Movie at /media/TubeSync/downloads/video/veritasium-selected/2011-02-17_veritasium-selected_how-far-away-is-the-moon-the-scale-of-the-universe_[Bz9D6xba9Og].mkv
jellyfin_1  | System.NullReferenceException: Object reference not set to an instance of an object.
jellyfin_1  |    at Jellyfin.Plugin.YoutubeMetadata.Providers.YTDLImageProvider.GetImages(BaseItem item, CancellationToken cancellationToken)
jellyfin_1  |    at MediaBrowser.Providers.Manager.ProviderManager.GetImages(BaseItem item, IRemoteImageProvider provider, IReadOnlyCollection`1 preferredLanguages, CancellationToken cancellationToken, Nullable`1 type)
# cat Bz9D6xba9Og/ytvideo.info.json
{"AgeGating":null,"ContentDetails":null,"ETag":"eQj9EZp7LIWloDSMAEkD7lY6rkw","FileDetails":null,"Id":"Bz9D6xba9Og","Kind":"youtube#video","LiveStreamingDetails":null,"Localizations":null,"MonetizationDetails":null,"Player":null,"ProcessingDetails":null,"ProjectDetails":null,"RecordingDetails":null,"Snippet":{"CategoryId":"27","ChannelId":"UCHnyfMqiRRG1u-2MsSQLbXA","ChannelTitle":"Veritasium","DefaultAudioLanguage":null,"DefaultLanguage":"en","Description":"If the Earth were the size of a basketball and the moon a tennis ball, how far apart would they be? Diagrams that are not to scale make us think that they\u0027re closer than they really are.","LiveBroadcastContent":"none","Localized":{"Description":"If the Earth were the size of a basketball and the moon a tennis ball, how far apart would they be? Diagrams that are not to scale make us think that they\u0027re closer than they really are.","Title":"How Far Away is the Moon? (The Scale of the Universe)","ETag":null},"PublishedAtRaw":"2011-02-17T15:24:41Z","PublishedAt":"2011-02-17T15:24:41+00:00","Tags":["moon","earth","scale model","scale of the universe","solar system model","science literacy","moon\u0027s orbit"],"Thumbnails":{"Default__":{"Height":90,"Url":"https://i.ytimg.com/vi/Bz9D6xba9Og/default.jpg","Width":120,"ETag":null},"High":{"Height":360,"Url":"https://i.ytimg.com/vi/Bz9D6xba9Og/hqdefault.jpg","Width":480,"ETag":null},"Maxres":{"Height":720,"Url":"https://i.ytimg.com/vi/Bz9D6xba9Og/maxresdefault.jpg","Width":1280,"ETag":null},"Medium":{"Height":180,"Url":"https://i.ytimg.com/vi/Bz9D6xba9Og/mqdefault.jpg","Width":320,"ETag":null},"Standard":{"Height":480,"Url":"https://i.ytimg.com/vi/Bz9D6xba9Og/sddefault.jpg","Width":640,"ETag":null},"ETag":null},"Title":"How Far Away is the Moon? (The Scale of the Universe)","ETag":null},"Statistics":null,"Status":null,"Suggestions":null,"TopicDetails":null}

Jellyfin 10.7.7, plugin 1.0.3.2.

from jellyfin-youtube-metadata-plugin.

bradbeattie avatar bradbeattie commented on September 26, 2024

And note that while it says it "Could not find" the video in question, I docker exec'd my way into the running container and confirmed it was indeed there and readable. 🤷

from jellyfin-youtube-metadata-plugin.

ankenyr avatar ankenyr commented on September 26, 2024

from jellyfin-youtube-metadata-plugin.

bradbeattie avatar bradbeattie commented on September 26, 2024

Yeah. The behaviour is odd as I can get it to sometimes work depending on the files I expose in the attached media folder, but nothing conclusive so far.

If the easier answer is "release the new version and see if the bug persists", I'm happy to delay. I wouldn't want you to invest time in something that might already be resolved!

from jellyfin-youtube-metadata-plugin.

ankenyr avatar ankenyr commented on September 26, 2024

from jellyfin-youtube-metadata-plugin.

bradbeattie avatar bradbeattie commented on September 26, 2024

I just tried replicating from scratch and found that it's not the addition or removal of media, but the renaming of the library from Movies1 to YouTube. That renaming breaks all the metadata and "Refresh all metadata" generates the above errors for any and all media. Renaming the library back to Movies1 does not rectify the problem. Interesting...

from jellyfin-youtube-metadata-plugin.

ankenyr avatar ankenyr commented on September 26, 2024

Hi @bradbeattie
I made some large changes, if you are on 10.8 you can use the newest version of the plugin. Let me know if you continue to get errors.

from jellyfin-youtube-metadata-plugin.

ankenyr avatar ankenyr commented on September 26, 2024

Hi Brad, I am going to close this issue assuming it is fixed on the latest version. Please reopen if it is not.

from jellyfin-youtube-metadata-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.