Update mediaplayer.py - Fix artist name display in mediaplayer.py

Fixed an issue where artist names like Earth, Wind & Fire were not displayed correctly. The change ensures that artist names containing commas or special characters are now shown properly.
This commit is contained in:
Fengerros
2025-05-03 15:52:05 +02:00
committed by GitHub
parent 0332d2ebf8
commit 9bf8c8277a

View File

@ -112,6 +112,7 @@ class PlayerManager:
logger.debug(f"Metadata changed for player {player.props.player_name}")
player_name = player.props.player_name
artist = player.get_artist()
artist = artist.replace("&", "&")
title = player.get_title()
title = title.replace("&", "&")