Kodi Community Forum

Full Version: Setting playcount for a complete TV Show
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

for the iOS Remote App an issue with setting watched/unwatched for a complete TV Show was reported (Kodi 19.4 + App version does not matter). The iOS App will send the JSON command like
{"jsonrpc":"2.0","method":"VideoLibrary.SetTVShowDetails","params":{"tvshowid":11, "playcount":1}, "id":2}
to set a TV Show as watched ('"playcount": 0' for unwatched). The Kodi server responds with "OK", but neither the TV Show's, nor the episodes' playcounts are changed.

The Chorus Web Interface also allows to watch/unwatch o complete TV Show. This is done via sending 
{"jsonrpc":"2.0","method":"VideoLibrary.SetEpisodeDetails","params":{"episodeid":26, "playcount":1}, "id":2}
for every episode of this TV Show.

The JSON command is far easier to build, the second is more complicated and not so straight forward. So, what is the expected way to set a whole TV Show to watched/unwatched?

Edit: Opened GitHub issue #21781 for this.