Compare commits

..

No commits in common. "662ef6ad7bab93a6861631d369c1e23779a0c532" and "5ef60740156048b159cb4c5e26b30d5e332be7c0" have entirely different histories.

7 changed files with 2183 additions and 3074 deletions

View File

@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 16
node-version: 12
- run: npm install
- run: npm run build
@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 16
node-version: 12
- run: npm install
- run: npm run build
@ -32,6 +32,6 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 16
node-version: 12
- run: npm install
- run: npm run build

View File

@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 16
node-version: 12
- run: npm install
- run: npm run build
- uses: actions/upload-artifact@master
@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 16
node-version: 12
- run: npm install
- run: npm run build
- uses: actions/upload-artifact@master
@ -40,7 +40,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 16
node-version: 12
- run: npm install
- run: npm run build
- uses: actions/upload-artifact@master

View File

@ -4,25 +4,6 @@ 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
- Updated dependencies (including electron itself)
### known issues
- Requires older version of nodejs due to electron-builder (use lts/gallium)
### builds
updated to nodejs 16 in actions
## 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)
@ -40,7 +21,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

@ -34,7 +34,3 @@ mac:
category: public.app-category.entertainment
win:
target: msi
icon: build/icon.png
artifactName: "tidalhifi"
appId: com.rickvanlieshout.tidalhifi
executableName: tidalhifi

5187
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "tidal-hifi",
"version": "2.5.0",
"version": "2.4.0",
"description": "Tidal on Electron with widevine(hifi) support",
"main": "src/main.js",
"scripts": {
@ -23,20 +23,21 @@
"homepage": "https://github.com/Mastermindzh/tidal-hifi",
"license": "MIT",
"dependencies": {
"discord-rpc": "^4.0.1",
"electron-store": "^8.0.1",
"discord-rpc": "^3.2.0",
"electron-store": "^5.1.1",
"express": "^4.17.1",
"hotkeys-js": "^3.8.7",
"mpris-service": "^2.1.2",
"node-notifier": "^10.0.0",
"hotkeys-js": "^3.7.6",
"mpris-service": "^2.1.0",
"node-notifier": "^9.0.1",
"request": "^2.88.2"
},
"devDependencies": {
"@mastermindzh/prettier-config": "^1.0.0",
"electron": "git+https://github.com/castlabs/electron-releases.git#v16.0.4+wvcus",
"electron-builder": "^22.14.5",
"dot-prop": ">=4.2.1",
"electron": "git+https://github.com/castlabs/electron-releases.git#v10.4.3-wvvmp",
"electron-builder": "^21.2.0",
"electron-reload": "^1.5.0",
"prettier": "^2.5.0"
"prettier": "^2.0.4"
},
"prettier": "@mastermindzh/prettier-config"
}

View File

@ -292,7 +292,6 @@ 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();
@ -303,7 +302,6 @@ setInterval(function () {
url: currentURL,
current: current,
duration: duration,
'app-name': appName,
};
const playStatusChanged = currentStatus !== currentPlayStatus;