Skip to content

Commit

Permalink
Use liked_list for overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed May 12, 2024
1 parent 8482e03 commit aed32a0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions plextraktsync/config/SyncConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class SyncConfig:
def __init__(self, config: Config, server_config: PlexServerConfig):
self.config = dict(config["sync"])
self.liked_lists = config["liked_lists"]
self.liked_lists_overrides = config["liked_list"] or {}
self.server_config = server_config.sync_config

def __getitem__(self, key):
Expand Down Expand Up @@ -65,10 +66,6 @@ def sync_watched_status(self):
def liked_lists_keep_watched(self):
return self.liked_lists["keep_watched"]

@property
def liked_lists_overrides(self):
return self.liked_lists.get("overrides", {})

@cached_property
def sync_playback_status(self):
return self["trakt_to_plex"]["playback_status"]
Expand Down

0 comments on commit aed32a0

Please sign in to comment.