From 57eb98a3250734f3bb1ef1974e913adf39d29f39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 1 May 2024 08:30:06 +0300 Subject: [PATCH] Use liked_list for overrides --- plextraktsync/config/SyncConfig.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plextraktsync/config/SyncConfig.py b/plextraktsync/config/SyncConfig.py index 09e92b3b4ab..df6fe8a7355 100644 --- a/plextraktsync/config/SyncConfig.py +++ b/plextraktsync/config/SyncConfig.py @@ -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): @@ -70,10 +71,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"]