vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Dec 10 
22:39:26 2017 +0200| [526ae47cbc847a2412c408cbd4b3439e56ec9e47] | committer: 
Rémi Denis-Courmont

art/lastfm: fix URI encoding (fixes #19272)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=526ae47cbc847a2412c408cbd4b3439e56ec9e47
---

 share/lua/meta/art/03_lastfm.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/lua/meta/art/03_lastfm.lua b/share/lua/meta/art/03_lastfm.lua
index 71db5bdae6..c15c30a3d2 100644
--- a/share/lua/meta/art/03_lastfm.lua
+++ b/share/lua/meta/art/03_lastfm.lua
@@ -33,7 +33,7 @@ function fetch_art()
     then return nil end
 
     if meta["artist"] and meta["album"] then
-        title = meta["artist"].."/"..meta["album"]
+        title = 
vlc.strings.encode_uri_component(meta["artist"]).."/"..vlc.strings.encode_uri_component(meta["album"])
     else
         return nil
     end

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to