fix playlist item reovals
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Mon, 22 Apr 2024 22:21:11 +0000 (00:21 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Mon, 22 Apr 2024 22:21:11 +0000 (00:21 +0200)
music_assistant/server/providers/builtin/__init__.py

index 837308ced4f3297f422734194ac0ca9c5964ccaf..edd09262897530289a0ba7fcf6743a9fbc1ff149 100644 (file)
@@ -397,7 +397,7 @@ class BuiltinProvider(MusicProvider):
             return
         # user created universal playlist
         playlist_items = await self._read_playlist_file_items(prov_playlist_id)
-        for count, uri in enumerate(playlist_items, 1):
+        for count, uri in enumerate(playlist_items):
             try:
                 # get the provider item and not the full track from a regular 'get' call
                 # as we only need basic track info here