onDatabaseUpdated, what counts as updated?
#1
I want to create a service that updates my addon's data after the user is finished watching a TV episode. For this I am creating a Monitor, but the code I put into the onDatabaseUpdated method never seems to run.

Is the method called when the user selects Update Library, or is it called whenever there is new data added to the database (like +1 to playcount, and a new time to last watched)?

Is this the right approach?

onDatabaseUpdated(...)
onDatabaseUpdated(database) -- onDatabaseUpdated method.

database - video/music as string
Will be called when database gets updated and return video or music to indicate which DB has been changed
Reply

Logout Mark Read Team Forum Stats Members Help
onDatabaseUpdated, what counts as updated?0