Merge pull request #76 from Mastermindzh/develop

This commit is contained in:
Rick van Lieshout 2021-12-04 11:23:32 +01:00 committed by GitHub
commit 5313ab13d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 2 deletions

View File

@ -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.

View File

@ -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": {

View File

@ -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;