Commit 7ffe01c7 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>
parent a0d30029
...@@ -49,7 +49,7 @@ function cue_path( src ) ...@@ -49,7 +49,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