Skip to content

Commit c8a74c8

Browse files
authored
Merge pull request #30 from cmathews393/#29
Fixes #29
2 parents d5addfa + 5a356c0 commit c8a74c8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

spotiplex/modules/spotiplex/main.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,11 @@ def get_user_list(self: "Spotiplex") -> list[str]:
4343
def get_sync_lists(self: "Spotiplex") -> None:
4444
"""Runs function to get lidarr lists or splits manual playlists to list."""
4545
if self.lidarr:
46-
lidarr_lists: list[str] = self.lidarr_service.playlist_request()[0]
47-
self.sync_lists: list[str] = lidarr_lists
46+
self.sync_lists: list[str] = [
47+
playlist_id
48+
for playlist in self.lidarr_service.playlist_request()
49+
for playlist_id in playlist
50+
]
4851
else:
4952
self.sync_lists: list[str] = Config.MANUAL_PLAYLISTS.split(",")
5053

0 commit comments

Comments
 (0)