Bot removes square brackets and text in those square brackets from song title when scrobbling
walllable opened this issue · 4 comments
Command to reproduce & Last.FM username:
.play https://open.spotify.com/track/35GYDmixAiE0d36qSPqfuO?si=537ce8f11df74e4f
Describe the bug:
The bot ignores square brackets in song titles, leading to incorrect scrobble titles.
Screenshots:
If applicable, add screenshots to help explain your problem.
From looking at the code, I believe this is intentional - Why, I have no idea. The bot devs should confirm whether this is intended behavior or not first.
This was indeed intentional; it was because some music bots had direct links to the song on Spotify or Youtube in the description.
For example, the description would have this: [Mall Grab - Love Reigns](https://open.spotify.com/track/78Yqfmq11yBeibacqvl4Y4)
If there's a Spotify link we just grabbed the song directly from Spotify, but in case of YouTube we only got the title that was in the first [] bracket. That's what caused the issue here.
Hydra doesn't seem to add links to the description (anymore?) so I've disabled this for Hydra scrobbling. Coming soon to a release near you, I'll update once its out :)
Alright, thank you ^^
Update is out now, please let me know if it works