2014-03-07, 12:38
I've found the following info in Wiki: http://wiki.xbmc.org/index.php?title=Lis..._functions
But what is the correct syntax for this? My goal is to call ToggleWatched action from my plugin for the current item, but the syntax:
does not work. Am I missing something and what is a correct way to toggle watched status for an item?
I know about the 'playcount' property of ListItem, but it seems that it cannot be set for a file item, but only for a media library item, and videos from my plugin are not in library.
Quote:Action | Executes an action for the active window (same as in keymap)
But what is the correct syntax for this? My goal is to call ToggleWatched action from my plugin for the current item, but the syntax:
PHP Code:
xbmc.executebuiltin('Action(ToggleWatched)')
I know about the 'playcount' property of ListItem, but it seems that it cannot be set for a file item, but only for a media library item, and videos from my plugin are not in library.