prepping playback notifications

This commit is contained in:
Core 2021-12-13 09:12:20 +00:00
parent 86212394f4
commit f8fb72fc66

View file

@ -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 => {