Commit 38c77e3c authored by Ilkka Ollakka's avatar Ilkka Ollakka

lua: fix cornercase on musicbrainz-lua script.

parent 5659ac89
...@@ -46,7 +46,7 @@ function fetch_art() ...@@ -46,7 +46,7 @@ function fetch_art()
-- FIXME: multiple results may be available -- FIXME: multiple results may be available
_,_,asin = string.find( page, "<asin>(.-)</asin>" ) _,_,asin = string.find( page, "<asin>(.-)</asin>" )
if asin ~= page then if asin then
return "http://images.amazon.com/images/P/"..asin..".01._SCLZZZZZZZ_.jpg" return "http://images.amazon.com/images/P/"..asin..".01._SCLZZZZZZZ_.jpg"
else else
return nil return nil
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment