|
@@ -233,7 +233,7 @@
|
|
|
var songList = [];
|
|
|
|
|
|
if (playingFileInfo.filepath != undefined){
|
|
|
- player.src = "../media?file=" + playingFileInfo.filepath;
|
|
|
+ player.src = "../media?file=" + encodeURIComponent(playingFileInfo.filepath);
|
|
|
}
|
|
|
|
|
|
if (playingFileInfo.filename != undefined){
|
|
@@ -561,8 +561,7 @@
|
|
|
function loadSongFromSongInfo(playSongInfo){
|
|
|
var songName = ao_module_codec.decodeUmFilename(playSongInfo[0]);
|
|
|
var songPath = playSongInfo[1];
|
|
|
- var fileSize = playSongInfo[3];
|
|
|
-
|
|
|
+ var fileSize = playSongInfo[3];
|
|
|
$(player).attr('src',"/media?file=" + encodeURIComponent(songPath));
|
|
|
|
|
|
ao_module_setWindowTitle(songName);
|