From ae25d88e942d7f234dfb4af42c350b7b19b0e9e6 Mon Sep 17 00:00:00 2001 From: Kevin Yuan Date: Sat, 4 Dec 2021 10:21:14 +0000 Subject: [PATCH] Show "Tidal Hifi" as application name for notify-send notifications (#75) --- src/preload.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/preload.js b/src/preload.js index 91c96fd..ee70a05 100644 --- a/src/preload.js +++ b/src/preload.js @@ -292,6 +292,7 @@ setInterval(function () { const artists = elements.getArtists(); const current = elements.getText("current"); const duration = elements.getText("duration"); + const appName = "Tidal Hifi"; const progressBarcurrentTime = elements.get("bar").getAttribute("aria-valuenow"); const songDashArtistTitle = `${title} - ${artists}`; const currentStatus = getCurrentlyPlayingStatus(); @@ -302,6 +303,7 @@ setInterval(function () { url: currentURL, current: current, duration: duration, + 'app-name': appName, }; const playStatusChanged = currentStatus !== currentPlayStatus;