]> git.sesse.net Git - vlc/blobdiff - share/lua/playlist/lelombrik.lua
youtube.lua: descramble signatures by parsing javascript code
[vlc] / share / lua / playlist / lelombrik.lua
index 5de87d8c438aa0e85e342fee68a837ba00c9a7f9..6972dd655761f9632c90df0d9338a44904ad5b5d 100644 (file)
@@ -38,7 +38,7 @@ function parse()
         if string.match( line, "id=\"nom_fichier\">" ) then
             title = string.gsub( line, ".*\"nom_fichier\">([^<]*).*", "%1" )
             if title then
-                title = vlc.strings.iconv( "UTF8", "ISO_8859-1", title )
+                title = vlc.strings.from_charset( "ISO_8859-1", title )
             end
         elseif string.match( line, "'file'" ) then
             _,_,path = string.find( line, "'file', *'([^']*)")