rembo10 / headphones

Automatic music downloader for SABnzbd
GNU General Public License v3.0
3.36k stars 602 forks source link

Different formatting attempts for symbols #3239

Open Nixellion opened 4 years ago

Nixellion commented 4 years ago

Stumbled upon an issue trying to find an album titled "A Star‐Crossed Wasteland" from In This Moment.

Headphones formats it by removing the "-" from the title, and resulting in the following string "A StarCrossed Wasteland".

rutracker (for example) has this album under the title "A Star‐Crossed Wasteland", but the search by "A StarCrossed Wasteland" returns no result. Manual search using "A Star Crossed Wasteland" (with - replaced by a space) returns the correct result.

Suggestion: Try search for 2 versions of title if it contains illegal characters, one with them removed and another with them replaced by spaces.