We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d758bbd commit 6f167f8Copy full SHA for 6f167f8
music_assistant/controllers/media/playlists.py
@@ -97,7 +97,7 @@ async def create_playlist(
97
98
async def add_playlist_tracks(self, db_playlist_id: str | int, uris: list[str]) -> None: # noqa: PLR0915
99
"""Add tracks to playlist."""
100
- db_id = int(db_playlist_id)
+ db_id = int(db_playlist_id) # ensure integer
101
playlist = await self.get_library_item(db_id)
102
if not playlist:
103
raise MediaNotFoundError(f"Playlist with id {db_id} not found")
0 commit comments