mirror of
				https://github.com/Mastermindzh/tidal-hifi.git
				synced 2025-11-04 02:39:13 +01:00 
			
		
		
		
	Merge branch 'master' of github.com:Mastermindzh/tidal-hifi into feature/tidalControllers
This commit is contained in:
		@@ -4,6 +4,12 @@ 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).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## [5.19.0]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Fixed the issue where media updates would cease to work after album names can't be found
 | 
				
			||||||
 | 
					  - Will simply report an empty string when it can't find the album
 | 
				
			||||||
 | 
					- Updated various dependencies
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## [5.18.2]
 | 
					## [5.18.2]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- Reverted to sass 1.79.4 to fix `Nix` builds
 | 
					- Reverted to sass 1.79.4 to fix `Nix` builds
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										65
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										65
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							@@ -15,38 +15,38 @@
 | 
				
			|||||||
        "axios": "^1.8.4",
 | 
					        "axios": "^1.8.4",
 | 
				
			||||||
        "cors": "^2.8.5",
 | 
					        "cors": "^2.8.5",
 | 
				
			||||||
        "electron-store": "^8.2.0",
 | 
					        "electron-store": "^8.2.0",
 | 
				
			||||||
        "express": "^5.0.1",
 | 
					        "express": "^5.1.0",
 | 
				
			||||||
        "hotkeys-js": "^3.13.9",
 | 
					        "hotkeys-js": "^3.13.9",
 | 
				
			||||||
        "mpris-service": "^2.1.2",
 | 
					        "mpris-service": "^2.1.2",
 | 
				
			||||||
        "request": "^2.88.2",
 | 
					        "request": "^2.88.2",
 | 
				
			||||||
        "sass": "1.85.1",
 | 
					        "sass": "1.86.3",
 | 
				
			||||||
        "swagger-ui-express": "^5.0.1"
 | 
					        "swagger-ui-express": "^5.0.1"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "devDependencies": {
 | 
					      "devDependencies": {
 | 
				
			||||||
        "@mastermindzh/prettier-config": "^1.0.0",
 | 
					        "@mastermindzh/prettier-config": "^1.0.0",
 | 
				
			||||||
        "@types/cors": "^2.8.17",
 | 
					        "@types/cors": "^2.8.17",
 | 
				
			||||||
        "@types/express": "^4.17.21",
 | 
					        "@types/express": "^5.0.1",
 | 
				
			||||||
        "@types/node": "^20.14.10",
 | 
					        "@types/node": "^20.17.30",
 | 
				
			||||||
        "@types/request": "^2.48.12",
 | 
					        "@types/request": "^2.48.12",
 | 
				
			||||||
        "@types/swagger-ui-express": "^4.1.6",
 | 
					        "@types/swagger-ui-express": "^4.1.8",
 | 
				
			||||||
        "@typescript-eslint/eslint-plugin": "^7.16.0",
 | 
					        "@typescript-eslint/eslint-plugin": "^7.18.0",
 | 
				
			||||||
        "@typescript-eslint/parser": "^7.15.0",
 | 
					        "@typescript-eslint/parser": "^7.18.0",
 | 
				
			||||||
        "copyfiles": "^2.4.1",
 | 
					        "copyfiles": "^2.4.1",
 | 
				
			||||||
        "electron": "github:castlabs/electron-releases#v35.1.1+wvcus",
 | 
					        "electron": "github:castlabs/electron-releases#v35.1.1+wvcus",
 | 
				
			||||||
        "electron-builder": "~26.0.12",
 | 
					        "electron-builder": "~26.0.12",
 | 
				
			||||||
        "eslint": "^8.57.0",
 | 
					        "eslint": "^8.57.0",
 | 
				
			||||||
        "js-yaml": "^4.1.0",
 | 
					        "js-yaml": "^4.1.0",
 | 
				
			||||||
        "markdown-toc": "^1.2.0",
 | 
					        "markdown-toc": "^1.2.0",
 | 
				
			||||||
        "nodemon": "^3.1.4",
 | 
					        "nodemon": "^3.1.9",
 | 
				
			||||||
        "prettier": "^3.3.2",
 | 
					        "prettier": "^3.5.3",
 | 
				
			||||||
        "stylelint": "^16.6.1",
 | 
					        "stylelint": "^16.18.0",
 | 
				
			||||||
        "stylelint-config-standard": "^36.0.1",
 | 
					        "stylelint-config-standard": "^36.0.1",
 | 
				
			||||||
        "stylelint-config-standard-scss": "^13.1.0",
 | 
					        "stylelint-config-standard-scss": "^13.1.0",
 | 
				
			||||||
        "stylelint-prettier": "^5.0.0",
 | 
					        "stylelint-prettier": "^5.0.3",
 | 
				
			||||||
        "swagger-jsdoc": "^6.2.8",
 | 
					        "swagger-jsdoc": "^6.2.8",
 | 
				
			||||||
        "ts-node": "^10.9.2",
 | 
					        "ts-node": "^10.9.2",
 | 
				
			||||||
        "tsc-watch": "^6.2.0",
 | 
					        "tsc-watch": "^6.2.1",
 | 
				
			||||||
        "typescript": "^5.5.3"
 | 
					        "typescript": "^5.8.3"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/@apidevtools/json-schema-ref-parser": {
 | 
					    "node_modules/@apidevtools/json-schema-ref-parser": {
 | 
				
			||||||
@@ -1816,22 +1816,21 @@
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/@types/express": {
 | 
					    "node_modules/@types/express": {
 | 
				
			||||||
      "version": "4.17.21",
 | 
					      "version": "5.0.1",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/@types/express/-/express-5.0.1.tgz",
 | 
				
			||||||
      "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==",
 | 
					      "integrity": "sha512-UZUw8vjpWFXuDnjFTh7/5c2TWDlQqeXHi6hcN7F2XSVT5P+WmUnnbFS3KA6Jnc6IsEqI2qCVu2bK0R0J4A8ZQQ==",
 | 
				
			||||||
      "dev": true,
 | 
					      "dev": true,
 | 
				
			||||||
      "license": "MIT",
 | 
					      "license": "MIT",
 | 
				
			||||||
      "dependencies": {
 | 
					      "dependencies": {
 | 
				
			||||||
        "@types/body-parser": "*",
 | 
					        "@types/body-parser": "*",
 | 
				
			||||||
        "@types/express-serve-static-core": "^4.17.33",
 | 
					        "@types/express-serve-static-core": "^5.0.0",
 | 
				
			||||||
        "@types/qs": "*",
 | 
					 | 
				
			||||||
        "@types/serve-static": "*"
 | 
					        "@types/serve-static": "*"
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/@types/express-serve-static-core": {
 | 
					    "node_modules/@types/express-serve-static-core": {
 | 
				
			||||||
      "version": "4.19.6",
 | 
					      "version": "5.0.6",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.19.6.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.0.6.tgz",
 | 
				
			||||||
      "integrity": "sha512-N4LZ2xG7DatVqhCZzOGb1Yi5lMbXSZcmdLDe9EzSndPV2HpWYWzRbaerl2n27irrm94EPpprqa8KpskPT085+A==",
 | 
					      "integrity": "sha512-3xhRnjJPkULekpSzgtoNYYcTWgEZkp4myc+Saevii5JPnHNvHMRlBSHDbs7Bh1iPPoVTERHEZXyhyLbMEsExsA==",
 | 
				
			||||||
      "dev": true,
 | 
					      "dev": true,
 | 
				
			||||||
      "license": "MIT",
 | 
					      "license": "MIT",
 | 
				
			||||||
      "dependencies": {
 | 
					      "dependencies": {
 | 
				
			||||||
@@ -1895,9 +1894,9 @@
 | 
				
			|||||||
      "license": "MIT"
 | 
					      "license": "MIT"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/@types/node": {
 | 
					    "node_modules/@types/node": {
 | 
				
			||||||
      "version": "20.17.28",
 | 
					      "version": "20.17.30",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.28.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.30.tgz",
 | 
				
			||||||
      "integrity": "sha512-DHlH/fNL6Mho38jTy7/JT7sn2wnXI+wULR6PV4gy4VHLVvnrV/d3pHAMQHhc4gjdLmK2ZiPoMxzp6B3yRajLSQ==",
 | 
					      "integrity": "sha512-7zf4YyHA+jvBNfVrk2Gtvs6x7E8V+YDW05bNfG2XkWDJfYRXrTiP/DsB2zSYTaHX0bGIujTBQdMVAhb+j7mwpg==",
 | 
				
			||||||
      "license": "MIT",
 | 
					      "license": "MIT",
 | 
				
			||||||
      "dependencies": {
 | 
					      "dependencies": {
 | 
				
			||||||
        "undici-types": "~6.19.2"
 | 
					        "undici-types": "~6.19.2"
 | 
				
			||||||
@@ -8862,9 +8861,9 @@
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/sass": {
 | 
					    "node_modules/sass": {
 | 
				
			||||||
      "version": "1.85.1",
 | 
					      "version": "1.86.3",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/sass/-/sass-1.85.1.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/sass/-/sass-1.86.3.tgz",
 | 
				
			||||||
      "integrity": "sha512-Uk8WpxM5v+0cMR0XjX9KfRIacmSG86RH4DCCZjLU2rFh5tyutt9siAXJ7G+YfxQ99Q6wrRMbMlVl6KqUms71ag==",
 | 
					      "integrity": "sha512-iGtg8kus4GrsGLRDLRBRHY9dNVA78ZaS7xr01cWnS7PEMQyFtTqBiyCrfpTYTZXRWM94akzckYjh8oADfFNTzw==",
 | 
				
			||||||
      "license": "MIT",
 | 
					      "license": "MIT",
 | 
				
			||||||
      "dependencies": {
 | 
					      "dependencies": {
 | 
				
			||||||
        "chokidar": "^4.0.0",
 | 
					        "chokidar": "^4.0.0",
 | 
				
			||||||
@@ -9479,9 +9478,9 @@
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/stylelint": {
 | 
					    "node_modules/stylelint": {
 | 
				
			||||||
      "version": "16.17.0",
 | 
					      "version": "16.18.0",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.17.0.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.18.0.tgz",
 | 
				
			||||||
      "integrity": "sha512-I9OwVIWRMqVm2Br5iTbrfSqGRPWQUlvm6oXO1xZuYYu0Gpduy67N8wXOZv15p6E/JdlZiAtQaIoLKZEWk5hrjw==",
 | 
					      "integrity": "sha512-OXb68qzesv7J70BSbFwfK3yTVLEVXiQ/ro6wUE4UrSbKCMjLLA02S8Qq3LC01DxKyVjk7z8xh35aB4JzO3/sNA==",
 | 
				
			||||||
      "dev": true,
 | 
					      "dev": true,
 | 
				
			||||||
      "funding": [
 | 
					      "funding": [
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
@@ -10395,9 +10394,9 @@
 | 
				
			|||||||
      "license": "MIT"
 | 
					      "license": "MIT"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "node_modules/typescript": {
 | 
					    "node_modules/typescript": {
 | 
				
			||||||
      "version": "5.8.2",
 | 
					      "version": "5.8.3",
 | 
				
			||||||
      "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz",
 | 
					      "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
 | 
				
			||||||
      "integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==",
 | 
					      "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
 | 
				
			||||||
      "dev": true,
 | 
					      "dev": true,
 | 
				
			||||||
      "license": "Apache-2.0",
 | 
					      "license": "Apache-2.0",
 | 
				
			||||||
      "bin": {
 | 
					      "bin": {
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										26
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								package.json
									
									
									
									
									
								
							@@ -46,10 +46,10 @@
 | 
				
			|||||||
    "@xhayper/discord-rpc": "^1.2.1",
 | 
					    "@xhayper/discord-rpc": "^1.2.1",
 | 
				
			||||||
    "axios": "^1.8.4",
 | 
					    "axios": "^1.8.4",
 | 
				
			||||||
    "electron-store": "^8.2.0",
 | 
					    "electron-store": "^8.2.0",
 | 
				
			||||||
    "express": "^5.0.1",
 | 
					    "express": "^5.1.0",
 | 
				
			||||||
    "hotkeys-js": "^3.13.9",
 | 
					    "hotkeys-js": "^3.13.9",
 | 
				
			||||||
    "mpris-service": "^2.1.2",
 | 
					    "mpris-service": "^2.1.2",
 | 
				
			||||||
    "sass": "1.85.1",
 | 
					    "sass": "1.86.3",
 | 
				
			||||||
    "swagger-ui-express": "^5.0.1",
 | 
					    "swagger-ui-express": "^5.0.1",
 | 
				
			||||||
    "cors": "^2.8.5",
 | 
					    "cors": "^2.8.5",
 | 
				
			||||||
    "request": "^2.88.2"
 | 
					    "request": "^2.88.2"
 | 
				
			||||||
@@ -57,28 +57,28 @@
 | 
				
			|||||||
  "devDependencies": {
 | 
					  "devDependencies": {
 | 
				
			||||||
    "@mastermindzh/prettier-config": "^1.0.0",
 | 
					    "@mastermindzh/prettier-config": "^1.0.0",
 | 
				
			||||||
    "@types/cors": "^2.8.17",
 | 
					    "@types/cors": "^2.8.17",
 | 
				
			||||||
    "@types/express": "^4.17.21",
 | 
					    "@types/express": "^5.0.1",
 | 
				
			||||||
    "@types/node": "^20.14.10",
 | 
					    "@types/node": "^20.17.30",
 | 
				
			||||||
    "@types/request": "^2.48.12",
 | 
					    "@types/request": "^2.48.12",
 | 
				
			||||||
    "@types/swagger-ui-express": "^4.1.6",
 | 
					    "@types/swagger-ui-express": "^4.1.8",
 | 
				
			||||||
    "@typescript-eslint/eslint-plugin": "^7.16.0",
 | 
					    "@typescript-eslint/eslint-plugin": "^7.18.0",
 | 
				
			||||||
    "@typescript-eslint/parser": "^7.15.0",
 | 
					    "@typescript-eslint/parser": "^7.18.0",
 | 
				
			||||||
    "copyfiles": "^2.4.1",
 | 
					    "copyfiles": "^2.4.1",
 | 
				
			||||||
    "electron": "github:castlabs/electron-releases#v35.1.1+wvcus",
 | 
					    "electron": "github:castlabs/electron-releases#v35.1.1+wvcus",
 | 
				
			||||||
    "electron-builder": "~26.0.12",
 | 
					    "electron-builder": "~26.0.12",
 | 
				
			||||||
    "eslint": "^8.57.0",
 | 
					    "eslint": "^8.57.0",
 | 
				
			||||||
    "js-yaml": "^4.1.0",
 | 
					    "js-yaml": "^4.1.0",
 | 
				
			||||||
    "markdown-toc": "^1.2.0",
 | 
					    "markdown-toc": "^1.2.0",
 | 
				
			||||||
    "nodemon": "^3.1.4",
 | 
					    "nodemon": "^3.1.9",
 | 
				
			||||||
    "prettier": "^3.3.2",
 | 
					    "prettier": "^3.5.3",
 | 
				
			||||||
    "stylelint": "^16.6.1",
 | 
					    "stylelint": "^16.18.0",
 | 
				
			||||||
    "stylelint-config-standard": "^36.0.1",
 | 
					    "stylelint-config-standard": "^36.0.1",
 | 
				
			||||||
    "stylelint-config-standard-scss": "^13.1.0",
 | 
					    "stylelint-config-standard-scss": "^13.1.0",
 | 
				
			||||||
    "stylelint-prettier": "^5.0.0",
 | 
					    "stylelint-prettier": "^5.0.3",
 | 
				
			||||||
    "swagger-jsdoc": "^6.2.8",
 | 
					    "swagger-jsdoc": "^6.2.8",
 | 
				
			||||||
    "ts-node": "^10.9.2",
 | 
					    "ts-node": "^10.9.2",
 | 
				
			||||||
    "tsc-watch": "^6.2.0",
 | 
					    "tsc-watch": "^6.2.1",
 | 
				
			||||||
    "typescript": "^5.5.3"
 | 
					    "typescript": "^5.8.3"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "prettier": "@mastermindzh/prettier-config"
 | 
					  "prettier": "@mastermindzh/prettier-config"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -88,8 +88,9 @@ export const addCurrentInfo = (expressApp: Router) => {
 | 
				
			|||||||
   *             schema:
 | 
					   *             schema:
 | 
				
			||||||
   *               $ref: '#/components/schemas/MediaInfo'
 | 
					   *               $ref: '#/components/schemas/MediaInfo'
 | 
				
			||||||
   */
 | 
					   */
 | 
				
			||||||
  expressApp.get("/current", (req, res) => res.json({ ...mediaInfo, artist: mediaInfo.artists }));
 | 
					  expressApp.get("/current", (_req, res) => {
 | 
				
			||||||
 | 
					    res.json({ ...mediaInfo, artist: mediaInfo.artists });
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
  /**
 | 
					  /**
 | 
				
			||||||
   * @swagger
 | 
					   * @swagger
 | 
				
			||||||
   * /current/image:
 | 
					   * /current/image:
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -21,8 +21,12 @@ export const startApi = (mainWindow: BrowserWindow) => {
 | 
				
			|||||||
  expressApp.use(cors());
 | 
					  expressApp.use(cors());
 | 
				
			||||||
  expressApp.use(express.json());
 | 
					  expressApp.use(express.json());
 | 
				
			||||||
  expressApp.use("/docs", swaggerUi.serve, swaggerUi.setup(swaggerSpec));
 | 
					  expressApp.use("/docs", swaggerUi.serve, swaggerUi.setup(swaggerSpec));
 | 
				
			||||||
  expressApp.get("/", (req, res) => res.send("Hello World!"));
 | 
					  expressApp.get("/", (req, res) => {
 | 
				
			||||||
  expressApp.get("/swagger.json", (req, res) => res.json(swaggerSpec));
 | 
					    res.send("Hello World!");
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					  expressApp.get("/swagger.json", (req, res) => {
 | 
				
			||||||
 | 
					    res.json(swaggerSpec);
 | 
				
			||||||
 | 
					  });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // add features
 | 
					  // add features
 | 
				
			||||||
  addLegacyApi(expressApp, mainWindow);
 | 
					  addLegacyApi(expressApp, mainWindow);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -497,7 +497,7 @@
 | 
				
			|||||||
          <h4>TIDAL Hi-Fi</h4>
 | 
					          <h4>TIDAL Hi-Fi</h4>
 | 
				
			||||||
          <div class="about-section__version">
 | 
					          <div class="about-section__version">
 | 
				
			||||||
            <a target="_blank" rel="noopener"
 | 
					            <a target="_blank" rel="noopener"
 | 
				
			||||||
              href="https://github.com/Mastermindzh/tidal-hifi/releases/tag/5.18.2">5.18.2</a>
 | 
					              href="https://github.com/Mastermindzh/tidal-hifi/releases/tag/5.19.0">5.19.0</a>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
          <div class="about-section__links">
 | 
					          <div class="about-section__links">
 | 
				
			||||||
            <a target="_blank" rel="noopener" href="https://github.com/mastermindzh/tidal-hifi/"
 | 
					            <a target="_blank" rel="noopener" href="https://github.com/mastermindzh/tidal-hifi/"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user