def markStream(self, chId, status): ch = Channel() ch.findOne(chId) ch.setStatus(status) xbmc.executebuiltin("Container.Refresh")
def deleteStream(self, chId): ch = Channel() ch.findOne(chId) ch.delete() xbmc.executebuiltin("Container.Refresh")