CharlieS1103 / spicetify-extensions

extensions for spotify i'm creating
MIT License
542 stars 70 forks source link

[Phrase2Playlist BUG] Weird behaviour with short words #73

Closed MalTeeez closed 1 year ago

MalTeeez commented 1 year ago

Describe bug

When inputting short words I get normal playlists for some, but for certain other words I either get an empty playlist or sometimes a wrong replacement which only partially consists of my word.

Note: I saw #27 and tried "i", which worked, but weirdly "I" doesn't work.

Steps to replicate

Empty playlist: Create a Phrase2Playlist with "I have a Dream"

Wrong song replacement: Create a Phrase2Playlist with "Trees and Tr" - replaces "Tr" with "Traum"

Spicetify and Spotify Version

Spotify for Windows (64 Bit) 1.2.17.834.g26ee1129 Spicetify v2.22.2

CharlieS1103 commented 1 year ago

yeeahhhh, so for short words spotify search so you have to manually input them, if you want to make a PR for a few the code should be pretty straight forward

MalTeeez commented 1 year ago

Added words in #74, but I still have no idea how "Tr" became "Traum", any ideas?

CharlieS1103 commented 1 year ago

Weird Spotify search things, if a song can't be found it'll find a similar one

MalTeeez commented 1 year ago

Well that would explain it, do you think it would make sense to check if a song matches its word if its 2 letters long or to just ignore 2 letter words?

MalTeeez commented 1 year ago

Fixed with #79.