dvx / lofi

🎵🔉 A mini Spotify player with WebGL visualizations.
http://lofi.rocks
MIT License
1.21k stars 68 forks source link

The track title is stripped - Option to toggle on/off title/artist string truncate #273

Open BluTree opened 1 year ago

BluTree commented 1 year ago

In some cases, I notice that the track title is stripped. Is there a way to toggle the title strip in settings, to allow us to enable or disable it depending on what we want ?

For example, in my case I have a track displayed like this on Lofi image whereas the full title on Spotify is this image

stamoun commented 1 year ago

It's because we remove anything past an hyphen - or opening parenthesis ( in the track title or artist name.

This is to prevent titles to be something like Song Title - Live at some interesting place '93 and likewise for artists Cool Dude (feat. some other dude).

I could make it a configurable option, updated the title to reflect this.

The code that does that is here