From ae25d88e942d7f234dfb4af42c350b7b19b0e9e6 Mon Sep 17 00:00:00 2001 From: Kevin Yuan Date: Sat, 4 Dec 2021 10:21:14 +0000 Subject: [PATCH 1/2] 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; From f43f227191fef19ca76f0b2ddb1c6765e743da87 Mon Sep 17 00:00:00 2001 From: Mastermindzh Date: Sat, 4 Dec 2021 11:23:03 +0100 Subject: [PATCH 2/2] added changelog and bumped version --- CHANGELOG.md | 11 ++++++++++- package.json | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dc8f293..8d2dcfc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 2.5.0 + +- Notify-send now correctly shows "Tidal Hifi" as the program name + +## 2.4.0 + +- Added more mpris settings +- Added instruction for rescrobbler to get last.fm working without sandbox mode + ## 2.3.0 - Added a setting to minimize to tray on app close (off by default) @@ -21,7 +30,7 @@ moved to: [https://github.com/Mastermindzh/tidal-hifi-aur](https://github.com/Ma ## 2.2.0 - The discord integration now adds a time remaining field based on the song duration -- All fields (current, remaining, and url are also available in the API*) +- All fields (current, remaining, and url are also available in the API\*) - the artist field is now correctly identified * current time only updates on play/pause. diff --git a/package.json b/package.json index a2482bb..04bef72 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tidal-hifi", - "version": "2.4.0", + "version": "2.5.0", "description": "Tidal on Electron with widevine(hifi) support", "main": "src/main.js", "scripts": {