Kodi Community Forum

Full Version: Json rpc help, add tvmaze id and get watched status
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi I am writing a plug-in that lets me know about any updates to shows that I watch, its working at the moment but i would like to extend it a little.

At the moment it will grab VideoLibrary.GetEpisodes to get the last episode watched, it will then grab VideoLibrary.GetTVShows this will add TV shows where I no longer have the source, is it possible to get the watched status for the missing files?

Also I am using tvmaze api to get the next aired etc unfortunately the search by title is not very good and the search by tvdbid is OK but does not hold the information needed, I have to make two calls one for the tvmaze id and then another for the last episode played.

Is it possible to save the tvmaze id anywhere with the json api? If so would it be possible to save the missing episode number in the same place assuming I cannot get the watched state for missing files.

Thanks

Savo