You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am using Kodi's default skin Embuary. Since it doesn't show every piece of info available on a TV show, it has an "Extended Info" button in the TV Shows information, which then queries TMDB for additional information.
When browsing my library yesterday I noticed that on one show (The Mandalorian), it was pulling information for an entirely unrelated Anime (Ninja Nonsense), which I do not have in my library (nor in fact even knew about before).
After a bit of investigation, it appears that the data in Kodi's Library database is incorrectly entered, specifically:
idShow
c00
uniqueid_value
uniqueid_type
17
The Mandalorian
82856
tvdb
Note the uniqueid_type is set to tvdb, however the actual ID corresponds to the shows tMdb ID. Obviously the "Extended Info" button assumes the data in the database is correct, and so it queries TMDB using the TVDB-ID, which in turn points to Ninja Nonsense.
The addon should either actually enter the TVDB ID, or - preferably since Kodi is deprecating TVDB - use tmdb for the uniqueid_type.
However, my animes don't have NFOs (yet), and so Jellyfin determined the IDs on its own. The TVDB IDs are not actually shown in Jellyfin anywhere.
For the rest of my shows the TMDB-IS is an invalid TVDB-ID, and so either Kodi or the TMDB API fall back to showing TMDB data, the uniqueid_type is incorrect nonetheless though.
The query wants a ProviderName, but I don't see it ever added to the obj being passed, so it may be that Kodi itself just defaults to tvdb because nothing is provided?
I should also note this is a fresh database, it was reset a couple days ago and resynced to troubleshoot an unrelated issue.
The text was updated successfully, but these errors were encountered:
Describe the bug
I am using Kodi's default skin Embuary. Since it doesn't show every piece of info available on a TV show, it has an "Extended Info" button in the TV Shows information, which then queries TMDB for additional information.
When browsing my library yesterday I noticed that on one show (The Mandalorian), it was pulling information for an entirely unrelated Anime (Ninja Nonsense), which I do not have in my library (nor in fact even knew about before).
After a bit of investigation, it appears that the data in Kodi's Library database is incorrectly entered, specifically:
Note the
uniqueid_type
is set totvdb
, however the actual ID corresponds to the shows tMdb ID. Obviously the "Extended Info" button assumes the data in the database is correct, and so it queries TMDB using the TVDB-ID, which in turn points to Ninja Nonsense.The addon should either actually enter the TVDB ID, or - preferably since Kodi is deprecating TVDB - use
tmdb
for theuniqueid_type
.I actually went through every show in my library, and out of 36 shows 6 (including Mando) were showing the same symptom:
https://www.thetvdb.com/dereferrer/series/71024 - Castlevania -> Young Lions
https://www.thetvdb.com/dereferrer/series/76479 - The Boys -> One Step Beyond
https://www.thetvdb.com/dereferrer/series/82856 - The Mandalorian -> Ninja Nonsense
https://www.thetvdb.com/dereferrer/series/86831 - Love, Death & Robots -> Throw Away the Moon
https://www.thetvdb.com/dereferrer/series/85271 - WandaVision -> Pedigree Dogs Exposed
https://www.thetvdb.com/dereferrer/series/81356 - Sex Education -> Zmiennicy
3 Shows were showing correctly:
https://www.thetvdb.com/dereferrer/series/293088 - One Punch Man - no ID in NFO
https://www.thetvdb.com/dereferrer/series/72832 - Kamikaze Kaitou Jeanne - no NFO
https://www.thetvdb.com/dereferrer/series/85249 - Fullmetal Alchemist Brotherhood - no ID in NFO
As you can see from the note, this seems to be connected to info pulled from NFOs.
All my shows have NFOs and all of them use TMDB's ID by default, i.e.:
However, my animes don't have NFOs (yet), and so Jellyfin determined the IDs on its own. The TVDB IDs are not actually shown in Jellyfin anywhere.
For the rest of my shows the TMDB-IS is an invalid TVDB-ID, and so either Kodi or the TMDB API fall back to showing TMDB data, the
uniqueid_type
is incorrect nonetheless though.Invalid IDs for reference
https://www.thetvdb.com/dereferrer/series/2490
https://www.thetvdb.com/dereferrer/series/1100
https://www.thetvdb.com/dereferrer/series/88329
https://www.thetvdb.com/dereferrer/series/1399
https://www.thetvdb.com/dereferrer/series/60622
https://www.thetvdb.com/dereferrer/series/88396
https://www.thetvdb.com/dereferrer/series/57243
https://www.thetvdb.com/dereferrer/series/239770
https://www.thetvdb.com/dereferrer/series/42009
https://www.thetvdb.com/dereferrer/series/4589
https://www.thetvdb.com/dereferrer/series/10283
https://www.thetvdb.com/dereferrer/series/94605
https://www.thetvdb.com/dereferrer/series/39340
https://www.thetvdb.com/dereferrer/series/111110
https://www.thetvdb.com/dereferrer/series/2316
https://www.thetvdb.com/dereferrer/series/63351
https://www.thetvdb.com/dereferrer/series/92782
https://www.thetvdb.com/dereferrer/series/62560
https://www.thetvdb.com/dereferrer/series/92749
https://www.thetvdb.com/dereferrer/series/67178
https://www.thetvdb.com/dereferrer/series/62126
https://www.thetvdb.com/dereferrer/series/38472
https://www.thetvdb.com/dereferrer/series/61550
https://www.thetvdb.com/dereferrer/series/84958
https://www.thetvdb.com/dereferrer/series/33880
https://www.thetvdb.com/dereferrer/series/100088
https://www.thetvdb.com/dereferrer/series/91363
https://www.thetvdb.com/dereferrer/series/424
https://www.thetvdb.com/dereferrer/series/19885
https://www.thetvdb.com/dereferrer/series/8592
https://www.thetvdb.com/dereferrer/series/42729
https://www.thetvdb.com/dereferrer/series/45418
https://www.thetvdb.com/dereferrer/series/30984
To Reproduce
This is using Kodis default skin Embuary, I have no idea how other skins handle this
default
unique IDExpected behavior
Kodi should show the correct Extended Info for the show
Logs
There's no errors, and I don't see it even logging opening the Extended info...
kodi.mando-ext.debug.log
Screenshots
System (please complete the following information):
Additional context
I haven't dug super deep, but from what I can tell from here:
jellyfin-kodi/jellyfin_kodi/objects/kodi/queries.py
Lines 387 to 393 in 1637658
jellyfin-kodi/jellyfin_kodi/objects/tvshows.py
Lines 191 to 197 in 1637658
jellyfin-kodi/jellyfin_kodi/objects/tvshows.py
Line 138 in 1637658
The query wants a
ProviderName
, but I don't see it ever added to theobj
being passed, so it may be that Kodi itself just defaults totvdb
because nothing is provided?I should also note this is a fresh database, it was reset a couple days ago and resynced to troubleshoot an unrelated issue.
The text was updated successfully, but these errors were encountered: