mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-26 09:32:06 +00:00
Compare commits
44 Commits
77efab61cf
...
lrc-parser
| Author | SHA1 | Date | |
|---|---|---|---|
| 4e6f1231a8 | |||
| f9a0fba2d1 | |||
| 5bbf7f964c | |||
| 428151ad6e | |||
| 1d72d1260c | |||
| 20836d9e62 | |||
| fc092177e1 | |||
| b3fe19c136 | |||
| 4231289bbb | |||
| 746e0ba584 | |||
| 803e2b3312 | |||
| 320a166f59 | |||
| c6c8899af8 | |||
| 7a63fc45c7 | |||
| 21533ee461 | |||
| 9e3d3662ce | |||
| 9f56befc3c | |||
| 7b7c4a4153 | |||
| c07f1ef584 | |||
| c506bf21a9 | |||
| 4e697f250a | |||
| 0e80e09313 | |||
| 70bede3f07 | |||
| b37db09e0c | |||
| 7a4def8acc | |||
| f4bbd53e1a | |||
| 272ee7bdb1 | |||
| cece515696 | |||
| 82b7b24ef7 | |||
| 732bbc17f4 | |||
| 29da42d9ff | |||
| 269d0cd638 | |||
| 69e15165e3 | |||
| 7663a12ee4 | |||
| dcda0b3561 | |||
| 5f82fd9e5a | |||
| af11fa31d3 | |||
| a049d618e5 | |||
| 41bc03a737 | |||
| 2ab6eff761 | |||
| 6c881a265a | |||
| 2b15f0a87c | |||
| 1d6ab2a82b | |||
| 24e82e69d1 |
16
README.md
16
README.md
@ -1,3 +1,17 @@
|
|||||||
|
<div align="center" markdown="1">
|
||||||
|
<sup>Special thanks to:</sup>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<a href="https://go.warp.dev/pear-desktop">
|
||||||
|
<img alt="Warp sponsorship" width="400" src="https://github.com/user-attachments/assets/8307ea56-e872-494a-8a9c-de0e296a06ed" />
|
||||||
|
</a>
|
||||||
|
|
||||||
|
### [Warp, built for coding with multiple AI agents](https://go.warp.dev/pear-desktop)
|
||||||
|
[Available for macOS, Linux, & Windows](https://go.warp.dev/pear-desktop)<br>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
# :pear: Pear Desktop
|
# :pear: Pear Desktop
|
||||||
@ -55,7 +69,7 @@
|
|||||||
|
|
||||||
You can help with translation on [Hosted Weblate](https://bit.ly/48n5YF7).
|
You can help with translation on [Hosted Weblate](https://bit.ly/48n5YF7).
|
||||||
|
|
||||||
<a href="https://bit.ly/48n5YF7/">
|
<a href="https://bit.ly/48n5YF7">
|
||||||
<img src="https://bit.ly/4q83L6S" alt="translation status" />
|
<img src="https://bit.ly/4q83L6S" alt="translation status" />
|
||||||
<img src="https://bit.ly/4h3zBxo" alt="translation status 2" />
|
<img src="https://bit.ly/4h3zBxo" alt="translation status 2" />
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@ -18,51 +18,89 @@ export default tsEslint.config(
|
|||||||
{
|
{
|
||||||
plugins: {
|
plugins: {
|
||||||
stylistic,
|
stylistic,
|
||||||
importPlugin
|
importPlugin,
|
||||||
},
|
},
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
parser: tsEslint.parser,
|
parser: tsEslint.parser,
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
project: true,
|
project: ['tsconfig.json', 'tsconfig.test.json'],
|
||||||
sourceType: 'module',
|
sourceType: 'module',
|
||||||
ecmaVersion: 'latest'
|
ecmaVersion: 'latest',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
'stylistic/arrow-parens': ['error', 'always'],
|
'stylistic/arrow-parens': ['error', 'always'],
|
||||||
'stylistic/object-curly-spacing': ['error', 'always'],
|
'stylistic/object-curly-spacing': ['error', 'always'],
|
||||||
'stylistic/jsx-pascal-case': 'error',
|
'stylistic/jsx-pascal-case': 'error',
|
||||||
'stylistic/jsx-curly-spacing': ['error', { when: 'never', children: true }],
|
'stylistic/jsx-curly-spacing': [
|
||||||
|
'error',
|
||||||
|
{ when: 'never', children: true },
|
||||||
|
],
|
||||||
'stylistic/jsx-sort-props': 'error',
|
'stylistic/jsx-sort-props': 'error',
|
||||||
'prettier/prettier': ['error', { singleQuote: true, semi: true, tabWidth: 2, trailingComma: 'all', quoteProps: 'preserve' }],
|
'prettier/prettier': [
|
||||||
|
'error',
|
||||||
|
{
|
||||||
|
singleQuote: true,
|
||||||
|
semi: true,
|
||||||
|
tabWidth: 2,
|
||||||
|
trailingComma: 'all',
|
||||||
|
quoteProps: 'preserve',
|
||||||
|
},
|
||||||
|
],
|
||||||
'@typescript-eslint/no-floating-promises': 'off',
|
'@typescript-eslint/no-floating-promises': 'off',
|
||||||
'@typescript-eslint/no-misused-promises': ['off', { checksVoidReturn: false }],
|
'@typescript-eslint/no-misused-promises': [
|
||||||
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
|
'off',
|
||||||
|
{ checksVoidReturn: false },
|
||||||
|
],
|
||||||
|
'@typescript-eslint/no-unused-vars': [
|
||||||
|
'warn',
|
||||||
|
{ argsIgnorePattern: '^_' },
|
||||||
|
],
|
||||||
'@typescript-eslint/no-non-null-assertion': 'off',
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
||||||
'@typescript-eslint/consistent-type-imports': ['error', {
|
'@typescript-eslint/consistent-type-imports': [
|
||||||
fixStyle: 'inline-type-imports',
|
'error',
|
||||||
prefer: 'type-imports',
|
{
|
||||||
disallowTypeAnnotations: false,
|
fixStyle: 'inline-type-imports',
|
||||||
}],
|
prefer: 'type-imports',
|
||||||
|
disallowTypeAnnotations: false,
|
||||||
|
},
|
||||||
|
],
|
||||||
'importPlugin/first': 'error',
|
'importPlugin/first': 'error',
|
||||||
'importPlugin/newline-after-import': 'off',
|
'importPlugin/newline-after-import': 'off',
|
||||||
'importPlugin/no-default-export': 'off',
|
'importPlugin/no-default-export': 'off',
|
||||||
'importPlugin/no-duplicates': 'error',
|
'importPlugin/no-duplicates': 'error',
|
||||||
'importPlugin/no-unresolved': ['error', { ignore: ['^virtual:', '\\?inline$', '\\?raw$', '\\?asset&asarUnpack'] }],
|
'importPlugin/no-unresolved': [
|
||||||
'importPlugin/order': ['error', {
|
'error',
|
||||||
'groups': ['builtin', 'external', ['internal', 'index', 'sibling'], 'parent', 'type'],
|
{
|
||||||
'newlines-between': 'always-and-inside-groups',
|
ignore: ['^virtual:', '\\?inline$', '\\?raw$', '\\?asset&asarUnpack'],
|
||||||
'alphabetize': { order: 'ignore', caseInsensitive: false }
|
},
|
||||||
}],
|
],
|
||||||
|
'importPlugin/order': [
|
||||||
|
'error',
|
||||||
|
{
|
||||||
|
'groups': [
|
||||||
|
'builtin',
|
||||||
|
'external',
|
||||||
|
['internal', 'index', 'sibling'],
|
||||||
|
'parent',
|
||||||
|
'type',
|
||||||
|
],
|
||||||
|
'newlines-between': 'always-and-inside-groups',
|
||||||
|
'alphabetize': { order: 'ignore', caseInsensitive: false },
|
||||||
|
},
|
||||||
|
],
|
||||||
'importPlugin/prefer-default-export': 'off',
|
'importPlugin/prefer-default-export': 'off',
|
||||||
'camelcase': ['error', { properties: 'never' }],
|
'camelcase': ['error', { properties: 'never' }],
|
||||||
'class-methods-use-this': 'off',
|
'class-methods-use-this': 'off',
|
||||||
'stylistic/lines-around-comment': ['error', {
|
'stylistic/lines-around-comment': [
|
||||||
beforeBlockComment: false,
|
'error',
|
||||||
afterBlockComment: false,
|
{
|
||||||
beforeLineComment: false,
|
beforeBlockComment: false,
|
||||||
afterLineComment: false,
|
afterBlockComment: false,
|
||||||
}],
|
beforeLineComment: false,
|
||||||
|
afterLineComment: false,
|
||||||
|
},
|
||||||
|
],
|
||||||
'stylistic/max-len': 'off',
|
'stylistic/max-len': 'off',
|
||||||
'stylistic/no-mixed-operators': 'warn', // prettier does not support no-mixed-operators
|
'stylistic/no-mixed-operators': 'warn', // prettier does not support no-mixed-operators
|
||||||
'stylistic/no-multi-spaces': ['error', { ignoreEOLComments: true }],
|
'stylistic/no-multi-spaces': ['error', { ignoreEOLComments: true }],
|
||||||
@ -70,16 +108,20 @@ export default tsEslint.config(
|
|||||||
'no-void': 'error',
|
'no-void': 'error',
|
||||||
'no-empty': 'off',
|
'no-empty': 'off',
|
||||||
'prefer-promise-reject-errors': 'off',
|
'prefer-promise-reject-errors': 'off',
|
||||||
'stylistic/quotes': ['error', 'single', {
|
'stylistic/quotes': [
|
||||||
avoidEscape: true,
|
'error',
|
||||||
allowTemplateLiterals: false,
|
'single',
|
||||||
}],
|
{
|
||||||
|
avoidEscape: true,
|
||||||
|
allowTemplateLiterals: 'never',
|
||||||
|
},
|
||||||
|
],
|
||||||
'stylistic/quote-props': ['error', 'consistent'],
|
'stylistic/quote-props': ['error', 'consistent'],
|
||||||
'stylistic/semi': ['error', 'always'],
|
'stylistic/semi': ['error', 'always'],
|
||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
'import/parsers': {
|
'import/parsers': {
|
||||||
'@typescript-eslint/parser': ['.ts']
|
'@typescript-eslint/parser': ['.ts'],
|
||||||
},
|
},
|
||||||
'import/resolver': {
|
'import/resolver': {
|
||||||
typescript: {},
|
typescript: {},
|
||||||
|
|||||||
45
package.json
45
package.json
@ -45,12 +45,12 @@
|
|||||||
},
|
},
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"vite": "npm:rolldown-vite@7.3.0",
|
"vite": "npm:rolldown-vite@7.3.1",
|
||||||
"node-gyp": "11.4.2",
|
"node-gyp": "11.5.0",
|
||||||
"xml2js": "0.6.2",
|
"xml2js": "0.6.2",
|
||||||
"node-fetch": "3.3.2",
|
"node-fetch": "3.3.2",
|
||||||
"@electron/universal": "3.0.2",
|
"@electron/universal": "3.0.2",
|
||||||
"@babel/runtime": "7.28.4"
|
"@babel/runtime": "7.28.6"
|
||||||
},
|
},
|
||||||
"patchedDependencies": {
|
"patchedDependencies": {
|
||||||
"vudio@2.1.1": "patches/vudio@2.1.1.patch",
|
"vudio@2.1.1": "patches/vudio@2.1.1.patch",
|
||||||
@ -70,11 +70,11 @@
|
|||||||
"@ffmpeg.wasm/main": "0.12.0",
|
"@ffmpeg.wasm/main": "0.12.0",
|
||||||
"@floating-ui/dom": "1.7.4",
|
"@floating-ui/dom": "1.7.4",
|
||||||
"@foobar404/wave": "2.0.5",
|
"@foobar404/wave": "2.0.5",
|
||||||
"@ghostery/adblocker-electron": "2.11.6",
|
"@ghostery/adblocker-electron": "2.13.4",
|
||||||
"@ghostery/adblocker-electron-preload": "2.11.6",
|
"@ghostery/adblocker-electron-preload": "2.11.6",
|
||||||
"@hono/node-server": "1.19.7",
|
"@hono/node-server": "1.19.9",
|
||||||
"@hono/node-ws": "1.2.0",
|
"@hono/node-ws": "1.2.0",
|
||||||
"@hono/swagger-ui": "0.5.2",
|
"@hono/swagger-ui": "0.5.3",
|
||||||
"@hono/zod-openapi": "1.2.0",
|
"@hono/zod-openapi": "1.2.0",
|
||||||
"@hono/zod-validator": "0.7.6",
|
"@hono/zod-validator": "0.7.6",
|
||||||
"@jellybrick/dbus-next": "0.10.3",
|
"@jellybrick/dbus-next": "0.10.3",
|
||||||
@ -106,7 +106,7 @@
|
|||||||
"filenamify": "6.0.0",
|
"filenamify": "6.0.0",
|
||||||
"hanja": "1.1.5",
|
"hanja": "1.1.5",
|
||||||
"happy-dom": "20.0.11",
|
"happy-dom": "20.0.11",
|
||||||
"hono": "4.10.3",
|
"hono": "4.11.4",
|
||||||
"howler": "2.2.4",
|
"howler": "2.2.4",
|
||||||
"html-to-text": "9.0.5",
|
"html-to-text": "9.0.5",
|
||||||
"i18next": "25.5.2",
|
"i18next": "25.5.2",
|
||||||
@ -118,7 +118,7 @@
|
|||||||
"kuroshiro-analyzer-kuromoji": "1.1.0",
|
"kuroshiro-analyzer-kuromoji": "1.1.0",
|
||||||
"lazy-var": "2.2.2",
|
"lazy-var": "2.2.2",
|
||||||
"mdui": "2.1.4",
|
"mdui": "2.1.4",
|
||||||
"node-html-parser": "7.0.1",
|
"node-html-parser": "7.0.2",
|
||||||
"node-id3": "0.2.9",
|
"node-id3": "0.2.9",
|
||||||
"peerjs": "1.5.5",
|
"peerjs": "1.5.5",
|
||||||
"semver": "7.7.3",
|
"semver": "7.7.3",
|
||||||
@ -126,12 +126,12 @@
|
|||||||
"socks": "2.8.7",
|
"socks": "2.8.7",
|
||||||
"solid-element": "1.9.1",
|
"solid-element": "1.9.1",
|
||||||
"solid-floating-ui": "0.3.1",
|
"solid-floating-ui": "0.3.1",
|
||||||
"solid-js": "1.9.9",
|
"solid-js": "1.9.10",
|
||||||
"solid-styled-components": "0.28.5",
|
"solid-styled-components": "0.28.5",
|
||||||
"solid-transition-group": "0.3.0",
|
"solid-transition-group": "0.3.0",
|
||||||
"tiny-pinyin": "1.3.2",
|
"tiny-pinyin": "1.3.2",
|
||||||
"tinyld": "1.3.4",
|
"tinyld": "1.3.4",
|
||||||
"virtua": "0.48.2",
|
"virtua": "0.48.3",
|
||||||
"vudio": "2.1.1",
|
"vudio": "2.1.1",
|
||||||
"x11": "2.3.0",
|
"x11": "2.3.0",
|
||||||
"youtubei.js": "^16.0.1",
|
"youtubei.js": "^16.0.1",
|
||||||
@ -139,45 +139,44 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@electron-toolkit/tsconfig": "1.0.1",
|
"@electron-toolkit/tsconfig": "1.0.1",
|
||||||
"@eslint/js": "9.35.0",
|
"@eslint/js": "9.39.2",
|
||||||
"@malept/flatpak-bundler": "0.4.0",
|
"@malept/flatpak-bundler": "0.4.0",
|
||||||
"@playwright/test": "1.55.0",
|
"@playwright/test": "1.57.0",
|
||||||
"@stylistic/eslint-plugin": "5.3.1",
|
"@stylistic/eslint-plugin": "5.7.0",
|
||||||
"@total-typescript/ts-reset": "0.6.1",
|
"@total-typescript/ts-reset": "0.6.1",
|
||||||
"@types/electron-localshortcut": "3.1.3",
|
"@types/electron-localshortcut": "3.1.3",
|
||||||
"@types/howler": "2.2.12",
|
"@types/howler": "2.2.12",
|
||||||
"@types/html-to-text": "9.0.4",
|
"@types/html-to-text": "9.0.4",
|
||||||
"@types/semver": "7.7.1",
|
"@types/semver": "7.7.1",
|
||||||
"@types/trusted-types": "2.0.7",
|
"@types/trusted-types": "2.0.7",
|
||||||
"bufferutil": "4.0.9",
|
"bufferutil": "4.1.0",
|
||||||
"builtin-modules": "5.0.0",
|
"builtin-modules": "5.0.0",
|
||||||
"cross-env": "10.0.0",
|
"cross-env": "10.1.0",
|
||||||
"del-cli": "6.0.0",
|
"del-cli": "6.0.0",
|
||||||
"discord-api-types": "0.38.37",
|
"discord-api-types": "0.38.37",
|
||||||
"electron": "38.7.2",
|
"electron": "38.7.2",
|
||||||
"electron-builder": "26.4.0",
|
"electron-builder": "26.4.0",
|
||||||
"electron-builder-squirrel-windows": "26.0.12",
|
"electron-builder-squirrel-windows": "26.4.0",
|
||||||
"electron-devtools-installer": "4.0.0",
|
"electron-devtools-installer": "4.0.0",
|
||||||
"electron-vite": "4.0.1",
|
"electron-vite": "4.0.1",
|
||||||
"eslint": "9.35.0",
|
"eslint": "9.39.2",
|
||||||
"eslint-config-prettier": "10.1.8",
|
"eslint-config-prettier": "10.1.8",
|
||||||
"eslint-import-resolver-exports": "1.0.0-beta.5",
|
"eslint-import-resolver-exports": "1.0.0-beta.5",
|
||||||
"eslint-import-resolver-typescript": "4.4.4",
|
"eslint-import-resolver-typescript": "4.4.4",
|
||||||
"eslint-plugin-import": "2.32.0",
|
"eslint-plugin-import": "2.32.0",
|
||||||
"eslint-plugin-prettier": "5.5.4",
|
"eslint-plugin-prettier": "5.5.5",
|
||||||
"eslint-plugin-solid": "0.14.5",
|
"eslint-plugin-solid": "0.14.5",
|
||||||
"glob": "11.1.0",
|
"glob": "11.1.0",
|
||||||
"node-gyp": "11.4.2",
|
"node-gyp": "11.5.0",
|
||||||
"playwright": "1.55.1",
|
|
||||||
"ts-morph": "27.0.2",
|
"ts-morph": "27.0.2",
|
||||||
"typescript": "5.9.3",
|
"typescript": "5.9.3",
|
||||||
"typescript-eslint": "8.43.0",
|
"typescript-eslint": "8.53.1",
|
||||||
"utf-8-validate": "6.0.6",
|
"utf-8-validate": "6.0.6",
|
||||||
"vite": "npm:rolldown-vite@7.3.0",
|
"vite": "npm:rolldown-vite@7.3.1",
|
||||||
"vite-plugin-inspect": "11.3.3",
|
"vite-plugin-inspect": "11.3.3",
|
||||||
"vite-plugin-resolve": "2.5.2",
|
"vite-plugin-resolve": "2.5.2",
|
||||||
"vite-plugin-solid": "2.11.10",
|
"vite-plugin-solid": "2.11.10",
|
||||||
"ws": "8.18.3"
|
"ws": "8.19.0"
|
||||||
},
|
},
|
||||||
"auto-changelog": {
|
"auto-changelog": {
|
||||||
"hideCredit": true,
|
"hideCredit": true,
|
||||||
|
|||||||
1321
pnpm-lock.yaml
generated
1321
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -321,6 +321,22 @@
|
|||||||
"hostname": {
|
"hostname": {
|
||||||
"label": "Nom del host"
|
"label": "Nom del host"
|
||||||
},
|
},
|
||||||
|
"https": {
|
||||||
|
"label": "HTTPS i Certificats",
|
||||||
|
"submenu": {
|
||||||
|
"cert": {
|
||||||
|
"dialogTitle": "Seleccionar arxiu de certificat HTTPS",
|
||||||
|
"label": "Arxiu de certificat (.crt/.pem)"
|
||||||
|
},
|
||||||
|
"enable-https": {
|
||||||
|
"label": "Activa HTTPS"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"dialogTitle": "Selecciona arxiu de clau HTTPS privada",
|
||||||
|
"label": "Arxiu de clau privada (.key/.pem)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"label": "Port"
|
"label": "Port"
|
||||||
}
|
}
|
||||||
@ -462,8 +478,8 @@
|
|||||||
"set-status-display-type": {
|
"set-status-display-type": {
|
||||||
"label": "Text d'estat",
|
"label": "Text d'estat",
|
||||||
"submenu": {
|
"submenu": {
|
||||||
"artist": "Escoltant {artist}",
|
|
||||||
"application": "Escoltant {{applicationName}}",
|
"application": "Escoltant {{applicationName}}",
|
||||||
|
"artist": "Escoltant {artist}",
|
||||||
"title": "Escoltant {song title}"
|
"title": "Escoltant {song title}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -883,12 +883,12 @@
|
|||||||
},
|
},
|
||||||
"name": "Synchronisierte Texte",
|
"name": "Synchronisierte Texte",
|
||||||
"refetch-btn": {
|
"refetch-btn": {
|
||||||
"fetching": "Hole Songtext...",
|
"fetching": "Laden...",
|
||||||
"normal": "Songtext neu holen"
|
"normal": "Songtext neu laden"
|
||||||
},
|
},
|
||||||
"warnings": {
|
"warnings": {
|
||||||
"duration-mismatch": "⚠️ - Es kann sein, dass die Synchronization nicht stimmt, da die Songdauer nicht übereinstimmt.",
|
"duration-mismatch": "⚠️ - Es kann sein, dass die Synchronization nicht stimmt, da die Songdauer nicht übereinstimmt.",
|
||||||
"inexact": "⚠️ - Der Songtext stimmt möglicherweise nicht überein",
|
"inexact": "⚠️ - Es ist möglich, dass der Songtext für diesen Song nicht übereinstimmt.",
|
||||||
"instrumental": "⚠️ - Das ist ein instrumentales Lied"
|
"instrumental": "⚠️ - Das ist ein instrumentales Lied"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -128,7 +128,7 @@
|
|||||||
},
|
},
|
||||||
"label": "Keel",
|
"label": "Keel",
|
||||||
"submenu": {
|
"submenu": {
|
||||||
"to-help-translate": "Soovid aidata tõlkimisel? Klõpsi siin"
|
"to-help-translate": "Soovid aidata tõlkimisel? Klõpsa siin"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"resume-on-start": "Rakenduse käivitamisel jätka viimatiesitatud loo esitamist",
|
"resume-on-start": "Rakenduse käivitamisel jätka viimatiesitatud loo esitamist",
|
||||||
@ -139,7 +139,7 @@
|
|||||||
"unset": "Määramata"
|
"unset": "Määramata"
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
"label": "Trey",
|
"label": "Tasku",
|
||||||
"submenu": {
|
"submenu": {
|
||||||
"disabled": "Välja lülitatud",
|
"disabled": "Välja lülitatud",
|
||||||
"enabled-and-hide-app": "Sisse lülitatud ja rakendus peidetud",
|
"enabled-and-hide-app": "Sisse lülitatud ja rakendus peidetud",
|
||||||
@ -227,7 +227,7 @@
|
|||||||
},
|
},
|
||||||
"album-actions": {
|
"album-actions": {
|
||||||
"description": "Lisab Undislike, Ebameeldiv, Meeldiv ja Unlike nupud selle rakendamiseks kõikidele loendisse või albumisse kuuluvatele lauludele.",
|
"description": "Lisab Undislike, Ebameeldiv, Meeldiv ja Unlike nupud selle rakendamiseks kõikidele loendisse või albumisse kuuluvatele lauludele.",
|
||||||
"name": "Albumi aktsioonid"
|
"name": "Albumi toimingud"
|
||||||
},
|
},
|
||||||
"album-color-theme": {
|
"album-color-theme": {
|
||||||
"description": "Rakendab dünaamilist teemat ja visuaalseid efekte, mis põhinevad albumi värvipalettil",
|
"description": "Rakendab dünaamilist teemat ja visuaalseid efekte, mis põhinevad albumi värvipalettil",
|
||||||
@ -237,7 +237,8 @@
|
|||||||
"submenu": {
|
"submenu": {
|
||||||
"percent": "{{suhe}}%"
|
"percent": "{{suhe}}%"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"enable-seekbar": "Luba kerimisriba kujundamine"
|
||||||
},
|
},
|
||||||
"name": "Albumi värviteema"
|
"name": "Albumi värviteema"
|
||||||
},
|
},
|
||||||
@ -245,9 +246,19 @@
|
|||||||
"description": "Rakendab valgusefekti, projitseerides videost õrnad värvid ekraani taustale",
|
"description": "Rakendab valgusefekti, projitseerides videost õrnad värvid ekraani taustale",
|
||||||
"menu": {
|
"menu": {
|
||||||
"blur-amount": {
|
"blur-amount": {
|
||||||
"label": "Hägusus"
|
"label": "Hägusus",
|
||||||
|
"submenu": {
|
||||||
|
"pixels": "{{blurAmount}} pikslit"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"buffer": {
|
||||||
|
"label": "Puhver",
|
||||||
|
"submenu": {
|
||||||
|
"buffer": "{{buffer}}"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"opacity": {
|
"opacity": {
|
||||||
|
"label": "Läbipaistmatus",
|
||||||
"submenu": {
|
"submenu": {
|
||||||
"percent": "{{opacity}}%"
|
"percent": "{{opacity}}%"
|
||||||
}
|
}
|
||||||
@ -263,8 +274,15 @@
|
|||||||
"submenu": {
|
"submenu": {
|
||||||
"percent": "{{size}}%"
|
"percent": "{{size}}%"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"smoothness-transition": {
|
||||||
|
"label": "Sujuv üleminek"
|
||||||
|
},
|
||||||
|
"use-fullscreen": {
|
||||||
|
"label": "Kasutamas täisekraani"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"name": "Ümbritsev režiim"
|
||||||
},
|
},
|
||||||
"blur-nav-bar": {
|
"blur-nav-bar": {
|
||||||
"description": "Muudab navigatsiooniriba läbipaistavaks ja hägusaks",
|
"description": "Muudab navigatsiooniriba läbipaistavaks ja hägusaks",
|
||||||
|
|||||||
@ -320,6 +320,22 @@
|
|||||||
"hostname": {
|
"hostname": {
|
||||||
"label": "نام میزبان"
|
"label": "نام میزبان"
|
||||||
},
|
},
|
||||||
|
"https": {
|
||||||
|
"label": "HTTPS و گواهینامهها",
|
||||||
|
"submenu": {
|
||||||
|
"cert": {
|
||||||
|
"dialogTitle": "پرونده گواهینامه HTTPS را انتخاب کنید",
|
||||||
|
"label": "پرونده گواهینامه (crt/.pem.)"
|
||||||
|
},
|
||||||
|
"enable-https": {
|
||||||
|
"label": "فعال کردن HTTPS"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"dialogTitle": "پرونده کلید خصوصی HTTPS را انتخاب کنید",
|
||||||
|
"label": "پرونده کلید خصوصی (key/.pem)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"label": "پورت"
|
"label": "پورت"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -237,7 +237,8 @@
|
|||||||
"submenu": {
|
"submenu": {
|
||||||
"percent": "{{ratio}}%"
|
"percent": "{{ratio}}%"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"enable-seekbar": "Abilita tematizzazione della seekbar"
|
||||||
},
|
},
|
||||||
"name": "Tema abbinato a colore album"
|
"name": "Tema abbinato a colore album"
|
||||||
},
|
},
|
||||||
@ -320,6 +321,22 @@
|
|||||||
"hostname": {
|
"hostname": {
|
||||||
"label": "Hostname"
|
"label": "Hostname"
|
||||||
},
|
},
|
||||||
|
"https": {
|
||||||
|
"label": "HTTPS & Certificati",
|
||||||
|
"submenu": {
|
||||||
|
"cert": {
|
||||||
|
"dialogTitle": "Seleziona file di certificato HTTPS",
|
||||||
|
"label": "File di certificato (.crt/.pem)"
|
||||||
|
},
|
||||||
|
"enable-https": {
|
||||||
|
"label": "Abilita HTTPS"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"dialogTitle": "Seleziona il file della chiave privata HTTPS",
|
||||||
|
"label": "File della chiave privata (.key/.pem)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"label": "Porta"
|
"label": "Porta"
|
||||||
}
|
}
|
||||||
@ -461,9 +478,9 @@
|
|||||||
"set-status-display-type": {
|
"set-status-display-type": {
|
||||||
"label": "Testo dello status",
|
"label": "Testo dello status",
|
||||||
"submenu": {
|
"submenu": {
|
||||||
|
"application": "Ascoltando {{applicationName}}",
|
||||||
"artist": "Stai ascoltando {artist}",
|
"artist": "Stai ascoltando {artist}",
|
||||||
"title": "Stai ascoltando {song title}",
|
"title": "Stai ascoltando {song title}"
|
||||||
"application": "Ascoltando {{applicationName}}"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -866,7 +883,7 @@
|
|||||||
},
|
},
|
||||||
"name": "Testi sincronizzati",
|
"name": "Testi sincronizzati",
|
||||||
"refetch-btn": {
|
"refetch-btn": {
|
||||||
"fetching": "Sto recuperando...",
|
"fetching": "Caricamento...",
|
||||||
"normal": "Recupera i testi"
|
"normal": "Recupera i testi"
|
||||||
},
|
},
|
||||||
"warnings": {
|
"warnings": {
|
||||||
|
|||||||
@ -117,7 +117,7 @@
|
|||||||
"hide-menu": {
|
"hide-menu": {
|
||||||
"dialog": {
|
"dialog": {
|
||||||
"message": "მენიუ შემდეგი გაშვებისას დაიმალება, მის საჩვენებლად გამოიყენეთ [Alt] (ან თუ აპლიკაციის მენიუს იყენებთ, უკან დააწკაპუნეთ [`])",
|
"message": "მენიუ შემდეგი გაშვებისას დაიმალება, მის საჩვენებლად გამოიყენეთ [Alt] (ან თუ აპლიკაციის მენიუს იყენებთ, უკან დააწკაპუნეთ [`])",
|
||||||
"title": "მენიუს დამალვა ჩართულია"
|
"title": "მენიუს დამალვა ჩაირთო"
|
||||||
},
|
},
|
||||||
"label": "მენიუს დამალვა"
|
"label": "მენიუს დამალვა"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -171,7 +171,7 @@
|
|||||||
"remove": "제거"
|
"remove": "제거"
|
||||||
},
|
},
|
||||||
"remove-theme": "사용자 정의 테마를 제거하시겠습니까?",
|
"remove-theme": "사용자 정의 테마를 제거하시겠습니까?",
|
||||||
"remove-theme-message": "사용자 정의 테마를 제거하시겠습니까?"
|
"remove-theme-message": "이 설정을 변경하면 커스텀 테마가 삭제됩니다"
|
||||||
},
|
},
|
||||||
"label": "테마",
|
"label": "테마",
|
||||||
"submenu": {
|
"submenu": {
|
||||||
@ -289,7 +289,7 @@
|
|||||||
},
|
},
|
||||||
"amuse": {
|
"amuse": {
|
||||||
"description": "6K Labs Amuse의 'now playing' 위젯에 {{applicationName}} 지원 추가",
|
"description": "6K Labs Amuse의 'now playing' 위젯에 {{applicationName}} 지원 추가",
|
||||||
"name": "Amuse",
|
"name": "Amuseio AB",
|
||||||
"response": {
|
"response": {
|
||||||
"query": "Amuse API 서버가 실행 중입니다. GET /query로 노래 정보를 가져오세요."
|
"query": "Amuse API 서버가 실행 중입니다. GET /query로 노래 정보를 가져오세요."
|
||||||
}
|
}
|
||||||
@ -321,6 +321,22 @@
|
|||||||
"hostname": {
|
"hostname": {
|
||||||
"label": "호스트 명"
|
"label": "호스트 명"
|
||||||
},
|
},
|
||||||
|
"https": {
|
||||||
|
"label": "HTTPS 및 인증서",
|
||||||
|
"submenu": {
|
||||||
|
"cert": {
|
||||||
|
"dialogTitle": "HTTPS 인증서 파일을 선택해 주세요",
|
||||||
|
"label": "인증서 파일(.crt/.pem)"
|
||||||
|
},
|
||||||
|
"enable-https": {
|
||||||
|
"label": "HTTPS 활성화"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"dialogTitle": "HTTPS 개인 키 파일을 선택해 주세요",
|
||||||
|
"label": "개인 키 파일(.key/.pem)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"label": "포트"
|
"label": "포트"
|
||||||
}
|
}
|
||||||
@ -457,13 +473,13 @@
|
|||||||
"disconnected": "연결 해제 됨",
|
"disconnected": "연결 해제 됨",
|
||||||
"hide-duration-left": "남은 재생 시간 숨기기",
|
"hide-duration-left": "남은 재생 시간 숨기기",
|
||||||
"hide-github-button": "GitHub 링크 버튼 숨기기",
|
"hide-github-button": "GitHub 링크 버튼 숨기기",
|
||||||
"play-on-application": "유튜브 뮤직에서 재생",
|
"play-on-application": "{{applicationName}} 에서 재생",
|
||||||
"set-inactivity-timeout": "비활성 시간 제한 설정",
|
"set-inactivity-timeout": "비활성 시간 제한 설정",
|
||||||
"set-status-display-type": {
|
"set-status-display-type": {
|
||||||
"label": "상태 텍스트",
|
"label": "상태 텍스트",
|
||||||
"submenu": {
|
"submenu": {
|
||||||
"artist": "{아티스트} 듣는 중",
|
|
||||||
"application": "{{applicationName}} 듣는 중",
|
"application": "{{applicationName}} 듣는 중",
|
||||||
|
"artist": "{아티스트} 듣는 중",
|
||||||
"title": "{곡 제목} 듣는 중"
|
"title": "{곡 제목} 듣는 중"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -151,7 +151,9 @@
|
|||||||
"label": "Vizualiniai patobulinimai",
|
"label": "Vizualiniai patobulinimai",
|
||||||
"submenu": {
|
"submenu": {
|
||||||
"custom-window-title": {
|
"custom-window-title": {
|
||||||
|
"label": "Pasirinktinis lango pavadinimas",
|
||||||
"prompt": {
|
"prompt": {
|
||||||
|
"label": "Įveskite pasirinktinį lango pavadinimą: (palikite tuščią, jei norite išjungti)",
|
||||||
"placeholder": "Pavyzdys: {{applicationName}}"
|
"placeholder": "Pavyzdys: {{applicationName}}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -431,9 +433,9 @@
|
|||||||
"set-inactivity-timeout": "Nustatyti neveiklumo laiką",
|
"set-inactivity-timeout": "Nustatyti neveiklumo laiką",
|
||||||
"set-status-display-type": {
|
"set-status-display-type": {
|
||||||
"submenu": {
|
"submenu": {
|
||||||
|
"application": "Klausosi {{applicationName}}",
|
||||||
"artist": "Klausosi {artist]",
|
"artist": "Klausosi {artist]",
|
||||||
"title": "Klausosi {song title}",
|
"title": "Klausosi {song title}"
|
||||||
"application": "Klausosi {{applicationName}}"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -237,7 +237,8 @@
|
|||||||
"submenu": {
|
"submenu": {
|
||||||
"percent": "{{ratio}}%"
|
"percent": "{{ratio}}%"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"enable-seekbar": "Schakel thema's voor de schuifbalk in"
|
||||||
},
|
},
|
||||||
"name": "Albumkleurthema"
|
"name": "Albumkleurthema"
|
||||||
},
|
},
|
||||||
@ -320,6 +321,22 @@
|
|||||||
"hostname": {
|
"hostname": {
|
||||||
"label": "Hostnaam"
|
"label": "Hostnaam"
|
||||||
},
|
},
|
||||||
|
"https": {
|
||||||
|
"label": "HTTPS & Certificaten",
|
||||||
|
"submenu": {
|
||||||
|
"cert": {
|
||||||
|
"dialogTitle": "Selecteer HTTPS certificaat",
|
||||||
|
"label": "Certificaatbestand (.crt/.pem)"
|
||||||
|
},
|
||||||
|
"enable-https": {
|
||||||
|
"label": "HTTPS aanzetten"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"dialogTitle": "Selecteer HTTPS privésleutel",
|
||||||
|
"label": "Privésleutelbestand (.key/.pem)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"label": "Poort"
|
"label": "Poort"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -209,7 +209,7 @@
|
|||||||
"show": "Pokaż okno",
|
"show": "Pokaż okno",
|
||||||
"tooltip": {
|
"tooltip": {
|
||||||
"default": "{{applicationName}}",
|
"default": "{{applicationName}}",
|
||||||
"with-song-info": "{{artist}} - (autorstwa {{artist}}) - {{applicationName}}"
|
"with-song-info": "{{title}} (autorstwa {{artist}}) - {{applicationName}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -237,7 +237,8 @@
|
|||||||
"submenu": {
|
"submenu": {
|
||||||
"percent": "{{ratio}}%"
|
"percent": "{{ratio}}%"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"enable-seekbar": "Zezwól stylowanie paska wyszukiwań"
|
||||||
},
|
},
|
||||||
"name": "Motyw kolorów albumu"
|
"name": "Motyw kolorów albumu"
|
||||||
},
|
},
|
||||||
@ -294,7 +295,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"api-server": {
|
"api-server": {
|
||||||
"description": "Pozwala na kontrolowanie {{applicationName}} poprzez podłączenie specjalnego serwera API",
|
"description": "Steruj odtwarzaczem przez specjalny serwer API",
|
||||||
"dialog": {
|
"dialog": {
|
||||||
"request": {
|
"request": {
|
||||||
"buttons": {
|
"buttons": {
|
||||||
@ -320,6 +321,22 @@
|
|||||||
"hostname": {
|
"hostname": {
|
||||||
"label": "Nazwa hosta (IP)"
|
"label": "Nazwa hosta (IP)"
|
||||||
},
|
},
|
||||||
|
"https": {
|
||||||
|
"label": "HTTPS i Certyfikaty",
|
||||||
|
"submenu": {
|
||||||
|
"cert": {
|
||||||
|
"dialogTitle": "Wybierz plik certyfikatu HTTPS",
|
||||||
|
"label": "Certyfikat (.crt/.pem)"
|
||||||
|
},
|
||||||
|
"enable-https": {
|
||||||
|
"label": "Zezwól HTTPS"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"dialogTitle": "Wybierz plik prywatnego klucza HTTPS",
|
||||||
|
"label": "Klucz prywatny (.key/.pem)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"label": "Port"
|
"label": "Port"
|
||||||
}
|
}
|
||||||
@ -461,8 +478,8 @@
|
|||||||
"set-status-display-type": {
|
"set-status-display-type": {
|
||||||
"label": "Opis statusu",
|
"label": "Opis statusu",
|
||||||
"submenu": {
|
"submenu": {
|
||||||
"artist": "Słucha {artist}",
|
|
||||||
"application": "Słucha {{applicationName}}",
|
"application": "Słucha {{applicationName}}",
|
||||||
|
"artist": "Słucha {artist}",
|
||||||
"title": "Słucha {song title}"
|
"title": "Słucha {song title}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -321,6 +321,22 @@
|
|||||||
"hostname": {
|
"hostname": {
|
||||||
"label": "Nome do anfitrião"
|
"label": "Nome do anfitrião"
|
||||||
},
|
},
|
||||||
|
"https": {
|
||||||
|
"label": "HTTPS & Certificados",
|
||||||
|
"submenu": {
|
||||||
|
"cert": {
|
||||||
|
"dialogTitle": "Selecione o certificado do HTTPS",
|
||||||
|
"label": "Arquivo de certificado (.crt/.pem)"
|
||||||
|
},
|
||||||
|
"enable-https": {
|
||||||
|
"label": "Habilitar HTTPS"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"dialogTitle": "Selecione a chave privada do HTTPS",
|
||||||
|
"label": "Arquivo de chave privada (.key/.pem)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"label": "Porta"
|
"label": "Porta"
|
||||||
}
|
}
|
||||||
@ -462,8 +478,8 @@
|
|||||||
"set-status-display-type": {
|
"set-status-display-type": {
|
||||||
"label": "Texto de status",
|
"label": "Texto de status",
|
||||||
"submenu": {
|
"submenu": {
|
||||||
"artist": "Ouvindo {artist}",
|
|
||||||
"application": "Ouvindo {{applicationName}}",
|
"application": "Ouvindo {{applicationName}}",
|
||||||
|
"artist": "Ouvindo {artist}",
|
||||||
"title": "Ouvindo {song title}"
|
"title": "Ouvindo {song title}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,13 +2,13 @@
|
|||||||
"common": {
|
"common": {
|
||||||
"console": {
|
"console": {
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"execute-failed": "Ошибка загрузки плагина {{pluginName}}::{{contextName}}",
|
"execute-failed": "Ошибка при выполнении плагина {{pluginName}}::{{contextName}}",
|
||||||
"executed-at-ms": "Плагин {{pluginName}}::{{contextName}} загружен за {{ms}}мс",
|
"executed-at-ms": "Плагин {{pluginName}}::{{contextName}} загружен за {{ms}}мс",
|
||||||
"initialize-failed": "Ошибка инициализации плагина \"{{pluginName}}\"",
|
"initialize-failed": "Ошибка инициализации плагина \"{{pluginName}}\"",
|
||||||
"load-all": "Загружаем все плагины",
|
"load-all": "Загружаем все плагины",
|
||||||
"load-failed": "Ошибка загрузки плагина \"{{pluginName}}\"",
|
"load-failed": "Ошибка загрузки плагина \"{{pluginName}}\"",
|
||||||
"loaded": "Плагин \"{{pluginName}}\" загружен",
|
"loaded": "Плагин \"{{pluginName}}\" загружен",
|
||||||
"unload-failed": "Ошибка выгрузки плагина \"{{pluginName}}\"",
|
"unload-failed": "Ошибка при выгрузке плагина \"{{pluginName}}\"",
|
||||||
"unloaded": "Плагин \"{{pluginName}}\" выгружен"
|
"unloaded": "Плагин \"{{pluginName}}\" выгружен"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -44,7 +44,7 @@
|
|||||||
},
|
},
|
||||||
"dialog": {
|
"dialog": {
|
||||||
"hide-menu-enabled": {
|
"hide-menu-enabled": {
|
||||||
"detail": "Меню скрыто, 'Alt' чтобы показать его ('Escape' если используете внутреннее меню приложения)",
|
"detail": "Меню скрыто, используйте 'Alt' чтобы показать его ('Escape' если используете внутреннее меню приложения)",
|
||||||
"message": "Скрытие меню включено",
|
"message": "Скрытие меню включено",
|
||||||
"title": "Включено скрытие меню"
|
"title": "Включено скрытие меню"
|
||||||
},
|
},
|
||||||
@ -53,8 +53,8 @@
|
|||||||
"later": "Позже",
|
"later": "Позже",
|
||||||
"restart-now": "Перезапустить сейчас"
|
"restart-now": "Перезапустить сейчас"
|
||||||
},
|
},
|
||||||
"detail": "Перезапустите приложение для включения плагина {{pluginName}}",
|
"detail": "Для вступления изменений в силу плагину \"{{pluginName}}\" требуется перезапуск",
|
||||||
"message": "Перезапуск для применения плагина {{pluginName}}",
|
"message": "Требуется перезапуск плагина \"{{pluginName}}\"",
|
||||||
"title": "Нужен перезапуск"
|
"title": "Нужен перезапуск"
|
||||||
},
|
},
|
||||||
"unresponsive": {
|
"unresponsive": {
|
||||||
@ -100,7 +100,7 @@
|
|||||||
"disable-hardware-acceleration": "Отключить аппаратное ускорение",
|
"disable-hardware-acceleration": "Отключить аппаратное ускорение",
|
||||||
"edit-config-json": "Редактировать config.json",
|
"edit-config-json": "Редактировать config.json",
|
||||||
"override-user-agent": "Переопределить User-Agent",
|
"override-user-agent": "Переопределить User-Agent",
|
||||||
"restart-on-config-changes": "Перезапускать при изменениях конфига",
|
"restart-on-config-changes": "Перезапускать при изменениях конфигурации",
|
||||||
"set-proxy": {
|
"set-proxy": {
|
||||||
"label": "Задать прокси",
|
"label": "Задать прокси",
|
||||||
"prompt": {
|
"prompt": {
|
||||||
@ -237,7 +237,8 @@
|
|||||||
"submenu": {
|
"submenu": {
|
||||||
"percent": "{{ratio}}%"
|
"percent": "{{ratio}}%"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"enable-seekbar": "Включить тематическое оформление полосы прокрутки"
|
||||||
},
|
},
|
||||||
"name": "Цветовая тема альбома"
|
"name": "Цветовая тема альбома"
|
||||||
},
|
},
|
||||||
@ -287,7 +288,7 @@
|
|||||||
"name": "Режим Ambient"
|
"name": "Режим Ambient"
|
||||||
},
|
},
|
||||||
"amuse": {
|
"amuse": {
|
||||||
"description": "Добавляет поддержку виджета Amuse „сейчас играет“ от 6K Labs",
|
"description": "Добавляет {{applicationName}} поддержку виджета Amuse „сейчас играет“ от 6K Labs",
|
||||||
"name": "Amuse",
|
"name": "Amuse",
|
||||||
"response": {
|
"response": {
|
||||||
"query": "Сервер Amuse API запущен. GET /query чтобы получить информацию о треке."
|
"query": "Сервер Amuse API запущен. GET /query чтобы получить информацию о треке."
|
||||||
@ -320,6 +321,22 @@
|
|||||||
"hostname": {
|
"hostname": {
|
||||||
"label": "Имя хоста"
|
"label": "Имя хоста"
|
||||||
},
|
},
|
||||||
|
"https": {
|
||||||
|
"label": "HTTPS и сертификаты",
|
||||||
|
"submenu": {
|
||||||
|
"cert": {
|
||||||
|
"dialogTitle": "Выберите файл сертификата HTTPS",
|
||||||
|
"label": "Файл сертификата (.crt/.pem)"
|
||||||
|
},
|
||||||
|
"enable-https": {
|
||||||
|
"label": "Включить HTTPS"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"dialogTitle": "Выберите файл приватного ключа HTTPS",
|
||||||
|
"label": "Файл приватного ключа (.key/.pem)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"label": "Порт"
|
"label": "Порт"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -321,6 +321,22 @@
|
|||||||
"hostname": {
|
"hostname": {
|
||||||
"label": "Ana bilgisayar adı"
|
"label": "Ana bilgisayar adı"
|
||||||
},
|
},
|
||||||
|
"https": {
|
||||||
|
"label": "HTTPS & Sertifikalar",
|
||||||
|
"submenu": {
|
||||||
|
"cert": {
|
||||||
|
"dialogTitle": "HTTPS sertifika dosyası seç",
|
||||||
|
"label": "Sertifika dosyası (.crt/.pem)"
|
||||||
|
},
|
||||||
|
"enable-https": {
|
||||||
|
"label": "HTTPS'i aktifleştir"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"dialogTitle": "HTTPS özel anahtar dosyası seç",
|
||||||
|
"label": "Özel anahtar dosyası (.key/.pem)"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"label": "Port"
|
"label": "Port"
|
||||||
}
|
}
|
||||||
@ -462,8 +478,8 @@
|
|||||||
"set-status-display-type": {
|
"set-status-display-type": {
|
||||||
"label": "Durum metni",
|
"label": "Durum metni",
|
||||||
"submenu": {
|
"submenu": {
|
||||||
"artist": "{artist} Dinleniyor",
|
|
||||||
"application": "{{applicationName}} Dinleniyor",
|
"application": "{{applicationName}} Dinleniyor",
|
||||||
|
"artist": "{artist} Dinleniyor",
|
||||||
"title": "{song title} Dinleniyor"
|
"title": "{song title} Dinleniyor"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -320,6 +320,13 @@
|
|||||||
"hostname": {
|
"hostname": {
|
||||||
"label": "Tên máy chủ"
|
"label": "Tên máy chủ"
|
||||||
},
|
},
|
||||||
|
"https": {
|
||||||
|
"submenu": {
|
||||||
|
"enable-https": {
|
||||||
|
"label": "Bật HTTPS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"port": {
|
"port": {
|
||||||
"label": "Cổng"
|
"label": "Cổng"
|
||||||
}
|
}
|
||||||
@ -461,9 +468,9 @@
|
|||||||
"set-status-display-type": {
|
"set-status-display-type": {
|
||||||
"label": "Văn bản trạng thái",
|
"label": "Văn bản trạng thái",
|
||||||
"submenu": {
|
"submenu": {
|
||||||
|
"application": "Đang nghe {{applicationName}}",
|
||||||
"artist": "Đang nghe nhạc của {artist}",
|
"artist": "Đang nghe nhạc của {artist}",
|
||||||
"title": "Đang nghe nhạc {song title}",
|
"title": "Đang nghe nhạc {song title}"
|
||||||
"application": "Đang nghe {{applicationName}}"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
144
src/plugins/synced-lyrics/parsers/lrc.test.ts
Normal file
144
src/plugins/synced-lyrics/parsers/lrc.test.ts
Normal file
@ -0,0 +1,144 @@
|
|||||||
|
import { test, expect } from '@playwright/test';
|
||||||
|
|
||||||
|
import { LRC } from './lrc';
|
||||||
|
|
||||||
|
test('empty string', () => {
|
||||||
|
const lrc = LRC.parse('');
|
||||||
|
expect(lrc).toStrictEqual({ lines: [], tags: [] });
|
||||||
|
});
|
||||||
|
|
||||||
|
test('chorus', () => {
|
||||||
|
const lrc = LRC.parse(`\
|
||||||
|
[00:12.00]Line 1 lyrics
|
||||||
|
[00:17.20]Line 2 lyrics
|
||||||
|
[00:21.10][00:45.10]Repeating lyrics (e.g. chorus)
|
||||||
|
[mm:ss.xx]Last lyrics line\
|
||||||
|
`);
|
||||||
|
|
||||||
|
expect(lrc).toStrictEqual({
|
||||||
|
lines: [
|
||||||
|
{ duration: 12000, text: '', words: [], time: '00:00:00', timeInMs: 0 },
|
||||||
|
{
|
||||||
|
duration: 5020,
|
||||||
|
text: 'Line 1 lyrics',
|
||||||
|
words: [],
|
||||||
|
time: '00:12:00',
|
||||||
|
timeInMs: 12000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
duration: 3990,
|
||||||
|
text: 'Line 2 lyrics',
|
||||||
|
words: [],
|
||||||
|
time: '00:17:20',
|
||||||
|
timeInMs: 17020,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
duration: 24000,
|
||||||
|
text: 'Repeating lyrics (e.g. chorus)',
|
||||||
|
words: [],
|
||||||
|
time: '00:21:10',
|
||||||
|
timeInMs: 21010,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
duration: Infinity,
|
||||||
|
text: 'Repeating lyrics (e.g. chorus)',
|
||||||
|
words: [],
|
||||||
|
time: '00:45:10',
|
||||||
|
timeInMs: 45010,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
tags: [],
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
test('attributes', () => {
|
||||||
|
const lrc = LRC.parse(
|
||||||
|
`[ar:Chubby Checker oppure Beatles, The]
|
||||||
|
[al:Hits Of The 60's - Vol. 2 – Oldies]
|
||||||
|
[ti:Let's Twist Again]
|
||||||
|
[au:Written by Kal Mann / Dave Appell, 1961]
|
||||||
|
[length: 2:23]
|
||||||
|
|
||||||
|
[00:12.00]Naku Penda Piya-Naku Taka Piya-Mpenziwe
|
||||||
|
[00:15.30]Some more lyrics ...`,
|
||||||
|
);
|
||||||
|
|
||||||
|
expect(lrc).toStrictEqual({
|
||||||
|
lines: [
|
||||||
|
{ duration: 12000, text: '', words: [], time: '00:00:00', timeInMs: 0 },
|
||||||
|
{
|
||||||
|
duration: 3030,
|
||||||
|
text: 'Naku Penda Piya-Naku Taka Piya-Mpenziwe',
|
||||||
|
words: [],
|
||||||
|
time: '00:12:00',
|
||||||
|
timeInMs: 12000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
duration: Infinity,
|
||||||
|
text: 'Some more lyrics ...',
|
||||||
|
words: [],
|
||||||
|
time: '00:15:30',
|
||||||
|
timeInMs: 15030,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
tags: [
|
||||||
|
{ tag: 'ar', value: 'Chubby Checker oppure Beatles, The' },
|
||||||
|
{ tag: 'al', value: "Hits Of The 60's - Vol. 2 – Oldies" },
|
||||||
|
{ tag: 'ti', value: "Let's Twist Again" },
|
||||||
|
{ tag: 'au', value: 'Written by Kal Mann / Dave Appell, 1961' },
|
||||||
|
{ tag: 'length', value: '2:23' },
|
||||||
|
],
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
test('karaoke', () => {
|
||||||
|
const lrc = LRC.parse(
|
||||||
|
'[00:00.00] <00:00.04> When <00:00.16> the <00:00.82> truth <00:01.29> is <00:01.63> found <00:03.09> to <00:03.37> be <00:05.92> lies',
|
||||||
|
);
|
||||||
|
|
||||||
|
expect(lrc).toStrictEqual({
|
||||||
|
lines: [
|
||||||
|
{
|
||||||
|
duration: Infinity,
|
||||||
|
text: 'When the truth is found to be lies',
|
||||||
|
time: '00:00:00',
|
||||||
|
timeInMs: 0,
|
||||||
|
words: [
|
||||||
|
{
|
||||||
|
timeInMs: 4,
|
||||||
|
word: 'When',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
timeInMs: 16,
|
||||||
|
word: 'the',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
timeInMs: 82,
|
||||||
|
word: 'truth',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
timeInMs: 1029,
|
||||||
|
word: 'is',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
timeInMs: 1063,
|
||||||
|
word: 'found',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
timeInMs: 3009,
|
||||||
|
word: 'to',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
timeInMs: 3037,
|
||||||
|
word: 'be',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
timeInMs: 5092,
|
||||||
|
word: 'lies',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
tags: [],
|
||||||
|
});
|
||||||
|
});
|
||||||
@ -8,6 +8,7 @@ interface LRCLine {
|
|||||||
timeInMs: number;
|
timeInMs: number;
|
||||||
duration: number;
|
duration: number;
|
||||||
text: string;
|
text: string;
|
||||||
|
words: { timeInMs: number; word: string }[];
|
||||||
}
|
}
|
||||||
|
|
||||||
interface LRC {
|
interface LRC {
|
||||||
@ -17,7 +18,10 @@ interface LRC {
|
|||||||
|
|
||||||
const tagRegex = /^\[(?<tag>\w+):\s*(?<value>.+?)\s*\]$/;
|
const tagRegex = /^\[(?<tag>\w+):\s*(?<value>.+?)\s*\]$/;
|
||||||
// prettier-ignore
|
// prettier-ignore
|
||||||
const lyricRegex = /^\[(?<minutes>\d+):(?<seconds>\d+)\.(?<milliseconds>\d+)\](?<text>.+)$/;
|
const timestampRegex = /^\[(?<minutes>\d+):(?<seconds>\d+)\.(?<milliseconds>\d+)\]/m;
|
||||||
|
|
||||||
|
// prettier-ignore
|
||||||
|
const wordRegex = /<(?<minutes>\d+):(?<seconds>\d+)\.(?<milliseconds>\d+)> *(?<word>\w+)/g;
|
||||||
|
|
||||||
export const LRC = {
|
export const LRC = {
|
||||||
parse: (text: string): LRC => {
|
parse: (text: string): LRC => {
|
||||||
@ -27,13 +31,29 @@ export const LRC = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
let offset = 0;
|
let offset = 0;
|
||||||
let previousLine: LRCLine | null = null;
|
|
||||||
|
|
||||||
for (const line of text.split('\n')) {
|
for (let line of text.split('\n')) {
|
||||||
if (!line.trim().startsWith('[')) continue;
|
line = line.trim();
|
||||||
|
if (!line.startsWith('[')) continue;
|
||||||
|
|
||||||
const lyric = line.match(lyricRegex)?.groups;
|
const timestamps = [];
|
||||||
if (!lyric) {
|
let match: Record<string, string> | undefined;
|
||||||
|
while ((match = line.match(timestampRegex)?.groups)) {
|
||||||
|
const { minutes, seconds, milliseconds } = match;
|
||||||
|
const timeInMs =
|
||||||
|
parseInt(minutes) * 60 * 1000 +
|
||||||
|
parseInt(seconds) * 1000 +
|
||||||
|
parseInt(milliseconds);
|
||||||
|
|
||||||
|
timestamps.push({
|
||||||
|
time: `${minutes}:${seconds}:${milliseconds}`,
|
||||||
|
timeInMs,
|
||||||
|
});
|
||||||
|
|
||||||
|
line = line.replace(timestampRegex, '');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!timestamps.length) {
|
||||||
const tag = line.match(tagRegex)?.groups;
|
const tag = line.match(tagRegex)?.groups;
|
||||||
if (tag) {
|
if (tag) {
|
||||||
if (tag.tag === 'offset') {
|
if (tag.tag === 'offset') {
|
||||||
@ -49,38 +69,52 @@ export const LRC = {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
const { minutes, seconds, milliseconds, text } = lyric;
|
let text = line.trim();
|
||||||
const timeInMs =
|
const words = Array.from(text.matchAll(wordRegex), ({ groups }) => {
|
||||||
parseInt(minutes) * 60 * 1000 +
|
const { minutes, seconds, milliseconds, word } = groups!;
|
||||||
parseInt(seconds) * 1000 +
|
const timeInMs =
|
||||||
parseInt(milliseconds);
|
parseInt(minutes) * 60 * 1000 +
|
||||||
|
parseInt(seconds) * 1000 +
|
||||||
|
parseInt(milliseconds);
|
||||||
|
|
||||||
const currentLine: LRCLine = {
|
return { timeInMs, word };
|
||||||
time: `${minutes}:${seconds}:${milliseconds}`,
|
});
|
||||||
timeInMs,
|
|
||||||
text: text.trim(),
|
|
||||||
duration: Infinity,
|
|
||||||
};
|
|
||||||
|
|
||||||
if (previousLine) {
|
if (words.length) {
|
||||||
previousLine.duration = timeInMs - previousLine.timeInMs;
|
text = words.map(({ word }) => word).join(' ');
|
||||||
}
|
}
|
||||||
|
|
||||||
previousLine = currentLine;
|
for (const { time, timeInMs } of timestamps) {
|
||||||
lrc.lines.push(currentLine);
|
lrc.lines.push({
|
||||||
|
time,
|
||||||
|
timeInMs,
|
||||||
|
text,
|
||||||
|
words,
|
||||||
|
duration: Infinity,
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const line of lrc.lines) {
|
lrc.lines.sort(({ timeInMs: timeA }, { timeInMs: timeB }) => timeA - timeB);
|
||||||
line.timeInMs += offset;
|
for (let i = 0; i < lrc.lines.length; i++) {
|
||||||
|
const current = lrc.lines[i];
|
||||||
|
const next = lrc.lines[i + 1];
|
||||||
|
|
||||||
|
current.timeInMs += offset;
|
||||||
|
|
||||||
|
if (next) {
|
||||||
|
current.duration = next.timeInMs - current.timeInMs;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const first = lrc.lines.at(0);
|
const first = lrc.lines.at(0);
|
||||||
if (first && first.timeInMs > 300) {
|
if (first && first.timeInMs > 300) {
|
||||||
lrc.lines.unshift({
|
lrc.lines.unshift({
|
||||||
time: '0:0:0',
|
time: '00:00:00',
|
||||||
timeInMs: 0,
|
timeInMs: 0,
|
||||||
duration: first.timeInMs,
|
duration: first.timeInMs,
|
||||||
text: '',
|
text: '',
|
||||||
|
words: [],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import path from 'node:path';
|
import path from 'node:path';
|
||||||
import process from 'node:process';
|
import process from 'node:process';
|
||||||
import { _electron as electron } from 'playwright';
|
|
||||||
import { test, expect } from '@playwright/test';
|
import { test, expect, _electron as electron } from '@playwright/test';
|
||||||
|
|
||||||
process.env.NODE_ENV = 'test';
|
process.env.NODE_ENV = 'test';
|
||||||
|
|
||||||
@ -32,7 +32,11 @@ test('Pear Desktop App - With default settings, app is launched and visible', as
|
|||||||
// expect(title.replaceAll(/\s/g, ' ')).toEqual('Pear Desktop');
|
// expect(title.replaceAll(/\s/g, ' ')).toEqual('Pear Desktop');
|
||||||
|
|
||||||
const url = window.url();
|
const url = window.url();
|
||||||
expect(url.startsWith('https://music.\u0079\u006f\u0075\u0074\u0075\u0062\u0065.com')).toBe(true);
|
expect(
|
||||||
|
url.startsWith(
|
||||||
|
'https://music.\u0079\u006f\u0075\u0074\u0075\u0062\u0065.com',
|
||||||
|
),
|
||||||
|
).toBe(true);
|
||||||
|
|
||||||
await app.close();
|
await app.close();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -25,7 +25,8 @@
|
|||||||
"exclude": ["./dist"],
|
"exclude": ["./dist"],
|
||||||
"include": [
|
"include": [
|
||||||
"electron.vite.config.mts",
|
"electron.vite.config.mts",
|
||||||
|
"playwright.config.ts",
|
||||||
"./src/**/*",
|
"./src/**/*",
|
||||||
"*.config.*js",
|
"*.config.*js"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
8
tsconfig.test.json
Normal file
8
tsconfig.test.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"extends": "./tsconfig.json",
|
||||||
|
"exclude": ["./dist"],
|
||||||
|
"include": [
|
||||||
|
"playwright.config.ts",
|
||||||
|
"./tests/**/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user