Ejemplo n.º 1
0
def toggle_episode_watched(series_id, season, episode):
    xbmc.executebuiltin(actions.toggle_watched())
    if plugin.get_setting('sync_mark_watch', bool):
        scraper = get_scraper()
        scraper.api.mark_watched(series_id, season, episode, mode='on')
    if series_id in library_items():
        library_new_episodes().remove_by(series_id, season, episode)
Ejemplo n.º 2
0
def toggle_watched_menu():
    return [(lang(40151), actions.toggle_watched())]
Ejemplo n.º 3
0
def toggle_watched_menu():
    return [(lang(40151), actions.toggle_watched())]
Ejemplo n.º 4
0
def mark_series_watched(series_id):
    xbmc.executebuiltin(actions.toggle_watched())
    if series_id in library_items():
        library_new_episodes().remove_by(series_id)
Ejemplo n.º 5
0
def mark_series_watched(series_id):
    xbmc.executebuiltin(actions.toggle_watched())
    if series_id in library_items():
        library_new_episodes().remove_by(series_id)
Ejemplo n.º 6
0
def toggle_watched_context_menu():
    return [(lang(40305), actions.toggle_watched())]