def clear(self, fullpath): log("AudioBooksPlugin: Clearing history for %s" % fullpath) # Remove the item from the database, it will then be rescanned audiobookDB = AudioBooksDB() audiobookDB.deleteAudioBook(fullpath) del audiobookDB xbmc.executebuiltin("Container.Refresh")
def clear(self, fullpath): log("AudioBooksPlugin: Clearing history for %s" % fullpath) # Remove the item from the database, it will then be rescanned audiobookDB = AudioBooksDB() audiobookDB.deleteAudioBook(fullpath) del audiobookDB xbmc.executebuiltin("Container.Refresh")