Merge pull request #3325 from williamwith4ms/escape_&_in_mediaplayer.py

fix: display titles with '&' correctly
This commit is contained in:
Alexis Rouillard 2024-07-02 22:34:10 +02:00 committed by GitHub
commit ca3877d0b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ class PlayerManager:
player_name = player.props.player_name
artist = player.get_artist()
title = player.get_title()
title = title.replace("&", "&")
track_info = ""
if player_name == "spotify" and "mpris:trackid" in metadata.keys() and ":ad:" in player.props.metadata["mpris:trackid"]: