|
@@ -236,6 +236,10 @@
|
|
|
player.src = "../media?file=" + playingFileInfo.filepath;
|
|
|
}
|
|
|
|
|
|
+ if (playingFileInfo.filename != undefined){
|
|
|
+ ao_module_setWindowTitle(playingFileInfo.filename);
|
|
|
+ }
|
|
|
+
|
|
|
ao_module_agirun("Music/functions/getMeta.js", {
|
|
|
file: encodeURIComponent(playingFileInfo.filepath)
|
|
|
}, function(data){
|
|
@@ -247,8 +251,7 @@
|
|
|
//player.src = "../media?file=" + encodeURIComponent(data[i][1]);
|
|
|
|
|
|
//Update window title
|
|
|
- ao_module_setWindowTitle(data[i][0]);
|
|
|
-
|
|
|
+ //ao_module_setWindowTitle(data[i][0]);
|
|
|
updatePlayerThemeAndBackground(data[i][1]);
|
|
|
}
|
|
|
}
|