Skip to content

Commit

Permalink
refactor: remove public from create_playlist arguments
Browse files Browse the repository at this point in the history
Tidal does not provide for this option.
  • Loading branch information
sacklippe committed Jul 8, 2024
1 parent ed7dce9 commit 8bbb4db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion musync/common/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def create_playlist(
self,
title: str,
description: str = "This playlist was created by https://github.com/klepp0/musync 🎺",
public: bool = False,
) -> Playlist:
pass

Expand Down
3 changes: 1 addition & 2 deletions musync/spotify/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,11 @@ def create_playlist(
self,
title: str,
description: str = "This playlist was created by https://github.com/klepp0/musync 🎺",
public: bool = False,
) -> Playlist:
playlist_response = self._client.user_playlist_create(
self.user.user_id,
title,
public=public,
public=False,
description=description,
)

Expand Down

0 comments on commit 8bbb4db

Please sign in to comment.