only use one "-" to separate text from url in lastfm.py
This commit is contained in:
parent
bb6b292b6c
commit
cedd080f75
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
ytquery = " - ".join([artist, track_name])
|
ytquery = " - ".join([artist, track_name])
|
||||||
|
|
||||||
short_url = self.exports.get_one("search-youtube")(ytquery)
|
short_url = self.exports.get_one("search-youtube")(ytquery)
|
||||||
short_url = " -- " + short_url if short_url else ""
|
short_url = " - " + short_url if short_url else ""
|
||||||
|
|
||||||
info_page = utils.http.request(URL_SCROBBLER, get_params={
|
info_page = utils.http.request(URL_SCROBBLER, get_params={
|
||||||
"method": "track.getInfo", "artist": artist,
|
"method": "track.getInfo", "artist": artist,
|
||||||
|
|
Loading…
Reference in a new issue