From 5a356c0efbc4667090af92c78209c3c30699e14a Mon Sep 17 00:00:00 2001 From: 0xChloe Date: Fri, 5 Jul 2024 18:42:50 +0000 Subject: [PATCH] Change test --- spotiplex/modules/spotiplex/main.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/spotiplex/modules/spotiplex/main.py b/spotiplex/modules/spotiplex/main.py index 1d2e2cc..10e23bd 100644 --- a/spotiplex/modules/spotiplex/main.py +++ b/spotiplex/modules/spotiplex/main.py @@ -43,8 +43,11 @@ def get_user_list(self: "Spotiplex") -> list[str]: def get_sync_lists(self: "Spotiplex") -> None: """Runs function to get lidarr lists or splits manual playlists to list.""" if self.lidarr: - lidarr_lists: list[str] = self.lidarr_service.playlist_request()[0] - self.sync_lists: list[str] = lidarr_lists + self.sync_lists: list[str] = [ + playlist_id + for playlist in self.lidarr_service.playlist_request() + for playlist_id in playlist + ] else: self.sync_lists: list[str] = Config.MANUAL_PLAYLISTS.split(",")