Expecting a different value to be displayed when using TMDbHelper.ListItem.TMDb_Id #1316
-
Hello, I did a bit of research but have not been able to find any info that helps me understand whether I'm accessing the wrong value, misinterpreting the intention of the usage or just missing something huge. I'm creating a skin and want to use the TMDbHelper.ListItem.TMDb_Id and pass it along to an action. I've got everything working as expected except that the value output accessing it is not what I am expecting. In my skin I am using $INFO[Window(Home).Property(TMDbHelper.ListItem.TMDb_Id), ID:] to test and not seeing the same value provided for the tvshow when using JSONRPC VideoLibrary.GetTVShowDetails. I am expecting the value to be the one displayed in property uniqueID key tmdb as shown in the response object. Additionally, I also do not see the value being output by the above anywhere in the JSONRPC response object so I have no idea what value is output and why it's not the actual TMDB id associated with the tvshow. I'm not sure if you require additional information to assist me, if so please ask and thanks for reviewing this! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Tmdbhelper does online lookups. The ID is the ID found online for the item it believes matches the currently focused item. Without more information I can't say as to why that doesn't match the local item - could be for all sorts of reasons. |
Beta Was this translation helpful? Give feedback.
-
I appreciate the response! Ok so I guess that makes sense why it's not matching what is stored in the database but if you are able to help me figure out where it's getting the values from that would be great. If not, no worries I'll continue my search. Here are two examples TV Show Title | Season/ Episode | TMDBHelper ID | TMBD+ID |
Beta Was this translation helpful? Give feedback.
Silo S3E9 is not an episode which exists... There are only two seasons of this show. I'm guessing you mean S2E9, in which case 5501104 is the internal TMDb ID for that episode.
If I am to hazard a guess, if you check
ListItem.UniqueID(tmdb)
for this specific episode ListItem while in your library you will find that your library scraper has added this ID for this episode (that's what the default Kodi library scraper does when I scan it in).In this case, this is correct and TMDbHelper is merely passing along the info for the episode ID as expected.
If you want the tvshow ID from the episode level then you can retrieve that by explicitly naming that you would like the
tvshow.tmdb_id
instead…