tramhao / termusic

Music Player TUI written in Rust
GNU General Public License v3.0
968 stars 42 forks source link

Refactor radio title parsing #241

Closed hasezoey closed 3 months ago

hasezoey commented 3 months ago

This PR changes the radio title parsing to be its own function and overwrite the full string instead of appending, in more details:

Now instead of Currently Playing: Artist - Some Title - Artist - Some other Title - Artist - Some other other Title it will only display Currently Playing: Artist - Some other other Title

also somehow before this PR sometimes the string would just go blank and never recover for reasons unknown to me, but now it seemingly does not anymore