[vlc-commits] Cue: use URI to open the file

Jean-Baptiste Kempf git at videolan.org
Tue May 24 17:06:46 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue May 24 16:20:13 2011 +0200| [94932dc4204e70e958460ff29a41d47d36ce0409] | committer: Jean-Baptiste Kempf

Cue: use URI to open the file

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

 share/lua/playlist/cue.lua |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/lua/playlist/cue.lua b/share/lua/playlist/cue.lua
index 5a673c7..3b867e8 100644
--- a/share/lua/playlist/cue.lua
+++ b/share/lua/playlist/cue.lua
@@ -60,7 +60,7 @@ function cue_track( global, track )
 	end
 
 	t = {}
-	t.path = cue_path( track.file or global.file )
+	t.path = vlc.strings.make_uri(cue_path( track.file or global.file ))
 	t.title = track.title
 	t.album = global.title
 	t.artist = track.performer or global.performer



More information about the vlc-commits mailing list