Deprecated ability for plugins to replace context menu
#61
(2018-08-23, 05:37)matthuisman Wrote: Only small "annoyance", is that "Mark was watched" is still a context menu item.
It also marks streams as watched.
For Live this doesn't seem to make sense to me - but isn't too big a deal.

Anyway, happy!
No more ".pvr" hack!

I don't think anything can be done in that front. Not sure if there is a proper use case, apart from the addon dev intention, to not make listitems marked as watched. For livestreams you will never watch it completely as it is live content but...you still watched the stream and have the history filled in the database. Not sure if a property to disable the said functionality by the addon author would be accepted in core. You can try to give it a go and see
Reply
#62
It would be nice to have the ability to add a callback for the builtin context menu items such as "Mark as watched/unwatched". For example when the user marks an item as watched in an addon, the callback sends out a request to third party service to sync the state between the addon and the service.
Reply
#63
(2018-09-02, 16:16)quarck Wrote: It would be nice to have the ability to add a callback for the builtin context menu items such as "Mark as watched/unwatched". For example when the user marks an item as watched in an addon, the callback sends out a request to third party service to sync the state between the addon and the service.
 That would be awesome.
Even better would be callback to context menu, you would compare ACTION that was picked "RESUME", "PLAY", MARK_WATCHED", "CUSTOM" where all of them would be default one and CUSTOM would be added by addon. That way there would be a place to handle some action while still using default context menu items, if replacing them is forbidden
Reply

Logout Mark Read Team Forum Stats Members Help
Deprecated ability for plugins to replace context menu0