From 4e15ed69de7aed2e8ac720d6e211100c1a220202 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Sun, 26 Mar 2023 03:41:46 +0200 Subject: [PATCH] bump frontend to 20230326.0 --- music_assistant/server/providers/filesystem_local/base.py | 6 +++++- pyproject.toml | 2 +- requirements_all.txt | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/music_assistant/server/providers/filesystem_local/base.py b/music_assistant/server/providers/filesystem_local/base.py index 103486a1..283cce56 100644 --- a/music_assistant/server/providers/filesystem_local/base.py +++ b/music_assistant/server/providers/filesystem_local/base.py @@ -383,7 +383,11 @@ class FileSystemProviderBase(MusicProvider): raise MediaNotFoundError(f"Playlist path does not exist: {prov_playlist_id}") file_item = await self.resolve(prov_playlist_id) - playlist = Playlist(file_item.path, provider=self.domain, name=file_item.name) + playlist = Playlist( + file_item.path, + provider=self.domain, + name=file_item.name.replace(f".{file_item.ext}", ""), + ) playlist.is_editable = file_item.ext != "pls" # can only edit m3u playlists playlist.add_provider_mapping( diff --git a/pyproject.toml b/pyproject.toml index 091981fb..09bd0ff0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ server = [ "python-slugify==8.0.1", "mashumaro==3.5.0", "memory-tempfile==2.2.3", - "music-assistant-frontend==20230324.0", + "music-assistant-frontend==20230326.0", "pillow==9.4.0", "unidecode==1.3.6", "xmltodict==0.13.0", diff --git a/requirements_all.txt b/requirements_all.txt index a62cb558..f9f11615 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -13,7 +13,7 @@ databases==0.7.0 git+https://github.com/pytube/pytube.git@refs/pull/1501/head mashumaro==3.5.0 memory-tempfile==2.2.3 -music-assistant-frontend==20230324.0 +music-assistant-frontend==20230326.0 orjson==3.8.7 pillow==9.4.0 PyChromecast==13.0.5 -- 2.34.1