|
@@ -232,6 +232,10 @@
|
|
|
var songInfo = [];
|
|
|
var songList = [];
|
|
|
|
|
|
+ if (playingFileInfo.filepath != undefined){
|
|
|
+ player.src = "../media?file=" + playingFileInfo.filepath;
|
|
|
+ }
|
|
|
+
|
|
|
ao_module_agirun("Music/functions/getMeta.js", {
|
|
|
file: encodeURIComponent(playingFileInfo.filepath)
|
|
|
}, function(data){
|
|
@@ -240,7 +244,8 @@
|
|
|
if (data[i][0] == playingFileInfo.filename){
|
|
|
songInfo = data[i];
|
|
|
//Set the audio element src
|
|
|
- player.src = "../media?file=" + encodeURIComponent(data[i][1]);
|
|
|
+ //player.src = "../media?file=" + encodeURIComponent(data[i][1]);
|
|
|
+
|
|
|
//Update window title
|
|
|
ao_module_setWindowTitle(data[i][0]);
|
|
|
|