2019-10-23, 07:41
(2019-10-23, 06:49)sualfred Wrote: I'm curious. In the addon we use addon callbacks. onNotification is returning information for this case. Isn't is possible to "monitor" those notifications by core for your case, too?In theory yes but then every media importer add-on would have to decide on its own whether it is responsible for sending these updates back to a specific server. But there might be multiple add-ons installed which could do this so we make this decision in Kodi and explicitly tell a specific add-on to do it.
Code:sender xbmc - method: VideoLibrary.OnUpdate - data: {"item":{"id":13,"type":"movie"},"playcount":1}
But this doesn't change the fact that we need to have specific API methods in Emby server to perform these actions independent of how the add-on becomes aware of an update.