Comments (10)
Which version of the plugin are you on?
from jellyfin-youtube-metadata-plugin.
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.
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.
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.
from jellyfin-youtube-metadata-plugin.
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.
from jellyfin-youtube-metadata-plugin.
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.
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.
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)
- With Windows HOT 3
- cant figure out the yt-dlp arguments required for the plugin HOT 1
- update for new version of jellyfin 10.9.0 HOT 21
- Additional filenaming conventions HOT 1
- Failed to load assembly `codecoveragemessages.dll` after updating to 1.0.3.10 HOT 9
- Plugin seems to break Jellyfins Scan Media Library HOT 4
- Configuration page is broken HOT 1
- Newlines in description, and refresh metadata on whole library always failing immediately HOT 2
- Thumbnails all the same HOT 8
- "youtube-dl not found on path" HOT 1
- Is this plugin dead? HOT 8
- Directory structuring and webp thumbnail issues HOT 4
- Problem with release date and release year of music
- Failed to deserialize the plugin manifest HOT 2
- Release date and other fields not being read from metadata HOT 3
- Installation troubles HOT 1
- How should I organize my videos for this? HOT 3
- Can't uninstall youtubemetadata HOT 1
- Readme say to use yt-dlp yet logs complain about youtube-dl HOT 1
- 'Could not find file X.info.json' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jellyfin-youtube-metadata-plugin.