2019-08-25, 20:59
Check this post for the solution.
Original post below:
I have a playable ListItem, with a context-menu where one of the items is a call to a PlayMedia() with the same URL as that ListItem plus some extra URL parameters.
If I play the ListItem itself, Kodi marks it as watched (the little checkmark icon) as expected.
If I play the context-menu, even though I build another ListItem with the same metadata and setResolvedUrl on it, after watching it, it does not mark that ListItem as watched.
I tested setting the context-menu to use the RunPlugin() or PlayMedia() functions, both give the same result.
Is there a way to let Kodi mark a ListItem as watched when the playback was started from a context-menu on that ListItem?
I'm using Krypton 17.6.
Original post below:
I have a playable ListItem, with a context-menu where one of the items is a call to a PlayMedia() with the same URL as that ListItem plus some extra URL parameters.
If I play the ListItem itself, Kodi marks it as watched (the little checkmark icon) as expected.
If I play the context-menu, even though I build another ListItem with the same metadata and setResolvedUrl on it, after watching it, it does not mark that ListItem as watched.
I tested setting the context-menu to use the RunPlugin() or PlayMedia() functions, both give the same result.
Is there a way to let Kodi mark a ListItem as watched when the playback was started from a context-menu on that ListItem?
I'm using Krypton 17.6.