2012-11-23, 22:32
I just discovered something about Xbmc Tv Shows handling and wondering how to handle this correctly.
It seems that if you store a Tv Show in multiple different folders it will be stored internally as multiple shows but then of course presented as one show in the interface.
Using JSON VideoLibrary.GetTVShows you will only get 1 show returned for the show and not all the ids (which seems quite logical)
But when using VideoLibrary.GetEpisodes you get multiple tvshow id that will of course not match the GetTVShows.
The two questions are :
- How is Xbmc doing the stacking ? (Only using the Show name leading to the fact you can have 2 different show with the exact same name, can then use the name as the join key)
- Is there something I missed to get all the ids in GetTVShows or just one id int GetEpisodes
It seems that if you store a Tv Show in multiple different folders it will be stored internally as multiple shows but then of course presented as one show in the interface.
Using JSON VideoLibrary.GetTVShows you will only get 1 show returned for the show and not all the ids (which seems quite logical)
But when using VideoLibrary.GetEpisodes you get multiple tvshow id that will of course not match the GetTVShows.
The two questions are :
- How is Xbmc doing the stacking ? (Only using the Show name leading to the fact you can have 2 different show with the exact same name, can then use the name as the join key)
- Is there something I missed to get all the ids in GetTVShows or just one id int GetEpisodes