Commit 56a89678 authored by Lorenzo Pistone's avatar Lorenzo Pistone Committed by Pierre Ynard

cue.lua: fix double URL encoding of directory name

Signed-off-by: default avatarPierre Ynard <linkfanel@yahoo.fr>
(cherry picked from commit 7ffe01c7df0cca88e71b9079b961d05aee9b08de)
Signed-off-by: default avatarPierre Ynard <linkfanel@yahoo.fr>
parent dd7b0d6d
...@@ -46,7 +46,7 @@ function cue_path( src ) ...@@ -46,7 +46,7 @@ function cue_path( src )
return src return src
end end
local path = string.gsub( vlc.path, '\\', '/' ) local path = string.gsub( vlc.strings.decode_uri(vlc.path), '\\', '/' )
local slash = string.find( string.reverse( path ), '/' ) local slash = string.find( string.reverse( path ), '/' )
if( path == nil ) then if( path == nil ) then
return src return src
......
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