Skip to content

Commit

Permalink
fixed watched_cache_expiry error
Browse files Browse the repository at this point in the history
  • Loading branch information
bexem authored Jul 20, 2023
1 parent 84e86a6 commit 1f4051a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plexcache_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ def is_valid_plex_url(url):
watched_move = input('\nDo you want to move watched media from the cache back to the array? [y/N] ') or 'no'
if watched_move.lower() in ['n', 'no']:
settings_data['watched_move'] = False
settings_data['watched_cache_expiry'] = 48
elif watched_move.lower() in ['y', 'yes']:
settings_data['watched_move'] = True
prompt_user_for_number('\nDefine the wwatched cache expiry duration in hours (default: 48) ', '48', 'watched_cache_expiry')
Expand Down

0 comments on commit 1f4051a

Please sign in to comment.