Skip to content

Commit

Permalink
Updated Tautulli sync helper
Browse files Browse the repository at this point in the history
Included AniList list check from main script
  • Loading branch information
Rick authored and Rick committed Jun 5, 2019
1 parent 970fa32 commit 81a7bff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion TautulliSyncHelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,11 @@ def start():
anilist_series = anilist.process_user_list(anilist_username)

# Plex
if not anilist_series:
if anilist_series is None:
logger.error(
'Unable to retrieve AniList list, check your username and access token')
elif not anilist_series:
logger.error('No items found on your AniList list to process')
else:
plexmodule.plex_settings = plex_settings
plex_anime_series = plexmodule.get_anime_shows_filter(show_title)
Expand Down

0 comments on commit 81a7bff

Please sign in to comment.