]> git.sesse.net Git - vlc/commitdiff
luaplaylist/youtube.lua: Fix art discovery.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 17 Jan 2008 18:24:40 +0000 (18:24 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 17 Jan 2008 18:24:40 +0000 (18:24 +0000)
share/luaplaylist/youtube.lua

index 2e16c277d156ec481e8f637abe82bd4e1010ee83..4f0b9d19bf93805b6976215048a554239314eceb 100644 (file)
@@ -87,7 +87,7 @@ function parse()
         if not base_yt_url then
             base_yt_url = "http://youtube.com/"
         end
-        art_url = get_arturl( vlc.path, video_id )
+        arturl = get_arturl( vlc.path, video_id )
         if t then
             return { { path = base_yt_url .. "get_video?video_id="..video_id.."&t="..t; name = name; description = description; artist = artist; arturl = arturl } }
         else
@@ -99,7 +99,7 @@ function parse()
             name = get_url_param( vlc.path, "title" )
         end
         video_id = get_url_param( vlc.path, "video_id" )
-        art_url = get_arturl( vlc.path, video_id )
+        arturl = get_arturl( vlc.path, video_id )
         if not string.match( vlc.path, "t=" ) then
             -- This sucks, we're missing "t" which is now mandatory. Let's
             -- try using another url