brothom 177 Posted June 5, 2025 Posted June 5, 2025 (edited) Hello there, I'm having some issues adding meta data to the show Bleach (2004). The reason for this is that Bleach (2004) Season 02 keeps being identified as Bleach (2021) Season 02 which is a renewal. I've tried (among other things) the following: Bleach (2004) [tvdbid=74796] / Season 02 / Bleach (2004) - s02e001 Bleach (2004) [tvdbid=74796] / Season 02 [tvdbid=16472] / Bleach (2004) - s02e001 Bleach (2004) [tvdbid=74796] / Season 02 [tvdbid=16472] / Bleach (2004) [tvdbid=74796] - s02e001 But still only season 02 keeps being wrongly identified. Is there a way to "hard identify" a season or specific episode? Thanks in advance. Edited June 5, 2025 by brothom Correction
Neminem 1518 Posted June 5, 2025 Posted June 5, 2025 Try naming the file s02e01 you have a extra 0 s02e001 Not sure thats it. Is tvdb enabled in you library settings ?
brothom 177 Posted June 5, 2025 Author Posted June 5, 2025 @Neminem Quote Try naming the file s02e01 you have a extra 0 s02e001 Not sure thats it. The extra zeroes don't matter and are there because this show has hundres of episodes and I'm trimming them into seasons. Quote Is tvdb enabled in you library settings ? Yes it is. All other seasons are correctly identied except season 2. The image is from season 17 and the metadata of all underlying episodes is also set to season 17 (which is actually season 2 in the rebooted show, it's named season 17 because the show never officially ended).
brothom 177 Posted June 5, 2025 Author Posted June 5, 2025 Yup, but it's probably not going to help because it just logs fetching the wrong data. After wiping the meta and refreshing it only the following happened: 2025-06-05 16:36:02.197 Info App: Removing item from database, Type: Episode, Name: Aflevering 1, Path: I:\Media\Series\Bleach (2004) [tvdbid=74796]\Season 02 - The Entry (021-041)\Bleach (2004) - s02e01.mkv, Id: 48311 2025-06-05 16:36:02.238 Info App: Deleting path C:\Users\User\AppData\Roaming\Emby-Server\programdata\metadata\library\d6\d6acff2cbf6d56b60db2b887150bf986 2025-06-05 16:36:02.734 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: C:\Users\User\AppData\Roaming\Emby-Server\system\ffprobe.exe -i file:"I:\Media\Series\Bleach (2004) [tvdbid=74796]\Season 02\Bleach (2004) - s02e01.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data 2025-06-05 16:36:03.098 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded 2025-06-05 16:36:03.198 Info HttpClient: GET https://api4.thetvdb.com/v4/episodes/9340509/extended?meta=translations It says it fetched https://www.thetvdb.com/series/bleach/episodes/9340509 but I'm expecting it to fetch https://www.thetvdb.com/series/bleach/episodes/155091. Perhaps it has something to due with absolute aired episodes. I'll try that brb.
Lessaj 467 Posted June 5, 2025 Posted June 5, 2025 Try editing the metadata for Season 2 and change the TVDB ID to 16472, then refresh metadata and replace images from the season level.
Neminem 1518 Posted June 5, 2025 Posted June 5, 2025 What is the metadata file order set to for that shaow ?
brothom 177 Posted June 5, 2025 Author Posted June 5, 2025 @Lessaj Quote Try editing the metadata for Season 2 and change the TVDB ID to 16472, then refresh metadata and replace images from the season level. If I change the id -> refresh the metadata the id gets reverted back to the old one. @Neminem Quote What is the metadata file order set to for that shaow ? The same as in your screenshot: Aired. According to the aired order the episode should be season 02 episode 01.
brothom 177 Posted June 5, 2025 Author Posted June 5, 2025 @Neminem Quote Do you have NFO files in your library ? I'm only using the NFO storage method and I've disabled thel loaders so I have a backup with each file without them interfering with updated meta. So yes but they're not being read. 1
Neminem 1518 Posted June 5, 2025 Posted June 5, 2025 Currently out of ideas, sorry. Will need dev's to commend.
Lessaj 467 Posted June 5, 2025 Posted June 5, 2025 Yea I'm able to replicate it linking season 2 to season 17 with the ID, but it does say Season number is 2 in the metadata, and the episode I added for season 2 episode 1 is correct. I looked at the json in the cache and it correctly shows season 2 with the correct ID, I'm not sure why it would take the ID from season 17. Try changing the ID for the season and then lock the whole season, then you can manually search for images for the season and it will show the season 2 images.
brothom 177 Posted June 5, 2025 Author Posted June 5, 2025 @LessajThat sounds plausible. How would I go about "locking a season"? Is there a checkbox somewhere in the season settings?
Lessaj 467 Posted June 5, 2025 Posted June 5, 2025 5 minutes ago, brothom said: @LessajThat sounds plausible. How would I go about "locking a season"? Is there a checkbox somewhere in the season settings? Yup, all the way at the bottom. 1
brothom 177 Posted June 5, 2025 Author Posted June 5, 2025 (edited) @Lessajlocking the season automatically also locks all the underlying episodes. It's true this is a way to fix my issue, but as you also said; it's really strange the data for a (completely) different season is associated. It looks like I'll have to look the entire season and the episodes and manually correct all of them. This does seem like something that should land with the devs so they can try to figure out what's actually happening. Reproduction is super easy: 1. Create the following structure: Bleach (2004) / Season 02 / Bleach (2004) - s02e01.mkv Bleach (2004) / Season 02 / Bleach (2004) - s02e02.mkv 2. Run metadata refresh 3. The metadata for Season 17 is applied to Season 02. I have a gut feeling someone at one of the providers has linked Season 17 wrongfully (somehow). I've got an account with both thetvdb and themoviedb but can't seem to find any old / strange relations so it looks like it can't be fixed via their interfaces. --- UPDATE I was just fixing the meta data when I noticed that recommended images are also from both seasons: The first image is from Season 17. The last image is from Season 2. Something weird is up with the agent data I think. Edited June 5, 2025 by brothom
Happy2Play 9780 Posted June 5, 2025 Posted June 5, 2025 (edited) 15 minutes ago, brothom said: @Lessajlocking the season automatically also locks all the underlying episodes. It's true this is a way to fix my issue, but as you also said; it's really strange the data for a (completely) different season is associated. It looks like I'll have to look the entire season and the episodes and manually correct all of them. This does seem like something that should land with the devs so they can try to figure out what's actually happening. Reproduction is super easy: 1. Create the following structure: Bleach (2004) / Season 02 / Bleach (2004) - s02e01.mkv Bleach (2004) / Season 02 / Bleach (2004) - s02e02.mkv 2. Run metadata refresh 3. The metadata for Season 17 is applied to Season 02. I have a gut feeling someone at one of the providers has linked Season 17 wrongfully (somehow). I've got an account with both thetvdb and themoviedb but can't seem to find any old / strange relations so it looks like it can't be fixed via their interfaces. Guess these steps don't work for me as it looks correct here default library setting minus changing nfo saver and images with media. Edited June 5, 2025 by Happy2Play added image
GrimReaper 4740 Posted June 5, 2025 Posted June 5, 2025 (edited) Don't have access to my installation atm, but if you could: 1. Remove Season 2 folder our of Bleach TV show folder 2. Run Scan media library task to clean the db 3. Use this naming convention 14 minutes ago, brothom said: Season 02 / and not 3 hours ago, brothom said: \Season 02 - The Entry (021-041) 3. Delete any existing NFOs from Season 2 folder 4. Run Rotate log file task 5. Move Season 2 folder with single episode only back to your Bleach TV show folder 6. Run Scan media library task 7. Download and attach server log to your post here so all queries made can be seen Edited June 5, 2025 by GrimReaper
Happy2Play 9780 Posted June 5, 2025 Posted June 5, 2025 (edited) Also I don't think it should be an issue but what language are you using as it could be a language api issue on the provider? Edited June 5, 2025 by Happy2Play
brothom 177 Posted June 5, 2025 Author Posted June 5, 2025 @GrimReaper Quote Don't have access to my installation atm, but if you could: Hm, I just corrected all meta data so if there's no other way really. Quote 3. Use this naming convention Yes I can see how that's confusing. I've tried (any) naming convention. Originally I used Season 02 (from-to) and did the same with Naruto which worked beautifully. I tried: Bleach (2004) Bleach (2004) [tvdbid=74796] Bleach [tvdbid=74796] [tvdbid=74796] .. also per season ...also per episode I still have my old log however and I might see where it's going wrong: Quote 2025-06-05 14:57:18.952 Info Server: http/2 POST https://XXXXXXXXXX/emby/Items/34982/Refresh?Recursive=true&ImageRefreshMode=Default&MetadataRefreshMode=Default&ReplaceAllImages=false&ReplaceAllMetadata=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Windows&X-Emby-Device-Id=52931313-5600-4af5-bf73-f64589075fe8&X-Emby-Client-Version=4.9.1.1&X-Emby-Token=f095aee7856248958cb884882d721b46&X-Emby-Language=nl. Source Ip: 86.86.172.19, UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 2025-06-05 14:57:18.954 Info App: Refresh metadata requested on 34982 2025-06-05 14:57:18.955 Info Server: http/2 Response 204 to 86.86.172.19. Time: 3ms. POST https://XXXXXXXXXX/emby/Items/34982/Refresh?Recursive=true&ImageRefreshMode=Default&MetadataRefreshMode=Default&ReplaceAllImages=false&ReplaceAllMetadata=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Windows&X-Emby-Device-Id=52931313-5600-4af5-bf73-f64589075fe8&X-Emby-Client-Version=4.9.1.1&X-Emby-Token=f095aee7856248958cb884882d721b46&X-Emby-Language=nl 2025-06-05 14:57:19.066 Info App: Removing item from database, Type: Episode, Name: Enter! The World of the Shinigami, Path: I:\Media\Series\Bleach (2004)\Season 01\Season 02 - The Entry (021-041)\Bleach (2004) - s01e021.mkv, Id: 42538 2025-06-05 14:57:19.145 Info App: Deleting path C:\Users\User\AppData\Roaming\Emby-Server\programdata\metadata\library\4b\4b5f17bcf993b56c1c90eeb41f534f59 2025-06-05 14:57:19.276 Info HttpClient: GET https://api.themoviedb.org/3/tv/30984/season/2?api_key=f6bd687ffa63cd282b6ff2c6877f2669&append_to_response=images,keywords,external_ids,credits,videos&language=nl-NL&include_image_language=nl-NL,null 2025-06-05 14:57:19.553 Info HttpClient: GET https://api.themoviedb.org/3/tv/30984/season/2?api_key=f6bd687ffa63cd282b6ff2c6877f2669&append_to_response=images,keywords,external_ids,credits,videos&language=en-US&include_image_language=en-US,null 2025-06-05 14:57:19.606 Info HttpClient: GET https://api4.thetvdb.com/v4/series/74796/extended?meta=translations&short=false 2025-06-05 14:57:20.266 Info HttpClient: GET https://api4.thetvdb.com/v4/seasons/2008655/extended?meta=translations&short=false 2025-06-05 14:57:20.448 Info HttpClient: GET https://api.themoviedb.org/3/tv/30984/season/2?api_key=f6bd687ffa63cd282b6ff2c6877f2669&append_to_response=images,keywords,external_ids,credits,videos 2025-06-05 14:57:20.697 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: C:\Users\User\AppData\Roaming\Emby-Server\system\ffprobe.exe -i file:"I:\Media\Series\Bleach (2004)\Season 02 - Entry\Bleach (2004) - s02e001.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data 2025-06-05 14:57:21.179 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded 2025-06-05 14:57:21.189 Info HttpClient: GET https://api.themoviedb.org/3/tv/30984/season/2/episode/1?api_key=f6bd687ffa63cd282b6ff2c6877f2669&append_to_response=images,external_ids,credits,videos&language=nl-NL&include_image_language=nl-NL,null 2025-06-05 14:57:21.293 Info HttpClient: GET https://api.themoviedb.org/3/tv/30984/season/2/episode/1?api_key=f6bd687ffa63cd282b6ff2c6877f2669&append_to_response=images,external_ids,credits,videos&language=en-US&include_image_language=en-US,null 2025-06-05 14:57:21.304 Info HttpClient: GET https://api4.thetvdb.com/v4/series/74796/episodes/official?page=0 2025-06-05 14:57:22.188 Info HttpClient: GET https://api4.thetvdb.com/v4/series/74796/episodes/official/nld?page=0 2025-06-05 14:57:22.713 Info SessionManager: Reissuing access token: f095aee7856248958cb884882d721b46 It fetches the correct series: 2025-06-05 14:57:19.606 Info HttpClient: GET https://api4.thetvdb.com/v4/series/74796/extended?meta=translations&short=false But the wrong season: 2025-06-05 14:57:20.266 Info HttpClient: GET https://api4.thetvdb.com/v4/seasons/2008655/extended?meta=translations&short=false That's caused by themoviedb having season 17 listed as season 2 here 2025-06-05 14:57:19.276 Info HttpClient: GET https://api.themoviedb.org/3/tv/30984/season/2?api_key=f6bd687ffa63cd282b6ff2c6877f2669&append_to_response=images,keywords,external_ids,credits,videos&language=nl-NL&include_image_language=nl-NL,null 2025-06-05 14:57:19.553 Info HttpClient: GET https://api.themoviedb.org/3/tv/30984/season/2?api_key=f6bd687ffa63cd282b6ff2c6877f2669&append_to_response=images,keywords,external_ids,credits,videos&language=en-US&include_image_language=en-US,null Which makes sense because my providers are: 1. TheMovieDB 2. TheTVDB It grabs the wrong season from the movie db and uses that as the basis, causing the wrong season to be used it seems.
Lessaj 467 Posted June 5, 2025 Posted June 5, 2025 I used this pathing, brand new into my test system because I don't have this show. I created files for episode 1 of both seasons: /mnt/raid/tvset/Bleach (2004)/Season 1/Bleach (2004) - S01E01 - The Day I Became a Shinigami.mkv /mnt/raid/tvset/Bleach (2004)/Season 2/Bleach (2004) - S02E01 - Enter! The World of the Shinigami.mkv I had no NFO files at all, I simply let Emby handle it. Season 2 is incorrectly using the metadata of Season 17 based on the TVDB ID, but it still correctly set the season number to 2. I'm not able to explain this. Additionally, the details for S02E01 are correct. Per the JSON in the cache directory for the show this is the ID for season 2: { "id": 16472, "seriesId": 74796, "type": { "id": 1, "name": "Aired Order", "type": "official" }, "name": "尸魂界潜入篇", "number": 2, "nameTranslations": [ "spa,rus,tha,kor,fra,eng,jpn,cat,pt,deu,ita,nld" ], "overviewTranslations": [ "spa,fra,eng,jpn,cat,pt" ], "image": "https://artworks.thetvdb.com/banners/v4/season/16472/posters/628323519dc88.jpg", "imageType": 7, "companies": [ { "id": 0, "primaryCompanyType": 0 } ] } And this is for season 17: { "id": 2008655, "seriesId": 74796, "type": { "id": 1, "name": "Aired Order", "type": "official" }, "name": "千年血戦篇", "number": 17, "nameTranslations": [ "eng,jpn,fra,pt,kor,zho,por,deu,ita,rus,spa" ], "overviewTranslations": [ "eng,fra,pt,zho,por,deu,ita,rus" ], "image": "https://artworks.thetvdb.com/banners/v4/season/2008655/posters/62ee9d21a6161.jpg", "imageType": 7, "companies": [ { "id": 0, "primaryCompanyType": 0 } ] }
Happy2Play 9780 Posted June 5, 2025 Posted June 5, 2025 2 minutes ago, brothom said: Which makes sense because my providers are: 1. TheMovieDB 2. TheTVDB Since TMDB and TVDB are not organized the same by default I can see issues as your primary provider it TMDB but would need to see all library settings as I can not replicate with TVDB as provider.
Solution Happy2Play 9780 Posted June 5, 2025 Solution Posted June 5, 2025 (edited) So the issue become the miss-match from TMDB to TVDB. TMDB only has 2 seasons Edited June 5, 2025 by Happy2Play added images
brothom 177 Posted June 5, 2025 Author Posted June 5, 2025 (edited) Yep. I've just logged back into TheMovieDB and guess what; they're having a hard time convincing the admins there their data is wrong. For now I've manually set all the season data so that won't be lost anyway. Maybe it's an idea to note that "lock this item for changes" switch because I've never noticed it before and is very useful in cases like these where the datasource is misleading for only a single season/episode or so. This issue is resolved because my question has been answered. Edited June 5, 2025 by brothom Close 1
Happy2Play 9780 Posted June 5, 2025 Posted June 5, 2025 (edited) In this scenario one can not use both providers. And @Lukeneeds to implement alternate provider orders to make them match. or per provider limits per show. Edited June 5, 2025 by Happy2Play
Happy2Play 9780 Posted June 5, 2025 Posted June 5, 2025 Added more images above to show miss-match using TMDB here since everything will primarily come from first provider.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now