Skip to content

Commit d33811c

Browse files
committed
Radio. Fix custom name & image
1 parent c3ee2bc commit d33811c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

music_assistant/controllers/music.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,11 @@ async def add_item_to_library(
671671
# ensure we have a full item
672672
if isinstance(item, str):
673673
full_item = await self.get_item_by_uri(item)
674+
# For builtin provider (manual URLs), use the provided item directly
675+
# to preserve custom modifications (name, images, etc.)
676+
# For other providers, fetch fresh to ensure data validity
677+
elif item.provider == "builtin":
678+
full_item = item
674679
else:
675680
full_item = await self.get_item(
676681
item.media_type,

0 commit comments

Comments
 (0)