Skip to content

Commit

Permalink
Change test
Browse files Browse the repository at this point in the history
  • Loading branch information
cmathews393 committed Jul 5, 2024
1 parent d5addfa commit 5a356c0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions spotiplex/modules/spotiplex/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(",")

Expand Down

0 comments on commit 5a356c0

Please sign in to comment.