mirror of
https://github.com/Alexays/Waybar.git
synced 2025-10-29 03:24:26 +00:00
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:
parent
0332d2ebf8
commit
9bf8c8277a
@ -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("&", "&")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user