Add walk_shows method
wrapper just to get progressbar
MODIFY
plextraktsync/walker.py
plextraktsync/walker.py
@@ -246,6 +246,11 @@ def find_episodes(self):
continue
yield from self.episode_from_show(show)
+ def walk_shows(self, shows: set[Media], title="Processing Shows"):
+ if not shows:
+ return
+ return self.progressbar(shows, desc=title)
+
def get_plex_episodes(self, episodes):
it = self.progressbar(episodes, desc=f"Processing episodes")
for pe in it:

Add walk_shows method

wrapper just to get progressbar