We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d5addfa + 5a356c0 commit c8a74c8Copy full SHA for c8a74c8
spotiplex/modules/spotiplex/main.py
@@ -43,8 +43,11 @@ def get_user_list(self: "Spotiplex") -> list[str]:
43
def get_sync_lists(self: "Spotiplex") -> None:
44
"""Runs function to get lidarr lists or splits manual playlists to list."""
45
if self.lidarr:
46
- lidarr_lists: list[str] = self.lidarr_service.playlist_request()[0]
47
- self.sync_lists: list[str] = lidarr_lists
+ self.sync_lists: list[str] = [
+ playlist_id
48
+ for playlist in self.lidarr_service.playlist_request()
49
+ for playlist_id in playlist
50
+ ]
51
else:
52
self.sync_lists: list[str] = Config.MANUAL_PLAYLISTS.split(",")
53
0 commit comments