-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom button URL custom separators #217
Comments
I found issue #178 and set a virtual tag like this: ###<Title>\%20<Artist> |
Does spotify handle |
It's the same on deezer.com too. |
I will take a look, maybe there is an URL encoder that does exclusively use percent-encoding. This should help with compatibility |
Works, but what did you change? |
I changed the encoder. |
I wanted to change the custom button's behaviour to search for the currently playing song on spotify. So I changed the URL in the settings to this: https://open.spotify.com/search/[TrackTitle]%20[Artist]
The problem is that if the track title's or the artist's values contain spaces then the spaces turn into "+" signs and the spotify search includes these plus signs (see screenshot) and so it doesn't find the correct song.
I know that this is the correct/default behaviour and that this works for some or most websites.
It would be great if there was a setting for changing the "+" signs into any other string, for example "%20" so the spaces stay as spaces in the URL. Or you could just point me to the line of code where this is set and I can change it manually.
The text was updated successfully, but these errors were encountered: