]> git.sesse.net Git - vlc/commitdiff
art search with artist + album could be littlebit better
authorIlkka Ollakka <ileoo@videolan.org>
Wed, 22 Aug 2007 16:39:52 +0000 (16:39 +0000)
committerIlkka Ollakka <ileoo@videolan.org>
Wed, 22 Aug 2007 16:39:52 +0000 (16:39 +0000)
share/luameta/googleimage.lua

index 3d50dead958a4d8870987a53b147122e0d0d926b..f3d565f8af778be430ef933b83990a9d05f5d2c1 100644 (file)
@@ -11,7 +11,9 @@ end
 
 -- Return the artwork
 function fetch_art()
-    if vlc.title and vlc.artist then
+    if vlc.artist and vlc.album then
+        title = vlc.artist.." "..vlc.album
+    elseif vlc.title and vlc.artist then
         title = vlc.artist.." "..vlc.title
     elseif vlc.title then
         title = vlc.title