diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c8801657..bdf54388a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,17 @@ 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.0.0 + +### Breaking changes + +- Changed settings hotkey from "ctrl+/" to "ctrl+=" to avoid a conflict with the default Tidal hotkeys + +## Other changes + +- Added a setting to disable custom hotkeys +- Fixed the bug that backwards would register 3 times. (Twice due to a duplicate block of code + once from the default tidal hotkey) + ## 1.3.0 -- re-enabled mpris-service wit the electron downloader fixes diff --git a/README.md b/README.md index 77facde1d..5f85e6d25 100644 --- a/README.md +++ b/README.md @@ -66,9 +66,9 @@ To install and work with the code on this project follow these steps: - HiFi playback - Notifications -- Shortcuts ([source](https://defkey.com/tidal-desktop-shortcuts)) +- Custom hotkeys ([source](https://defkey.com/tidal-desktop-shortcuts)) - API for status and playback -- [Settings feature](./docs/settings.png) to disable certain functionality. (`ctrl+/`) +- [Settings feature](./docs/settings.png) to disable certain functionality. (`ctrl+=`) ## Integrations diff --git a/build/linux/arch/.SRCINFO b/build/linux/arch/.SRCINFO index 926c53c33..5ddd4a7c8 100644 --- a/build/linux/arch/.SRCINFO +++ b/build/linux/arch/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = tidal-hifi-git pkgdesc = The web version of listen.tidal.com running in electron with hifi support thanks to widevine. - pkgver = 1.2.0 + pkgver = 2.0.0 pkgrel = 1 url = https://github.com/Mastermindzh/tidal-hifi arch = x86_64 @@ -11,7 +11,7 @@ pkgbase = tidal-hifi-git depends = nss depends = gtk3 provides = tidal-hifi - source = https://github.com/Mastermindzh/tidal-hifi/archive/1.2.0.zip + source = https://github.com/Mastermindzh/tidal-hifi/archive/2.0.0.zip source = tidal-hifi.desktop sha512sums = e1c0e47257cebe6b2609131964f0971c3eb70fc28c86f3d7177cb3cea09a3311236f4147bafa91347210fe2c96e6bd9d2e4ac7ca5b105e0c899657645705913d sha512sums = 35f38ac308b871c1822d7f6f760f2fb54c3748cf769822cb0f0dfb90f0f5754ba9316da5e903a0d2e9839de3a43ec76f238f3f2e44021956fa1da19142081349 diff --git a/build/linux/arch/PKGBUILD b/build/linux/arch/PKGBUILD index 62b77ab3c..2c68deb63 100644 --- a/build/linux/arch/PKGBUILD +++ b/build/linux/arch/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=tidal-hifi pkgname="$_pkgname-git" -pkgver=1.2.0 +pkgver=2.0.0 pkgrel=1 pkgdesc="The web version of listen.tidal.com running in electron with hifi support thanks to widevine." arch=("x86_64") diff --git a/package-lock.json b/package-lock.json index 3b2adaa3c..6b83bc7e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "tidal-hifi", - "version": "1.3.0", + "version": "2.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index d951e16d4..f3a18b837 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tidal-hifi", - "version": "1.3.0", + "version": "2.0.0", "description": "Tidal on Electron with widevine(hifi) support", "main": "src/main.js", "scripts": { diff --git a/src/constants/settings.js b/src/constants/settings.js index 9bb329179..593e9f8ce 100644 --- a/src/constants/settings.js +++ b/src/constants/settings.js @@ -18,6 +18,7 @@ const settings = { port: "apiSettings.port", }, mpris: "mpris", + enableCustomHotkeys: "enableCustomHotkeys", trayIcon: "trayIcon", windowBounds: { root: "windowBounds", diff --git a/src/pages/settings/preload.js b/src/pages/settings/preload.js index 37f7e7705..588e609fd 100644 --- a/src/pages/settings/preload.js +++ b/src/pages/settings/preload.js @@ -19,6 +19,7 @@ function refreshSettings() { menuBar.checked = store.get(settings.menuBar); trayIcon.checked = store.get(settings.trayIcon); mpris.checked = store.get(settings.mpris); + enableCustomHotkeys.checked = store.get(settings.enableCustomHotkeys); } /** @@ -79,6 +80,7 @@ window.addEventListener("DOMContentLoaded", () => { menuBar = get("menuBar"); trayIcon = get("trayIcon"); mpris = get("mprisCheckbox"); + enableCustomHotkeys = get("enableCustomHotkeys"); refreshSettings(); @@ -89,4 +91,5 @@ window.addEventListener("DOMContentLoaded", () => { addInputListener(menuBar, settings.menuBar); addInputListener(trayIcon, settings.trayIcon); addInputListener(mpris, settings.mpris); + addInputListener(enableCustomHotkeys, settings.enableCustomHotkeys); }); diff --git a/src/pages/settings/settings.html b/src/pages/settings/settings.html index f9b2ffd97..6ff525284 100644 --- a/src/pages/settings/settings.html +++ b/src/pages/settings/settings.html @@ -80,6 +80,16 @@
+ Enables extra hotkeys to achieve feature parity with the desktop apps
+