aboutsummaryrefslogtreecommitdiff
path: root/views/script/intro_media.js
diff options
context:
space:
mode:
Diffstat (limited to 'views/script/intro_media.js')
-rw-r--r--views/script/intro_media.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/script/intro_media.js b/views/script/intro_media.js
new file mode 100644
index 0000000..87600b9
--- /dev/null
+++ b/views/script/intro_media.js
@@ -0,0 +1,4 @@
+if (require('@electron/remote').getCurrentWindow().music) {
+ info("MusicMgr", "Playing title.mp3");
+ require('electron').ipcRenderer.send('newmusic', kresources.music['title'].file);
+} \ No newline at end of file