MCPcopy Index your code
hub / github.com/RickDB/PlexMALSync / start

Function start

PlexMALSync.py:430–443  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

428
429
430def start():
431 # Watched shows
432 shows = get_anime_shows()
433 watched_shows = get_plex_watched_shows(shows)
434
435 mal_list = get_mal_list()
436
437 # Add seasons to list
438 mal_list_seasoned = match_seasons_on_mal_list(mal_list)
439 updated_mal_list = update_mal_list_with_seasons(
440 mal_list_seasoned, watched_shows)
441
442 send_watched_to_mal(watched_shows, mal_list, updated_mal_list)
443 logger.info('Plex to MAL sync finished')
444
445
446if __name__ == '__main__':

Callers 1

PlexMALSync.pyFile · 0.85

Calls 6

get_anime_showsFunction · 0.85
get_plex_watched_showsFunction · 0.85
get_mal_listFunction · 0.70
send_watched_to_malFunction · 0.70

Tested by

no test coverage detected