jellyfin-youtube-metadata-plugin icon indicating copy to clipboard operation
jellyfin-youtube-metadata-plugin copied to clipboard

Release date and other fields not being read from metadata

Open HStep20 opened this issue 2 years ago • 3 comments

The main way that I use ytdl-sub to get videos into JF is to download playlists of a channel as seasons of a show. Usually, this works okay since there is often some kind of title which indicates the order of an episode within a playlist (i.e. "How To X 1", "How To X 2") but I noticed recently that video titles that don't follow that structure instead show up in the season in 'alphabetical order'.

image Note Episode 2, then 5, because the title comes first alphabetically

My files are named properly with Channel - Date - Title - [id], and should theoretically be displaying in the order that they are shown in the file system image

In testing, setting the 'release date' let you order the files in a very straightforward way, since the 'season episodes' were reordered based on that field. Since ytdlp json files include a upload_date field, this quirk could be easily resolved by setting the 'Release Date' metadata field of each episode with that stored in the local data (or however it uses the ID to fetch data from youtube).

HStep20 avatar Nov 10 '23 23:11 HStep20

And actually, now that I look at the code here, it seems like it should be doing that already. None of my episodes are having the 'release date' set from the local metadata though.

Without anything in that catch block, it's hard to say why it isn't being set, but upon closer inspection, none of those fields (sort tile, year, etc) are being set in my episode items within JF

HStep20 avatar Nov 10 '23 23:11 HStep20

This seems to be a problem for multiple fields at the moment. I'm not getting overview or item title updates either.

TheSpyder avatar Jan 09 '24 20:01 TheSpyder

Having the same issue, i also noticed that when jellyfin create the nfo files it adds a field youtubemetadataid. When I set that manually for a tvshow.nfo it doesnt load the channels profile picture anymore

flloschy avatar Jul 19 '24 06:07 flloschy