2011-05-11, 10:53
marksoccer Wrote:I am not getting any fanart associated with tv episodes in the now playing playlist. Is there any way to get the fanart from the tv show given the episode in the current playlist (Example, playing Seinfeld episode 34 and would like the fanart associated with the show Seinfeld)? I'm assuming I would need the tvshowid to accomplish this, but I don't think that is possible using the VideoPlaylist.GetItems method. Any ideas on how I could accomplish this task?
Yeah that's because the fanart doesn't belong to the episode but to the tv show (which you already assumed). The only thing you can currently do is retrieve all the tv shows (with "title" and "fanart", then get the episodes from VideoPlaylist.GetItems with "showtitle" (or whatever it was named) and then find the matching tv show from the list you retrieved earlier based on the value of "showtitle".