mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2024-11-22 13:32:42 +01:00
Merge pull request #76 from Mastermindzh/develop
This commit is contained in:
commit
5313ab13d3
11
CHANGELOG.md
11
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/),
|
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).
|
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
|
## 2.3.0
|
||||||
|
|
||||||
- Added a setting to minimize to tray on app close (off by default)
|
- 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
|
## 2.2.0
|
||||||
|
|
||||||
- The discord integration now adds a time remaining field based on the song duration
|
- 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
|
- the artist field is now correctly identified
|
||||||
|
|
||||||
* current time only updates on play/pause.
|
* current time only updates on play/pause.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "tidal-hifi",
|
"name": "tidal-hifi",
|
||||||
"version": "2.4.0",
|
"version": "2.5.0",
|
||||||
"description": "Tidal on Electron with widevine(hifi) support",
|
"description": "Tidal on Electron with widevine(hifi) support",
|
||||||
"main": "src/main.js",
|
"main": "src/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -292,6 +292,7 @@ setInterval(function () {
|
|||||||
const artists = elements.getArtists();
|
const artists = elements.getArtists();
|
||||||
const current = elements.getText("current");
|
const current = elements.getText("current");
|
||||||
const duration = elements.getText("duration");
|
const duration = elements.getText("duration");
|
||||||
|
const appName = "Tidal Hifi";
|
||||||
const progressBarcurrentTime = elements.get("bar").getAttribute("aria-valuenow");
|
const progressBarcurrentTime = elements.get("bar").getAttribute("aria-valuenow");
|
||||||
const songDashArtistTitle = `${title} - ${artists}`;
|
const songDashArtistTitle = `${title} - ${artists}`;
|
||||||
const currentStatus = getCurrentlyPlayingStatus();
|
const currentStatus = getCurrentlyPlayingStatus();
|
||||||
@ -302,6 +303,7 @@ setInterval(function () {
|
|||||||
url: currentURL,
|
url: currentURL,
|
||||||
current: current,
|
current: current,
|
||||||
duration: duration,
|
duration: duration,
|
||||||
|
'app-name': appName,
|
||||||
};
|
};
|
||||||
|
|
||||||
const playStatusChanged = currentStatus !== currentPlayStatus;
|
const playStatusChanged = currentStatus !== currentPlayStatus;
|
||||||
|
Loading…
Reference in New Issue
Block a user