ishwi / Chuu

Last.fm bot for discord
MIT License
172 stars 20 forks source link

Run-D.M.C. not being read #48

Closed PrinceDeveloperOf closed 3 years ago

PrinceDeveloperOf commented 3 years ago

Today we tried to use !wk RunDMC it would always return No one knows Run-D.M.C. But when playing a Rundmc song in spotify and using !wk it would return the expected results.

ishwi commented 3 years ago

Hi, thanks for submitting the issue and sorry I didn't see the issue earlier, missed it completely...

First of all this issue happens due to last.fm redirections. When you do !wk and it obtains the artist from your now playing artist it will use an artist name with a long dash: –

When you do !wk RunDMC it goes through the redirection system of last.fm and ends up choosing an artist name with a short dash: -

You can see the two artist on the bot database in the following screenshot. image First one being the long dash and second one being the short dash.

Since the long dash version has 5 times the listeners i have decided to make the redirection of RunDMC go to the long dash version.

So now it should work as expected for you. (For some other people that have their scrobbles on the short dash one it will not be a good change i guess :D)