Add WalkConfig.update method
MODIFY
plextraktsync/walker.py
plextraktsync/walker.py
@@ -23,6 +23,14 @@ def __init__(self, movies=True, shows=True):
self.walk_movies = movies
self.walk_shows = shows
+ def update(self, movies=None, shows=None):
+ if movies is not None:
+ self.walk_movies = movies
+ if shows is not None:
+ self.walk_shows = shows
+
+ return self
+
def add_library(self, library):
self.library.append(library)

Add WalkConfig.update method