From f8fb72fc66c1068d8852bb61919586eb99c95ed3 Mon Sep 17 00:00:00 2001 From: Core <64542347+coredev-uk@users.noreply.github.com> Date: Mon, 13 Dec 2021 09:12:20 +0000 Subject: [PATCH] prepping playback notifications --- resources/cider-ui-tests/index.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/resources/cider-ui-tests/index.js b/resources/cider-ui-tests/index.js index 9647d122..29d2bdca 100644 --- a/resources/cider-ui-tests/index.js +++ b/resources/cider-ui-tests/index.js @@ -274,6 +274,15 @@ const app = new Vue({ app.getNowPlayingArtwork(42); app.getNowPlayingArtworkBG(32); app.loadLyrics() + + // Playback Notifications + // if (platform == "darwin" || platform == "linux") { + // new Notification(a.title, { + // body: a.artistName, + // icon: a.artwork.url, + // silent: true + // }) + // } }) this.apiCall('https://api.music.apple.com/v1/me/library/playlists', res => {