mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-09-18 09:39:29 +02:00
Compare commits
9 Commits
8036cbb919
...
5.2.0
Author | SHA1 | Date | |
---|---|---|---|
1440f70100 | |||
439333e15a | |||
b9854e0595 | |||
8b56c28d75 | |||
700a14fe88 | |||
3c835077d5 | |||
194de286c8 | |||
a7dee5c2c9 | |||
|
0120391418 |
16
.drone.yml
Normal file
16
.drone.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: install
|
||||||
|
image: node:19.4.0
|
||||||
|
commands:
|
||||||
|
- npm install
|
||||||
|
|
||||||
|
- name: build_with_linux
|
||||||
|
image: node:19.4.0
|
||||||
|
commands:
|
||||||
|
- apt-get update && apt-get upgrade -y
|
||||||
|
- apt-get install -y libarchive-tools rpm
|
||||||
|
- npm run build
|
@@ -7,9 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
## 5.2.0
|
## 5.2.0
|
||||||
|
|
||||||
- moved from Javascript to Typescript for all files
|
- moved from Javascript to Typescript for all files
|
||||||
|
|
||||||
- use `npm run watch` to watch for changes & recompile typescript and sass files
|
- use `npm run watch` to watch for changes & recompile typescript and sass files
|
||||||
|
|
||||||
- Added support for theming the application
|
- Added support for theming the application
|
||||||
|
- Added drone build file use `drone exec` or drone.ci to build it
|
||||||
|
|
||||||
## 5.1.0
|
## 5.1.0
|
||||||
|
|
||||||
|
14
README.md
14
README.md
@@ -1,6 +1,6 @@
|
|||||||
# Tidal-hifi<img src = "./build/icon.png" height="40" align="right"/>
|
# Tidal-hifi<img src = "./build/icon.png" height="40" align="right"/>
|
||||||
|
|
||||||
 [](https://discord.gg/yhNwf4v4He)
|
 [](https://github.com/Mastermindzh/tidal-hifi/actions) [](https://ci.mastermindzh.tech/Mastermindzh/tidal-hifi) [](https://discord.gg/yhNwf4v4He)
|
||||||
|
|
||||||
The web version of [listen.tidal.com](https://listen.tidal.com) running in electron with hifi support thanks to widevine.
|
The web version of [listen.tidal.com](https://listen.tidal.com) running in electron with hifi support thanks to widevine.
|
||||||
|
|
||||||
@@ -86,15 +86,15 @@ To install with `snap` you need to download the pre-packaged snap-package from t
|
|||||||
|
|
||||||
1. Download
|
1. Download
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
wget <URI> #for instance: https://github.com/Mastermindzh/tidal-hifi/releases/download/1.0/tidal-hifi_1.0.0_amd64.snap
|
wget <URI> #for instance: https://github.com/Mastermindzh/tidal-hifi/releases/download/1.0/tidal-hifi_1.0.0_amd64.snap
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Install
|
2. Install
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
snap install --dangerous <path> #for instance: tidal-hifi_1.0.0_amd64.snap
|
snap install --dangerous <path> #for instance: tidal-hifi_1.0.0_amd64.snap
|
||||||
```
|
```
|
||||||
|
|
||||||
### Arch Linux
|
### Arch Linux
|
||||||
|
|
||||||
|
@@ -31,12 +31,13 @@ export const getOptions = (array: string[]) => {
|
|||||||
* @param directory to read from. Will be created if it doesn't exist
|
* @param directory to read from. Will be created if it doesn't exist
|
||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
export const getThemeListFromDirectory = (directory: string) => {
|
export const getThemeListFromDirectory = (directory: string): string[] => {
|
||||||
try {
|
try {
|
||||||
makeUserThemesDirectory(directory);
|
makeUserThemesDirectory(directory);
|
||||||
return fs.readdirSync(directory).filter(cssFilter).sort(sort);
|
return fs.readdirSync(directory).filter(cssFilter).sort(sort);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
|
return [];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -46,9 +47,7 @@ export const getThemeListFromDirectory = (directory: string) => {
|
|||||||
*/
|
*/
|
||||||
export const makeUserThemesDirectory = (directory: string) => {
|
export const makeUserThemesDirectory = (directory: string) => {
|
||||||
try {
|
try {
|
||||||
fs.mkdir(directory, { recursive: true }, (err) => {
|
fs.mkdirSync(directory, { recursive: true });
|
||||||
if (err) throw err;
|
|
||||||
});
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
}
|
}
|
||||||
|
@@ -40,7 +40,7 @@ const elements = {
|
|||||||
bar: '*[data-test="progress-bar"]',
|
bar: '*[data-test="progress-bar"]',
|
||||||
footer: "#footerPlayer",
|
footer: "#footerPlayer",
|
||||||
album_header_title: '.header-details [data-test="title"]',
|
album_header_title: '.header-details [data-test="title"]',
|
||||||
playing_title: 'span[data-test="table-cell-title"].css-geqnfr',
|
playing_title: 'span[data-test="table-cell-title"].css-1vjc1xk',
|
||||||
album_name_cell: '[data-test="table-cell-album"]',
|
album_name_cell: '[data-test="table-cell-album"]',
|
||||||
tracklist_row: '[data-test="tracklist-row"]',
|
tracklist_row: '[data-test="tracklist-row"]',
|
||||||
volume: '*[data-test="volume"]',
|
volume: '*[data-test="volume"]',
|
||||||
|
@@ -13,7 +13,7 @@ export const settingsStore = new Store({
|
|||||||
apiSettings: {
|
apiSettings: {
|
||||||
port: 47836,
|
port: 47836,
|
||||||
},
|
},
|
||||||
customCSS: "",
|
customCSS: [],
|
||||||
disableBackgroundThrottle: true,
|
disableBackgroundThrottle: true,
|
||||||
disableHardwareMediaKeys: false,
|
disableHardwareMediaKeys: false,
|
||||||
enableCustomHotkeys: false,
|
enableCustomHotkeys: false,
|
||||||
|
Reference in New Issue
Block a user