Skip to content
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

Artistinfo plugin sends malformed URL to browser only for last.fm #240

Open
MountainX opened this issue Jun 20, 2022 · 0 comments
Open

Artistinfo plugin sends malformed URL to browser only for last.fm #240

MountainX opened this issue Jun 20, 2022 · 0 comments

Comments

@MountainX
Copy link

I'm running 1.1.99.1 git from AUR (en) - archlinux

In Artistinfo plug, Similar tab, when I right click artists that are not local, all websites open as expected in my browser except last.fm. For last.fm only, the URL sent to the browser is:

http://http://www.last.fm/music/%a

I changed line 370 in the plugin as follows

370c370
<                       if ($key eq "lastfm" && $lastfm_url) { $url='http://'.$lastfm_url; }
---
>                       if ($key eq "lastfm" && $lastfm_url) { $url=$lastfm_url; }

That solved the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant