Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 95f395bd87 |
@@ -5,7 +5,6 @@
|
||||
*.jpeg binary
|
||||
*.ico binary
|
||||
*.icns binary
|
||||
*.webp binary
|
||||
*.eot binary
|
||||
*.otf binary
|
||||
*.ttf binary
|
||||
|
||||
@@ -4,24 +4,9 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- development
|
||||
paths:
|
||||
- 'src/**'
|
||||
|
||||
jobs:
|
||||
wait-for-lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Wait for Test workflow to complete
|
||||
uses: lewagon/wait-on-check-action@v1.4.1
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
check-name: 'lint'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
wait-interval: 10
|
||||
allowed-conclusions: success
|
||||
|
||||
publish:
|
||||
needs: wait-for-lint
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
|
||||
@@ -20,8 +20,6 @@ COPY --chown=nginx:nginx --from=builder /app/out/web /usr/share/nginx/html
|
||||
COPY ./settings.js.template /etc/nginx/templates/settings.js.template
|
||||
COPY ng.conf.template /etc/nginx/templates/default.conf.template
|
||||
|
||||
ENV SERVER_LOCK=false SERVER_NAME="" SERVER_TYPE="" SERVER_URL=""
|
||||
ENV LEGACY_AUTHENTICATION="" ANALYTICS_DISABLED="" PUBLIC_PATH="/"
|
||||
|
||||
ENV PUBLIC_PATH="/"
|
||||
EXPOSE 9180
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
@@ -43,7 +43,7 @@ Rewrite of [Sonixd](https://github.com/jeffvli/sonixd).
|
||||
|
||||
## Screenshots
|
||||
|
||||
<a href="./media/preview_full_screen_player.png"><img src="./media/preview_full_screen_player.png" width="49.5%"/></a> <a href="./media/preview_album_artist_detail.png"><img src="./media/preview_album_artist_detail.png" width="49.5%"/></a> <a href="./media/preview_album_detail.png"><img src="./media/preview_album_detail.png" width="49.5%"/></a> <a href="./media/preview_smart_playlist.png"><img src="./media/preview_smart_playlist.png" width="49.5%"/></a>
|
||||
<a href="https://raw.githubusercontent.com/jeffvli/feishin/development/media/preview_full_screen_player.png"><img src="https://raw.githubusercontent.com/jeffvli/feishin/development/media/preview_full_screen_player.png" width="49.5%"/></a> <a href="https://raw.githubusercontent.com/jeffvli/feishin/development/media/preview_album_artist_detail.png"><img src="https://raw.githubusercontent.com/jeffvli/feishin/development/media/preview_album_artist_detail.png" width="49.5%"/></a> <a href="https://raw.githubusercontent.com/jeffvli/feishin/development/media/preview_album_detail.png"><img src="https://raw.githubusercontent.com/jeffvli/feishin/development/media/preview_album_detail.png" width="49.5%"/></a> <a href="https://raw.githubusercontent.com/jeffvli/feishin/development/media/preview_smart_playlist.png"><img src="https://raw.githubusercontent.com/jeffvli/feishin/development/media/preview_smart_playlist.png" width="49.5%"/></a>
|
||||
|
||||
## Getting Started
|
||||
|
||||
@@ -62,21 +62,18 @@ For media keys to work, you will be prompted to allow Feishin to be a Trusted Ac
|
||||
We provide a small install script to download the latest `.AppImage`, make it executable, and also download the icons required by Desktop Environments. Finally, it generates a `.desktop` file to add Feishin to your Application Launcher.
|
||||
|
||||
Simply run the installer like this:
|
||||
|
||||
```sh
|
||||
dir=/your/application/directory
|
||||
curl 'https://raw.githubusercontent.com/jeffvli/feishin/refs/heads/development/install-feishin-appimage' | sh -s -- "$dir"
|
||||
```
|
||||
|
||||
The script also has an option to add launch arguments to run Feishin in native Wayland mode. Note that this is experimental in Electron and therefore not officially supported. If you want to use it, run this instead:
|
||||
|
||||
```sh
|
||||
dir=/your/application/directory
|
||||
curl 'https://raw.githubusercontent.com/jeffvli/feishin/refs/heads/development/install-feishin-appimage' | sh -s -- "$dir" wayland-native
|
||||
```
|
||||
|
||||
It also provides a simple uninstall routine, removing the downloaded files:
|
||||
|
||||
```sh
|
||||
dir=/your/application/directory
|
||||
curl 'https://raw.githubusercontent.com/jeffvli/feishin/refs/heads/development/install-feishin-appimage' | sh -s -- "$dir" remove
|
||||
@@ -108,17 +105,18 @@ services:
|
||||
feishin:
|
||||
container_name: feishin
|
||||
image: 'ghcr.io/jeffvli/feishin:latest'
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- SERVER_NAME=jellyfin # pre-defined server name
|
||||
- SERVER_NAME=jellyfin # pre defined server name
|
||||
- SERVER_LOCK=true # When true AND name/type/url are set, only username/password can be toggled
|
||||
- SERVER_TYPE=jellyfin # the allowed types are: jellyfin, navidrome, subsonic. These values are case insensitive
|
||||
- SERVER_URL= # http://address:port or https://address:port
|
||||
- LEGACY_AUTHENTICATION=false # When SERVER_LOCK is true, sets the legacy (plaintext) authentication flag for Subsonic/OpenSubsonic servers
|
||||
- ANALYTICS_DISABLED=true # Set to true to disable Umami analytics tracking
|
||||
- SERVER_TYPE=jellyfin # navidrome also works
|
||||
- SERVER_URL= # http://address:port
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- UMASK=002
|
||||
- TZ=America/Los_Angeles
|
||||
ports:
|
||||
- 9180:9180
|
||||
# Alternatively, to restrict to only localhost, - 127.0.0.1:9180:8190
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
### Configuration
|
||||
@@ -132,9 +130,7 @@ services:
|
||||
|
||||
3. _Optional_ - If you want to host Feishin on a subpath (not `/`), then pass in the following environment variable: `PUBLIC_PATH=PATH`. For example, to host on `/feishin`, pass in `PUBLIC_PATH=/feishin`.
|
||||
|
||||
4. _Optional_ - To hard code the server url, pass the following environment variables: `SERVER_NAME`, `SERVER_TYPE` (one of `jellyfin` or `navidrome` or `subsonic`), `SERVER_URL`. To prevent users from changing these settings, pass `SERVER_LOCK=true`. This can only be set if all three of the previous values are set. When `SERVER_LOCK=true`, you can also set `LEGACY_AUTHENTICATION=true` or `LEGACY_AUTHENTICATION=false` to configure the legacy authentication flag for the server (only applicable for Subsonic/OpenSubsonic servers).
|
||||
|
||||
5. _Optional_ - To disable Umami analytics tracking in the Docker/web version, set the environment variable `ANALYTICS_DISABLED=true`. When enabled, the analytics script will not be loaded and all tracking will be disabled.
|
||||
4. _Optional_ - To hard code the server url, pass the following environment variables: `SERVER_NAME`, `SERVER_TYPE` (one of `jellyfin` or `navidrome` or `subsonic`), `SERVER_URL`. To prevent users from changing these settings, pass `SERVER_LOCK=true`. This can only be set if all three of the previous values are set.
|
||||
|
||||
## FAQ
|
||||
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
version: '3.5'
|
||||
services:
|
||||
feishin:
|
||||
container_name: feishin
|
||||
image: "ghcr.io/jeffvli/feishin:latest"
|
||||
image: ghcr.io/jeffvli/feishin:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- SERVER_NAME=jellyfin # pre-defined server name
|
||||
- SERVER_LOCK=false # When true AND name/type/url are set, only username/password can be toggled
|
||||
- SERVER_TYPE=jellyfin # the allowed types are: jellyfin, navidrome, subsonic. These values are case insensitive
|
||||
- SERVER_URL=http://localhost:8096 # http://address:port or https://address:port
|
||||
- LEGACY_AUTHENTICATION=false # When SERVER_LOCK is true, sets the legacyauth flag for server authentication (true or false)
|
||||
- ANALYTICS_DISABLED=false # Set to true to disable Umami analytics tracking
|
||||
ports:
|
||||
- 9180:9180
|
||||
# Alternatively, to restrict to only localhost, - 127.0.0.1:9180:8190
|
||||
environment:
|
||||
- SERVER_NAME=jellyfin # pre defined server name
|
||||
- SERVER_LOCK=true # When true AND name/type/url are set, only username/password can be toggled
|
||||
- SERVER_TYPE=jellyfin # navidrome also works
|
||||
- SERVER_URL= # http://address:port
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
appId: org.jeffvli.feishin
|
||||
productName: Feishin
|
||||
artifactName: ${productName}-${version}-${os}-${arch}.${ext}
|
||||
electronVersion: 39.2.7
|
||||
electronVersion: 38.5.0
|
||||
directories:
|
||||
buildResources: assets
|
||||
files:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
appId: org.jeffvli.feishin
|
||||
productName: Feishin
|
||||
artifactName: ${productName}-${version}-${os}-${arch}.${ext}
|
||||
electronVersion: 39.2.7
|
||||
electronVersion: 38.5.0
|
||||
directories:
|
||||
buildResources: assets
|
||||
files:
|
||||
@@ -15,7 +15,7 @@ win:
|
||||
target:
|
||||
- zip
|
||||
- nsis
|
||||
icon: assets/icons/icon.ico
|
||||
icon: assets/icons/icon.png
|
||||
|
||||
nsis:
|
||||
allowToChangeInstallationDirectory: true
|
||||
|
||||
@@ -6,7 +6,6 @@ import dynamicImportPlugin from 'vite-plugin-dynamic-import';
|
||||
import { ViteEjsPlugin } from 'vite-plugin-ejs';
|
||||
|
||||
const currentOSEnv = process.platform;
|
||||
const electronRendererTarget = 'chrome87';
|
||||
|
||||
const config: UserConfig = {
|
||||
main: {
|
||||
@@ -37,9 +36,6 @@ const config: UserConfig = {
|
||||
},
|
||||
},
|
||||
preload: {
|
||||
build: {
|
||||
sourcemap: true,
|
||||
},
|
||||
plugins: [externalizeDepsPlugin()],
|
||||
resolve: {
|
||||
alias: {
|
||||
@@ -52,11 +48,7 @@ const config: UserConfig = {
|
||||
build: {
|
||||
cssMinify: 'esbuild',
|
||||
minify: 'esbuild',
|
||||
modulePreload: {
|
||||
polyfill: false,
|
||||
},
|
||||
sourcemap: true,
|
||||
target: electronRendererTarget,
|
||||
},
|
||||
css: {
|
||||
modules: {
|
||||
|
||||
|
Before Width: | Height: | Size: 733 KiB After Width: | Height: | Size: 644 KiB |
|
Before Width: | Height: | Size: 371 KiB After Width: | Height: | Size: 186 KiB |
|
Before Width: | Height: | Size: 869 KiB After Width: | Height: | Size: 465 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 990 KiB After Width: | Height: | Size: 887 KiB |
|
Before Width: | Height: | Size: 356 KiB After Width: | Height: | Size: 396 KiB |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "feishin",
|
||||
"version": "1.3.0",
|
||||
"version": "0.22.0",
|
||||
"description": "A modern self-hosted music player.",
|
||||
"keywords": [
|
||||
"subsonic",
|
||||
@@ -82,8 +82,6 @@
|
||||
"@xhayper/discord-rpc": "^1.3.0",
|
||||
"audiomotion-analyzer": "^4.5.1",
|
||||
"axios": "^1.13.2",
|
||||
"butterchurn": "^3.0.0-beta.5",
|
||||
"butterchurn-presets": "^3.0.0-beta.4",
|
||||
"cheerio": "^1.1.2",
|
||||
"clsx": "^2.1.1",
|
||||
"cmdk": "^1.1.1",
|
||||
@@ -112,7 +110,7 @@
|
||||
"nuqs": "^2.7.1",
|
||||
"overlayscrollbars": "^2.11.1",
|
||||
"overlayscrollbars-react": "^0.5.6",
|
||||
"qs": "^6.14.1",
|
||||
"qs": "^6.14.0",
|
||||
"react": "^19.1.0",
|
||||
"react-call": "^1.8.1",
|
||||
"react-dom": "^19.1.0",
|
||||
@@ -123,7 +121,6 @@
|
||||
"react-loading-skeleton": "^3.5.0",
|
||||
"react-player": "^2.16.0",
|
||||
"react-router": "^7.9.6",
|
||||
"react-split-pane": "^3.0.4",
|
||||
"react-virtualized-auto-sizer": "^1.0.26",
|
||||
"react-window": "1.8.11",
|
||||
"react-window-v2": "npm:react-window@^2.2.3",
|
||||
@@ -150,7 +147,7 @@
|
||||
"@vitejs/plugin-react": "^5.1.1",
|
||||
"concurrently": "^9.2.1",
|
||||
"cross-env": "^10.1.0",
|
||||
"electron": "^39.2.7",
|
||||
"electron": "^38.5.0",
|
||||
"electron-builder": "^26.0.12",
|
||||
"electron-devtools-installer": "^4.0.0",
|
||||
"electron-vite": "^4.0.1",
|
||||
|
||||
@@ -19,10 +19,10 @@ importers:
|
||||
version: 1.1.0
|
||||
'@electron-toolkit/preload':
|
||||
specifier: ^3.0.1
|
||||
version: 3.0.2(electron@39.2.7)
|
||||
version: 3.0.2(electron@38.5.0)
|
||||
'@electron-toolkit/utils':
|
||||
specifier: ^4.0.0
|
||||
version: 4.0.0(electron@39.2.7)
|
||||
version: 4.0.0(electron@38.5.0)
|
||||
'@mantine/colors-generator':
|
||||
specifier: ^8.3.8
|
||||
version: 8.3.8(chroma-js@3.1.2)
|
||||
@@ -71,12 +71,6 @@ importers:
|
||||
axios:
|
||||
specifier: ^1.13.2
|
||||
version: 1.13.2
|
||||
butterchurn:
|
||||
specifier: ^3.0.0-beta.5
|
||||
version: 3.0.0-beta.5
|
||||
butterchurn-presets:
|
||||
specifier: ^3.0.0-beta.4
|
||||
version: 3.0.0-beta.4
|
||||
cheerio:
|
||||
specifier: ^1.1.2
|
||||
version: 1.1.2
|
||||
@@ -162,8 +156,8 @@ importers:
|
||||
specifier: ^0.5.6
|
||||
version: 0.5.6(overlayscrollbars@2.11.3)(react@19.1.0)
|
||||
qs:
|
||||
specifier: ^6.14.1
|
||||
version: 6.14.1
|
||||
specifier: ^6.14.0
|
||||
version: 6.14.0
|
||||
react:
|
||||
specifier: ^19.1.0
|
||||
version: 19.1.0
|
||||
@@ -194,9 +188,6 @@ importers:
|
||||
react-router:
|
||||
specifier: ^7.9.6
|
||||
version: 7.9.6(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
|
||||
react-split-pane:
|
||||
specifier: ^3.0.4
|
||||
version: 3.0.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
|
||||
react-virtualized-auto-sizer:
|
||||
specifier: ^1.0.26
|
||||
version: 1.0.26(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
|
||||
@@ -271,8 +262,8 @@ importers:
|
||||
specifier: ^10.1.0
|
||||
version: 10.1.0
|
||||
electron:
|
||||
specifier: ^39.2.7
|
||||
version: 39.2.7
|
||||
specifier: ^38.5.0
|
||||
version: 38.5.0
|
||||
electron-builder:
|
||||
specifier: ^26.0.12
|
||||
version: 26.0.12(electron-builder-squirrel-windows@26.0.12)
|
||||
@@ -361,9 +352,6 @@ packages:
|
||||
peerDependencies:
|
||||
ajv: '>=8'
|
||||
|
||||
'@assemblyscript/loader@0.17.14':
|
||||
resolution: {integrity: sha512-+PVTOfla/0XMLRTQLJFPg4u40XcdTfon6GGea70hBGi8Pd7ZymIXyVUR+vK8wt5Jb4MVKTKPIz43Myyebw5mZA==}
|
||||
|
||||
'@atlaskit/pragmatic-drag-and-drop-auto-scroll@2.1.2':
|
||||
resolution: {integrity: sha512-6BgAUxSNbQFiG3uqNxf53cDQADn5mSeh/JsQzCHo46GPQnVWIJk77zWC8yZ++0Mfg1ECy02zNrbniF7SgHAhXQ==}
|
||||
|
||||
@@ -892,8 +880,8 @@ packages:
|
||||
resolution: {integrity: sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
||||
'@bufbuild/protobuf@2.10.2':
|
||||
resolution: {integrity: sha512-uFsRXwIGyu+r6AMdz+XijIIZJYpoWeYzILt5yZ2d3mCjQrWUTVpVD9WL/jZAbvp+Ed04rOhrsk7FiTcEDseB5A==}
|
||||
'@bufbuild/protobuf@2.10.1':
|
||||
resolution: {integrity: sha512-ckS3+vyJb5qGpEYv/s1OebUHDi/xSNtfgw1wqKZo7MR9F2z+qXr0q5XagafAG/9O0QPVIUfST0smluYSTpYFkg==}
|
||||
|
||||
'@cacheable/memoize@2.0.3':
|
||||
resolution: {integrity: sha512-hl9wfQgpiydhQEIv7fkjEzTGE+tcosCXLKFDO707wYJ/78FVOlowb36djex5GdbSyeHnG62pomYLMuV/OT8Pbw==}
|
||||
@@ -2291,8 +2279,8 @@ packages:
|
||||
resolution: {integrity: sha512-JMWsdF+O8Orq3EMukbUN1QfbLK9mX2CkUmQBcW2T0s8OmdAUL5LLM/6wFwSrqXzlXB13yhyK9gTKS1rIizOduQ==}
|
||||
hasBin: true
|
||||
|
||||
baseline-browser-mapping@2.9.11:
|
||||
resolution: {integrity: sha512-Sg0xJUNDU1sJNGdfGWhVHX0kkZ+HWcvmVymJbj6NSgZZmW/8S9Y2HQ5euytnIgakgxN6papOAWiwDo1ctFDcoQ==}
|
||||
baseline-browser-mapping@2.8.32:
|
||||
resolution: {integrity: sha512-OPz5aBThlyLFgxyhdwf/s2+8ab3OvT7AdTNvKHBwpXomIYeXqpUUuT8LrdtxZSsWJ4R4CU1un4XGh5Ez3nlTpw==}
|
||||
hasBin: true
|
||||
|
||||
bind-event-listener@3.0.0:
|
||||
@@ -2344,8 +2332,8 @@ packages:
|
||||
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
|
||||
hasBin: true
|
||||
|
||||
browserslist@4.28.1:
|
||||
resolution: {integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==}
|
||||
browserslist@4.28.0:
|
||||
resolution: {integrity: sha512-tbydkR/CxfMwelN0vwdP/pLkDwyAASZ+VfWm4EOwlB6SWhx1sYnWLqo8N5j0rAzPfzfRaxt0mM/4wPU/Su84RQ==}
|
||||
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
|
||||
hasBin: true
|
||||
|
||||
@@ -2371,12 +2359,6 @@ packages:
|
||||
builder-util@26.0.11:
|
||||
resolution: {integrity: sha512-xNjXfsldUEe153h1DraD0XvDOpqGR0L5eKFkdReB7eFW5HqysDZFfly4rckda6y9dF39N3pkPlOblcfHKGw+uA==}
|
||||
|
||||
butterchurn-presets@3.0.0-beta.4:
|
||||
resolution: {integrity: sha512-TbQLUPvGOYMZAtWKoCmBtludh9aQZ6NaMGQU4lvPeadBPy3Du3yNmwBjlTMLP5c5mRWElxQPjTL1PtR7FZK3OQ==}
|
||||
|
||||
butterchurn@3.0.0-beta.5:
|
||||
resolution: {integrity: sha512-BStK4OAbBb9Pvt8PuQlS4WVmYBwU1KuDMRHF1V89QjoIFauAqq7tpV4EpYXj7K563r5daLrMX+2y5DBhZZ9Xig==}
|
||||
|
||||
cac@6.7.14:
|
||||
resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==}
|
||||
engines: {node: '>=8'}
|
||||
@@ -2419,8 +2401,8 @@ packages:
|
||||
caniuse-lite@1.0.30001751:
|
||||
resolution: {integrity: sha512-A0QJhug0Ly64Ii3eIqHu5X51ebln3k4yTUkY1j8drqpWHVreg/VLijN48cZ1bYPiqOQuqpkIKnzr/Ul8V+p6Cw==}
|
||||
|
||||
caniuse-lite@1.0.30001762:
|
||||
resolution: {integrity: sha512-PxZwGNvH7Ak8WX5iXzoK1KPZttBXNPuaOvI2ZYU7NrlM+d9Ov+TUvlLOBNGzVXAntMSMMlJPd+jY6ovrVjSmUw==}
|
||||
caniuse-lite@1.0.30001757:
|
||||
resolution: {integrity: sha512-r0nnL/I28Zi/yjk1el6ilj27tKcdjLsNqAOZr0yVjWPrSQyHgKI2INaEWw21bAQSv2LXRt1XuCS/GomNpWOxsQ==}
|
||||
|
||||
chalk@4.1.2:
|
||||
resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
|
||||
@@ -2797,12 +2779,6 @@ packages:
|
||||
eastasianwidth@0.2.0:
|
||||
resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
|
||||
|
||||
ecma-proposal-math-extensions@0.0.2:
|
||||
resolution: {integrity: sha512-80BnDp2Fn7RxXlEr5HHZblniY4aQ97MOAicdWWpSo0vkQiISSE9wLR4SqxKsu4gCtXFBIPPzy8JMhay4NWRg/Q==}
|
||||
|
||||
eel-wasm@0.0.16:
|
||||
resolution: {integrity: sha512-1tkId7I7E1Vs4fXTRsH83Sjn2S/AbzrVQKLBRGys6NLc3eVH4NBffJsdEeLHOWWUgQpVXBEP3CV/srUZNIuBnw==}
|
||||
|
||||
ejs@3.1.10:
|
||||
resolution: {integrity: sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
@@ -2844,8 +2820,8 @@ packages:
|
||||
electron-to-chromium@1.5.242:
|
||||
resolution: {integrity: sha512-msZ7SYGFpXkm/iUizlMrm/FPNeYo8uSltQccLVFO3fV4RN2JWGdG7Aatztxtw3uDWp3DkupfkrosLjUnhY+iOw==}
|
||||
|
||||
electron-to-chromium@1.5.267:
|
||||
resolution: {integrity: sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==}
|
||||
electron-to-chromium@1.5.262:
|
||||
resolution: {integrity: sha512-NlAsMteRHek05jRUxUR0a5jpjYq9ykk6+kO0yRaMi5moe7u0fVIOeQ3Y30A8dIiWFBNUoQGi1ljb1i5VtS9WQQ==}
|
||||
|
||||
electron-updater@6.6.2:
|
||||
resolution: {integrity: sha512-Cr4GDOkbAUqRHP5/oeOmH/L2Bn6+FQPxVLZtPbcmKZC63a1F3uu5EefYOssgZXG3u/zBlubbJ5PJdITdMVggbw==}
|
||||
@@ -2865,8 +2841,8 @@ packages:
|
||||
resolution: {integrity: sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==}
|
||||
engines: {node: '>=8.0.0'}
|
||||
|
||||
electron@39.2.7:
|
||||
resolution: {integrity: sha512-KU0uFS6LSTh4aOIC3miolcbizOFP7N1M46VTYVfqIgFiuA2ilfNaOHLDS9tCMvwwHRowAsvqBrh9NgMXcTOHCQ==}
|
||||
electron@38.5.0:
|
||||
resolution: {integrity: sha512-dbC7V+eZweerYMJfxQldzHOg37a1VdNMCKxrJxlkp3cA30gOXtXSg4ZYs07L5+QwI19WOy1uyvtEUgbw1RRsCQ==}
|
||||
engines: {node: '>= 12.20.55'}
|
||||
hasBin: true
|
||||
|
||||
@@ -3202,10 +3178,6 @@ packages:
|
||||
resolution: {integrity: sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==}
|
||||
engines: {node: '>=14.14'}
|
||||
|
||||
fs-extra@11.3.3:
|
||||
resolution: {integrity: sha512-VWSRii4t0AFm6ixFFmLLx1t7wS1gh+ckoa84aOeapGum0h+EZd1EhEumSB+ZdDLnEPuucsVB9oB7cxJHap6Afg==}
|
||||
engines: {node: '>=14.14'}
|
||||
|
||||
fs-extra@7.0.1:
|
||||
resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==}
|
||||
engines: {node: '>=6 <7 || >=8'}
|
||||
@@ -4503,8 +4475,8 @@ packages:
|
||||
resolution: {integrity: sha512-7gJ6mxcQb9vUBOtbKm5mDevbe2uRcOEVp1g4gb/Q+oLntB3HY8eBhOYRxFI2mlDFlY1e4DOSCptzxarXRvzxCA==}
|
||||
engines: {node: '>=20'}
|
||||
|
||||
qs@6.14.1:
|
||||
resolution: {integrity: sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==}
|
||||
qs@6.14.0:
|
||||
resolution: {integrity: sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==}
|
||||
engines: {node: '>=0.6'}
|
||||
|
||||
queue-microtask@1.2.3:
|
||||
@@ -4649,13 +4621,6 @@ packages:
|
||||
react-dom:
|
||||
optional: true
|
||||
|
||||
react-split-pane@3.0.4:
|
||||
resolution: {integrity: sha512-+QNayN8lsYhT87z0bH5yAuUocoqHlc3AQnw/+pGXMH2kG2+mSfNAR4fHhEdmweHLFjIyX811hh9sgCkiHXCYag==}
|
||||
engines: {node: '>=20.0.0'}
|
||||
peerDependencies:
|
||||
react: ^17.0.0 || ^18.0.0 || ^19.0.0
|
||||
react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0
|
||||
|
||||
react-style-singleton@2.2.3:
|
||||
resolution: {integrity: sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==}
|
||||
engines: {node: '>=10'}
|
||||
@@ -5513,12 +5478,6 @@ packages:
|
||||
peerDependencies:
|
||||
browserslist: '>= 4.21.0'
|
||||
|
||||
update-browserslist-db@1.2.3:
|
||||
resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
browserslist: '>= 4.21.0'
|
||||
|
||||
uri-js@4.4.1:
|
||||
resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
|
||||
|
||||
@@ -5690,7 +5649,6 @@ packages:
|
||||
whatwg-encoding@3.1.1:
|
||||
resolution: {integrity: sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==}
|
||||
engines: {node: '>=18'}
|
||||
deprecated: Use @exodus/bytes instead for a more spec-conformant and faster implementation
|
||||
|
||||
whatwg-mimetype@4.0.0:
|
||||
resolution: {integrity: sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==}
|
||||
@@ -5908,8 +5866,6 @@ snapshots:
|
||||
jsonpointer: 5.0.1
|
||||
leven: 3.1.0
|
||||
|
||||
'@assemblyscript/loader@0.17.14': {}
|
||||
|
||||
'@atlaskit/pragmatic-drag-and-drop-auto-scroll@2.1.2':
|
||||
dependencies:
|
||||
'@atlaskit/pragmatic-drag-and-drop': 1.7.7
|
||||
@@ -6626,7 +6582,7 @@ snapshots:
|
||||
'@babel/helper-string-parser': 7.27.1
|
||||
'@babel/helper-validator-identifier': 7.28.5
|
||||
|
||||
'@bufbuild/protobuf@2.10.2':
|
||||
'@bufbuild/protobuf@2.10.1':
|
||||
optional: true
|
||||
|
||||
'@cacheable/memoize@2.0.3':
|
||||
@@ -6702,17 +6658,17 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@electron-toolkit/preload@3.0.2(electron@39.2.7)':
|
||||
'@electron-toolkit/preload@3.0.2(electron@38.5.0)':
|
||||
dependencies:
|
||||
electron: 39.2.7
|
||||
electron: 38.5.0
|
||||
|
||||
'@electron-toolkit/tsconfig@2.0.0(@types/node@24.10.1)':
|
||||
dependencies:
|
||||
'@types/node': 24.10.1
|
||||
|
||||
'@electron-toolkit/utils@4.0.0(electron@39.2.7)':
|
||||
'@electron-toolkit/utils@4.0.0(electron@38.5.0)':
|
||||
dependencies:
|
||||
electron: 39.2.7
|
||||
electron: 38.5.0
|
||||
|
||||
'@electron/asar@3.2.18':
|
||||
dependencies:
|
||||
@@ -6817,7 +6773,7 @@ snapshots:
|
||||
dependencies:
|
||||
cross-dirname: 0.1.0
|
||||
debug: 4.4.3
|
||||
fs-extra: 11.3.3
|
||||
fs-extra: 11.3.2
|
||||
minimist: 1.2.8
|
||||
postject: 1.0.0-alpha.6
|
||||
transitivePeerDependencies:
|
||||
@@ -7621,7 +7577,7 @@ snapshots:
|
||||
|
||||
'@types/electron-localshortcut@3.1.3':
|
||||
dependencies:
|
||||
electron: 39.2.7
|
||||
electron: 38.5.0
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
@@ -8053,7 +8009,7 @@ snapshots:
|
||||
|
||||
baseline-browser-mapping@2.8.20: {}
|
||||
|
||||
baseline-browser-mapping@2.9.11: {}
|
||||
baseline-browser-mapping@2.8.32: {}
|
||||
|
||||
bind-event-listener@3.0.0: {}
|
||||
|
||||
@@ -8124,13 +8080,13 @@ snapshots:
|
||||
node-releases: 2.0.26
|
||||
update-browserslist-db: 1.1.4(browserslist@4.27.0)
|
||||
|
||||
browserslist@4.28.1:
|
||||
browserslist@4.28.0:
|
||||
dependencies:
|
||||
baseline-browser-mapping: 2.9.11
|
||||
caniuse-lite: 1.0.30001762
|
||||
electron-to-chromium: 1.5.267
|
||||
baseline-browser-mapping: 2.8.32
|
||||
caniuse-lite: 1.0.30001757
|
||||
electron-to-chromium: 1.5.262
|
||||
node-releases: 2.0.27
|
||||
update-browserslist-db: 1.2.3(browserslist@4.28.1)
|
||||
update-browserslist-db: 1.1.4(browserslist@4.28.0)
|
||||
|
||||
buffer-builder@0.2.0:
|
||||
optional: true
|
||||
@@ -8178,16 +8134,6 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
butterchurn-presets@3.0.0-beta.4:
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.4
|
||||
|
||||
butterchurn@3.0.0-beta.5:
|
||||
dependencies:
|
||||
'@assemblyscript/loader': 0.17.14
|
||||
ecma-proposal-math-extensions: 0.0.2
|
||||
eel-wasm: 0.0.16
|
||||
|
||||
cac@6.7.14: {}
|
||||
|
||||
cacache@16.1.3:
|
||||
@@ -8257,7 +8203,7 @@ snapshots:
|
||||
|
||||
caniuse-lite@1.0.30001751: {}
|
||||
|
||||
caniuse-lite@1.0.30001762: {}
|
||||
caniuse-lite@1.0.30001757: {}
|
||||
|
||||
chalk@4.1.2:
|
||||
dependencies:
|
||||
@@ -8413,7 +8359,7 @@ snapshots:
|
||||
|
||||
core-js-compat@3.47.0:
|
||||
dependencies:
|
||||
browserslist: 4.28.1
|
||||
browserslist: 4.28.0
|
||||
|
||||
core-util-is@1.0.2:
|
||||
optional: true
|
||||
@@ -8658,10 +8604,6 @@ snapshots:
|
||||
|
||||
eastasianwidth@0.2.0: {}
|
||||
|
||||
ecma-proposal-math-extensions@0.0.2: {}
|
||||
|
||||
eel-wasm@0.0.16: {}
|
||||
|
||||
ejs@3.1.10:
|
||||
dependencies:
|
||||
jake: 10.9.2
|
||||
@@ -8739,7 +8681,7 @@ snapshots:
|
||||
|
||||
electron-to-chromium@1.5.242: {}
|
||||
|
||||
electron-to-chromium@1.5.267: {}
|
||||
electron-to-chromium@1.5.262: {}
|
||||
|
||||
electron-updater@6.6.2:
|
||||
dependencies:
|
||||
@@ -8778,7 +8720,7 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
electron@39.2.7:
|
||||
electron@38.5.0:
|
||||
dependencies:
|
||||
'@electron/get': 2.0.3
|
||||
'@types/node': 22.15.32
|
||||
@@ -9239,13 +9181,6 @@ snapshots:
|
||||
jsonfile: 6.2.0
|
||||
universalify: 2.0.1
|
||||
|
||||
fs-extra@11.3.3:
|
||||
dependencies:
|
||||
graceful-fs: 4.2.11
|
||||
jsonfile: 6.2.0
|
||||
universalify: 2.0.1
|
||||
optional: true
|
||||
|
||||
fs-extra@7.0.1:
|
||||
dependencies:
|
||||
graceful-fs: 4.2.11
|
||||
@@ -9591,7 +9526,7 @@ snapshots:
|
||||
|
||||
i18next@24.2.3(typescript@5.8.3):
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.4
|
||||
'@babel/runtime': 7.27.1
|
||||
optionalDependencies:
|
||||
typescript: 5.8.3
|
||||
|
||||
@@ -10520,7 +10455,7 @@ snapshots:
|
||||
dependencies:
|
||||
hookified: 1.13.0
|
||||
|
||||
qs@6.14.1:
|
||||
qs@6.14.0:
|
||||
dependencies:
|
||||
side-channel: 1.1.0
|
||||
|
||||
@@ -10653,11 +10588,6 @@ snapshots:
|
||||
optionalDependencies:
|
||||
react-dom: 19.1.0(react@19.1.0)
|
||||
|
||||
react-split-pane@3.0.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0):
|
||||
dependencies:
|
||||
react: 19.1.0
|
||||
react-dom: 19.1.0(react@19.1.0)
|
||||
|
||||
react-style-singleton@2.2.3(@types/react@19.2.5)(react@19.1.0):
|
||||
dependencies:
|
||||
get-nonce: 1.0.1
|
||||
@@ -10668,7 +10598,7 @@ snapshots:
|
||||
|
||||
react-textarea-autosize@8.5.9(@types/react@19.2.5)(react@19.1.0):
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.4
|
||||
'@babel/runtime': 7.27.1
|
||||
react: 19.1.0
|
||||
use-composed-ref: 1.4.0(@types/react@19.2.5)(react@19.1.0)
|
||||
use-latest: 1.3.0(@types/react@19.2.5)(react@19.1.0)
|
||||
@@ -10677,7 +10607,7 @@ snapshots:
|
||||
|
||||
react-transition-group@4.4.5(react-dom@19.1.0(react@19.1.0))(react@19.1.0):
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.4
|
||||
'@babel/runtime': 7.27.1
|
||||
dom-helpers: 5.2.1
|
||||
loose-envify: 1.4.0
|
||||
prop-types: 15.8.1
|
||||
@@ -10972,7 +10902,7 @@ snapshots:
|
||||
|
||||
sass-embedded@1.89.0:
|
||||
dependencies:
|
||||
'@bufbuild/protobuf': 2.10.2
|
||||
'@bufbuild/protobuf': 2.10.1
|
||||
buffer-builder: 0.2.0
|
||||
colorjs.io: 0.5.2
|
||||
immutable: 5.1.4
|
||||
@@ -11629,9 +11559,9 @@ snapshots:
|
||||
escalade: 3.2.0
|
||||
picocolors: 1.1.1
|
||||
|
||||
update-browserslist-db@1.2.3(browserslist@4.28.1):
|
||||
update-browserslist-db@1.1.4(browserslist@4.28.0):
|
||||
dependencies:
|
||||
browserslist: 4.28.1
|
||||
browserslist: 4.28.0
|
||||
escalade: 3.2.0
|
||||
picocolors: 1.1.1
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@ export default defineConfig({
|
||||
assetFileNames: '[name].[ext]',
|
||||
chunkFileNames: '[name].js',
|
||||
entryFileNames: '[name].js',
|
||||
sourcemapExcludeSources: false,
|
||||
},
|
||||
},
|
||||
sourcemap: true,
|
||||
|
||||
@@ -1 +1 @@
|
||||
"use strict";window.SERVER_URL="${SERVER_URL}";window.SERVER_NAME="${SERVER_NAME}";window.SERVER_TYPE="${SERVER_TYPE}";window.SERVER_LOCK="${SERVER_LOCK}";window.LEGACY_AUTHENTICATION="${LEGACY_AUTHENTICATION}";window.ANALYTICS_DISABLED="${ANALYTICS_DISABLED}";
|
||||
"use strict";window.SERVER_URL="${SERVER_URL}";window.SERVER_NAME="${SERVER_NAME}";window.SERVER_TYPE="${SERVER_TYPE}";window.SERVER_LOCK=${SERVER_LOCK};
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
"tracks": "$t(entity.track_other)",
|
||||
"nowPlaying": "ara sona",
|
||||
"shared": "$t(entity.playlist_other) compartida",
|
||||
"favorites": "$t(entity.favorite_other)",
|
||||
"radio": "$t(entity.radioStation_other)"
|
||||
"favorites": "$t(entity.favorite_other)"
|
||||
},
|
||||
"albumArtistDetail": {
|
||||
"relatedArtists": "$t(entity.artist_other) similars",
|
||||
@@ -26,9 +25,7 @@
|
||||
"viewDiscography": "Mosta la discografia",
|
||||
"topSongs": "millors cançons",
|
||||
"topSongsFrom": "les millors cançons de {{title}}",
|
||||
"viewAll": "mostra-ho tot",
|
||||
"groupingTypeAll": "tots els tipus de llançaments",
|
||||
"groupingTypePrimary": "tipus principals de llançament"
|
||||
"viewAll": "mostra-ho tot"
|
||||
},
|
||||
"albumArtistList": {
|
||||
"title": "$t(entity.albumArtist_other)"
|
||||
@@ -164,8 +161,7 @@
|
||||
"transcoding": "transcodificació",
|
||||
"discord": "discord",
|
||||
"logger": "registres",
|
||||
"playerFilters": "filtres de reproducció",
|
||||
"lyricsDisplay": "mostra la lletra"
|
||||
"playerFilters": "filtres de reproducció"
|
||||
},
|
||||
"globalSearch": {
|
||||
"commands": {
|
||||
@@ -188,9 +184,6 @@
|
||||
},
|
||||
"folderList": {
|
||||
"title": "$t(entity.folder_other)"
|
||||
},
|
||||
"radioList": {
|
||||
"title": "emissores de ràdio"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
@@ -308,13 +301,7 @@
|
||||
"sort": "ordre",
|
||||
"gridRows": "files de la quadrícula",
|
||||
"tableColumns": "columnes de la taula",
|
||||
"itemsMore": "{{count}} més",
|
||||
"countSelected": "{{count}} seleccionats",
|
||||
"retry": "reintenta",
|
||||
"example": "exemple",
|
||||
"mood": "estat d'ànim",
|
||||
"filter_single": "senzill",
|
||||
"filter_multiple": "multi"
|
||||
"itemsMore": "{{count}} més"
|
||||
},
|
||||
"entity": {
|
||||
"album_one": "àlbum",
|
||||
@@ -368,13 +355,7 @@
|
||||
"song_other": "cançons",
|
||||
"favorite_one": "preferit",
|
||||
"favorite_many": "preferits",
|
||||
"favorite_other": "preferits",
|
||||
"radioStation_one": "emissora de ràdio",
|
||||
"radioStation_many": "emissores de ràdio",
|
||||
"radioStation_other": "emissores de ràdio",
|
||||
"radioStationWithCount_one": "{{count}} emissora de ràdio",
|
||||
"radioStationWithCount_many": "{{count}} emissores de ràdio",
|
||||
"radioStationWithCount_other": "{{count}} emissores de ràdio"
|
||||
"favorite_other": "preferits"
|
||||
},
|
||||
"form": {
|
||||
"addToPlaylist": {
|
||||
@@ -422,10 +403,7 @@
|
||||
"success": "servidor afegit correctament",
|
||||
"title": "afegeix un servidor",
|
||||
"input_preferInstantMix": "prefereix el mix instantani",
|
||||
"input_preferInstantMixDescription": "utilitza només el mix instantani per obtenir cançons similars. útil si teniu complements que modifiquin aquest comportament",
|
||||
"input_preferRemoteUrl": "prefereix l'url públic",
|
||||
"input_remoteUrl": "url públic",
|
||||
"input_remoteUrlPlaceholder": "opcional: url públic per característiques externes"
|
||||
"input_preferInstantMixDescription": "utilitza només el mix instantani per obtenir cançons similars. útil si teniu complements que modifiquin aquest comportament"
|
||||
},
|
||||
"shareItem": {
|
||||
"description": "descripció",
|
||||
@@ -467,21 +445,6 @@
|
||||
"input_played_optionAll": "totes les pistes",
|
||||
"input_played_optionUnplayed": "només les pistes sense reproduir",
|
||||
"input_played_optionPlayed": "només les pistes reproduïdes"
|
||||
},
|
||||
"createRadioStation": {
|
||||
"success": "emissora de ràdio creada amb èxit",
|
||||
"title": "crea una emissora de ràdio",
|
||||
"input_homepageUrl": "URL de la pàgina d'inici",
|
||||
"input_name": "nom",
|
||||
"input_streamUrl": "URL de transmissió"
|
||||
},
|
||||
"saveQueue": {
|
||||
"success": "cua de reproducció desada al servidor"
|
||||
},
|
||||
"lyricsExport": {
|
||||
"export": "exporta la lletra",
|
||||
"input_synced": "exporta la lletra sincronitzada",
|
||||
"input_offset": "$t(setting.lyricOffset)"
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
@@ -516,13 +479,7 @@
|
||||
"shuffle": "mescla",
|
||||
"shuffleAll": "mescla-ho tot",
|
||||
"shuffleSelected": "mescla els seleccionats",
|
||||
"viewMore": "mostra'n més",
|
||||
"createRadioStation": "crea $t(entity.radioStation_one)",
|
||||
"deleteRadioStation": "elimina $t(entity.radioStation_one)",
|
||||
"addOrRemoveFromSelection": "afegeix o elimina de la selecció",
|
||||
"selectRangeOfItems": "selecciona un interval d'elements",
|
||||
"selectAll": "selecciona-ho tot",
|
||||
"openApplicationDirectory": "obre el directori de l'aplicació"
|
||||
"viewMore": "mostra'n més"
|
||||
},
|
||||
"setting": {
|
||||
"language_description": "estableix l'idioma de l'aplicació ($t(common.restartRequired))",
|
||||
@@ -686,6 +643,8 @@
|
||||
"playbackStyle_optionNormal": "normal",
|
||||
"playButtonBehavior": "comportament del botó de reproducció",
|
||||
"playButtonBehavior_description": "estableix el comportament predeterminat del botó de reproducció quan s'afegeixen cançons a la cua",
|
||||
"playerAlbumArtResolution": "resolució de la caràtula de l'àlbum al reproductor",
|
||||
"playerAlbumArtResolution_description": "la resolució de la previsualització gran de la caràtula al reproductor. si és més alta, serà més nítida, però es carregarà més lent. el valor predeterminat 0 vol dir automàtic",
|
||||
"playerbarOpenDrawer": "activa el reproductor en pantalla completa",
|
||||
"playerbarOpenDrawer_description": "permet fer clic a la barra de reproducció per obrir el reproductor de pantalla completa",
|
||||
"remotePassword": "contrasenya del servidor de control remot",
|
||||
@@ -770,7 +729,7 @@
|
||||
"releaseChannel": "canal de versions",
|
||||
"releaseChannel_description": "tria entre versions estables i versions beta per les actualitzacions automàtiques",
|
||||
"mediaSession": "activa Media Session",
|
||||
"mediaSession_description": "activa la integració amb Media Session per mostrar els controls multimèdia i les metadades a l'indicador de volum del sistema i la pantalla de bloqueig",
|
||||
"mediaSession_description": "activa la integració amb Windows Media Session per mostrar els controls multimèdia i les metadades a l'indicador de volum del sistema i la pantalla de bloqueig (només per Windows)",
|
||||
"crossfadeStyle": "estil de fosa encadenada",
|
||||
"discordRichPresence": "estat d'activitat de {{discord}}",
|
||||
"enableAutoTranslation_description": "activa la traducció automàtica en carregar la lletra",
|
||||
@@ -828,35 +787,7 @@
|
||||
"queryBuilderCustomFields_inputLabel": "discogràfica",
|
||||
"queryBuilderCustomFields_inputTag": "etiqueta",
|
||||
"queryBuilderCustomFields": "camps personalitzats",
|
||||
"queryBuilderCustomFields_description": "afegeix camps personalitzats pel constructor de consultes",
|
||||
"useThemeAccentColor": "fes servir el color d'accent del tema",
|
||||
"useThemeAccentColor_description": "fes servir el color primari definit pel tema seleccionat en comptes del color d'accent personalitzat",
|
||||
"artistRadioCount_description": "estableix el número de cançons per cercar per la ràdio d'artista i pista",
|
||||
"artistRadioCount": "recompte de ràdios d'artista o pista",
|
||||
"imageResolution": "resolució d'imatge",
|
||||
"imageResolution_description": "la resolució per les imatges que s'utilitzen a l'aplicació. un valor de 0 equival a la resolució nativa de la imatge",
|
||||
"imageResolution_optionTable": "taula",
|
||||
"imageResolution_optionItemCard": "targeta d'element",
|
||||
"imageResolution_optionSidebar": "tauler lateral",
|
||||
"imageResolution_optionHeader": "encapçalament",
|
||||
"imageResolution_optionFullScreenPlayer": "reproductor de pantalla completa",
|
||||
"showRatings_description": "controla si es mostren les estrelles de valoració a la interfície",
|
||||
"showRatings": "mostra la valoració d'estrelles",
|
||||
"combinedLyricsAndVisualizer_description": "combina la lletra i el visualitzador en un sol tauler",
|
||||
"combinedLyricsAndVisualizer": "combina la lletra i el visualitzador al tauler lateral del reproductor",
|
||||
"artistReleaseTypeConfiguration": "configuració de tipus de llançament d'artista",
|
||||
"artistReleaseTypeConfiguration_description": "configura quins llançaments es mostren, i en quin ordre, a la pàgina d'artista de l'àlbum",
|
||||
"hotkey_listNavigateToPage": "navega per la llista fins a la pàgina de l'element",
|
||||
"hotkey_listPlayDefault": "reprodueix llista",
|
||||
"hotkey_listPlayLast": "reprodueix la llista al final",
|
||||
"hotkey_listPlayNext": "reprodueix la llista a continuació",
|
||||
"hotkey_listPlayNow": "reprodueix la llista ara",
|
||||
"mpvExtraParameters": "paràmetres addicionals d'mpv",
|
||||
"mpvExtraParameters_description": "arguments addicionals per l'mpv",
|
||||
"pathReplace": "substitució de la ruta de l'arxiu",
|
||||
"pathReplace_description": "substitueix la ruta d'arxiu predeterminada del servidor",
|
||||
"pathReplace_optionRemovePrefix": "elimina el prefix",
|
||||
"pathReplace_optionAddPrefix": "afegeix prefix"
|
||||
"queryBuilderCustomFields_description": "afegeix camps personalitzats pel constructor de consultes"
|
||||
},
|
||||
"table": {
|
||||
"column": {
|
||||
@@ -953,9 +884,7 @@
|
||||
"bitDepth": "$t(common.bitDepth)",
|
||||
"genreBadge": "$t(entity.genre_one) (insígnies)",
|
||||
"image": "imatge",
|
||||
"sampleRate": "$t(common.sampleRate)",
|
||||
"composer": "compositor",
|
||||
"titleArtist": "$t(common.title) (artista)"
|
||||
"sampleRate": "$t(common.sampleRate)"
|
||||
},
|
||||
"view": {
|
||||
"table": "taula",
|
||||
@@ -1024,8 +953,8 @@
|
||||
"repeat_all": "repetició",
|
||||
"shuffle": "reprodueix (mesclat)",
|
||||
"shuffle_off": "reproducció aleatòria desactivada",
|
||||
"addLast": "al final",
|
||||
"addNext": "a continuació",
|
||||
"addLast": "afegeix al final",
|
||||
"addNext": "afegeix a continuació",
|
||||
"favorite": "marcar com a preferida",
|
||||
"mute": "silencia",
|
||||
"next": "següent",
|
||||
@@ -1041,14 +970,12 @@
|
||||
"toggleFullscreenPlayer": "activa el reproductor de pantalla completa",
|
||||
"unfavorite": "elimina de preferits",
|
||||
"pause": "pausa",
|
||||
"addLastShuffled": "al final (mesclat)",
|
||||
"addNextShuffled": "a continuació (mesclat)",
|
||||
"addLastShuffled": "afegeix al final (mesclat)",
|
||||
"addNextShuffled": "afegeix a continuació (mesclat)",
|
||||
"holdToShuffle": "mantén premut per mesclar",
|
||||
"lyrics": "lletra",
|
||||
"restoreQueueFromServer": "restaura la cua del servidor",
|
||||
"saveQueueToServer": "desa la cua al servidor",
|
||||
"artistRadio": "ràdio de l'artista",
|
||||
"trackRadio": "ràdio de la pista"
|
||||
"queueType": "tipus de cua",
|
||||
"queueType_default": "predeterminat",
|
||||
"queueType_priority": "prioritat"
|
||||
},
|
||||
"error": {
|
||||
"credentialsRequired": "credencials requerides",
|
||||
@@ -1074,12 +1001,7 @@
|
||||
"notificationDenied": "s'han negat els permisos per enviar notificacions. aquesta opció no té cap efecte",
|
||||
"playbackError": "hi ha hagut un error en intentar reproduir el mitjà",
|
||||
"remoteDisableError": "hi ha hagut un error en intentar $t(common.disable) el servidor remot",
|
||||
"endpointNotImplementedError": "el punt final {{endpoint}} no està implementat per {{serverType}}",
|
||||
"multipleServerSaveQueueError": "la cua de reproducció té una o més cançons que no són del servidor actual, cosa que no és compatible",
|
||||
"saveQueueFailed": "error en desar la cua",
|
||||
"settingsSyncError": "hi ha discrepàncies entre la configuració del renderitzador i el procés principal. reinicieu l'aplicació per aplicar els canvis",
|
||||
"noNetwork": "servidor no disponible",
|
||||
"noNetworkDescription": "no s'ha pogut connectar amb el servidor"
|
||||
"endpointNotImplementedError": "el punt final {{endpoint}} no està implementat per {{serverType}}"
|
||||
},
|
||||
"releaseType": {
|
||||
"primary": {
|
||||
@@ -1133,160 +1055,5 @@
|
||||
"queryBuilder": {
|
||||
"standardTags": "etiquetes estàndard",
|
||||
"customTags": "etiquetes personalitzades"
|
||||
},
|
||||
"datetime": {
|
||||
"minuteShort": "min",
|
||||
"secondShort": "s",
|
||||
"hourShort": "h",
|
||||
"dayShort": "d"
|
||||
},
|
||||
"visualizer": {
|
||||
"visualizerType": "tipus de visualitzador",
|
||||
"cyclePresets": "opcions preconfigurades",
|
||||
"cycleTime": "duració d'un cicle (segons)",
|
||||
"includeAllPresets": "inclou totes les opcions predeterminades",
|
||||
"ignoredPresets": "ignora les opcions predeterminades",
|
||||
"selectedPresets": "opcions predeterminades seleccionades",
|
||||
"randomizeNextPreset": "tria la següent opcions predeterminada a l'atzar",
|
||||
"blendTime": "duració de la mescla",
|
||||
"presets": "opcions predeterminades",
|
||||
"selectPreset": "selecciona una opció predeterminada",
|
||||
"applyPreset": "aplica l'opció predeterminada",
|
||||
"saveAsPreset": "desa com a opció predeterminada",
|
||||
"updatePreset": "actualitza l'opció predeterminada",
|
||||
"copyConfiguration": "copia la configuració",
|
||||
"pasteConfiguration": "enganxa la configuració",
|
||||
"pasteConfigurationPlaceholder": "enganxa la configuració JSON aquí...",
|
||||
"pasteFromClipboard": "enganxa des del portaretalls",
|
||||
"applyConfiguration": "aplica la configuració",
|
||||
"configCopied": "configuració copiada al portaretalls",
|
||||
"configCopyFailed": "error en copiar la configuració",
|
||||
"configPasted": "configuració aplicada correctament",
|
||||
"configPasteFailed": "Error en aplicar la configuració. Reviseu-ne el format.",
|
||||
"configPasteReadFailed": "Error en llegir del portaretalls",
|
||||
"presetName": "Nom de l'opció predeterminada",
|
||||
"presetNamePlaceholder": "Escriviu el nom de l'opció predeterminada",
|
||||
"general": "General",
|
||||
"mode": "Mode",
|
||||
"mode1To8": "Mode 1 - 8",
|
||||
"mode10": "Mode 10",
|
||||
"barSpace": "Espai entre barres",
|
||||
"lineWidth": "Amplitud de línia",
|
||||
"fillAlpha": "Omplir alfa",
|
||||
"channelLayout": "Disseny del canal",
|
||||
"maxFPS": "FPS màxims",
|
||||
"opacity": "Opacitat",
|
||||
"customGradients": "Degradats personalitzats",
|
||||
"addCustomGradient": "Afegeix un degradat personalitzat",
|
||||
"gradientName": "Nom del degradat",
|
||||
"gradientNamePlaceholder": "Nom del degradat",
|
||||
"vertical": "Vertical",
|
||||
"horizontal": "Horitzontal",
|
||||
"colorStops": "Parades de color",
|
||||
"addColor": "Afegeix el color",
|
||||
"position": "Posició",
|
||||
"level": "Nivell",
|
||||
"remove": "Elimina",
|
||||
"custom": "Personalitzat",
|
||||
"builtIn": "Integrat",
|
||||
"colors": "Colors",
|
||||
"colorMode": "Mode de color",
|
||||
"gradient": "Degradat",
|
||||
"gradientLeft": "Esquerra del degradat",
|
||||
"gradientRight": "Dreta del degradat",
|
||||
"fft": "FFT",
|
||||
"fftSize": "Mida del FFT",
|
||||
"smoothing": "Suavitzador",
|
||||
"frequencyRangeAndScaling": "Escala i rang de freqüència",
|
||||
"minimumFrequency": "Freqüència mínima",
|
||||
"maximumFrequency": "Freqüència màxima",
|
||||
"frequencyScale": "Escala de freqüència",
|
||||
"sensitivity": "Sensibilitat",
|
||||
"weightingFilter": "Filtre de pes",
|
||||
"minimumDecibels": "Decibels mínims",
|
||||
"maximumDecibels": "Decibels màxims",
|
||||
"linearAmplitude": "Amplitud lineal",
|
||||
"linearBoost": "Augment lineal",
|
||||
"peakBehavior": "Comportament del pic",
|
||||
"showPeaks": "Mostra els pics",
|
||||
"fadePeaks": "Pics de fosa",
|
||||
"peakLine": "Línea del pic",
|
||||
"gravity": "Gravetat",
|
||||
"peakFadeTime": "Temps de fosa del pic (ms)",
|
||||
"peakHoldTime": "Temps d'espera del pic (ms)",
|
||||
"radialSpectrum": "Espectre radial",
|
||||
"radial": "Radial",
|
||||
"radialInvert": "Invertir el radial",
|
||||
"spinSpeed": "Velocitat de gir",
|
||||
"radius": "Radi",
|
||||
"reflexMirror": "Mirall del reflex",
|
||||
"reflexFit": "Ajustament del reflex",
|
||||
"reflexRatio": "Proporció del reflex",
|
||||
"reflexAlpha": "Alfa del reflex",
|
||||
"reflexBrightness": "Brillantor del reflex",
|
||||
"mirror": "Mirall",
|
||||
"miscellaneousSettings": "Configuració miscel·lànea",
|
||||
"alphaBars": "Barres alfa",
|
||||
"ansiBands": "Bandes ANSI",
|
||||
"ledBars": "Barres LED",
|
||||
"trueLeds": "LEDs reals",
|
||||
"lumiBars": "Barres Lumi",
|
||||
"outlineBars": "Barres de vora",
|
||||
"roundBars": "Barres arrodonides",
|
||||
"lowResolution": "Baixa resolució",
|
||||
"splitGradient": "Degradat dividit",
|
||||
"showFPS": "Mostra els FPS",
|
||||
"showScaleX": "Mostra l'escala X",
|
||||
"noteLabels": "Etiquetes de nota",
|
||||
"showScaleY": "Mostra l'escala Y",
|
||||
"options": {
|
||||
"colorMode": {
|
||||
"gradient": "Degradat",
|
||||
"barIndex": "Índex de barra",
|
||||
"barLevel": "Nivell de barra"
|
||||
},
|
||||
"gradient": {
|
||||
"classic": "Classic",
|
||||
"prism": "Prisme",
|
||||
"rainbow": "Arc de Sant Martí",
|
||||
"steelblue": "Blau d'acer",
|
||||
"orangered": "Vermell ataronjat"
|
||||
},
|
||||
"channelLayout": {
|
||||
"single": "Únic",
|
||||
"dualCombined": "Dual-Combinat",
|
||||
"dualHorizontal": "Dual-Horitzontal",
|
||||
"dualVertical": "Dual-Vertical"
|
||||
},
|
||||
"frequencyScale": {
|
||||
"bark": "Escala Bark",
|
||||
"linear": "Escala Lineal",
|
||||
"log": "Escala logarítmica",
|
||||
"mel": "Escala Mel",
|
||||
"none": "Cap"
|
||||
},
|
||||
"weightingFilter": {
|
||||
"none": "Cap",
|
||||
"a": "A",
|
||||
"b": "B",
|
||||
"c": "C",
|
||||
"d": "D",
|
||||
"z": "Z"
|
||||
},
|
||||
"mode": {
|
||||
"0": "[0] Freqüències discretes",
|
||||
"1": "[1] 1/24a octava / 240 bandes",
|
||||
"2": "[2] 1/12a octava / 120 bandes",
|
||||
"3": "[3] 1/8a octava / 80 bandes",
|
||||
"4": "[4] 1/6a octava / 60 bandes",
|
||||
"5": "[5] 1/4a octava / 40 bandes",
|
||||
"6": "[6] 1/3a octava / 30 bandes",
|
||||
"7": "[7] Mitja octava / 20 bandes",
|
||||
"8": "[8] Octava completa / 10 bandes",
|
||||
"10": "[10] Línia / Gràfic d'àrea"
|
||||
}
|
||||
},
|
||||
"pasteGradient": "enganxa degradat",
|
||||
"pasteGradientPlaceholder": "enganxa el degradat JSON aquí..."
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,12 +33,13 @@
|
||||
"viewQueue": "zobrazit frontu",
|
||||
"addLastShuffled": "poslední (náhodně)",
|
||||
"addNextShuffled": "další (náhodně)",
|
||||
"queueType": "typ fronty",
|
||||
"queueType_default": "výchozí",
|
||||
"queueType_priority": "priorita",
|
||||
"holdToShuffle": "podržte pro zamíchání",
|
||||
"lyrics": "texty",
|
||||
"restoreQueueFromServer": "obnovit frontu ze serveru",
|
||||
"saveQueueToServer": "uložit frontu na server",
|
||||
"artistRadio": "rádio umělce",
|
||||
"trackRadio": "rádio skladby"
|
||||
"saveQueueToServer": "uložit frontu na server"
|
||||
},
|
||||
"setting": {
|
||||
"crossfadeStyle_description": "vyberte způsob prolnutí u přehrávače zvuku",
|
||||
@@ -206,6 +207,8 @@
|
||||
"passwordStore": "ukládání hesel / tajných klíčů",
|
||||
"mpvExtraParameters_help": "jeden na řádek",
|
||||
"homeConfiguration": "nastavení domovské stránky",
|
||||
"playerAlbumArtResolution_description": "rozlišení náhledu obalu alba ve velkém přehrávači. větší hodnota znamená kvalitnější obrázek, ale může se déle načítat. výchozí hodnota je 0, což znamená automatické rozlišení",
|
||||
"playerAlbumArtResolution": "rozlišení obalu alba v přehrávači",
|
||||
"externalLinks_description": "zapne zobrazování externích odkazů (Last.fm, MusicBrainz) na stránce umělce/alba",
|
||||
"clearCacheSuccess": "mezipaměť úspěšně vymazána",
|
||||
"externalLinks": "zobrazit externí odkazy",
|
||||
@@ -286,7 +289,7 @@
|
||||
"releaseChannel": "kanál vydání",
|
||||
"releaseChannel_description": "vyberte si mezi stabilními vydáními nebo beta vydáními pro automatické aktualizace",
|
||||
"mediaSession": "povolit relaci médií",
|
||||
"mediaSession_description": "povolí integraci do služby Media Session, což zobrazí ovládání a metadata médií v překrytí systémové hlasitosti a na zamykací obrazovce",
|
||||
"mediaSession_description": "povolí integraci do služby Windows Media Session, což zobrazí ovládání a metadata médií v překrytí systémové hlasitosti a na zamykací obrazovce (pouze Windows)",
|
||||
"exportImportSettings_control_description": "exportovat a importovat nastavení pomocí souboru JSON",
|
||||
"exportImportSettings_control_exportText": "exportovat nastavení",
|
||||
"exportImportSettings_control_importText": "importovat nastavení",
|
||||
@@ -346,33 +349,7 @@
|
||||
"logLevel_optionInfo": "informace",
|
||||
"logLevel_optionWarn": "varování",
|
||||
"useThemeAccentColor": "použít barvu motivu",
|
||||
"useThemeAccentColor_description": "použít primární barvu definovanou ve zvoleném motivu namísto vlastní barvy rozhraní",
|
||||
"artistRadioCount_description": "nastaví počet skladeb, které načíst pro rádio umělce a rádio skladby",
|
||||
"artistRadioCount": "počet skladeb pro rádio umělce/skladby",
|
||||
"imageResolution": "rozlišení obrázků",
|
||||
"imageResolution_description": "rozlišení obrázků používaných napříč aplikací. nastavení hodnoty 0 použije nativní rozlišení obrázku",
|
||||
"imageResolution_optionTable": "tabulka",
|
||||
"imageResolution_optionItemCard": "karta položky",
|
||||
"imageResolution_optionSidebar": "postranní lišta",
|
||||
"imageResolution_optionHeader": "záhlaví",
|
||||
"imageResolution_optionFullScreenPlayer": "přehrávač na celé obrazovce",
|
||||
"combinedLyricsAndVisualizer_description": "spojit texty a vizualizér do jednoho panelu",
|
||||
"combinedLyricsAndVisualizer": "spojit texty a vizualizér v postranní liště přehrávače",
|
||||
"showRatings_description": "ovládá, zda se funkce hodnocení pomocí hvězdiček objeví v rozhraní",
|
||||
"showRatings": "zobrazit hodnocení pomocí hvězdiček",
|
||||
"artistReleaseTypeConfiguration": "nastavení typu vydání umělce",
|
||||
"artistReleaseTypeConfiguration_description": "nastavit, jaké typy vydání a v jakém pořadí jsou zobrazeny na stránce umělce alba",
|
||||
"mpvExtraParameters": "extra parametry mpv",
|
||||
"mpvExtraParameters_description": "další argumenty, které předat přehrávači mpv",
|
||||
"hotkey_listNavigateToPage": "navigace na stránku položky v seznamu",
|
||||
"hotkey_listPlayDefault": "přehrání v seznamu",
|
||||
"hotkey_listPlayLast": "přehrání poslední položky v seznamu",
|
||||
"hotkey_listPlayNext": "přehrání další položky v seznamu",
|
||||
"hotkey_listPlayNow": "okamžité přehrání v seznamu",
|
||||
"pathReplace": "nahrazení cesty k souborům",
|
||||
"pathReplace_description": "nahradit výchozí cestu k souborům vašeho serveru",
|
||||
"pathReplace_optionRemovePrefix": "odstranit předponu",
|
||||
"pathReplace_optionAddPrefix": "přidat předponu"
|
||||
"useThemeAccentColor_description": "použít primární barvu definovanou ve zvoleném motivu namísto vlastní barvy rozhraní"
|
||||
},
|
||||
"action": {
|
||||
"editPlaylist": "upravit $t(entity.playlist_one)",
|
||||
@@ -408,11 +385,7 @@
|
||||
"holdToMoveToTop": "podržte pro přesunutí nahoru",
|
||||
"holdToMoveToBottom": "podržte pro přesunutí dolů",
|
||||
"createRadioStation": "vytvořit $t(entity.radioStation_one)",
|
||||
"deleteRadioStation": "odstranit $t(entity.radioStation_one)",
|
||||
"openApplicationDirectory": "otevřít adresář aplikace",
|
||||
"addOrRemoveFromSelection": "přidat nebo odebrat z výběru",
|
||||
"selectRangeOfItems": "vyberte rozsah položek",
|
||||
"selectAll": "vybrat vše"
|
||||
"deleteRadioStation": "odstranit $t(entity.radioStation_one)"
|
||||
},
|
||||
"common": {
|
||||
"backward": "zpátky",
|
||||
@@ -529,13 +502,7 @@
|
||||
"tableColumns": "sloupce tabulky",
|
||||
"itemsMore": "{{count}} dalších",
|
||||
"noFilters": "nejsou nastaveny žádné filtry",
|
||||
"view": "zobrazit",
|
||||
"countSelected": "vybráno {{count}}",
|
||||
"retry": "zkusit znovu",
|
||||
"mood": "nálada",
|
||||
"example": "příklad",
|
||||
"filter_single": "jeden",
|
||||
"filter_multiple": "několik"
|
||||
"view": "zobrazit"
|
||||
},
|
||||
"table": {
|
||||
"config": {
|
||||
@@ -608,9 +575,7 @@
|
||||
"genreBadge": "$t(entity.genre_one) (značky)",
|
||||
"image": "obrázek",
|
||||
"bitDepth": "$t(common.bitDepth)",
|
||||
"sampleRate": "$t(common.sampleRate)",
|
||||
"composer": "skladatel",
|
||||
"titleArtist": "$t(common.title) (umělec)"
|
||||
"sampleRate": "$t(common.sampleRate)"
|
||||
}
|
||||
},
|
||||
"column": {
|
||||
@@ -669,10 +634,7 @@
|
||||
"badValue": "neplatná možnost „{{value}}“. tato možnost již neexistuje",
|
||||
"notificationDenied": "oprávnění k posílání oznámení byla zamítnuta. toto nastavení nemá žádný vliv",
|
||||
"multipleServerSaveQueueError": "fronta přehrávání má jednu nebo více skladeb, které nejsou z aktuálního serveru. tato funkce není podporována",
|
||||
"saveQueueFailed": "nepodařilo se uložit frontu",
|
||||
"settingsSyncError": "byly zjištěny nesrovnalosti mezi nastavením v rendereru a hlavním procesem. restartujte aplikaci, aby se změny projevily",
|
||||
"noNetwork": "server je nedostupný",
|
||||
"noNetworkDescription": "k tomuto serveru se nepodařilo připojit"
|
||||
"saveQueueFailed": "nepodařilo se uložit frontu"
|
||||
},
|
||||
"filter": {
|
||||
"mostPlayed": "nejvíce přehráváno",
|
||||
@@ -842,8 +804,7 @@
|
||||
"transcoding": "překódování",
|
||||
"discord": "discord",
|
||||
"playerFilters": "filtry přehrávače",
|
||||
"logger": "protokol",
|
||||
"lyricsDisplay": "zobrazení textů"
|
||||
"logger": "protokol"
|
||||
},
|
||||
"albumArtistList": {
|
||||
"title": "$t(entity.albumArtist_other)"
|
||||
@@ -883,9 +844,7 @@
|
||||
"topSongsFrom": "nejlepší skladby od umělce {{title}}",
|
||||
"relatedArtists": "podobní $t(entity.artist_other)",
|
||||
"viewAllTracks": "zobrazit všechny $t(entity.track_other)",
|
||||
"viewAll": "zobrazit vše",
|
||||
"groupingTypeAll": "všechny typy vydání",
|
||||
"groupingTypePrimary": "primární typy vydání"
|
||||
"viewAll": "zobrazit vše"
|
||||
},
|
||||
"itemDetail": {
|
||||
"copiedPath": "cesta úspěšně zkopírována",
|
||||
@@ -940,10 +899,7 @@
|
||||
"ignoreCors": "ignorovat CORS $t(common.restartRequired)",
|
||||
"error_savePassword": "při ukládání hesla se vyskytla chyba",
|
||||
"input_preferInstantMix": "preferovat instantní mix",
|
||||
"input_preferInstantMixDescription": "pro získání podobných skladeb použít pouze instantní mix. užitečné, pokud máte doplňky, které upravují toto chování",
|
||||
"input_preferRemoteUrl": "preferovat veřejnou adresu url",
|
||||
"input_remoteUrl": "veřejná adresa url",
|
||||
"input_remoteUrlPlaceholder": "volitelné: veřejná adresa url pro externí funkce"
|
||||
"input_preferInstantMixDescription": "pro získání podobných skladeb použít pouze instantní mix. užitečné, pokud máte doplňky, které upravují toto chování"
|
||||
},
|
||||
"addToPlaylist": {
|
||||
"success": "přidáno $t(entity.trackWithCount, {\"count\": {{message}} }) do $t(entity.playlistWithCount, {\"count\": {{numOfPlaylists}} })",
|
||||
@@ -1014,11 +970,6 @@
|
||||
"input_homepageUrl": "adresa domovské stránky",
|
||||
"input_name": "název",
|
||||
"input_streamUrl": "adresa streamu"
|
||||
},
|
||||
"lyricsExport": {
|
||||
"export": "exportovat texty",
|
||||
"input_synced": "exportovat synchronizované texty",
|
||||
"input_offset": "$t(setting.lyricOffset)"
|
||||
}
|
||||
},
|
||||
"entity": {
|
||||
@@ -1049,9 +1000,9 @@
|
||||
"albumWithCount_one": "{{count}} album",
|
||||
"albumWithCount_few": "{{count}} alba",
|
||||
"albumWithCount_other": "{{count}} alb",
|
||||
"favorite_one": "oblíbený",
|
||||
"favorite_one": "oblíbená",
|
||||
"favorite_few": "oblíbené",
|
||||
"favorite_other": "oblíbené",
|
||||
"favorite_other": "oblíbených",
|
||||
"artistWithCount_one": "{{count}} umělec",
|
||||
"artistWithCount_few": "{{count}} umělci",
|
||||
"artistWithCount_other": "{{count}} umělců",
|
||||
@@ -1133,160 +1084,5 @@
|
||||
"notInPlaylist": "není v",
|
||||
"notInTheLast": "není v posledním",
|
||||
"startsWith": "začíná na"
|
||||
},
|
||||
"datetime": {
|
||||
"minuteShort": "min.",
|
||||
"secondShort": "s",
|
||||
"hourShort": "h.",
|
||||
"dayShort": "d."
|
||||
},
|
||||
"visualizer": {
|
||||
"visualizerType": "Typ vizualizéru",
|
||||
"cyclePresets": "Cyklicky procházet předvolby",
|
||||
"cycleTime": "Čas cyklování (sekundy)",
|
||||
"includeAllPresets": "Zahrnout všechny předvolby",
|
||||
"ignoredPresets": "Ignorované předvolby",
|
||||
"selectedPresets": "Vybrané předvolby",
|
||||
"randomizeNextPreset": "Náhodně vybrat další předvolbu",
|
||||
"blendTime": "Čas prolnutí",
|
||||
"presets": "Předvolby",
|
||||
"selectPreset": "Vybrat předvolbu",
|
||||
"applyPreset": "Použít předvolbu",
|
||||
"saveAsPreset": "Uložit jako předvolbu",
|
||||
"updatePreset": "Aktualizovat předvolbu",
|
||||
"copyConfiguration": "Kopírovat konfiguraci",
|
||||
"pasteConfiguration": "Vložit konfiguraci",
|
||||
"pasteConfigurationPlaceholder": "Sem vložte konfiguraci JSON…",
|
||||
"pasteFromClipboard": "Vložit ze schránky",
|
||||
"applyConfiguration": "Použít konfiguraci",
|
||||
"configCopied": "Konfigurace zkopírována do schránky",
|
||||
"configCopyFailed": "Nepodařilo se zkopírovat konfiguraci",
|
||||
"configPasted": "Konfigurace úspěšně použita",
|
||||
"configPasteFailed": "Nepodařilo se použít konfiguraci. Zkontrolujte prosím formát.",
|
||||
"configPasteReadFailed": "Nepodařilo se přečíst schránku",
|
||||
"presetName": "Název předvolby",
|
||||
"presetNamePlaceholder": "Zadejte název předvolby",
|
||||
"general": "Obecné",
|
||||
"mode": "Režim",
|
||||
"mode1To8": "Režim 1–8",
|
||||
"mode10": "Režim 10",
|
||||
"barSpace": "Mezera mezi sloupci",
|
||||
"lineWidth": "Šířka linky",
|
||||
"fillAlpha": "Vyplnit alfu",
|
||||
"channelLayout": "Rozložení kanálů",
|
||||
"maxFPS": "Max. počet snímků za sekundu",
|
||||
"opacity": "Neprůhlednost",
|
||||
"customGradients": "Vlastní přechody",
|
||||
"addCustomGradient": "Přidat vlastní přechod",
|
||||
"gradientName": "Název přechodu",
|
||||
"gradientNamePlaceholder": "Název přechodu",
|
||||
"vertical": "Vertikální",
|
||||
"horizontal": "Horizontální",
|
||||
"colorStops": "Ukončení barev",
|
||||
"addColor": "Přidat barvu",
|
||||
"position": "Pozice",
|
||||
"level": "Úroveň",
|
||||
"remove": "Odstranit",
|
||||
"custom": "Vlastní",
|
||||
"builtIn": "Vestavěné",
|
||||
"colors": "Barvy",
|
||||
"colorMode": "Režim barev",
|
||||
"gradient": "Přechod",
|
||||
"gradientLeft": "Přechod zleva",
|
||||
"gradientRight": "Přechod zprava",
|
||||
"fft": "FFT",
|
||||
"fftSize": "Velikost FFT",
|
||||
"smoothing": "Vyhlazování",
|
||||
"frequencyRangeAndScaling": "Rozsah a škálování frekvencí",
|
||||
"minimumFrequency": "Minimální frekvence",
|
||||
"maximumFrequency": "Maximální frekvence",
|
||||
"frequencyScale": "Škála frekvence",
|
||||
"sensitivity": "Citlivost",
|
||||
"weightingFilter": "Filtr váhy",
|
||||
"minimumDecibels": "Minimální decibely",
|
||||
"maximumDecibels": "Maximální decibely",
|
||||
"linearAmplitude": "Lineární amplituda",
|
||||
"linearBoost": "Lineární zesílení",
|
||||
"peakBehavior": "Chování ve špičce",
|
||||
"showPeaks": "Zobrazit špičky",
|
||||
"fadePeaks": "Prolnout špičky",
|
||||
"peakLine": "Linka špiček",
|
||||
"gravity": "Gravitace",
|
||||
"peakFadeTime": "Čas pádu ze špičky (ms)",
|
||||
"peakHoldTime": "Čas udržení na špičce (ms)",
|
||||
"radialSpectrum": "Kruhové spektrum",
|
||||
"radial": "Kruhové",
|
||||
"radialInvert": "Kruhové invertované",
|
||||
"spinSpeed": "Rychlost rotace",
|
||||
"radius": "Poloměr",
|
||||
"reflexMirror": "Reflexní zrcadlení",
|
||||
"reflexFit": "Reflexní vyplnění",
|
||||
"reflexRatio": "Reflexní poměr",
|
||||
"reflexAlpha": "Reflexní alfa",
|
||||
"reflexBrightness": "Reflexní jas",
|
||||
"mirror": "Zrcadlení",
|
||||
"miscellaneousSettings": "Různá nastavení",
|
||||
"alphaBars": "Alfa sloupce",
|
||||
"ansiBands": "ANSI sloupce",
|
||||
"ledBars": "LED sloupce",
|
||||
"trueLeds": "Pravé LED",
|
||||
"lumiBars": "Lumi sloupce",
|
||||
"outlineBars": "Obrysové sloupce",
|
||||
"roundBars": "Zaoblené sloupce",
|
||||
"lowResolution": "Nízké rozlišení",
|
||||
"splitGradient": "Přechod rozdělení",
|
||||
"showFPS": "Zobrazit FPS",
|
||||
"showScaleX": "Zobrazit osu X",
|
||||
"noteLabels": "Štítky not",
|
||||
"showScaleY": "Zobrazit osu Y",
|
||||
"options": {
|
||||
"colorMode": {
|
||||
"gradient": "Přechod",
|
||||
"barIndex": "Index sloupce",
|
||||
"barLevel": "Úroveň sloupce"
|
||||
},
|
||||
"gradient": {
|
||||
"classic": "Klasický",
|
||||
"prism": "Prism",
|
||||
"rainbow": "Duha",
|
||||
"steelblue": "Ocelově modrá",
|
||||
"orangered": "Oranžová"
|
||||
},
|
||||
"channelLayout": {
|
||||
"single": "Jeden",
|
||||
"dualCombined": "Duální kombinované",
|
||||
"dualHorizontal": "Duální horizontální",
|
||||
"dualVertical": "Duální vertikální"
|
||||
},
|
||||
"frequencyScale": {
|
||||
"bark": "Barkova stupnice",
|
||||
"linear": "Lineární stupnice",
|
||||
"log": "Logaritmická stupnice",
|
||||
"mel": "Melová stupnice",
|
||||
"none": "Žádný"
|
||||
},
|
||||
"weightingFilter": {
|
||||
"none": "Žádný",
|
||||
"a": "A",
|
||||
"b": "B",
|
||||
"c": "C",
|
||||
"d": "D",
|
||||
"z": "Z"
|
||||
},
|
||||
"mode": {
|
||||
"0": "[0] Diskrétní frekvence",
|
||||
"1": "[1] 1/24 oktávy / 240 pásem",
|
||||
"2": "[2] 1/12 oktávy / 120 pásem",
|
||||
"3": "[3] 1/8 oktávy / 80 pásem",
|
||||
"4": "[4] 1/6 oktávy / 60 pásem",
|
||||
"5": "[5] 1/4 oktávy / 40 pásem",
|
||||
"6": "[6] 1/3 oktávy / 30 pásem",
|
||||
"7": "[7] Polovina oktávy / 20 pásem",
|
||||
"8": "[8] Celá oktáva / 10 pásem",
|
||||
"10": "[10] Linka / Graf oblasti"
|
||||
}
|
||||
},
|
||||
"pasteGradient": "Vložit přechod",
|
||||
"pasteGradientPlaceholder": "Sem vložte JSON přechodu…"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"action": {
|
||||
"editPlaylist": "$t(entity.playlist_one) bearbeiten",
|
||||
"clearQueue": "Wiedergabeliste leeren",
|
||||
"clearQueue": "Warteschlange leeren",
|
||||
"addToFavorites": "Zu $t(entity.favorite_other) hinzufügen",
|
||||
"addToPlaylist": "Zu $t(entity.playlist_one) hinzufügen",
|
||||
"createPlaylist": "$t(entity.playlist_one) erstellen",
|
||||
@@ -13,7 +13,7 @@
|
||||
"removeFromPlaylist": "Aus $t(entity.playlist_one) entfernen",
|
||||
"viewPlaylists": "$t(entity.playlist_other) anzeigen",
|
||||
"refresh": "$t(common.refresh)",
|
||||
"removeFromQueue": "Aus Wiedergabeliste entfernen",
|
||||
"removeFromQueue": "Aus Warteschlange entfernen",
|
||||
"setRating": "Bewerten",
|
||||
"toggleSmartPlaylistEditor": "Editor für $t(entity.smartPlaylist) ein-/ausblenden",
|
||||
"removeFromFavorites": "Aus $t(entity.favorite_other) entfernen",
|
||||
@@ -29,11 +29,7 @@
|
||||
"shuffleSelected": "Ausgewählte zufällig wiedergeben",
|
||||
"viewMore": "Mehr zeigen",
|
||||
"moveUp": "Nach oben bewegen",
|
||||
"moveDown": "Nach unten bewegen",
|
||||
"createRadioStation": "$t(entity.radioStation_one) erstellen",
|
||||
"deleteRadioStation": "$t(entity.radioStation_one) löschen",
|
||||
"selectAll": "alle auswählen",
|
||||
"openApplicationDirectory": "Anwendungsverzeichnis öffnen"
|
||||
"moveDown": "Nach unten bewegen"
|
||||
},
|
||||
"common": {
|
||||
"backward": "zurück",
|
||||
@@ -122,11 +118,11 @@
|
||||
"close": "schließen",
|
||||
"share": "Teilen",
|
||||
"translation": "Übersetzung",
|
||||
"trackGain": "Track Gain",
|
||||
"trackPeak": "Track Peak",
|
||||
"trackGain": "Track-Pegelverstärkung",
|
||||
"trackPeak": "Track-Spitzenpegel",
|
||||
"codec": "Codec",
|
||||
"albumPeak": "Album-Spitzenpegel",
|
||||
"albumGain": "Album Gain",
|
||||
"albumGain": "Album-Pegelverstärkung",
|
||||
"tags": "tags",
|
||||
"viewReleaseNotes": "Veröffentlichungsnotizen anzeigen",
|
||||
"newVersion": "eine neue Version wurde installiert ({{version}})",
|
||||
@@ -149,9 +145,7 @@
|
||||
"recordLabel": "Plattenlabel",
|
||||
"slower": "langsamer",
|
||||
"releaseType": "Veröffentlichungsformat",
|
||||
"view": "Betrachten",
|
||||
"countSelected": "{{count}} ausgewählt",
|
||||
"mood": "Stimmung"
|
||||
"view": "Betrachten"
|
||||
},
|
||||
"error": {
|
||||
"remotePortWarning": "Starten Sie den Server neu, um den neuen Port anzuwenden",
|
||||
@@ -173,15 +167,11 @@
|
||||
"audioDeviceFetchError": "Beim Versuch, Audiogeräte abzurufen, ist ein Fehler aufgetreten",
|
||||
"invalidServer": "Ungültiger Server",
|
||||
"loginRateError": "Zu viele Anmeldeversuche, bitte versuche es in einigen Sekunden erneut",
|
||||
"badAlbum": "sie sehen diese Seite, weil dieses Lied nicht Teil eines Albums ist. Dieses Problem tritt meist auf, wenn sich ein Lied im Überordner befindet. Jellyfin gruppiert Tracks nur, wenn diese sich innerhalb eines Ordners befinden",
|
||||
"badAlbum": "sie sehen diese Seite, weil dieses Lied nicht Teil eines Albums ist. Wahrscheinlich sehen Sie dieses Problem, wenn Sie einen Song in Ihrem Musikordner auf oberster Ebene haben. Jellyfin gruppiert nur Songs, wenn sie sich in einem Ordner befinden",
|
||||
"networkError": "ein Netzwerkfehler ist aufgetreten",
|
||||
"openError": "datei kann nicht geöffnet werden",
|
||||
"badValue": "ungültige option \"{{value}}\". Dieser Wert existiert nicht mehr",
|
||||
"notificationDenied": "Berechtigungen über Benachrichtigungen wurden verweigert. Diese Einstellung hat keinen Effekt",
|
||||
"saveQueueFailed": "Wiedergabeliste konnte nicht gespeichert werden",
|
||||
"multipleServerSaveQueueError": "die Wiedergabeliste enthält einen oder mehrere Titel, die nicht vom aktuellen Server stammen. dies wird nicht unterstützt",
|
||||
"noNetwork": "Server nicht verfügbar",
|
||||
"noNetworkDescription": "Verbindung zum Server konnte nicht hergestellt werden"
|
||||
"notificationDenied": "Berechtigungen über Benachrichtigungen wurden verweigert. Diese Einstellung hat keinen Effekt"
|
||||
},
|
||||
"filter": {
|
||||
"mostPlayed": "Meistgespielt",
|
||||
@@ -294,7 +284,7 @@
|
||||
"setExpiration": "Ablaufdatum setzen",
|
||||
"expireInvalid": "Ablaufdatum muss in der Zukunft liegen",
|
||||
"allowDownloading": "Herunterladen zulassen",
|
||||
"success": "Link in die Zwischenablage kopiert (oder hier klicken, um zu öffnen)",
|
||||
"success": "Link in die Zwischenablage kopiert (oder hier klicken um zu öffnen)",
|
||||
"createFailed": "fehler beim Teilen (Ist Teilen aktiviert?)"
|
||||
},
|
||||
"privateMode": {
|
||||
@@ -303,7 +293,7 @@
|
||||
"title": "Privatmodus"
|
||||
},
|
||||
"largeFetchConfirmation": {
|
||||
"title": "Elemente der Wiedergabeliste hinzufügen",
|
||||
"title": "Elemente der Warteschlange hinzufügen",
|
||||
"description": "Diese Aktion fügt alle Elemente in der aktuell gefilterten Ansicht hinzu"
|
||||
},
|
||||
"shuffleAll": {
|
||||
@@ -313,22 +303,9 @@
|
||||
"input_minYear": "ab Jahr",
|
||||
"input_maxYear": "bis Jahr",
|
||||
"input_played_optionAll": "alle Tracks",
|
||||
"input_played_optionUnplayed": "nur nicht gespielte Tracks",
|
||||
"input_played_optionUnplayed": "nur ungespielte Tracks",
|
||||
"input_played_optionPlayed": "nur gespielte Tracks",
|
||||
"input_played": "Wiedergabefilter"
|
||||
},
|
||||
"saveQueue": {
|
||||
"success": "Wiedergabeliste auf Server gespeichert"
|
||||
},
|
||||
"createRadioStation": {
|
||||
"success": "Radiosender erfolgreich erstellt",
|
||||
"title": "Radiosender erstellen",
|
||||
"input_homepageUrl": "Homepage URL",
|
||||
"input_name": "Name",
|
||||
"input_streamUrl": "Stream URL"
|
||||
},
|
||||
"lyricsExport": {
|
||||
"input_offset": "$t(setting.lyricOffset)"
|
||||
}
|
||||
},
|
||||
"entity": {
|
||||
@@ -366,11 +343,7 @@
|
||||
"play_one": "{{count}} Wiedergabe",
|
||||
"play_other": "{{count}} Wiedergaben",
|
||||
"song_one": "Lied",
|
||||
"song_other": "Lieder",
|
||||
"radioStation_one": "Radiosender",
|
||||
"radioStation_other": "Radiosender",
|
||||
"radioStationWithCount_one": "{{count}} Radiosender",
|
||||
"radioStationWithCount_other": "{{count}} Radiosender"
|
||||
"song_other": "Lieder"
|
||||
},
|
||||
"table": {
|
||||
"config": {
|
||||
@@ -386,17 +359,7 @@
|
||||
"displayType": "Anzeigestil",
|
||||
"autoFitColumns": "automatisch Spalten einpassen",
|
||||
"size_default": "Standard",
|
||||
"followCurrentSong": "aktuellem Titel folgen",
|
||||
"advancedSettings": "erweiterte Einstellungen",
|
||||
"autosize": "automatische Größe",
|
||||
"alignLeft": "linksbündig",
|
||||
"alignCenter": "mittig",
|
||||
"alignRight": "rechtsbündig",
|
||||
"size_compact": "kompakt",
|
||||
"size_large": "groß",
|
||||
"pagination": "Seitenzahlen",
|
||||
"pagination_itemsPerPage": "Elemente pro Seite",
|
||||
"pagination_infinite": "unendlich"
|
||||
"followCurrentSong": "aktuellem Titel folgen"
|
||||
},
|
||||
"label": {
|
||||
"dateAdded": "Hinzugefügt am",
|
||||
@@ -424,14 +387,7 @@
|
||||
"title": "$t(common.title)",
|
||||
"year": "$t(common.year)",
|
||||
"discNumber": "disk-Nummer",
|
||||
"playCount": "Wiedergaben",
|
||||
"albumCount": "$t(entity.album_other)",
|
||||
"bitDepth": "$t(common.bitDepth)",
|
||||
"codec": "$t(common.codec)",
|
||||
"image": "Bild",
|
||||
"sampleRate": "$t(common.sampleRate)",
|
||||
"songCount": "$t(entity.track_other)",
|
||||
"genreBadge": "$t(entity.genre_one) (Abzeichen)"
|
||||
"playCount": "Wiedergaben"
|
||||
}
|
||||
},
|
||||
"column": {
|
||||
@@ -457,11 +413,7 @@
|
||||
"genre": "$t(entity.genre_one)",
|
||||
"songCount": "$t(entity.track_other)",
|
||||
"trackNumber": "titel",
|
||||
"size": "$t(common.size)",
|
||||
"bitDepth": "$t(common.bitDepth)",
|
||||
"codec": "$t(common.codec)",
|
||||
"sampleRate": "$t(common.sampleRate)",
|
||||
"owner": "Besitzer"
|
||||
"size": "$t(common.size)"
|
||||
}
|
||||
},
|
||||
"page": {
|
||||
@@ -570,8 +522,7 @@
|
||||
"albumArtists": "$t(entity.albumArtist_other)",
|
||||
"shared": "$t(entity.playlist_other) geteilt",
|
||||
"myLibrary": "meine bibliothek",
|
||||
"favorites": "$t(entity.favorite_other)",
|
||||
"radio": "$t(entity.radioStation_other)"
|
||||
"favorites": "$t(entity.favorite_other)"
|
||||
},
|
||||
"setting": {
|
||||
"playbackTab": "Wiedergabe",
|
||||
@@ -587,7 +538,7 @@
|
||||
"application": "App",
|
||||
"queryBuilder": "Abfrage-Editor",
|
||||
"theme": "Erscheinungsbild",
|
||||
"controls": "Steuerelemente",
|
||||
"controls": "Steuerung",
|
||||
"sidebar": "Seitenleiste",
|
||||
"scrobble": "Scrobbeln",
|
||||
"audio": "Audio",
|
||||
@@ -627,9 +578,7 @@
|
||||
"topSongsFrom": "Toplieder von {{title}}",
|
||||
"viewAll": "Alles ansehen",
|
||||
"topSongs": "Toplieder",
|
||||
"relatedArtists": "ähnliche $t(entity.artist_other)",
|
||||
"groupingTypeAll": "alle Veröffentlichungsformate",
|
||||
"groupingTypePrimary": "primäre Veröffentlichungsformate"
|
||||
"relatedArtists": "ähnliche $t(entity.artist_other)"
|
||||
},
|
||||
"manageServers": {
|
||||
"title": "Servers verwalten",
|
||||
@@ -652,17 +601,14 @@
|
||||
},
|
||||
"playlist": {
|
||||
"reorder": "Neuanordnung nur bei Sortierung nach ID möglich"
|
||||
},
|
||||
"radioList": {
|
||||
"title": "Radiosender"
|
||||
}
|
||||
},
|
||||
"player": {
|
||||
"next": "nächster",
|
||||
"addNext": "als Nächstes",
|
||||
"addNext": "Als Nächstes spielen",
|
||||
"play": "Abspielen",
|
||||
"muted": "stummgeschaltet",
|
||||
"addLast": "als Letztes",
|
||||
"addLast": "Als Letztes spielen",
|
||||
"mute": "Stumm",
|
||||
"playRandom": "Zufällige Wiedergabe",
|
||||
"previous": "Vorheriger",
|
||||
@@ -671,7 +617,7 @@
|
||||
"playbackFetchInProgress": "lieder werden geladen…",
|
||||
"playbackSpeed": "Wiedergabegeschwindigkeit",
|
||||
"playbackFetchCancel": "Das dauert eine Weile. Schließen Sie die Benachrichtigung, um den Vorgang abzubrechen",
|
||||
"queue_clear": "Wiedergabeliste bereinigen",
|
||||
"queue_clear": "Bereinige Warteschlange",
|
||||
"repeat_all": "Alle wiederholen",
|
||||
"repeat": "Wiederholen",
|
||||
"queue_remove": "Ausgewählte entfernen",
|
||||
@@ -688,12 +634,13 @@
|
||||
"skip_forward": "vorspulen",
|
||||
"skip": "Überspringen",
|
||||
"playSimilarSongs": "Ähnliche Lieder abspielen",
|
||||
"viewQueue": "Wiedergabeliste anzeigen",
|
||||
"addLastShuffled": "als Letztes (zufällige Wiedergabe)",
|
||||
"addNextShuffled": "als Nächstes (zufällige Wiedergabe)",
|
||||
"viewQueue": "Warteschlange anzeigen",
|
||||
"addLastShuffled": "Als Letztes spielen (zufällige Wiedergabe)",
|
||||
"addNextShuffled": "Als Nächstes spielen (zufällige Wiedergabe)",
|
||||
"queueType_default": "Standard",
|
||||
"queueType_priority": "Priorität",
|
||||
"holdToShuffle": "Halten für Zufallswiedergabe",
|
||||
"restoreQueueFromServer": "Wiedergabeliste von Server wiederherstellen",
|
||||
"saveQueueToServer": "Wiedergabeliste auf Server speichern"
|
||||
"queueType": "Warteschlangentyp"
|
||||
},
|
||||
"setting": {
|
||||
"audioDevice_description": "wählen Sie das Audiogerät aus, das für die Wiedergabe verwendet werden soll (nur Webplayer)",
|
||||
@@ -769,7 +716,7 @@
|
||||
"themeLight_description": "Legt das Erscheinungsbild für den hellen Modus fest",
|
||||
"hotkey_toggleFullScreenPlayer": "Vollbildmodus umschalten",
|
||||
"hotkey_localSearch": "Suche auf Seite",
|
||||
"hotkey_toggleQueue": "Wiedergabeliste umschalten",
|
||||
"hotkey_toggleQueue": "Warteschlange umschalten",
|
||||
"remotePassword_description": "Legt das Passwort für den Fernsteuerungsserver fest. Diese Anmeldeinformationen werden standardmäßig unsicher übertragen, daher sollten Sie ein Passwort verwenden, das Ihnen egal ist",
|
||||
"hotkey_rate5": "Bewertung 5 Sterne",
|
||||
"hotkey_playbackPrevious": "Vorheriger Track",
|
||||
@@ -780,18 +727,18 @@
|
||||
"playbackStyle_description": "Wählen Sie den Wiedergabestil aus, der für den Audioplayer verwendet werden soll",
|
||||
"mpvExecutablePath": "Pfad der ausführbaren MPV-Datei",
|
||||
"hotkey_rate2": "Bewertung 2 Sterne",
|
||||
"playButtonBehavior_description": "legt das Standardverhalten des Wiedergabe-Buttons fest, wenn Lieder zur Wiedergabeliste hinzugefügt werden",
|
||||
"playButtonBehavior_description": "Legt das Standardverhalten des Wiedergabe-Buttons fest, wenn Songs zur Warteschlange hinzugefügt werden",
|
||||
"minimumScrobblePercentage_description": "die Mindestdauer in Prozent, welche das Lied gespielt werden muss, bevor dieses gescrobbelt wird",
|
||||
"hotkey_rate4": "Bewertung 4 Sterne",
|
||||
"showSkipButton_description": "Ein- oder Ausblenden der Überspringen-Schaltflächen in der Player-Leiste",
|
||||
"savePlayQueue": "Wiedergabeliste speichern",
|
||||
"savePlayQueue": "Wiedergabe-Warteschlange speichern",
|
||||
"minimumScrobbleSeconds_description": "die Mindestdauer in Sekunden, welche das Lied gespielt werden muss, bevor dieses gescrobbelt wird",
|
||||
"skipPlaylistPage_description": "Gehe beim Navigieren zu einer Wiedergabeliste zu deren Titelseite und nicht zur Standardseite",
|
||||
"fontType_description": "Die integrierte Schriftart wählt eine der von feishin bereitgestellten Schriftarten aus. Mit der Systemschriftart können Sie jede von Ihrem Betriebssystem bereitgestellte Schriftart auswählen. Benutzerdefiniert erlaubt es eine eigene Schriftart bereitzustellen",
|
||||
"playButtonBehavior": "Verhalten der Wiedergabetaste",
|
||||
"volumeWheelStep": "Lautstärkeänderung mit Mausrad",
|
||||
"sidebarPlaylistList_description": "Ein- oder Ausblenden der Playlisten-Liste in der Seitenleiste",
|
||||
"sidePlayQueueStyle_description": "legt den Stil der Wiedergabeliste in der Seitenleiste fest",
|
||||
"sidePlayQueueStyle_description": "Legt den Stil der Wiedergabewarteliste in der Seitenleiste fest",
|
||||
"replayGainMode": "{{ReplayGain}} Modus",
|
||||
"playbackStyle_optionNormal": "Normal",
|
||||
"windowBarStyle": "Fensterleistenstil",
|
||||
@@ -822,7 +769,7 @@
|
||||
"gaplessAudio_optionWeak": "schwach (empfohlen)",
|
||||
"minimumScrobbleSeconds": "Minimum Scrobble-Dauer (Sekunden)",
|
||||
"hotkey_playbackStop": "Stoppen",
|
||||
"savePlayQueue_description": "speichert die Wiedergabeliste beim Schließen der Anwendung, und stellt diese wieder her, wenn die Anwendung geöffnet wird",
|
||||
"savePlayQueue_description": "Speichert Wiedergabewarteschlange, wenn die Anwendung geschlossen wird, und stellt sie wieder her, wenn die Anwendung geöffnet wird",
|
||||
"useSystemTheme": "Nach Erscheinungsbild des Systems richten",
|
||||
"enableRemote_description": "Aktiviert den Server für die Fernsteuerung, damit andere Geräte die Anwendung steuern können",
|
||||
"fontType_optionSystem": "System Schriftart",
|
||||
@@ -848,33 +795,33 @@
|
||||
"clearCache": "Browser-Zwischenspeicher löschen",
|
||||
"clearQueryCache": "feishins Zwischenspeicher leeren",
|
||||
"clearCache_description": "Hartes Zurücksetzen. Neben feishins Zwischenspeicher wird auch der des Browsers gelöscht (Bilder und andere Daten). Zugangsinformationen und Einstellungen werden behalten",
|
||||
"sidePlayQueueStyle": "Stil der Wiedergabeliste in der Seitenleiste",
|
||||
"sidePlayQueueStyle": "Wiedergabelistenstil in der Seitenleiste",
|
||||
"zoom_description": "Setzt den Zoom (in %) für das Programm",
|
||||
"zoom": "Zoom",
|
||||
"albumBackground": "Album Hintergrund",
|
||||
"customCss": "Benutzerdefiniertes CSS",
|
||||
"customCss": "Benutzerdefiniert css",
|
||||
"homeConfiguration": "Startseite Konfiguration",
|
||||
"lastfmApiKey": "{{lastfm}} API-Schlüssel",
|
||||
"lastfmApiKey_description": "Der API-Schlüssel für {{lastfm}}. wird für Albumcover benötigt",
|
||||
"lastfmApiKey_description": "Der API-Schlüssel für {{lastfm}}. wird für benötigt",
|
||||
"discordListening": "Status als hört zu anzeigen",
|
||||
"discordListening_description": "Status als hört zu statt als spielt anzeigen",
|
||||
"lastfm": "zeige last.fm links",
|
||||
"lastfm_description": "zeige links zu Last.fm auf dem Künstler/Album-Seiten",
|
||||
"musicbrainz": "Zeig MusicBrainz links",
|
||||
"customCssEnable": "benutzerdefiniertes CSS aktivieren",
|
||||
"customCssEnable": "aktiviere Benutzerdefinierte css",
|
||||
"albumBackground_description": "fügt ein Hintergrundbild für die Albumseiten hinzu, welche das Albumcover zeigen",
|
||||
"albumBackgroundBlur": "Größe der Album-Bildunschärfe",
|
||||
"albumBackgroundBlur_description": "passt die Stärke der Unschärfe an, welche auf das Hintergrundbild des Albums angewandt wird",
|
||||
"clearCacheSuccess": "Cache erfolgreich geleert",
|
||||
"contextMenu": "Kontextmenü-Einstellungen (Rechtsklick)",
|
||||
"customCssEnable_description": "erlaubt das Hinzufügen von benutzerdefiniertem CSS",
|
||||
"customCssEnable_description": "ermöglicht das Schreiben benutzerdefinierten CSS",
|
||||
"artistBackground": "Künstler Hintergrundbild",
|
||||
"artistBackground_description": "fügt ein Hintergrundbild für die Künstlerseite hinzu",
|
||||
"artistConfiguration": "künstler Albumseite Konfiguration",
|
||||
"buttonSize": "spielerleisten-Knopfgröße",
|
||||
"buttonSize_description": "die Größe der Spieler-Knöpfe",
|
||||
"hotkey_togglePreviousSongFavorite": "wähle $t(common.previousSong) als Favorit aus",
|
||||
"replayGainFallback": "{{ReplayGain}} Alternative",
|
||||
"replayGainFallback": "{{ReplayGain}} Rückgriff",
|
||||
"replayGainClipping": "{{ReplayGain}} Clipping",
|
||||
"exportImportSettings_control_description": "Einstellungen mit JSON exportieren und importieren",
|
||||
"exportImportSettings_control_exportText": "Einstellungen exportieren",
|
||||
@@ -886,7 +833,9 @@
|
||||
"exportImportSettings_notValidJSON": "Die Datei ist kein gültiges JSON",
|
||||
"exportImportSettings_offendingKeyError": "\"{{offendingKey}}\" ist falsch - {{reason}}",
|
||||
"language": "Sprache",
|
||||
"playerAlbumArtResolution": "Auflösung des Albumcovers",
|
||||
"imageAspectRatio": "Original Seitenverhältnis des Albumcovers verwenden",
|
||||
"playerAlbumArtResolution_description": "die Auflösung des Albumcovers im großen Player. Eine höhere Auflösung sorgt für ein schärferes Bild, kann jedoch das Laden verlangsamen. Standardwert: 0 (automatische Berechnung)",
|
||||
"analyticsDisable": "Keine nutzungsbasierte Analyse",
|
||||
"analyticsDisable_description": "Anonymisierte Nutzungsdaten werden an den Entwickler geschickt, um die Anwendung zu verbessern",
|
||||
"logLevel_optionDebug": "Debug",
|
||||
@@ -895,11 +844,11 @@
|
||||
"logLevel_optionError": "Fehler",
|
||||
"logLevel_optionInfo": "Info",
|
||||
"logLevel_optionWarn": "Warnung",
|
||||
"autoDJ_description": "füge automatisch ähnliche Lieder der Wiedergabeliste hinzu",
|
||||
"autoDJ_description": "Füge automatisch ähnliche Lieder der Warteschlange hinzu",
|
||||
"autoDJ": "Auto DJ",
|
||||
"autoDJ_itemCount": "Anzahl",
|
||||
"autoDJ_itemCount_description": "die Anzahl der Lieder, die bei aktiviertem Auto DJ zur Wiedergabeliste hinzugefügt werden sollen",
|
||||
"autoDJ_timing_description": "die Anzahl der Lieder, die sich noch in der Wiedergabeliste befinden, bevor Auto DJ ausgelöst wird",
|
||||
"autoDJ_itemCount_description": "Die Anzahl der Lieder, die bei aktiviertem Auto DJ zur Warteschlange hinzugefügt werden sollen",
|
||||
"autoDJ_timing_description": "Die Anzahl der Lieder, die sich noch in der Warteschlange befinden, bevor Auto DJ ausgelöst wird",
|
||||
"autoDJ_timing": "Timing",
|
||||
"discordDisplayType": "{{discord}} Presence Darstellungsart",
|
||||
"discordLinkType_mbz_lastfm": "{{musicbrainz}} mit {{lastfm}} als Ersatz",
|
||||
@@ -918,11 +867,11 @@
|
||||
"neteaseTranslation": "NetEase Übersetzungen aktivieren",
|
||||
"notify": "Benachrichtigungen aktivieren",
|
||||
"notify_description": "Zeigt Benachrichtigungen beim Titelwechsel",
|
||||
"playerFilters": "Lieder der Wiedergabeliste filtern",
|
||||
"playerFilters": "Lieder in der Warteschlange filtern",
|
||||
"playButtonBehavior_optionPlayShuffled": "$t(player.shuffle)",
|
||||
"volumeWidth_description": "Die Breite des Lautstärkereglers",
|
||||
"volumeWidth": "Lautstärkereglerbreite",
|
||||
"webAudio_description": "Web-Audio verwenden. Dies ermöglicht erweiterte Funktionen wie ReplayGain. Deaktiviere die Option, falls bei der Wiedergabe Probleme auftreten",
|
||||
"webAudio_description": "Web-Audio verwenden. Dies ermöglicht erweiterte Funktionen wie ReplayGain. Deaktiviere dies, wenn bei der Wiedergabe Probleme auftreten",
|
||||
"webAudio": "Web-Audio verwenden",
|
||||
"trayEnabled": "Info-Symbol anzeigen",
|
||||
"transcode": "Transkodierung aktivieren",
|
||||
@@ -940,7 +889,7 @@
|
||||
"artistConfiguration_description": "Legt fest, welche Elemente auf der Albumkünstlerseite angezeigt werden und in welcher Reihenfolge",
|
||||
"contextMenu_description": "Legt die Einträge fest, die im Rechtsklick-Menü angezeigt werden sollen. Abgewählte Einträge werden ausgeblendet",
|
||||
"crossfadeStyle": "Art der Überblende",
|
||||
"customCss_description": "Benutzerdefinierter CSS-Inhalt. Hinweis: Inhalte und Remote-URLs sind nicht zulässige Eigenschaften. Unten siehst du eine Vorschau deines Inhalts. Aufgrund von Bereinigung werden womöglich zusätzliche, nicht von dir definierte Felder angezeigt",
|
||||
"customCss_description": "Benutzerdefinierter CSS-Inhalt. Hinweis: content und entfernte URLs sind unzulässig. Siehe Vorschau unten. Aufgrund von Bereinigung werden womöglich nicht gesetzte Felder angezeigt",
|
||||
"customCssNotice": "Warnung: Obwohl eine gewisse Bereinigung erfolgt (url() und content: sind nicht zulässig), kann die Verwendung von benutzerdefiniertem CSS dennoch Risiken mit sich bringen, da dadurch die Benutzeroberfläche verändert wird",
|
||||
"releaseChannel_optionBeta": "Beta",
|
||||
"releaseChannel_optionLatest": "Stabil",
|
||||
@@ -954,25 +903,11 @@
|
||||
"exportImportSettings_destructiveWarning": "Das Importieren von Einstellungen ist irreversibel. Bitte lies die Hinweise oben sorgfältig durch, bevor du auf \"Importieren\" klickst!",
|
||||
"followCurrentSong": "aktuellem Titel folgen",
|
||||
"followCurrentSong_description": "die Wiedergabeliste scrollt automatisch zum aktuellen Titel",
|
||||
"playerFilters_description": "verhindert, dass Titel anhand der folgenden Kriterien zur Wiedergabeliste hinzugefügt werden",
|
||||
"playerFilters_description": "verhindert, dass Titel anhand der folgenden Kriterien zur Warteschlange hinzugefügt werden",
|
||||
"preferLocalLyrics_description": "lokale Songtexte gegenüber externen Quellen bevorzugen (sofern verfügbar)",
|
||||
"preferLocalLyrics": "Priorisiere lokale Songtexte",
|
||||
"showLyricsInSidebar_description": "ein Bereich, in dem Songtexte angezeigt werden, wird der Wiedergabeliste hinzugefügt",
|
||||
"showLyricsInSidebar": "zeige Songtexte in der Player-Seitenleiste",
|
||||
"homeFeature_description": "steuert, ob das große Featured-Karussell auf der Startseite angezeigt wird",
|
||||
"homeFeature": "Feature-Karussell",
|
||||
"playerbarWaveformAlign_optionTop": "Oben",
|
||||
"playerbarWaveformAlign_optionCenter": "Mitte",
|
||||
"playerbarWaveformAlign_optionBottom": "Unten",
|
||||
"translationApiKey_description": "API-Schlüssel für Übersetzungen (nur globale Service-Endpunkte)",
|
||||
"translationApiKey": "API-Schlüssel für Übersetzungen",
|
||||
"translationApiProvider_description": "API-Anbieter für Übersetzungen",
|
||||
"translationApiProvider": "API-Anbieter für Übersetzungen",
|
||||
"hotkey_navigateHome": "zurück zur Startseite",
|
||||
"translationTargetLanguage_description": "die gewünschte Sprache der Übersetzung",
|
||||
"translationTargetLanguage": "Zielsprache der Übersetzung",
|
||||
"queryBuilderCustomFields": "benutzerdefiniertes Feld",
|
||||
"queryBuilderCustomFields_inputTag": "Tag"
|
||||
"showLyricsInSidebar": "zeige Songtexte in der Player-Seitenleiste"
|
||||
},
|
||||
"dragDropZone": {
|
||||
"error_oneFileOnly": "Bitte wähle nur 1 Datei",
|
||||
@@ -1026,11 +961,5 @@
|
||||
"soundtrack": "Soundtrack",
|
||||
"spokenWord": "Gesprochenes Wort"
|
||||
}
|
||||
},
|
||||
"datetime": {
|
||||
"minuteShort": "Min",
|
||||
"secondShort": "Sek",
|
||||
"hourShort": "Std",
|
||||
"dayShort": "Tag"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,14 +2,11 @@
|
||||
"action": {
|
||||
"addToFavorites": "add to $t(entity.favorite_other)",
|
||||
"addToPlaylist": "add to $t(entity.playlist_one)",
|
||||
"addOrRemoveFromSelection": "add or remove from selection",
|
||||
"selectRangeOfItems": "select a range of items",
|
||||
"clearQueue": "clear queue",
|
||||
"createPlaylist": "create $t(entity.playlist_one)",
|
||||
"createRadioStation": "create $t(entity.radioStation_one)",
|
||||
"deletePlaylist": "delete $t(entity.playlist_one)",
|
||||
"deleteRadioStation": "delete $t(entity.radioStation_one)",
|
||||
"selectAll": "select all",
|
||||
"deselectAll": "deselect all",
|
||||
"downloadStarted": "started download of {{count}} items",
|
||||
"editPlaylist": "edit $t(entity.playlist_one)",
|
||||
@@ -40,7 +37,6 @@
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
"countSelected": "{{count}} selected",
|
||||
"explicitStatus": "explicit status",
|
||||
"action_one": "action",
|
||||
"action_other": "actions",
|
||||
@@ -83,15 +79,12 @@
|
||||
"edit": "edit",
|
||||
"enable": "enable",
|
||||
"expand": "expand",
|
||||
"example": "example",
|
||||
"externalLinks": "external links",
|
||||
"faster": "faster",
|
||||
"favorite": "favorite",
|
||||
"filter_one": "filter",
|
||||
"filter_other": "filters",
|
||||
"filters": "filters",
|
||||
"filter_single": "single",
|
||||
"filter_multiple": "multi",
|
||||
"forceRestartRequired": "restart to apply changes… close the notification to restart",
|
||||
"forward": "forward",
|
||||
"gap": "gap",
|
||||
@@ -105,7 +98,6 @@
|
||||
"minimize": "minimize",
|
||||
"modified": "modified",
|
||||
"mbid": "MusicBrainz ID",
|
||||
"mood": "mood",
|
||||
"name": "name",
|
||||
"no": "no",
|
||||
"none": "none",
|
||||
@@ -123,7 +115,6 @@
|
||||
"quit": "quit",
|
||||
"random": "random",
|
||||
"rating": "rating",
|
||||
"retry": "retry",
|
||||
"recordLabel": "record label",
|
||||
"releaseType": "release type",
|
||||
"refresh": "refresh",
|
||||
@@ -217,8 +208,6 @@
|
||||
"mpvRequired": "MPV required",
|
||||
"multipleServerSaveQueueError": "the play queue has one or more songs which are not from the current server. this is not supported",
|
||||
"networkError": "a network error occurred",
|
||||
"noNetwork": "server unavailable",
|
||||
"noNetworkDescription": "couldn't connect to this server",
|
||||
"notificationDenied": "permissions for notifications were denied. this setting has no effect",
|
||||
"openError": "could not open file",
|
||||
"playbackError": "an error occurred when trying to play the media",
|
||||
@@ -279,10 +268,10 @@
|
||||
"explicitStatus": "$t(common.explicitStatus)"
|
||||
},
|
||||
"datetime": {
|
||||
"minuteShort": "m",
|
||||
"secondShort": "s",
|
||||
"hourShort": "h",
|
||||
"dayShort": "d"
|
||||
"minuteShort": "min",
|
||||
"secondShort": "sec",
|
||||
"hourShort": "hr",
|
||||
"dayShort": "day"
|
||||
},
|
||||
"filterOperator": {
|
||||
"after": "is after",
|
||||
@@ -315,9 +304,6 @@
|
||||
"input_password": "password",
|
||||
"input_preferInstantMix": "prefer instant mix",
|
||||
"input_preferInstantMixDescription": "only use instant mix to get similar songs. useful if you have plugins that modify this behavior",
|
||||
"input_preferRemoteUrl": "prefer public url",
|
||||
"input_remoteUrl": "public url",
|
||||
"input_remoteUrlPlaceholder": "optional: public url for external features",
|
||||
"input_savePassword": "save password",
|
||||
"input_url": "url",
|
||||
"input_username": "username",
|
||||
@@ -362,11 +348,6 @@
|
||||
"success": "$t(entity.playlist_one) updated successfully",
|
||||
"title": "edit $t(entity.playlist_one)"
|
||||
},
|
||||
"lyricsExport": {
|
||||
"export": "export lyrics",
|
||||
"input_synced": "export synced lyrics",
|
||||
"input_offset": "$t(setting.lyricOffset)"
|
||||
},
|
||||
"lyricSearch": {
|
||||
"input_artist": "$t(entity.artist_one)",
|
||||
"input_name": "$t(common.name)",
|
||||
@@ -417,8 +398,6 @@
|
||||
"albumArtistDetail": {
|
||||
"about": "About {{artist}}",
|
||||
"appearsOn": "appears on",
|
||||
"groupingTypeAll": "all release types",
|
||||
"groupingTypePrimary": "primary release types",
|
||||
"recentReleases": "recent releases",
|
||||
"viewDiscography": "view discography",
|
||||
"relatedArtists": "related $t(entity.artist_other)",
|
||||
@@ -578,7 +557,6 @@
|
||||
"scrobble": "scrobble",
|
||||
"audio": "audio",
|
||||
"lyrics": "lyrics",
|
||||
"lyricsDisplay": "lyrics display",
|
||||
"transcoding": "transcoding",
|
||||
"discord": "discord",
|
||||
"logger": "logger",
|
||||
@@ -612,7 +590,6 @@
|
||||
"addNext": "next",
|
||||
"addLastShuffled": "last (shuffled)",
|
||||
"addNextShuffled": "next (shuffled)",
|
||||
"artistRadio": "artist radio",
|
||||
"holdToShuffle": "hold to shuffle",
|
||||
"favorite": "favorite",
|
||||
"lyrics": "lyrics",
|
||||
@@ -631,6 +608,9 @@
|
||||
"queue_moveToBottom": "move selected to top",
|
||||
"queue_moveToTop": "move selected to bottom",
|
||||
"queue_remove": "remove selected",
|
||||
"queueType": "queue type",
|
||||
"queueType_default": "default",
|
||||
"queueType_priority": "priority",
|
||||
"repeat": "repeat",
|
||||
"repeat_all": "repeat all",
|
||||
"repeat_off": "repeat disabled",
|
||||
@@ -645,7 +625,6 @@
|
||||
"skip_forward": "skip forwards",
|
||||
"stop": "stop",
|
||||
"toggleFullscreenPlayer": "toggle fullscreen player",
|
||||
"trackRadio": "track radio",
|
||||
"unfavorite": "unfavorite",
|
||||
"pause": "pause",
|
||||
"viewQueue": "view queue"
|
||||
@@ -702,8 +681,6 @@
|
||||
"artistBackgroundBlur_description": "adjusts the amount of blur applied to the artist background image",
|
||||
"artistConfiguration": "album artist page configuration",
|
||||
"artistConfiguration_description": "configure what items are shown, and in what order, on the album artist page",
|
||||
"artistReleaseTypeConfiguration": "artist release type configuration",
|
||||
"artistReleaseTypeConfiguration_description": "configure what release types are shown, and in what order, on the album artist page",
|
||||
"audioDevice_description": "select the audio device to use for playback (web player only)",
|
||||
"audioDevice": "audio device",
|
||||
"audioExclusiveMode_description": "enable exclusive output mode. In this mode, the system is usually locked out, and only mpv will be able to output audio",
|
||||
@@ -802,11 +779,6 @@
|
||||
"hotkey_favoritePreviousSong": "favorite $t(common.previousSong)",
|
||||
"hotkey_globalSearch": "global search",
|
||||
"hotkey_localSearch": "in-page search",
|
||||
"hotkey_listNavigateToPage": "list navigate to item page",
|
||||
"hotkey_listPlayDefault": "list play",
|
||||
"hotkey_listPlayLast": "list play last",
|
||||
"hotkey_listPlayNext": "list play next",
|
||||
"hotkey_listPlayNow": "list play now",
|
||||
"hotkey_navigateHome": "navigate to home",
|
||||
"hotkey_playbackNext": "next track",
|
||||
"hotkey_playbackPause": "pause",
|
||||
@@ -845,7 +817,7 @@
|
||||
"lastfmApiKey": "{{lastfm}} API key",
|
||||
"lyricFetch_description": "fetch lyrics from various internet sources",
|
||||
"lyricFetch": "fetch lyrics from the internet",
|
||||
"lyricFetchProvider_description": "select the providers to fetch lyrics from",
|
||||
"lyricFetchProvider_description": "select the providers to fetch lyrics from. the order of the providers is the order in which they will be queried",
|
||||
"lyricFetchProvider": "providers to fetch lyrics from",
|
||||
"lyricOffset_description": "offset the lyric by the specified amount of milliseconds",
|
||||
"lyricOffset": "lyric offset (ms)",
|
||||
@@ -863,8 +835,6 @@
|
||||
"minimumScrobbleSeconds": "minimum scrobble (seconds)",
|
||||
"mpvExecutablePath_description": "sets the path to the mpv executable. if left empty, the default path will be used",
|
||||
"mpvExecutablePath": "mpv executable path",
|
||||
"mpvExtraParameters": "mpv extra parameters",
|
||||
"mpvExtraParameters_description": "extra arguments to pass to mpv",
|
||||
"mpvExtraParameters_help": "one per line",
|
||||
"musicbrainz_description": "show links to MusicBrainz on artist/album pages, where MusicBrainz ID exists",
|
||||
"musicbrainz": "show MusicBrainz links",
|
||||
@@ -872,10 +842,6 @@
|
||||
"neteaseTranslation": "Enable NetEase translations",
|
||||
"notify": "enable song notifications",
|
||||
"notify_description": "show notifications when changing the current song",
|
||||
"pathReplace": "file path replacement",
|
||||
"pathReplace_description": "replace your server's default filepath",
|
||||
"pathReplace_optionRemovePrefix": "remove prefix",
|
||||
"pathReplace_optionAddPrefix": "add prefix",
|
||||
"passwordStore_description": "what password/secret store to use. change this if you are having issues storing passwords",
|
||||
"passwordStore": "passwords/secret store",
|
||||
"playerFilters": "Filter songs from the queue",
|
||||
@@ -890,15 +856,8 @@
|
||||
"playButtonBehavior_optionPlay": "$t(player.play)",
|
||||
"playButtonBehavior_optionPlayShuffled": "$t(player.shuffle)",
|
||||
"playButtonBehavior": "play button behavior",
|
||||
"artistRadioCount_description": "sets the number of songs to fetch for artist radio and track radio",
|
||||
"artistRadioCount": "artist/track radio count",
|
||||
"imageResolution": "image resolution",
|
||||
"imageResolution_description": "the resolution for the images used around the app. using a value of 0 will default to the native image resolution",
|
||||
"imageResolution_optionTable": "table",
|
||||
"imageResolution_optionItemCard": "item card",
|
||||
"imageResolution_optionSidebar": "sidebar",
|
||||
"imageResolution_optionHeader": "header",
|
||||
"imageResolution_optionFullScreenPlayer": "fullscreen player",
|
||||
"playerAlbumArtResolution_description": "the resolution for the large player's album art preview. larger makes it look more crisp, but may slow loading down. defaults to 0, meaning auto",
|
||||
"playerAlbumArtResolution": "player album art resolution",
|
||||
"playerbarOpenDrawer_description": "allows clicking of the playerbar to open the full screen player",
|
||||
"playerbarOpenDrawer": "playerbar fullscreen toggle",
|
||||
"playerbarSlider": "playerbar slider",
|
||||
@@ -916,12 +875,8 @@
|
||||
"preferLocalLyrics": "prefer local lyrics",
|
||||
"showLyricsInSidebar_description": "a panel will be added to the attached play queue that displays the lyrics",
|
||||
"showLyricsInSidebar": "show lyrics in player sidebar",
|
||||
"showRatings_description": "controls if the star ratings feature shows up in the interface",
|
||||
"showRatings": "show star ratings",
|
||||
"showVisualizerInSidebar_description": "a panel will be added to the player sidebar that displays the visualizer",
|
||||
"showVisualizerInSidebar": "show visualizer in player sidebar",
|
||||
"combinedLyricsAndVisualizer_description": "combine lyrics and visualizer into the same panel",
|
||||
"combinedLyricsAndVisualizer": "combine lyrics and visualizer in player sidebar",
|
||||
"preservePitch_description": "preserves pitch when modifying playback speed",
|
||||
"preservePitch": "preserve pitch",
|
||||
"audioFadeOnStatusChange": "audio fade on status change",
|
||||
@@ -964,7 +919,7 @@
|
||||
"sidePlayQueueStyle_description": "sets the style of the side play queue",
|
||||
"sidePlayQueueStyle_optionAttached": "attached",
|
||||
"sidePlayQueueStyle_optionDetached": "detached",
|
||||
"mediaSession_description": "enables Media Session integration, displaying media controls and metadata in the system volume overlay and lock screen",
|
||||
"mediaSession_description": "enables Windows Media Session integration, displaying media controls and metadata in the system volume overlay and lock screen (Windows only)",
|
||||
"mediaSession": "enable media session",
|
||||
"sidePlayQueueStyle": "side play queue style",
|
||||
"skipDuration_description": "sets the duration to skip when using the skip buttons on the player bar",
|
||||
@@ -1085,7 +1040,6 @@
|
||||
"bpm": "$t(common.bpm)",
|
||||
"channels": "$t(common.channel_other)",
|
||||
"codec": "$t(common.codec)",
|
||||
"composer": "composer",
|
||||
"dateAdded": "date added",
|
||||
"discNumber": "disc number",
|
||||
"duration": "$t(common.duration)",
|
||||
@@ -1105,7 +1059,6 @@
|
||||
"size": "$t(common.size)",
|
||||
"songCount": "$t(entity.track_other)",
|
||||
"title": "$t(common.title)",
|
||||
"titleArtist": "$t(common.title) (artist)",
|
||||
"titleCombined": "$t(common.title) (combined)",
|
||||
"trackNumber": "track number",
|
||||
"year": "$t(common.year)"
|
||||
@@ -1121,154 +1074,5 @@
|
||||
"error_oneFileOnly": "Please only select 1 file",
|
||||
"error_readingFile": "there has been an issue reading the file: {{errorMessage}}",
|
||||
"mainText": "drop a file here"
|
||||
},
|
||||
"visualizer": {
|
||||
"visualizerType": "Visualizer Type",
|
||||
"cyclePresets": "Cycle Presets",
|
||||
"cycleTime": "Cycle Time (seconds)",
|
||||
"includeAllPresets": "Include All Presets",
|
||||
"ignoredPresets": "Ignored Presets",
|
||||
"selectedPresets": "Selected Presets",
|
||||
"randomizeNextPreset": "Randomize Next Preset",
|
||||
"blendTime": "Blend Time",
|
||||
"presets": "Presets",
|
||||
"selectPreset": "Select Preset",
|
||||
"applyPreset": "Apply Preset",
|
||||
"saveAsPreset": "Save as Preset",
|
||||
"updatePreset": "Update Preset",
|
||||
"copyConfiguration": "Copy Configuration",
|
||||
"pasteConfiguration": "Paste Configuration",
|
||||
"pasteConfigurationPlaceholder": "Paste JSON configuration here...",
|
||||
"pasteFromClipboard": "Paste from Clipboard",
|
||||
"applyConfiguration": "Apply Configuration",
|
||||
"configCopied": "Configuration copied to clipboard",
|
||||
"configCopyFailed": "Failed to copy configuration",
|
||||
"configPasted": "Configuration applied successfully",
|
||||
"configPasteFailed": "Failed to apply configuration. Please check the format.",
|
||||
"configPasteReadFailed": "Failed to read from clipboard",
|
||||
"presetName": "Preset Name",
|
||||
"presetNamePlaceholder": "Enter preset name",
|
||||
"general": "General",
|
||||
"mode": "Mode",
|
||||
"mode1To8": "Mode 1 - 8",
|
||||
"mode10": "Mode 10",
|
||||
"barSpace": "Bar Space",
|
||||
"lineWidth": "Line Width",
|
||||
"fillAlpha": "Fill Alpha",
|
||||
"channelLayout": "Channel Layout",
|
||||
"maxFPS": "Max FPS",
|
||||
"opacity": "Opacity",
|
||||
"customGradients": "Custom Gradients",
|
||||
"addCustomGradient": "Add Custom Gradient",
|
||||
"gradientName": "Gradient Name",
|
||||
"gradientNamePlaceholder": "Gradient Name",
|
||||
"vertical": "Vertical",
|
||||
"horizontal": "Horizontal",
|
||||
"colorStops": "Color Stops",
|
||||
"addColor": "Add Color",
|
||||
"position": "Position",
|
||||
"level": "Level",
|
||||
"remove": "Remove",
|
||||
"pasteGradient": "Paste Gradient",
|
||||
"pasteGradientPlaceholder": "Paste gradient JSON here...",
|
||||
"custom": "Custom",
|
||||
"builtIn": "Built-in",
|
||||
"colors": "Colors",
|
||||
"colorMode": "Color Mode",
|
||||
"gradient": "Gradient",
|
||||
"gradientLeft": "Gradient Left",
|
||||
"gradientRight": "Gradient Right",
|
||||
"fft": "FFT",
|
||||
"fftSize": "FFT Size",
|
||||
"smoothing": "Smoothing",
|
||||
"frequencyRangeAndScaling": "Frequency range and scaling",
|
||||
"minimumFrequency": "Minimum Frequency",
|
||||
"maximumFrequency": "Maximum Frequency",
|
||||
"frequencyScale": "Frequency Scale",
|
||||
"sensitivity": "Sensitivity",
|
||||
"weightingFilter": "Weighting Filter",
|
||||
"minimumDecibels": "Minimum Decibels",
|
||||
"maximumDecibels": "Maximum Decibels",
|
||||
"linearAmplitude": "Linear Amplitude",
|
||||
"linearBoost": "Linear Boost",
|
||||
"peakBehavior": "Peak Behavior",
|
||||
"showPeaks": "Show Peaks",
|
||||
"fadePeaks": "Fade Peaks",
|
||||
"peakLine": "Peak Line",
|
||||
"gravity": "Gravity",
|
||||
"peakFadeTime": "Peak Fade Time (ms)",
|
||||
"peakHoldTime": "Peak Hold Time (ms)",
|
||||
"radialSpectrum": "Radial Spectrum",
|
||||
"radial": "Radial",
|
||||
"radialInvert": "Radial Invert",
|
||||
"spinSpeed": "Spin Speed",
|
||||
"radius": "Radius",
|
||||
"reflexMirror": "Reflex Mirror",
|
||||
"reflexFit": "Reflex Fit",
|
||||
"reflexRatio": "Reflex Ratio",
|
||||
"reflexAlpha": "Reflex Alpha",
|
||||
"reflexBrightness": "Reflex Brightness",
|
||||
"mirror": "Mirror",
|
||||
"miscellaneousSettings": "Miscellaneous Settings",
|
||||
"alphaBars": "Alpha Bars",
|
||||
"ansiBands": "ANSI Bands",
|
||||
"ledBars": "LED Bars",
|
||||
"trueLeds": "True LEDs",
|
||||
"lumiBars": "Lumi Bars",
|
||||
"outlineBars": "Outline Bars",
|
||||
"roundBars": "Round Bars",
|
||||
"lowResolution": "Low Resolution",
|
||||
"splitGradient": "Split Gradient",
|
||||
"showFPS": "Show FPS",
|
||||
"showScaleX": "Show Scale X",
|
||||
"noteLabels": "Note Labels",
|
||||
"showScaleY": "Show Scale Y",
|
||||
"options": {
|
||||
"mode": {
|
||||
"0": "[0] Discrete Frequencies",
|
||||
"1": "[1] 1/24th octave / 240 bands",
|
||||
"2": "[2] 1/12th octave / 120 bands",
|
||||
"3": "[3] 1/8th octave / 80 bands",
|
||||
"4": "[4] 1/6th octave / 60 bands",
|
||||
"5": "[5] 1/4th octave / 40 bands",
|
||||
"6": "[6] 1/3rd octave / 30 bands",
|
||||
"7": "[7] Half octave / 20 bands",
|
||||
"8": "[8] Full octave / 10 bands",
|
||||
"10": "[10] Line / Area graph"
|
||||
},
|
||||
"colorMode": {
|
||||
"gradient": "Gradient",
|
||||
"barIndex": "Bar-Index",
|
||||
"barLevel": "Bar-Level"
|
||||
},
|
||||
"gradient": {
|
||||
"classic": "Classic",
|
||||
"prism": "Prism",
|
||||
"rainbow": "Rainbow",
|
||||
"steelblue": "Steelblue",
|
||||
"orangered": "Orangered"
|
||||
},
|
||||
"channelLayout": {
|
||||
"single": "Single",
|
||||
"dualCombined": "Dual-Combined",
|
||||
"dualHorizontal": "Dual-Horizontal",
|
||||
"dualVertical": "Dual-Vertical"
|
||||
},
|
||||
"frequencyScale": {
|
||||
"none": "None",
|
||||
"bark": "Bark Scale",
|
||||
"linear": "Linear Scale",
|
||||
"log": "Log Scale",
|
||||
"mel": "Mel Scale"
|
||||
},
|
||||
"weightingFilter": {
|
||||
"none": "None",
|
||||
"a": "A",
|
||||
"b": "B",
|
||||
"c": "C",
|
||||
"d": "D",
|
||||
"z": "Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,12 +33,13 @@
|
||||
"viewQueue": "ver cola",
|
||||
"addLastShuffled": "Al final (mezclado)",
|
||||
"addNextShuffled": "Al siguiente (mezclado)",
|
||||
"queueType": "Tipo de cola",
|
||||
"queueType_default": "Predeterminado",
|
||||
"queueType_priority": "Prioridad",
|
||||
"holdToShuffle": "Mantener para mezclar",
|
||||
"lyrics": "Letras",
|
||||
"restoreQueueFromServer": "Restaurar cola del servidor",
|
||||
"saveQueueToServer": "Guardar cola en el servidor",
|
||||
"artistRadio": "Radio de artista",
|
||||
"trackRadio": "Radio de pista"
|
||||
"saveQueueToServer": "Guardar cola en el servidor"
|
||||
},
|
||||
"setting": {
|
||||
"crossfadeStyle_description": "selecciona el estilo de crossfade a usar por el reproductor de audio",
|
||||
@@ -49,7 +50,7 @@
|
||||
"theme_description": "establece el tema a usar por la aplicación",
|
||||
"hotkey_playbackPause": "pausa",
|
||||
"replayGainFallback": "{{ReplayGain}} alternativa",
|
||||
"sidebarCollapsedNavigation_description": "Muestra u oculta la navegación en la barra lateral contraída",
|
||||
"sidebarCollapsedNavigation_description": "mostrar u ocultar la navegación en la barra lateral contraída",
|
||||
"hotkey_volumeUp": "subir volumen",
|
||||
"skipDuration": "duración de salto",
|
||||
"discordIdleStatus_description": "cuando se activa, actualiza el estado mientras el reproductor está inactivo",
|
||||
@@ -119,7 +120,7 @@
|
||||
"remotePassword_description": "establece la contraseña para el control remoto del servidor. Esas credenciales son transferidas de forma insegura por defecto, por lo que deberías usar una contraseña única para que no tengas nada de lo que preocuparte",
|
||||
"hotkey_rate5": "calificar con 5 estrellas",
|
||||
"hotkey_playbackPrevious": "pista anterior",
|
||||
"showSkipButtons_description": "Muestra u oculta los botones de saltar en la barra del reproductor",
|
||||
"showSkipButtons_description": "muestra o esconde los botones de saltar en la barra del reproductor",
|
||||
"crossfadeDuration_description": "establece la duración del efecto de crossfade",
|
||||
"playbackStyle": "estilo de reproducción",
|
||||
"hotkey_toggleShuffle": "alterna aleatorio",
|
||||
@@ -134,12 +135,12 @@
|
||||
"exitToTray": "salir a la bandeja",
|
||||
"hotkey_rate4": "calificar con 4 estrellas",
|
||||
"enableRemote": "activar control remoto del servidor",
|
||||
"showSkipButton_description": "Muestra u oculta los botones de saltar en la barra del reproductor",
|
||||
"showSkipButton_description": "muestra o esconde los botones de saltar en la barra del reproductor",
|
||||
"savePlayQueue": "guardar cola de reproducción",
|
||||
"minimumScrobbleSeconds_description": "la duración mínima en segundos de la canción que debe ser reproducida antes de hacer scrobble",
|
||||
"fontType_description": "Fuente incorporada selecciona una de las fuentes proporcionadas por feishin. Fuente del sistema te permite seleccionar cualquier fuente proporcionada por tu sistema operativo. Personalizada te permite proporcionar tu propia fuente",
|
||||
"playButtonBehavior": "comportamiento del botón de reproducción",
|
||||
"sidebarPlaylistList_description": "Muestra u oculta las listas de reproducción en la barra lateral",
|
||||
"sidebarPlaylistList_description": "muestra o esconde las listas de reproducción en la barra lateral",
|
||||
"sidePlayQueueStyle_description": "establece el estilo de la cola de reproducción lateral",
|
||||
"replayGainMode": "modo de {{ReplayGain}}",
|
||||
"playbackStyle_optionNormal": "normal",
|
||||
@@ -205,6 +206,8 @@
|
||||
"startMinimized_description": "inicia la aplicación en la bandeja del sistema",
|
||||
"startMinimized": "iniciar minimizado",
|
||||
"passwordStore": "contraseñas/almacenamiento secreto",
|
||||
"playerAlbumArtResolution_description": "la resolución para la vista previa de la carátula del álbum del reproductor grande. más grande hace que parezca más nítido, pero puede ralentizar la carga. El valor predeterminado es 0, lo que significa automático",
|
||||
"playerAlbumArtResolution": "resolución de la carátula del álbum del reproductor",
|
||||
"homeConfiguration": "Configuración de la página de inicio",
|
||||
"mpvExtraParameters_help": "Uno por línea",
|
||||
"externalLinks_description": "Permite mostrar enlaces externos (Last.fm, MusicBrainz) en las páginas del artista/álbum",
|
||||
@@ -220,7 +223,7 @@
|
||||
"discordListening_description": "muestra el estado como Escuchando en lugar de Jugando a",
|
||||
"discordListening": "Mostrar estado como escuchando",
|
||||
"contextMenu": "Configuración del menú de contexto (clic derecho)",
|
||||
"contextMenu_description": "Te permite ocultar elementos que son mostrados en el menú cuando haces clic derecho en un elemento. Los elementos que no estén seleccionados se ocultarán",
|
||||
"contextMenu_description": "Te permite esconder elementos que son mostrados en el menú cuando haces clic derecho en un elemento. Los elementos que no estén seleccionados serán escondidos",
|
||||
"customCssEnable": "Habilitar CSS personalizado",
|
||||
"customCssEnable_description": "Permite escribir CSS personalizado",
|
||||
"customCss": "CSS personalizado",
|
||||
@@ -286,7 +289,7 @@
|
||||
"releaseChannel_description": "Elige entre lanzamientos estables o beta para las actualizaciones automáticas",
|
||||
"artistBackground_description": "Añade una imagen de fondo para las páginas de artista que contienen el arte del artista",
|
||||
"mediaSession": "Activar sesión de medios",
|
||||
"mediaSession_description": "Activa la integración de la sesión de medios, mostrando los controles de medios y los metadatos en la superposición del volumen del sistema y en la pantalla de bloqueo",
|
||||
"mediaSession_description": "Activa la integración de la sesión de medios de Windows, mostrando los controles de medios y los metadatos en la superposición del volumen del sistema y en la pantalla de bloqueo (solo en Windows)",
|
||||
"exportImportSettings_control_description": "Exporta e importa la configuración a través de JSON",
|
||||
"exportImportSettings_control_exportText": "exportar configuración",
|
||||
"exportImportSettings_control_importText": "importar configuración",
|
||||
@@ -346,33 +349,7 @@
|
||||
"logLevel_optionInfo": "Información",
|
||||
"logLevel_optionWarn": "Advertencia",
|
||||
"useThemeAccentColor": "Usar color de acentuación de tema",
|
||||
"useThemeAccentColor_description": "Usa el color principal definido en el tema seleccionado en lugar del color de acentuación personalizado",
|
||||
"artistRadioCount_description": "Establece el número de canciones a buscar para la radio de artista y de pista",
|
||||
"artistRadioCount": "Recuento de radio de artista/pista",
|
||||
"imageResolution": "Resolución de imagen",
|
||||
"imageResolution_description": "La resolución de las imágenes usadas en la aplicación. Usar un valor de 0 lo dejará de forma predeterminada a la resolución nativa de la imagen",
|
||||
"imageResolution_optionTable": "Tabla",
|
||||
"imageResolution_optionItemCard": "Tarjeta de elemento",
|
||||
"imageResolution_optionSidebar": "Barra lateral",
|
||||
"imageResolution_optionHeader": "Cabecera",
|
||||
"imageResolution_optionFullScreenPlayer": "Reproductor a pantalla completa",
|
||||
"showRatings_description": "Controla si la característica de calificación de estrellas aparece en la interfaz",
|
||||
"showRatings": "Mostrar calificación de estrellas",
|
||||
"combinedLyricsAndVisualizer_description": "Combina letras y visualizador en el mismo panel",
|
||||
"combinedLyricsAndVisualizer": "Combinar letras y visualizador en la barra lateral del reproductor",
|
||||
"artistReleaseTypeConfiguration": "Configuración de tipo de lanzamiento de artista",
|
||||
"artistReleaseTypeConfiguration_description": "Configura qué tipos de lanzamiento son mostrados, y en qué orden, en la página del artista del álbum",
|
||||
"mpvExtraParameters": "Parámetros adicionales de MPV",
|
||||
"mpvExtraParameters_description": "Argumentos adicionales a pasar a MPV",
|
||||
"hotkey_listPlayDefault": "Reproducir lista",
|
||||
"hotkey_listPlayLast": "Reproducir lista al final",
|
||||
"hotkey_listPlayNext": "Reproducir lista a continuación",
|
||||
"hotkey_listPlayNow": "Reproducir lista ahora",
|
||||
"hotkey_listNavigateToPage": "Navegar por la lista hasta la página del elemento",
|
||||
"pathReplace_description": "Reemplaza la ruta de archivo predeterminada de tu servidor",
|
||||
"pathReplace": "Reemplazo de la ruta de archivo",
|
||||
"pathReplace_optionRemovePrefix": "Eliminar prefijo",
|
||||
"pathReplace_optionAddPrefix": "Añadir prefijo"
|
||||
"useThemeAccentColor_description": "Usa el color principal definido en el tema seleccionado en lugar del color de acentuación personalizado"
|
||||
},
|
||||
"action": {
|
||||
"editPlaylist": "editar $t(entity.playlist_one)",
|
||||
@@ -408,11 +385,7 @@
|
||||
"moveUp": "Desplazar hacia arriba",
|
||||
"moveDown": "Desplazar hacia abajo",
|
||||
"createRadioStation": "Crear $t(entity.radioStation_one)",
|
||||
"deleteRadioStation": "Borrar $t(entity.radioStation_one)",
|
||||
"openApplicationDirectory": "Abrir directorio de la aplicación",
|
||||
"addOrRemoveFromSelection": "Añadir o quitar de la selección",
|
||||
"selectRangeOfItems": "Seleccionar un intervalo de elementos",
|
||||
"selectAll": "Seleccionar todo"
|
||||
"deleteRadioStation": "Borrar $t(entity.radioStation_one)"
|
||||
},
|
||||
"common": {
|
||||
"backward": "hacia atrás",
|
||||
@@ -529,13 +502,7 @@
|
||||
"tableColumns": "Columnas de la tabla",
|
||||
"itemsMore": "{{count}} más",
|
||||
"noFilters": "Ningún filtro configurado",
|
||||
"view": "Vista",
|
||||
"countSelected": "{{count}} seleccionados",
|
||||
"retry": "Reintentar",
|
||||
"mood": "Estado de ánimo",
|
||||
"example": "Ejemplo",
|
||||
"filter_single": "simple",
|
||||
"filter_multiple": "multi"
|
||||
"view": "Vista"
|
||||
},
|
||||
"error": {
|
||||
"remotePortWarning": "reiniciar el servidor para aplicar el nuevo puerto",
|
||||
@@ -563,10 +530,7 @@
|
||||
"badValue": "Opción inválida \"{{value}}\". Este valor ya no existe",
|
||||
"notificationDenied": "Se denegaron los permisos para notificaciones. Esta configuración no tiene efecto",
|
||||
"saveQueueFailed": "Error al guardar la cola",
|
||||
"multipleServerSaveQueueError": "La cola de reproducción tiene una o más canciones que no son del servidor actual. Esto no está soportado",
|
||||
"settingsSyncError": "Se encontraron discrepancias entre las opciones del renderizador y el proceso principal. Reinicia la aplicación para aplicar los cambios",
|
||||
"noNetwork": "Servidor no disponible",
|
||||
"noNetworkDescription": "No se pudo conectar a este servidor"
|
||||
"multipleServerSaveQueueError": "La cola de reproducción tiene una o más canciones que no son del servidor actual. Esto no está soportado"
|
||||
},
|
||||
"filter": {
|
||||
"mostPlayed": "más reproducido",
|
||||
@@ -736,8 +700,7 @@
|
||||
"discord": "Discord",
|
||||
"sidebar": "Barra lateral",
|
||||
"playerFilters": "Filtros del reproductor",
|
||||
"logger": "Registrador",
|
||||
"lyricsDisplay": "Mostrar letras"
|
||||
"logger": "Registrador"
|
||||
},
|
||||
"albumArtistList": {
|
||||
"title": "$t(entity.albumArtist_other)"
|
||||
@@ -777,9 +740,7 @@
|
||||
"recentReleases": "Lanzamientos recientes",
|
||||
"viewDiscography": "Ver discografía",
|
||||
"about": "Sobre {{artist}}",
|
||||
"appearsOn": "Aparece en",
|
||||
"groupingTypeAll": "Todos los tipos de lanzamiento",
|
||||
"groupingTypePrimary": "Tipos de lanzamiento principales"
|
||||
"appearsOn": "Aparece en"
|
||||
},
|
||||
"itemDetail": {
|
||||
"copiedPath": "Ruta copiada correctamente",
|
||||
@@ -834,10 +795,7 @@
|
||||
"ignoreCors": "ignorar cors ($t(common.restartRequired))",
|
||||
"error_savePassword": "un error ocurrió cuando se intentó guardar la contraseña",
|
||||
"input_preferInstantMix": "Preferir mix instantáneo",
|
||||
"input_preferInstantMixDescription": "Usa solo el mix instantáneo para obtener canciones similares. Útil si tienes complementos que modifican este comportamiento",
|
||||
"input_remoteUrl": "URL pública",
|
||||
"input_preferRemoteUrl": "Preferir URL pública",
|
||||
"input_remoteUrlPlaceholder": "Opcional: URL pública para características externas"
|
||||
"input_preferInstantMixDescription": "Usa solo el mix instantáneo para obtener canciones similares. Útil si tienes complementos que modifican este comportamiento"
|
||||
},
|
||||
"addToPlaylist": {
|
||||
"success": "añadido $t(entity.trackWithCount, {\"count\": {{message}} }) a $t(entity.playlistWithCount, {\"count\": {{numOfPlaylists}} })",
|
||||
@@ -908,11 +866,6 @@
|
||||
"input_homepageUrl": "URL de la página de inicio",
|
||||
"input_name": "Nombre",
|
||||
"input_streamUrl": "URL de la transmisión"
|
||||
},
|
||||
"lyricsExport": {
|
||||
"export": "Exportar letras",
|
||||
"input_synced": "Exportar letras sincronizadas",
|
||||
"input_offset": "$t(setting.lyricOffset)"
|
||||
}
|
||||
},
|
||||
"table": {
|
||||
@@ -979,9 +932,7 @@
|
||||
"genreBadge": "$t(entity.genre_one) (insignias)",
|
||||
"image": "Imagen",
|
||||
"bitDepth": "$t(common.bitDepth)",
|
||||
"sampleRate": "$t(common.sampleRate)",
|
||||
"titleArtist": "$t(common.title) (artista)",
|
||||
"composer": "Compositor"
|
||||
"sampleRate": "$t(common.sampleRate)"
|
||||
},
|
||||
"general": {
|
||||
"gap": "$t(common.gap)",
|
||||
@@ -1133,160 +1084,5 @@
|
||||
"notInTheLast": "no está en el último",
|
||||
"startsWith": "empieza con",
|
||||
"matchesRegex": "coincide con expresión regular"
|
||||
},
|
||||
"datetime": {
|
||||
"minuteShort": "m",
|
||||
"secondShort": "s",
|
||||
"hourShort": "h",
|
||||
"dayShort": "d"
|
||||
},
|
||||
"visualizer": {
|
||||
"visualizerType": "Tipo de visualizador",
|
||||
"copyConfiguration": "Copiar configuración",
|
||||
"pasteConfiguration": "Pegar configuración",
|
||||
"pasteConfigurationPlaceholder": "Pegar configuración de JSON aquí...",
|
||||
"pasteFromClipboard": "Pegar desde el portapapeles",
|
||||
"applyConfiguration": "Aplicar configuración",
|
||||
"configCopied": "Configuración copiada al portapapeles",
|
||||
"configCopyFailed": "Error al copiar la configuración",
|
||||
"configPasted": "Configuración aplicada con éxito",
|
||||
"configPasteFailed": "Error al aplicar la configuración. Por favor revisa el formato.",
|
||||
"configPasteReadFailed": "Error al leer del portapapeles",
|
||||
"general": "General",
|
||||
"mode": "Modo",
|
||||
"mode1To8": "Modo 1 - 8",
|
||||
"mode10": "Modo 10",
|
||||
"barSpace": "Espacio de barra",
|
||||
"lineWidth": "Ancho de línea",
|
||||
"maxFPS": "FPS máximos",
|
||||
"opacity": "Opacidad",
|
||||
"channelLayout": "Diseño del canal",
|
||||
"fillAlpha": "Rellenar alfa",
|
||||
"customGradients": "Degradados personalizados",
|
||||
"addCustomGradient": "Añadir degradado personalizado",
|
||||
"gradientName": "Nombre del degradado",
|
||||
"gradientNamePlaceholder": "Nombre del degradado",
|
||||
"vertical": "Vertical",
|
||||
"horizontal": "Horizontal",
|
||||
"addColor": "Añadir color",
|
||||
"colorStops": "Paradas de color",
|
||||
"position": "Posición",
|
||||
"level": "Nivel",
|
||||
"remove": "Eliminar",
|
||||
"custom": "Personalizado",
|
||||
"builtIn": "Integrado",
|
||||
"colors": "Colores",
|
||||
"colorMode": "Modo de color",
|
||||
"gradient": "Degradado",
|
||||
"gradientLeft": "Izquierda del degradado",
|
||||
"gradientRight": "Derecha del degradado",
|
||||
"fft": "FFT",
|
||||
"fftSize": "Tamaño del FFT",
|
||||
"smoothing": "Suavizado",
|
||||
"frequencyRangeAndScaling": "Rango de frecuencia y escala",
|
||||
"minimumFrequency": "Frecuencia mínima",
|
||||
"maximumFrequency": "Frecuencia máxima",
|
||||
"frequencyScale": "Escala de frecuencia",
|
||||
"sensitivity": "Sensibilidad",
|
||||
"weightingFilter": "Filtro de ponderación",
|
||||
"minimumDecibels": "Decibelios mínimos",
|
||||
"maximumDecibels": "Decibelios máximos",
|
||||
"linearAmplitude": "Amplitud lineal",
|
||||
"linearBoost": "Aumento lineal",
|
||||
"peakBehavior": "Comportamiento del pico",
|
||||
"showPeaks": "Mostrar picos",
|
||||
"fadePeaks": "Picos desvanecidos",
|
||||
"peakLine": "Línea del pico",
|
||||
"gravity": "Gravedad",
|
||||
"peakFadeTime": "Tiempo de desvanecimiento del pico (ms)",
|
||||
"peakHoldTime": "Tiempo de espera del pico (ms)",
|
||||
"radialSpectrum": "Espectro radial",
|
||||
"radial": "Radial",
|
||||
"radialInvert": "Invertir radial",
|
||||
"spinSpeed": "Velocidad de giro",
|
||||
"radius": "Radio",
|
||||
"reflexMirror": "Espejo del reflejo",
|
||||
"reflexFit": "Ajuste del reflejo",
|
||||
"reflexRatio": "Proporción del reflejo",
|
||||
"reflexAlpha": "Alfa del reflejo",
|
||||
"reflexBrightness": "Brillo del reflejo",
|
||||
"mirror": "Espejo",
|
||||
"miscellaneousSettings": "Miscelánea",
|
||||
"alphaBars": "Barras alfa",
|
||||
"ansiBands": "Bandas ANSI",
|
||||
"ledBars": "Barras LED",
|
||||
"trueLeds": "True LED",
|
||||
"options": {
|
||||
"colorMode": {
|
||||
"gradient": "Degradado",
|
||||
"barLevel": "Nivel de barra",
|
||||
"barIndex": "Índice de barra"
|
||||
},
|
||||
"gradient": {
|
||||
"classic": "Clásico",
|
||||
"prism": "Prisma",
|
||||
"rainbow": "Arcoíris",
|
||||
"steelblue": "Azul acero",
|
||||
"orangered": "Naranja rojizo"
|
||||
},
|
||||
"channelLayout": {
|
||||
"single": "Sencillo",
|
||||
"dualCombined": "Doble combinado",
|
||||
"dualHorizontal": "Doble horizontal",
|
||||
"dualVertical": "Doble vertical"
|
||||
},
|
||||
"frequencyScale": {
|
||||
"linear": "Escala lineal",
|
||||
"none": "Ninguna",
|
||||
"log": "Escala de registro",
|
||||
"bark": "Escala Bark",
|
||||
"mel": "Escala Mel"
|
||||
},
|
||||
"weightingFilter": {
|
||||
"none": "Ninguno",
|
||||
"a": "A",
|
||||
"b": "B",
|
||||
"c": "C",
|
||||
"d": "D",
|
||||
"z": "Z"
|
||||
},
|
||||
"mode": {
|
||||
"0": "[0] Frecuencias discretas",
|
||||
"1": "[1] 1/24ª octava / 240 bandas",
|
||||
"2": "[1] 1/12ª octava / 120 bandas",
|
||||
"3": "[3] 1/8ª octava / 80 bandas",
|
||||
"4": "[4] 1/6ª octava / 60 bandas",
|
||||
"5": "[5] 1/4ª octava / 40 bandas",
|
||||
"6": "[6] 1/3ª octava / 30 bandas",
|
||||
"7": "[7] Media octava / 20 bandas",
|
||||
"8": "[8] Octava completa / 10 bandas",
|
||||
"10": "[10] Línea / Gráfico de área"
|
||||
}
|
||||
},
|
||||
"showFPS": "Mostrar FPS",
|
||||
"showScaleX": "Mostrar escala X",
|
||||
"showScaleY": "Mostrar escala Y",
|
||||
"cyclePresets": "Ajustes preestablecidos del ciclo",
|
||||
"cycleTime": "Tiempo del ciclo (segundos)",
|
||||
"includeAllPresets": "Incluir todos los ajustes preestablecidos",
|
||||
"ignoredPresets": "Ajustes preestablecidos ignorados",
|
||||
"selectedPresets": "Ajustes preestablecidos seleccionados",
|
||||
"randomizeNextPreset": "Aleatorizar el siguiente ajuste preestablecido",
|
||||
"blendTime": "Tiempo de mezcla",
|
||||
"presets": "Ajustes preestablecidos",
|
||||
"selectPreset": "Seleccionar ajuste preestablecido",
|
||||
"applyPreset": "Aplicar ajuste preestablecido",
|
||||
"saveAsPreset": "Guardar como ajuste preestablecido",
|
||||
"updatePreset": "Actualizar ajuste preestablecido",
|
||||
"presetName": "Nombre del ajuste preestablecido",
|
||||
"presetNamePlaceholder": "Introduce el nombre del ajuste preestablecido",
|
||||
"pasteGradient": "Pegar degradado",
|
||||
"pasteGradientPlaceholder": "Pegar JSON del degradado aquí...",
|
||||
"outlineBars": "Barras de contorno",
|
||||
"roundBars": "Barras redondeadas",
|
||||
"lowResolution": "Baja resolución",
|
||||
"splitGradient": "Dividir degradado",
|
||||
"noteLabels": "Etiquetas de notas",
|
||||
"lumiBars": "Barras luminiscentes"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"moveToBottom": "mugitu behera",
|
||||
"moveToTop": "mugitu gora",
|
||||
"refresh": "$t(common.refresh)",
|
||||
"removeFromFavorites": "kendu gogokoetatik",
|
||||
"removeFromFavorites": "kendu $t(entity.favorite_other)-(e)tik",
|
||||
"removeFromPlaylist": "kendu $t(entity.playlist_one)-(e)tik",
|
||||
"removeFromQueue": "kendu ilaratik",
|
||||
"setRating": "ezarri balorazioa",
|
||||
@@ -20,18 +20,8 @@
|
||||
"clearQueue": "garbitu ilara",
|
||||
"createPlaylist": "sortu $t(entity.playlist_one)",
|
||||
"deletePlaylist": "ezabatu $t(entity.playlist_one)",
|
||||
"addToFavorites": "gehitu gogokoetara",
|
||||
"addToPlaylist": "gehitu $t(entity.playlist_one)ra",
|
||||
"createRadioStation": "sortu $t(entity.radioStation_one)",
|
||||
"deleteRadioStation": "ezabatu $t(entity.radioStation_one)",
|
||||
"viewMore": "ikusi gehiago",
|
||||
"shuffle": "nahastu",
|
||||
"selectAll": "aukeratu guztiak",
|
||||
"downloadStarted": "{{count}} elementuren deskarga hasi da",
|
||||
"addOrRemoveFromSelection": "gehitu edo kendu hautapenetik",
|
||||
"selectRangeOfItems": "aukeratu elementu sorta bat",
|
||||
"shuffleAll": "nahastu dena",
|
||||
"shuffleSelected": "nahastu aukeratutak"
|
||||
"addToFavorites": "gehitu $t(entity.favorite_other)-(e)ra",
|
||||
"addToPlaylist": "gehitu $t(entity.playlist_one)-(e)ra"
|
||||
},
|
||||
"common": {
|
||||
"add": "gehitu",
|
||||
@@ -65,7 +55,7 @@
|
||||
"filter_other": "iragazkiak",
|
||||
"filters": "iragazkiak",
|
||||
"forceRestartRequired": "berreabiarazi aldaketak aplikatzeko... itxi notifikazioa berreabiarazteko",
|
||||
"setting": "ezarpenak",
|
||||
"setting": "ezarpena",
|
||||
"share": "partekatu",
|
||||
"action_one": "ekintza",
|
||||
"action_other": "ekintzak",
|
||||
@@ -134,19 +124,7 @@
|
||||
"clean": "garbia",
|
||||
"private": "pribatua",
|
||||
"public": "publikoa",
|
||||
"releaseType": "argitalpen mota",
|
||||
"countSelected": "{{count}} hautatuta",
|
||||
"view": "ikuspegia",
|
||||
"externalLinks": "kanpoko estekak",
|
||||
"faster": "azkarrago",
|
||||
"noFilters": "ez dago iragazkirik konfiguratuta",
|
||||
"retry": "saiatu berriro",
|
||||
"slower": "motelago",
|
||||
"itemsMore": "{{count}} gehiago",
|
||||
"sort": "ordenatu",
|
||||
"recordLabel": "diskoetxea",
|
||||
"example": "adibidea",
|
||||
"tableColumns": "taulako zutabeak"
|
||||
"releaseType": "argitalpen mota"
|
||||
},
|
||||
"player": {
|
||||
"repeat": "errepikatu",
|
||||
@@ -173,18 +151,13 @@
|
||||
"queue_remove": "kendu hautatutakoak",
|
||||
"repeat_all": "errepikatu dena",
|
||||
"repeat_off": "errepikapena desgaituta",
|
||||
"shuffle": "erreproduzitu (ausaz)",
|
||||
"shuffle": "erreproduzitu ausaz",
|
||||
"shuffle_off": "auza desgaituta",
|
||||
"skip_back": "saltatu atzeraka",
|
||||
"skip_forward": "saltatu aurreraka",
|
||||
"toggleFullscreenPlayer": "txandakatu pantaila osoko erreproduzitzailea",
|
||||
"viewQueue": "ikusi ilara",
|
||||
"playbackFetchCancel": "honek denbora pixka bat behar du... itxi jakinarazpena bertan behera uzteko",
|
||||
"lyrics": "letrak",
|
||||
"restoreQueueFromServer": "berrezarri ilara zerbitzaritik",
|
||||
"saveQueueToServer": "gorde ilara zerbitzarira",
|
||||
"addLastShuffled": "azkena (ausaz)",
|
||||
"addNextShuffled": "hurrengoa (ausaz)"
|
||||
"playbackFetchCancel": "honek denbora pixka bat behar du... itxi jakinarazpena bertan behera uzteko"
|
||||
},
|
||||
"table": {
|
||||
"config": {
|
||||
@@ -198,20 +171,7 @@
|
||||
"size": "$t(common.size)",
|
||||
"tableColumns": "taula zutabeak",
|
||||
"itemSize": "elementuaren tamaina (px)",
|
||||
"followCurrentSong": "jarraitu uneko abestia",
|
||||
"size_default": "lehenetsia",
|
||||
"advancedSettings": "ezarpen aurreratuak",
|
||||
"autoFitColumns": "zutabeak automatikoki doitu",
|
||||
"pinToLeft": "ezkerrera finkatu",
|
||||
"pinToRight": "eskuinera finkatu",
|
||||
"alignLeft": "ezkerrean lerrokatu",
|
||||
"alignCenter": "lerrokatu erdian",
|
||||
"alignRight": "eskuinean lerrokatu",
|
||||
"itemGap": "elementuen arteko tartea (px)",
|
||||
"itemsPerRow": "elementuak errenkada bakoitzeko",
|
||||
"size_large": "handia",
|
||||
"pagination_itemsPerPage": "elementuak orrialde bakoitzeko",
|
||||
"pagination_infinite": "infinitua"
|
||||
"followCurrentSong": "jarraitu uneko abestia"
|
||||
},
|
||||
"label": {
|
||||
"actions": "$t(common.action_other)",
|
||||
@@ -239,11 +199,7 @@
|
||||
"playCount": "erreprodukzio kopurua",
|
||||
"lastPlayed": "azken aldiz entzunda",
|
||||
"discNumber": "disko zenbakia",
|
||||
"dateAdded": "gehitze data",
|
||||
"albumCount": "$t(entity.album_other)",
|
||||
"image": "irudia",
|
||||
"bitDepth": "$t(common.bitDepth)",
|
||||
"sampleRate": "$t(common.sampleRate)"
|
||||
"dateAdded": "gehitze data"
|
||||
}
|
||||
},
|
||||
"column": {
|
||||
@@ -270,10 +226,7 @@
|
||||
"releaseDate": "argitalpen data",
|
||||
"lastPlayed": "azken aldiz entzundakoa",
|
||||
"dateAdded": "gehitutako data",
|
||||
"albumArtist": "albumeko artista",
|
||||
"owner": "jabea",
|
||||
"bitDepth": "$t(common.bitDepth)",
|
||||
"sampleRate": "$t(common.sampleRate)"
|
||||
"albumArtist": "albumeko artista"
|
||||
}
|
||||
},
|
||||
"entity": {
|
||||
@@ -311,11 +264,7 @@
|
||||
"song_one": "abestia",
|
||||
"song_other": "abestiak",
|
||||
"trackWithCount_one": "pista {{count}}",
|
||||
"trackWithCount_other": "{{count}} pista",
|
||||
"radioStation_one": "irrati-katea",
|
||||
"radioStation_other": "irrati-kateak",
|
||||
"radioStationWithCount_one": "irrati-kate {{count}}",
|
||||
"radioStationWithCount_other": "{{count}} irrati-kate"
|
||||
"trackWithCount_other": "{{count}} pista"
|
||||
},
|
||||
"error": {
|
||||
"apiRouteError": "ezin izan da eskaera bideratu",
|
||||
@@ -341,10 +290,7 @@
|
||||
"badAlbum": "Orrialde hau ikusten ari zara abesti hau album batekoa ez delako. Ziurrenik arazo hau ikusten ari zara zure musika karpetaren goiko mailan abesti bat baduzu. Jellyfinek abestiak karpeta batean badaude taldekatzen ditu bakarrik",
|
||||
"loginRateError": "Saioa hasteko saiakera gehiegi egin dira, saiatu berriro segundo batzuk barru",
|
||||
"notificationDenied": "jakinarazpenetarako baimenak ukatu dira. Ezarpen honek ez du eraginik",
|
||||
"systemFontError": "errore bat gertatu da sistemaren letra-tipoak lortzen saiatzean",
|
||||
"noNetwork": "zerbitzaria ez dago erabilgarri",
|
||||
"noNetworkDescription": "ezin izan da zerbitzari honetara konektatu",
|
||||
"saveQueueFailed": "huts egin du ilara gordetzean"
|
||||
"systemFontError": "errore bat gertatu da sistemaren letra-tipoak lortzen saiatzean"
|
||||
},
|
||||
"filter": {
|
||||
"disc": "diskoa",
|
||||
@@ -573,6 +519,7 @@
|
||||
"playbackStyle_description": "aukeratu audio erreproduzitzailearentzat erabiliko den erreprodukzio estiloa",
|
||||
"playButtonBehavior": "erreprodukzio botoiaren portaera",
|
||||
"playButtonBehavior_description": "ezartzen du erreprodukzio botoiaren portaera lehenetsia abestiak ilaran gehitzean",
|
||||
"playerAlbumArtResolution": "erreproduzitzailearen albumaren arte-azalaren erresoluzioa",
|
||||
"gaplessAudio": "hutsune gabeko audioa",
|
||||
"gaplessAudio_description": "ezartzen du hutsunik gabeko audio ezarpena mpv-rako",
|
||||
"passwordStore": "pasahitzak/biltegi sekretua",
|
||||
@@ -590,52 +537,7 @@
|
||||
"exportImportSettings_control_importText": "inportatu ezarpenak",
|
||||
"exportImportSettings_control_title": "inportatu / esportatu ezarpenak",
|
||||
"exportImportSettings_importBtn": "inportatu ezarpenak",
|
||||
"exportImportSettings_importModalTitle": "inportatu feishin ezarpenak",
|
||||
"autoDJ_itemCount": "elementu kopurua",
|
||||
"language": "hizkuntza",
|
||||
"queryBuilderCustomFields_inputTag": "etiketa",
|
||||
"logLevel_optionError": "errore bat",
|
||||
"logLevel_optionInfo": "informazioa",
|
||||
"imageResolution_optionTable": "taula",
|
||||
"imageResolution_optionSidebar": "alboko barra",
|
||||
"replayGainClipping": "{{ReplayGain}} mozketa",
|
||||
"replayGainFallback": "{{ReplayGain}} ordezko aukera",
|
||||
"trayEnabled": "erakutsi erretilua",
|
||||
"artistReleaseTypeConfiguration": "artistaren argitalpen motaren konfigurazioa",
|
||||
"artistReleaseTypeConfiguration_description": "konfiguratu zein argitalpen mota erakusten diren, eta zein ordenatan, albumaren artistaren orrian",
|
||||
"useThemeAccentColor": "erabili gaiaren azentu-kolorea",
|
||||
"useThemeAccentColor_description": "erabili hautatutako gaian definitutako kolore nagusia azentu-kolore pertsonalizatuaren ordez",
|
||||
"showRatings": "erakutsi izarren balorazioak",
|
||||
"showRatings_description": "izarren balorazioen funtzioa interfazean agertzen den ala ez kontrolatzen du",
|
||||
"imageResolution": "irudiaren erresoluzioa",
|
||||
"imageResolution_description": "aplikazioan erabilitako irudien erresoluzioa. 0 balioa erabiliz gero, jatorrizko irudiaren erresoluzioa erabiliko da lehenespenez",
|
||||
"followCurrentSong_description": "automatikoki korritu erreprodukzio-ilara uneko abestira",
|
||||
"followCurrentSong": "jarraitu uneko abestia",
|
||||
"lyricOffset_description": "letra zehaztutako milisegundo kopuruarekin desplazatu",
|
||||
"lyricOffset": "letraren desplazamendua (ms)",
|
||||
"mpvExtraParameters": "mpv parametro gehigarriak",
|
||||
"mpvExtraParameters_description": "mpv-ri pasatzeko argumentu gehigarriak",
|
||||
"notify": "abestien jakinarazpenak gaitu",
|
||||
"notify_description": "erakutsi jakinarazpenak uneko abestia aldatzean",
|
||||
"pathReplace": "fitxategiaren bidearen ordezkapena",
|
||||
"pathReplace_description": "ordezkatu zure zerbitzariaren fitxategi-bide lehenetsia",
|
||||
"pathReplace_optionRemovePrefix": "kendu aurrizkia",
|
||||
"pathReplace_optionAddPrefix": "gehitu aurrizkia",
|
||||
"passwordStore_description": "zein pasahitz/sekretu biltegi erabili. aldatu hau pasahitzak gordetzeko arazoak badituzu",
|
||||
"playerFilters": "Iragazi ilarako abestiak",
|
||||
"sidePlayQueueStyle_description": "alboko erreprodukzio-ilararen estiloa ezartzen du",
|
||||
"mediaSession_description": "Windows Media Session integrazioa gaitzen du, multimedia kontrolak eta metadatuak sistemaren bolumenaren gainjartzean eta blokeo pantailan bistaratuz (Windows bakarrik)",
|
||||
"sidePlayQueueStyle": "alboko erreprodukzio-ilarako estiloa",
|
||||
"skipPlaylistPage": "saltatu erreprodukzio-zerrenda orria",
|
||||
"startMinimized_description": "abiarazi aplikazioa sistemaren erretiluan",
|
||||
"startMinimized": "hasi minimizatuta",
|
||||
"transcode": "gaitu transkodetzea",
|
||||
"transcode_description": "formatu ezberdinetara transkodetzea ahalbidetzen du",
|
||||
"transcodeBitrate_description": "transkodetzeko bit-emaria hautatzen du. 0k zerbitzariari aukeratzen uzten diola esan nahi du",
|
||||
"transcodeBitrate": "transkodetzeko bit-emaria",
|
||||
"transcodeFormat_description": "transkodetzeko formatua hautatzen du. utzi hutsik zerbitzariak erabaki dezan",
|
||||
"transcodeFormat": "transkodetzeko formatua",
|
||||
"queryBuilderCustomFields_inputLabel": "etiketa"
|
||||
"exportImportSettings_importModalTitle": "inportatu feishin ezarpenak"
|
||||
},
|
||||
"form": {
|
||||
"addServer": {
|
||||
@@ -651,8 +553,7 @@
|
||||
"input_legacyAuthentication": "gaitu zaharkitutako autentifikazioa",
|
||||
"success": "zerbitzaria behar bezala gehitu da",
|
||||
"input_preferInstantMix": "nahiago izan berehalako nahasketa",
|
||||
"input_preferInstantMixDescription": "erabili berehalako nahasketa soilik antzeko abestiak lortzeko. erabilgarria portaera hau aldatzen duten pluginak badituzu",
|
||||
"input_remoteUrl": "URL publikoa"
|
||||
"input_preferInstantMixDescription": "erabili berehalako nahasketa soilik antzeko abestiak lortzeko. erabilgarria portaera hau aldatzen duten pluginak badituzu"
|
||||
},
|
||||
"addToPlaylist": {
|
||||
"input_playlists": "$t(entity.playlist_other)",
|
||||
@@ -691,15 +592,12 @@
|
||||
"editPlaylist": {
|
||||
"success": "$t(entity.playlist_one) behar bezala eguneratu da",
|
||||
"title": "$t(entity.playlist_one) editatu",
|
||||
"publicJellyfinNote": "Arrazoiren batengatik, Jellyfin ez du erakusten erreprodukzio-zerrendak publikoak diren edo ez. Hau publiko izaten jarraitzea nahi baduzu, hautatu sarrera hau",
|
||||
"editNote": "ez da gomendatzen eskuzko edizioak egitea erreprodukzio-zerrenda handietarako. ziur zaude onartzen duzula lehendik dagoen erreprodukzio-zerrenda gainidazteagatik datuak galtzeko arriskua?"
|
||||
"publicJellyfinNote": "Arrazoiren batengatik, Jellyfin ez du erakusten erreprodukzio-zerrendak publikoak diren edo ez. Hau publiko izaten jarraitzea nahi baduzu, hautatu sarrera hau"
|
||||
},
|
||||
"queryEditor": {
|
||||
"title": "kontsulta editorea",
|
||||
"input_optionMatchAll": "guztiak bat etorri",
|
||||
"input_optionMatchAny": "edozeinekin bat etorri",
|
||||
"resetToDefault": "lehenetsitako egoerara berrezarri",
|
||||
"clearFilters": "garbitu iragazkiak"
|
||||
"input_optionMatchAny": "edozeinekin bat etorri"
|
||||
},
|
||||
"updateServer": {
|
||||
"success": "zerbitzaria behar bezala eguneratu da",
|
||||
@@ -709,31 +607,6 @@
|
||||
"title": "modu pribatua",
|
||||
"enabled": "modu pribatua gaituta, erreprodukzio egoera kanpoko integrazioetatik ezkutatuta dago orain",
|
||||
"disabled": "modu pribatua desgaituta, erreprodukzio egoera ikusgai dago orain gaitutako kanpoko integrazioentzat"
|
||||
},
|
||||
"largeFetchConfirmation": {
|
||||
"title": "gehitu elementuak ilaran"
|
||||
},
|
||||
"createRadioStation": {
|
||||
"input_homepageUrl": "hasierako orriaren URLa",
|
||||
"input_name": "izena",
|
||||
"title": "irrati-katea sortu",
|
||||
"success": "irrati-katea behar bezala sortu da"
|
||||
},
|
||||
"lyricsExport": {
|
||||
"export": "esportatu letrak",
|
||||
"input_synced": "esportatu sinkronizatutako letrak",
|
||||
"input_offset": "$t(setting.lyricOffset)"
|
||||
},
|
||||
"shuffleAll": {
|
||||
"input_genre": "$t(entity.genre_one)",
|
||||
"title": "ausaz erreproduzitu",
|
||||
"input_limit": "zenbat abesti?",
|
||||
"input_played_optionAll": "pista guztiak",
|
||||
"input_played_optionUnplayed": "erreproduzitu gabeko pistak bakarrik",
|
||||
"input_played_optionPlayed": "erreproduzitutako pistak bakarrik"
|
||||
},
|
||||
"saveQueue": {
|
||||
"success": "erreprodukzio-ilara zerbitzarian gordeta"
|
||||
}
|
||||
},
|
||||
"page": {
|
||||
@@ -762,11 +635,7 @@
|
||||
"privateModeOn": "aktibatu modu pribatua",
|
||||
"selectServer": "aukeratu zerbitzaria",
|
||||
"version": "bertsioa {{version}}",
|
||||
"openBrowserDevtools": "ireki nabigatzailearen garapen tresnak",
|
||||
"commandPalette": "ireki komando-paleta",
|
||||
"noMusicFolder": "ez da musika karpetarik hautatu",
|
||||
"selectMusicFolder": "aukeratu musika karpeta",
|
||||
"multipleMusicFolders": "{{count}} musika karpeta aukeratuta"
|
||||
"openBrowserDevtools": "ireki nabigatzailearen garapen tresnak"
|
||||
},
|
||||
"manageServers": {
|
||||
"url": "URLa",
|
||||
@@ -800,8 +669,7 @@
|
||||
"shareItem": "partekatu elementua",
|
||||
"goToAlbum": "joan $t(entity.album_one)-(e)ra",
|
||||
"goToAlbumArtist": "joan albumera",
|
||||
"showDetails": "informazioa lortu",
|
||||
"moveItems": "$t(action.moveItems)"
|
||||
"showDetails": "informazioa lortu"
|
||||
},
|
||||
"fullscreenPlayer": {
|
||||
"config": {
|
||||
@@ -845,8 +713,7 @@
|
||||
"newlyAdded": "azken aldian gehitutako argitalpenak",
|
||||
"recentlyPlayed": "azken aldian entzundakoak",
|
||||
"recentlyReleased": "azken aldian argitaratutak",
|
||||
"explore": "arakatu zure liburutegitik",
|
||||
"genres": "$t(entity.genre_other)"
|
||||
"explore": "arakatu zure liburutegitik"
|
||||
},
|
||||
"playlistList": {
|
||||
"title": "$t(entity.playlist_other)"
|
||||
@@ -856,22 +723,7 @@
|
||||
"generalTab": "orokorra",
|
||||
"playbackTab": "erreprodukzioa",
|
||||
"windowTab": "leihoa",
|
||||
"hotkeysTab": "laster-teklak",
|
||||
"cache": "katxea",
|
||||
"application": "aplikazioa",
|
||||
"theme": "gaia",
|
||||
"sidebar": "alboko barra",
|
||||
"exportImport": "inportatu/esportatu",
|
||||
"scrobble": "scrobble",
|
||||
"audio": "audioa",
|
||||
"lyrics": "letrak",
|
||||
"discord": "discord",
|
||||
"playerFilters": "erreproduzitzailearen iragazkiak",
|
||||
"updates": "eguneraketa",
|
||||
"queryBuilder": "kontsulta-sortzailea",
|
||||
"controls": "kontrolak",
|
||||
"remote": "urrunekoa",
|
||||
"lyricsDisplay": "erakutsi letrak"
|
||||
"hotkeysTab": "laster-teklak"
|
||||
},
|
||||
"sidebar": {
|
||||
"albumArtists": "$t(entity.albumArtist_other)",
|
||||
@@ -886,9 +738,7 @@
|
||||
"tracks": "$t(entity.track_other)",
|
||||
"myLibrary": "nire liburutegia",
|
||||
"nowPlaying": "orain erreproduzitzen",
|
||||
"shared": "partekatutako $t(entity.playlist_other)",
|
||||
"favorites": "$t(entity.favorite_other)",
|
||||
"radio": "$t(entity.radioStation_other)"
|
||||
"shared": "partekatutako $t(entity.playlist_other)"
|
||||
},
|
||||
"trackList": {
|
||||
"title": "$t(entity.track_other)",
|
||||
@@ -904,9 +754,7 @@
|
||||
"viewAllTracks": "ikusi $t(entity.track_other) guztiak",
|
||||
"appearsOn": "agertzen da hemen",
|
||||
"recentReleases": "azken argitalpenak",
|
||||
"viewDiscography": "ikusi diskografia",
|
||||
"groupingTypeAll": "argitalpen mota guztiak",
|
||||
"groupingTypePrimary": "argitalpen mota nagusiak"
|
||||
"viewDiscography": "ikusi diskografia"
|
||||
},
|
||||
"itemDetail": {
|
||||
"copyPath": "kopiatu bidea arbelean",
|
||||
@@ -915,22 +763,12 @@
|
||||
},
|
||||
"playlist": {
|
||||
"reorder": "berrantolaketa IDaren arabera ordenatzean bakarrik gaituta dago"
|
||||
},
|
||||
"folderList": {
|
||||
"title": "$t(entity.folder_other)"
|
||||
},
|
||||
"favorites": {
|
||||
"title": "$t(entity.favorite_other)"
|
||||
},
|
||||
"radioList": {
|
||||
"title": "irrati-kateak"
|
||||
}
|
||||
},
|
||||
"releaseType": {
|
||||
"primary": {
|
||||
"album": "$t(entity.album_one)",
|
||||
"other": "bestelakoa",
|
||||
"ep": "ep"
|
||||
"other": "bestelakoa"
|
||||
},
|
||||
"secondary": {
|
||||
"compilation": "konpilazioa",
|
||||
@@ -938,77 +776,5 @@
|
||||
"interview": "elkarrizketa",
|
||||
"remix": "nahasketa"
|
||||
}
|
||||
},
|
||||
"datetime": {
|
||||
"minuteShort": "m",
|
||||
"secondShort": "s",
|
||||
"hourShort": "h",
|
||||
"dayShort": "d"
|
||||
},
|
||||
"queryBuilder": {
|
||||
"customTags": "etiketa pertsonalizatutak"
|
||||
},
|
||||
"filterOperator": {
|
||||
"is": "da",
|
||||
"contains": "dauka",
|
||||
"notContains": "ez dauka",
|
||||
"startsWith": "honekin hasten da",
|
||||
"endsWith": "honekin amaitzen da",
|
||||
"isNot": "ez da"
|
||||
},
|
||||
"visualizer": {
|
||||
"general": "Orokorra",
|
||||
"mode": "Modua",
|
||||
"vertical": "Bertikala",
|
||||
"horizontal": "Horizontala",
|
||||
"position": "Posizioa",
|
||||
"level": "Maila",
|
||||
"remove": "Kendu",
|
||||
"custom": "Pertsonalizatua",
|
||||
"builtIn": "Barneratua",
|
||||
"colors": "Koloreak",
|
||||
"gradient": "Gradientea",
|
||||
"fft": "FFT",
|
||||
"sensitivity": "Sentikortasuna",
|
||||
"smoothing": "Leuntzea",
|
||||
"gravity": "Grabitatea",
|
||||
"radial": "Erradiala",
|
||||
"radius": "Erradioa",
|
||||
"mirror": "Ispilua",
|
||||
"options": {
|
||||
"colorMode": {
|
||||
"gradient": "Gradientea",
|
||||
"barIndex": "Barra-indizea",
|
||||
"barLevel": "Barra-maila"
|
||||
},
|
||||
"gradient": {
|
||||
"classic": "Klasikoa",
|
||||
"prism": "Prisma",
|
||||
"rainbow": "Ostadarra"
|
||||
},
|
||||
"weightingFilter": {
|
||||
"none": "Bat ere ez",
|
||||
"a": "A",
|
||||
"b": "B",
|
||||
"c": "C",
|
||||
"d": "D",
|
||||
"z": "Z"
|
||||
}
|
||||
},
|
||||
"opacity": "Opakotasuna",
|
||||
"minimumFrequency": "Gutxieneko Maiztasuna",
|
||||
"maximumFrequency": "Gehienezko Maiztasuna",
|
||||
"frequencyScale": "Maiztasun Eskala",
|
||||
"weightingFilter": "Ponderazio-iragazkia",
|
||||
"minimumDecibels": "Gutxieneko Dezibelioak",
|
||||
"maximumDecibels": "Gehienezko Dezibelioak",
|
||||
"linearAmplitude": "Anplitude Lineala",
|
||||
"linearBoost": "Bultzada Lineala",
|
||||
"showPeaks": "Erakutsi Gailurrak",
|
||||
"configCopied": "Konfigurazioa arbelean kopiatu da",
|
||||
"configCopyFailed": "Konfigurazioa kopiatzeak huts egin du",
|
||||
"configPasted": "Konfigurazioa behar bezala aplikatu da",
|
||||
"configPasteFailed": "Konfigurazioa aplikatzeak huts egin du. Mesedez, egiaztatu formatua.",
|
||||
"configPasteReadFailed": "Arbelatik irakurtzeak huts egin du"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -474,6 +474,7 @@
|
||||
"replayGainClipping": "{{ReplayGain}} leikkaus",
|
||||
"replayGainClipping_description": "Estää {{ReplayGain}}n aiheuttaman leikkauksen laskemalla vahvistusta automaatisesti",
|
||||
"replayGainFallback": "{{ReplayGain}} palautus",
|
||||
"playerAlbumArtResolution_description": "suurien kansikuvien resoluutio soittimen esikatselussa. suurempi tekee niistä terävempiä, mutta voi hidastaa latausta. oletuksena on 0, joka tarkoittaa automaattista",
|
||||
"replayGainMode_optionAlbum": "$t(entity.album_one)",
|
||||
"replayGainPreamp": "{{ReplayGain}} esivahvistus (dB)",
|
||||
"scrobble_description": "skrobblaa toistot mediapalvelimellesi",
|
||||
@@ -489,6 +490,7 @@
|
||||
"sidebarConfiguration": "sivupalkin asetukset",
|
||||
"sidebarConfiguration_description": "valitse kohteet ja niiden järjestys sivupalkissa",
|
||||
"volumeWidth_description": "äänenvoimakkuuden säätimen leveys",
|
||||
"playerAlbumArtResolution": "soittimen kansikuvien resoluutio",
|
||||
"playerbarOpenDrawer": "toistipalkin kokoruudun kytkin",
|
||||
"playerbarOpenDrawer_description": "sallii toistopalkin klikkaamisen avaamaan kokonäytön soittimen",
|
||||
"replayGainFallback_description": "asetettava vahvistus desibelinä (dB), jos tiedostolla ei ole {{ReplayGain}} tageja",
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"shuffle": "lecture (mélangé)",
|
||||
"playbackFetchNoResults": "aucun titre trouvé",
|
||||
"playbackFetchInProgress": "chargement des titres…",
|
||||
"addNext": "prochain",
|
||||
"addNext": "ajouter ensuite",
|
||||
"playbackSpeed": "vitesse de lecture",
|
||||
"playbackFetchCancel": "cela prend du temps… fermez la notification pour annuler",
|
||||
"play": "lecture",
|
||||
@@ -24,21 +24,22 @@
|
||||
"queue_moveToTop": "déplacer la sélection vers le bas",
|
||||
"queue_moveToBottom": "déplacer la sélection vers le haut",
|
||||
"shuffle_off": "aléatoire désactivée",
|
||||
"addLast": "dernier",
|
||||
"addLast": "ajouter en dernier",
|
||||
"mute": "muet",
|
||||
"skip_forward": "avancer",
|
||||
"pause": "pause",
|
||||
"unfavorite": "retirer des favoris",
|
||||
"playSimilarSongs": "jouer des titres similaires",
|
||||
"viewQueue": "voir la file d'attente",
|
||||
"addLastShuffled": "dernier (mélangé)",
|
||||
"addNextShuffled": "prochain (mélangé)",
|
||||
"addLastShuffled": "ajouter en dernier (mélangé)",
|
||||
"addNextShuffled": "ajouter ensuite (mélangé)",
|
||||
"queueType": "type de file d'attente",
|
||||
"queueType_default": "défaut",
|
||||
"queueType_priority": "priorité",
|
||||
"holdToShuffle": "maintenir pour mélanger",
|
||||
"lyrics": "paroles",
|
||||
"restoreQueueFromServer": "restaurer la file d'attente depuis le serveur",
|
||||
"saveQueueToServer": "enregistrer la file d'attente sur le serveur",
|
||||
"artistRadio": "radio de l'artiste",
|
||||
"trackRadio": "radio du titre"
|
||||
"saveQueueToServer": "enregistrer la file d'attente sur le serveur"
|
||||
},
|
||||
"action": {
|
||||
"editPlaylist": "éditer $t(entity.playlist_one)",
|
||||
@@ -74,11 +75,7 @@
|
||||
"holdToMoveToTop": "Maintenir pour déplacer en haut",
|
||||
"holdToMoveToBottom": "Maintenir pour déplacer en bas",
|
||||
"createRadioStation": "créer $t(entity.radioStation_one)",
|
||||
"deleteRadioStation": "supprimer $t(entity.radioStation_one)",
|
||||
"addOrRemoveFromSelection": "ajouter ou supprimer de la sélection",
|
||||
"selectRangeOfItems": "sélectionner une plage d'entrées",
|
||||
"selectAll": "tout sélectionner",
|
||||
"openApplicationDirectory": "ouvrir le répertoire de l'application"
|
||||
"deleteRadioStation": "supprimer $t(entity.radioStation_one)"
|
||||
},
|
||||
"common": {
|
||||
"backward": "en arrière",
|
||||
@@ -198,11 +195,7 @@
|
||||
"tableColumns": "colonnes du tableau",
|
||||
"itemsMore": "plus {{count}}",
|
||||
"view": "vue",
|
||||
"noFilters": "aucun filtre configuré",
|
||||
"countSelected": "{{count}} sélectionnée",
|
||||
"example": "exemple",
|
||||
"mood": "humeur",
|
||||
"retry": "réessayer"
|
||||
"noFilters": "aucun filtre configuré"
|
||||
},
|
||||
"error": {
|
||||
"remotePortWarning": "redémarrer le serveur pour appliquer le nouveau port",
|
||||
@@ -230,10 +223,7 @@
|
||||
"badValue": "option {{value}} invalide. Cette valeur n'existe plus",
|
||||
"notificationDenied": "les autorisations pour les notifications ont été refusées. ce paramètre n'a aucun effet",
|
||||
"multipleServerSaveQueueError": "la file d'attente de lecture contient un ou plusieurs morceaux qui ne proviennent pas du serveur actuel. Ceci n'est pas prise en charge",
|
||||
"saveQueueFailed": "échec de l'enregistrement de la file d'attente",
|
||||
"settingsSyncError": "des incohérences ont été détectées entre les paramètres du moteur de rendu et ceux du processus principal. redémarrez l'application pour appliquer les modifications",
|
||||
"noNetwork": "serveur indisponible",
|
||||
"noNetworkDescription": "impossible de se connecter à ce serveur"
|
||||
"saveQueueFailed": "échec de l'enregistrement de la file d'attente"
|
||||
},
|
||||
"filter": {
|
||||
"mostPlayed": "plus joués",
|
||||
@@ -375,8 +365,7 @@
|
||||
"transcoding": "transcodage",
|
||||
"discord": "discord",
|
||||
"logger": "logger",
|
||||
"playerFilters": "filtres du lecteur",
|
||||
"lyricsDisplay": "affichage des paroles"
|
||||
"playerFilters": "filtres du lecteur"
|
||||
},
|
||||
"globalSearch": {
|
||||
"commands": {
|
||||
@@ -444,8 +433,7 @@
|
||||
"recentReleases": "sorties récentes",
|
||||
"viewDiscography": "voir la discographie",
|
||||
"relatedArtists": "$t(entity.artist_other) similaires",
|
||||
"topSongs": "meilleurs titres",
|
||||
"groupingTypeAll": "toutes les types de sortie"
|
||||
"topSongs": "meilleurs titres"
|
||||
},
|
||||
"itemDetail": {
|
||||
"copyPath": "copier le chemin dans le presse-papiers",
|
||||
@@ -645,7 +633,9 @@
|
||||
"imageAspectRatio_description": "si cette option est activée, les pochettes d'album seront affichées en utilisant leur rapport hauteur/largeur natif. pour les pochettes qui n'ont pas un rapport 1:1 (carré), l'espace restant sera vide",
|
||||
"mpvExtraParameters_help": "un par ligne",
|
||||
"passwordStore_description": "quel mot de passe utiliser. changez cela si vous rencontrez des problèmes pour stocker les mots de passe",
|
||||
"playerAlbumArtResolution": "résolution de la pochette d'album du lecteur",
|
||||
"passwordStore": "mots de passe",
|
||||
"playerAlbumArtResolution_description": "résolution pour l'aperçu de la pochette d'album agrandie du lecteur. plus grand le rend plus net, mais peut ralentir le chargement. la valeur par défaut est 0 (automatique)",
|
||||
"homeConfiguration_description": "configurer quels éléments sont affichés sur la page d'accueil, et dans quel ordre",
|
||||
"startMinimized": "démarrer l'application en mode réduit",
|
||||
"transcode_description": "permet le transcodage vers différents formats",
|
||||
@@ -719,7 +709,7 @@
|
||||
"releaseChannel": "canal de diffusion",
|
||||
"releaseChannel_description": "choisissez entre les versions stables ou les versions bêta pour les mises à jour automatiques",
|
||||
"mediaSession": "activer media session",
|
||||
"mediaSession_description": "active l'intégration Media Session, affichant les commandes multimédias et les métadonnées dans la superposition du volume du système et l'écran de verrouillage",
|
||||
"mediaSession_description": "active l'intégration de la session Windows Media, affichant les commandes multimédias et les métadonnées dans la superposition du volume du système et l'écran de verrouillage (Windows uniquement)",
|
||||
"enableAutoTranslation_description": "activer la traduction automatiquement lorsque les paroles sont chargées",
|
||||
"enableAutoTranslation": "activer la traduction automatique",
|
||||
"exportImportSettings_control_description": "exporter et importer les paramètres en JSON",
|
||||
@@ -740,8 +730,8 @@
|
||||
"notify": "activer les notifications de chansons",
|
||||
"analyticsDisable": "Désactiver l'analytique basée sur l'utilisation",
|
||||
"analyticsDisable_description": "les données d'utilisation anonymisées sont envoyées au développeur afin de contribuer à l'amélioration de l'application",
|
||||
"playerbarSlider": "barre de lecture",
|
||||
"playerbarSliderType_optionSlider": "pleine",
|
||||
"playerbarSlider": "curseur de la barre de lecture",
|
||||
"playerbarSliderType_optionSlider": "curseur",
|
||||
"playerbarSliderType_optionWaveform": "forme d'onde",
|
||||
"playerbarWaveformAlign": "forme d'onde alignée",
|
||||
"playerbarWaveformAlign_optionTop": "haut",
|
||||
@@ -775,32 +765,11 @@
|
||||
"logLevel_optionError": "erreur",
|
||||
"logLevel_optionInfo": "info",
|
||||
"logLevel_optionWarn": "avertissement",
|
||||
"playerFilters": "filtrer les titres de la file d'attente",
|
||||
"playerFilters": "filtrer les tires de la file d'attente",
|
||||
"playerFilters_description": "exclure les titres de la file d'attente selon les critères suivants",
|
||||
"playerbarSlider_description": "la forme d'onde n'est pas recommandée sur une connexion lente ou limitée",
|
||||
"useThemeAccentColor": "utiliser la couleur d'accent du thème",
|
||||
"useThemeAccentColor_description": "utiliser la couleur principale définie dans le thème sélectionné au lieu de la couleur d'accent personnalisée",
|
||||
"artistReleaseTypeConfiguration": "configuration du type de sortie de l'artiste",
|
||||
"artistReleaseTypeConfiguration_description": "configure quel type de sortie est affiché, et dans quel ordre, sur la page artiste de l'album",
|
||||
"mpvExtraParameters": "paramètres supplémentaires de mpv",
|
||||
"mpvExtraParameters_description": "arguments supplémentaires à transmettre à mpv",
|
||||
"pathReplace": "remplacement du chemin de fichier",
|
||||
"pathReplace_description": "remplacez le chemin de fichier par défaut de votre serveur",
|
||||
"pathReplace_optionRemovePrefix": "supprimer un prefix",
|
||||
"pathReplace_optionAddPrefix": "ajouter un prefix",
|
||||
"artistRadioCount_description": "définit le nombre de titres à récupérer pour la radio d'artiste et la radio de titre",
|
||||
"artistRadioCount": "nombre de radio d'artiste/titre",
|
||||
"imageResolution": "résolution d'image",
|
||||
"imageResolution_description": "la résolution d'image utilisée dans l'application. définir une valeur à 0 utilisera la résolution native de l'image",
|
||||
"imageResolution_optionTable": "tableau",
|
||||
"imageResolution_optionItemCard": "entrée de carte",
|
||||
"imageResolution_optionSidebar": "barre latérale",
|
||||
"imageResolution_optionHeader": "en-tête",
|
||||
"imageResolution_optionFullScreenPlayer": "lecteur en plein écran",
|
||||
"showRatings_description": "contrôle si la notation à étoiles s'affiche dans l'interface",
|
||||
"showRatings": "affiche la notation à étoiles",
|
||||
"combinedLyricsAndVisualizer_description": "combine les paroles et le visualisateur dans le même panneau",
|
||||
"combinedLyricsAndVisualizer": "combine les paroles et le visualisateur dans la barre latérale"
|
||||
"useThemeAccentColor_description": "utiliser la couleur principale définie dans le thème sélectionné au lieu de la couleur d'accent personnalisée"
|
||||
},
|
||||
"form": {
|
||||
"deletePlaylist": {
|
||||
@@ -821,10 +790,7 @@
|
||||
"ignoreCors": "ignorer cors $t(common.restartRequired)",
|
||||
"error_savePassword": "une erreur s’est produite lors de la tentative de sauvegarde du mot de passe",
|
||||
"input_preferInstantMix": "Préférer le mix instantané",
|
||||
"input_preferInstantMixDescription": "Utiliser uniquement le mix instantané pour jouer des pistes similaires. Activez cette option si vous avez des plugins qui modifient ce comportement",
|
||||
"input_preferRemoteUrl": "préférer une URL publique",
|
||||
"input_remoteUrl": "URL publique",
|
||||
"input_remoteUrlPlaceholder": "optionnel : URL publique pour les fonctionnalités externes"
|
||||
"input_preferInstantMixDescription": "Utiliser uniquement le mix instantané pour jouer des pistes similaires. Activez cette option si vous avez des plugins qui modifient ce comportement"
|
||||
},
|
||||
"addToPlaylist": {
|
||||
"success": "$t(entity.trackWithCount, {\"count\" : {{message}} }) ajouté à $t(entity.playlistWithCount, {\"count\" : {{numOfPlaylists}} })",
|
||||
@@ -903,11 +869,6 @@
|
||||
},
|
||||
"saveQueue": {
|
||||
"success": "file d'attente de lecture enregistrée sur le serveur"
|
||||
},
|
||||
"lyricsExport": {
|
||||
"export": "exporter les paroles",
|
||||
"input_synced": "exporter les paroles synchronisées",
|
||||
"input_offset": "$t(setting.lyricOffset)"
|
||||
}
|
||||
},
|
||||
"entity": {
|
||||
@@ -964,11 +925,11 @@
|
||||
"song_many": "titres",
|
||||
"song_other": "titres",
|
||||
"radioStation_one": "station radio",
|
||||
"radioStation_many": "stations radio",
|
||||
"radioStation_other": "stations radio",
|
||||
"radioStation_many": "stations radios",
|
||||
"radioStation_other": "",
|
||||
"radioStationWithCount_one": "{{count}} station radio",
|
||||
"radioStationWithCount_many": "{{count}} stations radio",
|
||||
"radioStationWithCount_other": "{{count}} stations radio"
|
||||
"radioStationWithCount_many": "{{count}} stations radios",
|
||||
"radioStationWithCount_other": ""
|
||||
},
|
||||
"table": {
|
||||
"config": {
|
||||
@@ -1126,81 +1087,5 @@
|
||||
"notInPlaylist": "n'est pas dans",
|
||||
"notInTheLast": "n'est pas dans le dernier",
|
||||
"startsWith": "commence par"
|
||||
},
|
||||
"datetime": {
|
||||
"minuteShort": "m",
|
||||
"secondShort": "s",
|
||||
"hourShort": "h",
|
||||
"dayShort": "j"
|
||||
},
|
||||
"visualizer": {
|
||||
"visualizerType": "type de visualisateur",
|
||||
"cyclePresets": "cycle les préréglages",
|
||||
"cycleTime": "temps de cycle (secondes)",
|
||||
"includeAllPresets": "inclure tous les préréglages",
|
||||
"ignoredPresets": "préréglages ignorés",
|
||||
"selectedPresets": "préréglages sélectionné",
|
||||
"randomizeNextPreset": "randomiser le préréglage suivant",
|
||||
"blendTime": "temps de mélange",
|
||||
"presets": "préréglages",
|
||||
"selectPreset": "sélectionner un préréglage",
|
||||
"applyPreset": "appliquer le préréglage",
|
||||
"saveAsPreset": "enregistrer en tant que préréglage",
|
||||
"updatePreset": "mettre à jour le préréglage",
|
||||
"copyConfiguration": "copier la configuration",
|
||||
"pasteConfiguration": "coller la configuration",
|
||||
"pasteConfigurationPlaceholder": "coller ici la configuration JSON...",
|
||||
"pasteFromClipboard": "coller depuis le presse-papier",
|
||||
"applyConfiguration": "appliquer la configuration",
|
||||
"configCopied": "configuration copiée dans le presse-papiers",
|
||||
"configCopyFailed": "échec de la copie de la configuration",
|
||||
"configPasted": "configuration appliquée avec succès",
|
||||
"configPasteFailed": "échec de l'application de la configuration. Merci de vérifier le format.",
|
||||
"configPasteReadFailed": "échec de la lecture du presse-papiers",
|
||||
"presetName": "nom du préréglage",
|
||||
"presetNamePlaceholder": "saisissez le nom du préréglage",
|
||||
"general": "générale",
|
||||
"mode": "mode",
|
||||
"mode1To8": "Mode 1 - 8",
|
||||
"mode10": "Mode 10",
|
||||
"barSpace": "espacement des barres",
|
||||
"lineWidth": "Largeur des traits",
|
||||
"fillAlpha": "remplissage alpha",
|
||||
"channelLayout": "disposition des canaux",
|
||||
"maxFPS": "FPS Maximum",
|
||||
"opacity": "opacité",
|
||||
"customGradients": "dégradés personnalisés",
|
||||
"addCustomGradient": "ajouter un dégradés personnalisés",
|
||||
"gradientName": "nom du dégradé",
|
||||
"gradientNamePlaceholder": "nom du dégradé",
|
||||
"vertical": "verticale",
|
||||
"horizontal": "horizontale",
|
||||
"colorStops": "couleur d'arrêts",
|
||||
"addColor": "ajouter un couleur",
|
||||
"position": "position",
|
||||
"level": "niveau",
|
||||
"remove": "supprimer",
|
||||
"pasteGradient": "coller le dégradé",
|
||||
"pasteGradientPlaceholder": "coller ici le dégradé JSON...",
|
||||
"custom": "personnalisé",
|
||||
"builtIn": "intégré",
|
||||
"colors": "couleurs",
|
||||
"colorMode": "mode de couleur",
|
||||
"gradient": "dégradé",
|
||||
"gradientLeft": "dégradé gauche",
|
||||
"gradientRight": "dégradé droite",
|
||||
"smoothing": "lissage",
|
||||
"frequencyRangeAndScaling": "plage de fréquence et mise à l'échelle",
|
||||
"minimumFrequency": "fréquence minimum",
|
||||
"maximumFrequency": "fréquence maximum",
|
||||
"frequencyScale": "mise à l'échelle de fréquence",
|
||||
"sensitivity": "sensibilité",
|
||||
"weightingFilter": "filter de pondérage",
|
||||
"minimumDecibels": "décibels minimum",
|
||||
"maximumDecibels": "décibels maximum",
|
||||
"linearAmplitude": "amplitude linéaire",
|
||||
"linearBoost": "boost linéaire",
|
||||
"peakBehavior": "comportement des piques",
|
||||
"showPeaks": "afficher les piques"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,13 +31,7 @@
|
||||
"moveUp": "ugrás fel",
|
||||
"moveDown": "ugrás le",
|
||||
"holdToMoveToTop": "hosszan nyomva felülre mozgat",
|
||||
"holdToMoveToBottom": "hosszan nyomva lejjebb mozgat",
|
||||
"selectAll": "összes kijelölése",
|
||||
"deleteRadioStation": "$t(entity.radioStation_one) törlése",
|
||||
"createRadioStation": "$t(entity.radioStation_one) létrehozása",
|
||||
"openApplicationDirectory": "app könyvtár megnyitása",
|
||||
"addOrRemoveFromSelection": "hozzáadás vagy eltávolítás a kiválasztásból",
|
||||
"selectRangeOfItems": "válaszd ki a tartományt"
|
||||
"holdToMoveToBottom": "hosszan nyomva lejjebb mozgat"
|
||||
},
|
||||
"common": {
|
||||
"collapse": "összecsukás",
|
||||
@@ -151,9 +145,7 @@
|
||||
"tableColumns": "táblázat oszlopok",
|
||||
"itemsMore": "{{count}} még több",
|
||||
"view": "nézet",
|
||||
"noFilters": "nincs konfigurált szűrő",
|
||||
"countSelected": "{{count}} kiválasztott",
|
||||
"retry": "újra"
|
||||
"noFilters": "nincs konfigurált szűrő"
|
||||
},
|
||||
"entity": {
|
||||
"albumArtist_one": "Zenész",
|
||||
@@ -192,9 +184,7 @@
|
||||
"trackWithCount_one": "{{count}} sáv",
|
||||
"trackWithCount_other": "{{count}} sávok",
|
||||
"radioStation_one": "rádió állomás",
|
||||
"radioStation_other": "rádió állomások",
|
||||
"radioStationWithCount_one": "{{count}} rádióállomás",
|
||||
"radioStationWithCount_other": "{{count}} rádióállomások"
|
||||
"radioStation_other": "rádió állomások"
|
||||
},
|
||||
"error": {
|
||||
"apiRouteError": "a kérést nem sikerült célba juttatni",
|
||||
@@ -220,12 +210,7 @@
|
||||
"serverRequired": "szerver szükséges",
|
||||
"serverNotSelectedError": "nincs szerver kiválasztva",
|
||||
"notificationDenied": "Az értesítések engedélyezése megtagadva. Ez a beállítás hatástalan",
|
||||
"badValue": "érvénytelen opció \"{{value}}\". ez az érték már nem létezik",
|
||||
"noNetwork": "Szerver nem elérhető",
|
||||
"noNetworkDescription": "Nem tudok csatlakozni a szerverhez",
|
||||
"saveQueueFailed": "műsorlista mentése sikertelen",
|
||||
"settingsSyncError": "Eltéréseket találtam a leképző és a fő folyamat beállításai között. Indítsd újra az alkalmazást",
|
||||
"multipleServerSaveQueueError": "a műsorlistában egy vagy több olyan dal található, amely nem az aktuális szerverről származik. Ez nem támogatott"
|
||||
"badValue": "érvénytelen opció \"{{value}}\". ez az érték már nem létezik"
|
||||
},
|
||||
"filter": {
|
||||
"albumCount": "$t(entity.album_other) darab",
|
||||
@@ -360,16 +345,6 @@
|
||||
"input_played": "csak szűrt zenék",
|
||||
"input_played_optionUnplayed": "Csak a még nem lejátszottak",
|
||||
"input_played_optionPlayed": "Csak a játszottak számok"
|
||||
},
|
||||
"createRadioStation": {
|
||||
"success": "rádió állomás sikeresen létrehozva",
|
||||
"title": "rádió állomás létrehozása",
|
||||
"input_homepageUrl": "oldal url",
|
||||
"input_name": "név",
|
||||
"input_streamUrl": "stream url"
|
||||
},
|
||||
"saveQueue": {
|
||||
"success": "mentett lejátszási műsorlista a szerverre"
|
||||
}
|
||||
},
|
||||
"dragDropZone": {
|
||||
@@ -550,8 +525,7 @@
|
||||
"settings": "$t(common.setting_other)",
|
||||
"shared": "megosztott $t(entity.playlist_other)",
|
||||
"tracks": "$t(entity.track_other)",
|
||||
"favorites": "$t(entity.favorite_other)",
|
||||
"radio": "$t(entity.radioStation_other)"
|
||||
"favorites": "$t(entity.favorite_other)"
|
||||
},
|
||||
"trackList": {
|
||||
"artistTracks": "dalok tőle {{artist}}",
|
||||
@@ -563,14 +537,11 @@
|
||||
},
|
||||
"folderList": {
|
||||
"title": "$t(entity.folder_other)"
|
||||
},
|
||||
"radioList": {
|
||||
"title": "rádió állomások"
|
||||
}
|
||||
},
|
||||
"player": {
|
||||
"addLast": "utolsónak",
|
||||
"addNext": "következő",
|
||||
"addLast": "utoljára hozzáadva",
|
||||
"addNext": "következő hozzáadása",
|
||||
"favorite": "kedvenc",
|
||||
"mute": "némítás",
|
||||
"muted": "némítva",
|
||||
@@ -600,12 +571,13 @@
|
||||
"pause": "szünet",
|
||||
"viewQueue": "műsorlista megtekintése",
|
||||
"shuffle_off": "kevert lejátszás ki",
|
||||
"addLastShuffled": "végére (keverve)",
|
||||
"addNextShuffled": "következő (keverve)",
|
||||
"addLastShuffled": "Hozzáadás a végére (keverve)",
|
||||
"addNextShuffled": "Hozzáadás következőnek (keverve)",
|
||||
"queueType": "lekérdezés típus",
|
||||
"queueType_default": "alapértelmezett",
|
||||
"queueType_priority": "prioritás",
|
||||
"holdToShuffle": "tartsd lenyomva a keveréshez",
|
||||
"lyrics": "dalszöveg",
|
||||
"saveQueueToServer": "műsorlista mentése a szerverre",
|
||||
"restoreQueueFromServer": "műsorlista visszaállítása a szerverről"
|
||||
"lyrics": "dalszöveg"
|
||||
},
|
||||
"releaseType": {
|
||||
"primary": {
|
||||
@@ -794,6 +766,7 @@
|
||||
"playButtonBehavior_optionPlay": "$t(player.play)",
|
||||
"playButtonBehavior_optionPlayShuffled": "$t(player.shuffle)",
|
||||
"playButtonBehavior": "lejátszás gomb viselkedése",
|
||||
"playerAlbumArtResolution_description": "A nagy lejátszó albumborító-előnézetének felbontása. A nagyobb érték élesebb képet ad, de lassíthatja a betöltést. Alapértelmezés: 0, ami az automatikus módot jelenti",
|
||||
"minimumScrobblePercentage_description": "a szám lejátszásának minimális százaléka, amelynek el kell hangzania, mielőtt Scrobble-nak számít",
|
||||
"minimumScrobblePercentage": "Minimális Scrobble arány (százalék)",
|
||||
"minimumScrobbleSeconds": "Minimum Scrobble arány (mp)",
|
||||
@@ -807,6 +780,7 @@
|
||||
"notify": "bekapcsolja a dal értesítéseket",
|
||||
"notify_description": "értesítések megjelenítése az aktuális dal megváltoztatásakor",
|
||||
"playbackStyle_description": "válaszd ki az lejátszóhoz használni kívánt lejátszási stílust",
|
||||
"playerAlbumArtResolution": "lejátszó albumborító felbontás",
|
||||
"playerbarOpenDrawer_description": "lehetővé teszi a lejátszósávra kattintással a teljes képernyős lejátszó megnyitását",
|
||||
"playerbarOpenDrawer": "lejátszósáv teljes képernyőre váltás",
|
||||
"preferLocalLyrics_description": "ha elérhető, akkor a távoli dalszövegek helyett a helyi dalszövegeket részesítse előnyben",
|
||||
@@ -934,9 +908,7 @@
|
||||
"playerFilters_description": "a következő kritériumok alapján kihagyja a dalokat a műsorlistából",
|
||||
"playerbarSlider_description": "a hullámforma nem ajánlott lassú vagy korlátozott internetkapcsolat esetén",
|
||||
"audioFadeOnStatusChange": "audio behúzás állapotváltozáskor",
|
||||
"audioFadeOnStatusChange_description": "lehetővé teszi a lehúzást és a behúzást, amikor a lejátszás/szünet állapot megváltozik",
|
||||
"useThemeAccentColor": "használd a téma kiemelő színét",
|
||||
"useThemeAccentColor_description": "a kiválasztott témában meghatározott alapszínt használja az egyéni kiemelő szín helyett"
|
||||
"audioFadeOnStatusChange_description": "lehetővé teszi a lehúzást és a behúzást, amikor a lejátszás/szünet állapot megváltozik"
|
||||
},
|
||||
"table": {
|
||||
"config": {
|
||||
@@ -1066,11 +1038,5 @@
|
||||
"matchesRegex": "illeszkedik a regexre",
|
||||
"is": "van",
|
||||
"isNot": "nincs"
|
||||
},
|
||||
"datetime": {
|
||||
"minuteShort": "perc",
|
||||
"secondShort": "mp",
|
||||
"hourShort": "óra",
|
||||
"dayShort": "nap"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -579,6 +579,8 @@
|
||||
"playButtonBehavior_optionAddLast": "$t(player.addLast)",
|
||||
"playButtonBehavior_optionAddNext": "$t(player.addNext)",
|
||||
"playButtonBehavior_optionPlayShuffled": "$t(player.shuffle)",
|
||||
"playerAlbumArtResolution": "resolusi sampul album pemutar",
|
||||
"playerAlbumArtResolution_description": "resolusi untuk pratinjau sampul album pemutar besar. semakin besar akan membuatnya lebih tajam, tetapi dapat memperlambat pemuatan. Nilai default adalah 0, yang berarti otomatis",
|
||||
"playerbarOpenDrawer": "Buka pemutar ke layar penuh",
|
||||
"playerbarOpenDrawer_description": "Izinkan mengklik bilah pemutar untuk membuka pemutar di layar penuh",
|
||||
"remotePassword": "kata sandi kontrol jarak jauh server",
|
||||
|
||||
@@ -355,6 +355,8 @@
|
||||
"passwordStore": "Archivio di password/segreti",
|
||||
"passwordStore_description": "specifica quale archivio di password e segreti utilizzare. modificalo in caso di problemi nel salvataggio delle credenziali",
|
||||
"playButtonBehavior_optionPlayShuffled": "$t(player.shuffle)",
|
||||
"playerAlbumArtResolution": "risoluzione della copertina nel lettore",
|
||||
"playerAlbumArtResolution_description": "la risoluzione dell’anteprima della copertina nel lettore in formato grande. valori più alti la rendono più nitida, ma possono rallentare il caricamento. Il valore predefinito è 0, che indica la modalità automatica",
|
||||
"sidePlayQueueStyle_optionAttached": "fissata",
|
||||
"sidePlayQueueStyle_optionDetached": "sganciata",
|
||||
"startMinimized": "avvia minimizzato",
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
"skip_back": "前へスキップ",
|
||||
"favorite": "お気に入り",
|
||||
"next": "次へ",
|
||||
"shuffle": "再生 (シャッフル)",
|
||||
"shuffle": "シャッフル",
|
||||
"playbackFetchNoResults": "曲が見つかりません",
|
||||
"playbackFetchInProgress": "曲を読み込み中…",
|
||||
"addNext": "次",
|
||||
"addNext": "次へ追加",
|
||||
"playbackSpeed": "再生速度",
|
||||
"playbackFetchCancel": "処理に時間がかかります… 通知を閉じるとキャンセルします",
|
||||
"play": "再生",
|
||||
@@ -25,15 +25,12 @@
|
||||
"queue_moveToTop": "選択項目を一番下に移動",
|
||||
"queue_moveToBottom": "選択項目を先頭に移動",
|
||||
"shuffle_off": "シャッフル無効",
|
||||
"addLast": "最後",
|
||||
"addLast": "最後へ追加",
|
||||
"mute": "ミュート",
|
||||
"skip_forward": "次へスキップ",
|
||||
"pause": "一時停止",
|
||||
"playSimilarSongs": "似たような曲を再生する",
|
||||
"viewQueue": "キューを表示する",
|
||||
"lyrics": "歌詞",
|
||||
"restoreQueueFromServer": "サーバーからキューを復元",
|
||||
"saveQueueToServer": "サーバーにキューを保存"
|
||||
"viewQueue": "キューを表示する"
|
||||
},
|
||||
"setting": {
|
||||
"crossfadeStyle_description": "オーディオプレーヤーが使用するクロスフェードのスタイルを選択します",
|
||||
@@ -206,13 +203,15 @@
|
||||
"volumeWidth_description": "音量スライダーの幅",
|
||||
"volumeWidth": "音量スライダーの幅",
|
||||
"webAudio_description": "Web Audio を使用します。これにより、リプレイゲインなどの高度な機能が有効になります。それ以外の場合は無効にしてください",
|
||||
"playerAlbumArtResolution_description": "大画面プレーヤーのアルバムアートプレビューの解像度。解像度が高いほど鮮明になりますが、読み込みが遅くなる可能性があります。デフォルトは 0 (自動設定) です",
|
||||
"mpvExtraParameters_help": "1 行に 1 つずつ",
|
||||
"musicbrainz_description": "MusicBrainz ID が存在するアーティスト/アルバムページに MusicBrainz へのリンクを表示します",
|
||||
"musicbrainz": "MusicBrainz リンクを表示する",
|
||||
"neteaseTranslation_description": "有効にすると、利用可能な場合は NetEase から翻訳された歌詞を取得して表示します",
|
||||
"neteaseTranslation": "NetEase 翻訳歌詞を有効にする",
|
||||
"passwordStore_description": "使用するパスワード / シークレットストア。パスワードの保存に問題がある場合はこれを変更してください",
|
||||
"passwordStore": "パスワード / シークレットストア",
|
||||
"passwordStore_description": "使用するパスワード/シークレットストア。パスワードの保存に問題がある場合はこれを変更してください",
|
||||
"passwordStore": "パスワード/シークレットストア",
|
||||
"playerAlbumArtResolution": "プレーヤーのアルバムアートの解像度",
|
||||
"playerbarOpenDrawer_description": "プレーヤーバーをクリックすると全画面プレーヤーが開きます",
|
||||
"preferLocalLyrics_description": "利用可能な場合は、リモート歌詞よりもローカル歌詞を優先します",
|
||||
"preferLocalLyrics": "ローカル歌詞を優先する",
|
||||
@@ -299,51 +298,7 @@
|
||||
"exportImportSettings_notValidJSON": "渡されたファイルは有効な JSON ではありません",
|
||||
"exportImportSettings_importSuccess": "設定が正常にインポートされました!",
|
||||
"exportImportSettings_importModalTitle": "Feishin 設定をインポート",
|
||||
"exportImportSettings_importBtn": "設定をインポート",
|
||||
"autoDJ_description": "類似の曲を自動でキューに追加します",
|
||||
"autoDJ": "自動 DJ",
|
||||
"autoDJ_itemCount_description": "自動 DJ が有効なときにキューに追加しようとした曲数",
|
||||
"autoDJ_itemCount": "曲数",
|
||||
"autoDJ_timing": "タイミング",
|
||||
"autoDJ_timing_description": "自動 DJ が作動するまでのキューに残っている曲数",
|
||||
"analyticsDisable": "使用状況に基づく分析のオプトアウト",
|
||||
"analyticsDisable_description": "匿名化された利用データは、アプリケーションの改善のために開発者に送信されます",
|
||||
"useThemeAccentColor": "テーマのアクセントカラーを使用",
|
||||
"useThemeAccentColor_description": "カスタムアクセントカラーの代わりに、選択したテーマで定義されたプライマリカラーを使用します",
|
||||
"artistReleaseTypeConfiguration": "アーティストリリースタイプの設定",
|
||||
"artistReleaseTypeConfiguration_description": "アルバムアーティストページでどのリリースタイプをどのような順序で表示するかを設定します",
|
||||
"followCurrentSong": "現在の曲をフォロー",
|
||||
"followCurrentSong_description": "再生キューを現在再生中の曲まで自動的にスクロールします",
|
||||
"logLevel": "ログレベル",
|
||||
"logLevel_description": "表示するログの最小レベルを設定します。debug はすべてのログを表示し、error はエラーのみを表示します",
|
||||
"logLevel_optionDebug": "debug",
|
||||
"logLevel_optionError": "error",
|
||||
"logLevel_optionInfo": "info",
|
||||
"logLevel_optionWarn": "warn",
|
||||
"playerFilters": "キューから曲をフィルタリング",
|
||||
"playerFilters_description": "以下の基準に基づいて曲をキューに追加しないようにします",
|
||||
"artistRadioCount": "アーティスト / トラックのラジオカウント",
|
||||
"artistRadioCount_description": "アーティストラジオとトラックラジオで取得する曲数を設定します",
|
||||
"imageResolution": "画像の解像度",
|
||||
"imageResolution_description": "アプリ内で使用される画像の解像度。値を 0 に設定すると、デフォルトでネイティブ画像解像度が適用されます",
|
||||
"showLyricsInSidebar_description": "添付の再生キューに歌詞を表示するパネルが追加されます",
|
||||
"showLyricsInSidebar": "プレーヤーのサイドバーに歌詞を表示する",
|
||||
"showRatings": "星評価を表示する",
|
||||
"imageResolution_optionSidebar": "サイドバー",
|
||||
"imageResolution_optionHeader": "ヘッダー",
|
||||
"imageResolution_optionFullScreenPlayer": "全画面プレーヤー",
|
||||
"playerbarSlider": "プレーヤーバースライダー",
|
||||
"playerbarSlider_description": "低速または従量制のインターネット接続の場合は、波形は推奨されません",
|
||||
"playerbarSliderType_optionSlider": "スライダー",
|
||||
"playerbarSliderType_optionWaveform": "波形",
|
||||
"playerbarWaveformAlign": "波形アライメント",
|
||||
"showRatings_description": "インターフェースに星評価機能を表示するかどうかを制御します",
|
||||
"showVisualizerInSidebar": "プレーヤーのサイドバーにビジュアライザーを表示する",
|
||||
"combinedLyricsAndVisualizer": "プレイヤーのサイドバーに歌詞とビジュアライザーを統合する",
|
||||
"audioFadeOnStatusChange_description": "再生 / 一時停止の状態が変わったときにフェードアウトとフェードインを有効にします",
|
||||
"audioFadeOnStatusChange": "ステータス変更時の音声フェード",
|
||||
"combinedLyricsAndVisualizer_description": "歌詞とビジュアライザーを同じパネルに統合します",
|
||||
"showVisualizerInSidebar_description": "プレーヤーのサイドバーにビジュアライザーを表示するパネルが追加されます"
|
||||
"exportImportSettings_importBtn": "設定をインポート"
|
||||
},
|
||||
"action": {
|
||||
"editPlaylist": "$t(entity.playlist_one) を編集",
|
||||
@@ -373,17 +328,7 @@
|
||||
"shuffle": "シャッフル",
|
||||
"shuffleAll": "すべてシャッフル",
|
||||
"shuffleSelected": "選択した曲をシャッフル",
|
||||
"viewMore": "さらに表示",
|
||||
"createRadioStation": "$t(entity.radioStation_one) を作成",
|
||||
"deleteRadioStation": "$t(entity.radioStation_one) を削除",
|
||||
"selectAll": "すべて選択",
|
||||
"moveUp": "上に移動",
|
||||
"moveDown": "下に移動",
|
||||
"holdToMoveToTop": "押し続けると一番上に移動します",
|
||||
"holdToMoveToBottom": "押し続けると一番下に移動します",
|
||||
"openApplicationDirectory": "アプリケーションディレクトリを開く",
|
||||
"selectRangeOfItems": "項目の範囲を選択",
|
||||
"addOrRemoveFromSelection": "選択に追加または削除"
|
||||
"viewMore": "さらに表示"
|
||||
},
|
||||
"common": {
|
||||
"backward": "戻る",
|
||||
@@ -486,19 +431,7 @@
|
||||
"doNotShowAgain": "再度表示しない",
|
||||
"externalLinks": "外部リンク",
|
||||
"sort": "分類",
|
||||
"gridRows": "グリッド行",
|
||||
"countSelected": "{{count}} 個選択されました",
|
||||
"view": "表示",
|
||||
"noFilters": "フィルターが設定されていません",
|
||||
"retry": "再試行",
|
||||
"itemsMore": "{{count}} 個以上",
|
||||
"faster": "より速く",
|
||||
"slower": "より遅く",
|
||||
"example": "例",
|
||||
"mood": "気分",
|
||||
"recordLabel": "レコードレーベル",
|
||||
"tableColumns": "テーブル列",
|
||||
"clean": "クリーン"
|
||||
"gridRows": "グリッド行"
|
||||
},
|
||||
"table": {
|
||||
"config": {
|
||||
@@ -545,12 +478,7 @@
|
||||
"year": "$t(common.year)",
|
||||
"albumArtist": "$t(entity.albumArtist_one)",
|
||||
"codec": "$t(common.codec)",
|
||||
"songCount": "$t(entity.track_other)",
|
||||
"albumCount": "$t(entity.album_other)",
|
||||
"bitDepth": "$t(common.bitDepth)",
|
||||
"genreBadge": "$t(entity.genre_one) (バッジ)",
|
||||
"image": "画像",
|
||||
"sampleRate": "$t(common.sampleRate)"
|
||||
"songCount": "$t(entity.track_other)"
|
||||
}
|
||||
},
|
||||
"column": {
|
||||
@@ -577,9 +505,7 @@
|
||||
"discNumber": "ディスク",
|
||||
"channels": "$t(common.channel_other)",
|
||||
"size": "$t(common.size)",
|
||||
"codec": "$t(common.codec)",
|
||||
"bitDepth": "$t(common.bitDepth)",
|
||||
"sampleRate": "$t(common.sampleRate)"
|
||||
"codec": "$t(common.codec)"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
@@ -606,12 +532,7 @@
|
||||
"networkError": "ネットワークエラーが発生しました",
|
||||
"notificationDenied": "通知の許可が拒否されました。この設定は効果がありません",
|
||||
"openError": "ファイルを開けませんでした",
|
||||
"badValue": "無効なオプション「{{value}}」。この値は存在しません",
|
||||
"multipleServerSaveQueueError": "再生キューに現在のサーバーに存在しない曲が 1 曲以上あります。これはサポートされていません",
|
||||
"noNetwork": "サーバーが利用できません",
|
||||
"noNetworkDescription": "このサーバーに接続できませんでした",
|
||||
"saveQueueFailed": "キューを保存できませんでした",
|
||||
"settingsSyncError": "レンダラーとメインプロセスの設定に矛盾が見つかりました。変更を適用するにはアプリケーションを再起動してください"
|
||||
"badValue": "無効なオプション「{{value}}」。この値は存在しません"
|
||||
},
|
||||
"filter": {
|
||||
"mostPlayed": "最も多く再生",
|
||||
@@ -672,9 +593,7 @@
|
||||
"artists": "$t(entity.artist_other)",
|
||||
"albumArtists": "$t(entity.albumArtist_other)",
|
||||
"myLibrary": "マイライブラリ",
|
||||
"shared": "$t(entity.playlist_other) を共有",
|
||||
"radio": "$t(entity.radioStation_other)",
|
||||
"favorites": "$t(entity.favorite_other)"
|
||||
"shared": "$t(entity.playlist_other) を共有"
|
||||
},
|
||||
"fullscreenPlayer": {
|
||||
"config": {
|
||||
@@ -711,11 +630,7 @@
|
||||
"goBack": "戻る",
|
||||
"goForward": "進む",
|
||||
"privateModeOff": "プライベートモードをオフにする",
|
||||
"privateModeOn": "プライベートモードをオンにする",
|
||||
"selectMusicFolder": "音楽フォルダを選択",
|
||||
"noMusicFolder": "音楽フォルダを選択",
|
||||
"commandPalette": "コマンドパレットを開く",
|
||||
"multipleMusicFolders": "{{count}} 個の音楽フォルダが選択されました"
|
||||
"privateModeOn": "プライベートモードをオンにする"
|
||||
},
|
||||
"contextMenu": {
|
||||
"addToPlaylist": "$t(action.addToPlaylist)",
|
||||
@@ -741,9 +656,7 @@
|
||||
"goToAlbum": "$t(entity.album_one) に移動",
|
||||
"goToAlbumArtist": "$t(entity.albumArtist_one) に移動",
|
||||
"showDetails": "情報を取得する",
|
||||
"playShuffled": "$t(player.shuffle)",
|
||||
"moveItems": "$t(action.moveItems)",
|
||||
"goTo": "移動"
|
||||
"playShuffled": "$t(player.shuffle)"
|
||||
},
|
||||
"home": {
|
||||
"mostPlayed": "最も多く再生",
|
||||
@@ -751,8 +664,7 @@
|
||||
"title": "$t(common.home)",
|
||||
"explore": "ライブラリから検索",
|
||||
"recentlyPlayed": "最近の再生",
|
||||
"recentlyReleased": "最近のリリース",
|
||||
"genres": "$t(entity.genre_other)"
|
||||
"recentlyReleased": "最近のリリース"
|
||||
},
|
||||
"albumDetail": {
|
||||
"moreFromArtist": "$t(entity.artist_one) の他の項目",
|
||||
@@ -764,24 +676,7 @@
|
||||
"generalTab": "一般",
|
||||
"hotkeysTab": "ホットキー",
|
||||
"windowTab": "ウィンドウ",
|
||||
"advanced": "高度",
|
||||
"analytics": "分析",
|
||||
"updates": "更新",
|
||||
"cache": "キャッシュ",
|
||||
"application": "アプリケーション",
|
||||
"queryBuilder": "クエリビルダー",
|
||||
"theme": "テーマ",
|
||||
"controls": "コントロール",
|
||||
"sidebar": "サイドバー",
|
||||
"remote": "リモート",
|
||||
"exportImport": "インポート / エクスポート",
|
||||
"scrobble": "Scrobble",
|
||||
"audio": "オーディオ",
|
||||
"lyrics": "歌詞",
|
||||
"lyricsDisplay": "歌詞表示",
|
||||
"transcoding": "トランスコーディング",
|
||||
"discord": "Discord",
|
||||
"logger": "ロガー"
|
||||
"advanced": "高度"
|
||||
},
|
||||
"albumArtistList": {
|
||||
"title": "$t(entity.albumArtist_other)"
|
||||
@@ -821,9 +716,7 @@
|
||||
"topSongsFrom": "{{title}} からの人気曲",
|
||||
"viewAll": "すべて表示",
|
||||
"viewAllTracks": "$t(entity.track_other) をすべて表示",
|
||||
"relatedArtists": "関連の $t(entity.artist_other)",
|
||||
"groupingTypeAll": "すべてのリリースタイプ",
|
||||
"groupingTypePrimary": "主なリリースタイプ"
|
||||
"relatedArtists": "関連の $t(entity.artist_other)"
|
||||
},
|
||||
"manageServers": {
|
||||
"title": "サーバーの管理",
|
||||
@@ -840,15 +733,6 @@
|
||||
},
|
||||
"playlist": {
|
||||
"reorder": "ID によるソート時のみ並べ替えが可能です"
|
||||
},
|
||||
"radioList": {
|
||||
"title": "ラジオ局"
|
||||
},
|
||||
"favorites": {
|
||||
"title": "$t(entity.favorite_other)"
|
||||
},
|
||||
"folderList": {
|
||||
"title": "$t(entity.folder_other)"
|
||||
}
|
||||
},
|
||||
"form": {
|
||||
@@ -878,10 +762,7 @@
|
||||
"ignoreCors": "CORSを無視 ($t(common.restartRequired))",
|
||||
"error_savePassword": "パスワードを保存する際にエラーが発生しました",
|
||||
"input_preferInstantMixDescription": "類似曲を取得するにはインスタントミックスのみを使用してください。この動作を変更するプラグインがある場合に役立ちます",
|
||||
"input_preferInstantMix": "インスタントミックスを優先する",
|
||||
"input_preferRemoteUrl": "公開 URL を優先する",
|
||||
"input_remoteUrl": "公開 URL",
|
||||
"input_remoteUrlPlaceholder": "オプション: 外部機能用の公開 URL"
|
||||
"input_preferInstantMix": "インスタントミックスを優先する"
|
||||
},
|
||||
"addToPlaylist": {
|
||||
"success": "$t(entity.trackWithCount, {\"count\": {{message}} }) を $t(entity.playlistWithCount, {\"count\": {{numOfPlaylists}} }) に追加しました",
|
||||
@@ -908,8 +789,7 @@
|
||||
"editPlaylist": {
|
||||
"title": "$t(entity.playlist_one) を編集",
|
||||
"publicJellyfinNote": "Jellyfin では、何らかの理由でプレイリストが公開されているかどうかが表示されません。公開されたままにしたい場合は、以下の項目を選択してください",
|
||||
"success": "$t(entity.playlist_one) が正常に更新されました",
|
||||
"editNote": "大規模なプレイリストの場合、手動編集は推奨されません。既存のプレイリストを上書きすることでデータ損失が発生するリスクを許容しますか?"
|
||||
"success": "$t(entity.playlist_one) が正常に更新されました"
|
||||
},
|
||||
"shareItem": {
|
||||
"allowDownloading": "ダウンロードを許可",
|
||||
@@ -927,29 +807,6 @@
|
||||
"largeFetchConfirmation": {
|
||||
"title": "キューにアイテムを追加する",
|
||||
"description": "このアクションは、現在のフィルターされたビュー内のすべてのアイテムを追加します"
|
||||
},
|
||||
"createRadioStation": {
|
||||
"success": "ラジオ局が正常に作成されました",
|
||||
"title": "ラジオ局を作成",
|
||||
"input_homepageUrl": "ホームページ URL",
|
||||
"input_name": "名前",
|
||||
"input_streamUrl": "Stream URL"
|
||||
},
|
||||
"lyricsExport": {
|
||||
"export": "歌詞をエクスポート",
|
||||
"input_synced": "同期歌詞をエクスポート",
|
||||
"input_offset": "$t(setting.lyricOffset)"
|
||||
},
|
||||
"shuffleAll": {
|
||||
"title": "ランダムに再生",
|
||||
"input_genre": "$t(entity.genre_one)",
|
||||
"input_limit": "曲が多すぎます",
|
||||
"input_minYear": "年から",
|
||||
"input_maxYear": "年まで",
|
||||
"input_played_optionAll": "すべてのトラック",
|
||||
"input_played_optionUnplayed": "未再生のトラックのみ",
|
||||
"input_played_optionPlayed": "再生されたトラックのみ",
|
||||
"input_played": "再生フィルター"
|
||||
}
|
||||
},
|
||||
"entity": {
|
||||
@@ -970,9 +827,7 @@
|
||||
"genreWithCount_other": "{{count}} 個のジャンル",
|
||||
"trackWithCount_other": "{{count}} 個のトラック",
|
||||
"play_other": "{{count}} 回再生",
|
||||
"song_other": "曲",
|
||||
"radioStation_other": "ラジオ局",
|
||||
"radioStationWithCount_other": "{{count}} 局のラジオ局"
|
||||
"song_other": "曲"
|
||||
},
|
||||
"dragDropZone": {
|
||||
"error_oneFileOnly": "1 つのファイルのみ選択してください",
|
||||
@@ -995,19 +850,5 @@
|
||||
"demo": "デモ",
|
||||
"soundtrack": "サウンドトラック"
|
||||
}
|
||||
},
|
||||
"datetime": {
|
||||
"minuteShort": "分",
|
||||
"secondShort": "秒",
|
||||
"hourShort": "時間",
|
||||
"dayShort": "日"
|
||||
},
|
||||
"queryBuilder": {
|
||||
"standardTags": "標準タグ",
|
||||
"customTags": "カスタムタグ"
|
||||
},
|
||||
"filterOperator": {
|
||||
"matchesRegex": "正規表現に一致",
|
||||
"notContains": "含まれていない"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,23 +21,7 @@
|
||||
},
|
||||
"viewPlaylists": "$t(entity.playlist_other) 보기",
|
||||
"setRating": "평점 지정",
|
||||
"toggleSmartPlaylistEditor": "$t(entity.smartPlaylist) 편집기 펼치기",
|
||||
"addOrRemoveFromSelection": "선택항목에서 추가 또는 제거",
|
||||
"selectRangeOfItems": "항목의 범위 선택",
|
||||
"createRadioStation": "$t(entity.radioStation_one) 생성",
|
||||
"deleteRadioStation": "$t(entity.radioStation_one) 삭제",
|
||||
"selectAll": "전부 선택",
|
||||
"downloadStarted": "{{count}}개 항목 다운로드 시작했습니다",
|
||||
"moveUp": "위로 옮기기",
|
||||
"moveDown": "아래로 옮기기",
|
||||
"holdToMoveToTop": "맨 위로 옮기기 위해 끌기",
|
||||
"holdToMoveToBottom": "맨 아래로 옮기기 위해 끌기",
|
||||
"moveItems": "항목 옮기기",
|
||||
"shuffle": "섞기",
|
||||
"shuffleAll": "모두 섞기",
|
||||
"shuffleSelected": "선택항목 섞기",
|
||||
"viewMore": "더 보기",
|
||||
"openApplicationDirectory": "앱 디렉토리 열기"
|
||||
"toggleSmartPlaylistEditor": "$t(entity.smartPlaylist) 편집기 펼치기"
|
||||
},
|
||||
"common": {
|
||||
"translation": "번역",
|
||||
@@ -138,18 +122,7 @@
|
||||
"recordLabel": "레이블",
|
||||
"releaseType": "발매형태",
|
||||
"explicit": "성인컨텐츠",
|
||||
"clean": "클린",
|
||||
"countSelected": "{{count}}개 선택됨",
|
||||
"doNotShowAgain": "다시 보지 않기",
|
||||
"view": "보기",
|
||||
"externalLinks": "외부 링크",
|
||||
"faster": "빠르게",
|
||||
"noFilters": "필터 미설정",
|
||||
"slower": "천천히",
|
||||
"sort": "정렬",
|
||||
"gridRows": "행 그리드",
|
||||
"tableColumns": "테이블 열",
|
||||
"itemsMore": "{{count}}개 더"
|
||||
"clean": "클린"
|
||||
},
|
||||
"entity": {
|
||||
"albumWithCount_other": "{{count}} 앨범",
|
||||
@@ -169,9 +142,7 @@
|
||||
"play_other": "{{count}} 재생",
|
||||
"playlistWithCount_other": "{{count}} 재생목록",
|
||||
"smartPlaylist": "스마트 $t(entity.playlist_one)",
|
||||
"track_other": "트랙",
|
||||
"radioStation_other": "라디오 방송국",
|
||||
"radioStationWithCount_other": "{{count}}개 라디오 방송국"
|
||||
"track_other": "트랙"
|
||||
},
|
||||
"error": {
|
||||
"systemFontError": "시스템 폰트를 가져오는데 실패하였습니다",
|
||||
|
||||
@@ -2,20 +2,20 @@
|
||||
"action": {
|
||||
"editPlaylist": "pas $t(entity.playlist_one) aan",
|
||||
"goToPage": "ga naar pagina",
|
||||
"moveToTop": "verplaats naar begin",
|
||||
"moveToTop": "verplaats naar boven",
|
||||
"addToFavorites": "toevoegen aan $t(entity.favorite_other)",
|
||||
"addToPlaylist": "toevoegen aan $t(entity.playlist_one)",
|
||||
"createPlaylist": "maak $t(entity.playlist_one)",
|
||||
"removeFromPlaylist": "verwijder uit $t(entity.playlist_one)",
|
||||
"removeFromPlaylist": "verwijder van $t(entity.playlist_one)",
|
||||
"viewPlaylists": "bekijk $t(entity.playlist_other)",
|
||||
"refresh": "$t(common.refresh)",
|
||||
"deletePlaylist": "verwijder $t(entity.playlist_one)",
|
||||
"removeFromQueue": "verwijder uit wachtrij",
|
||||
"removeFromQueue": "verwijder van lijst",
|
||||
"deselectAll": "deselecteer alles",
|
||||
"moveToBottom": "verplaats naar einde",
|
||||
"setRating": "kies beoordeling",
|
||||
"moveToBottom": "verplaats naar bodem",
|
||||
"setRating": "selecteer rating",
|
||||
"toggleSmartPlaylistEditor": "editor $t(entity.smartPlaylist) schakelen",
|
||||
"removeFromFavorites": "verwijder uit $t(entity.favorite_other)",
|
||||
"removeFromFavorites": "verwijder van $t(entity.favorite_other)",
|
||||
"clearQueue": "verwijder lijst",
|
||||
"openIn": {
|
||||
"lastfm": "Open in Last.fm",
|
||||
@@ -27,17 +27,7 @@
|
||||
"shuffle": "shuffle",
|
||||
"shuffleAll": "shuffle alles",
|
||||
"shuffleSelected": "shuffle geselecteerde",
|
||||
"viewMore": "bekijk meer",
|
||||
"addOrRemoveFromSelection": "toevoegen aan of verwijderen uit selectie",
|
||||
"selectRangeOfItems": "selecteer een reeks van nummers",
|
||||
"createRadioStation": "maak $t(entity.radioStation_one)",
|
||||
"deleteRadioStation": "verwijder $t(entity.radioStation_one)",
|
||||
"selectAll": "selecteer alles",
|
||||
"moveUp": "verplaats omhoog",
|
||||
"moveDown": "verplaats omlaag",
|
||||
"holdToMoveToTop": "ingedrukt houden om naar begin te verplaatsen",
|
||||
"holdToMoveToBottom": "ingedrukt houden om naar einde te verplaatsen",
|
||||
"openApplicationDirectory": "applicatiemap openen"
|
||||
"viewMore": "bekijk meer"
|
||||
},
|
||||
"common": {
|
||||
"backward": "achteruit",
|
||||
@@ -121,8 +111,8 @@
|
||||
"setting": "instelling",
|
||||
"close": "sluiten",
|
||||
"additionalParticipants": "andere deelnemers",
|
||||
"newVersion": "een nieuwe versie is geïnstalleerd ({{version}})",
|
||||
"viewReleaseNotes": "lees uitgavenotities",
|
||||
"newVersion": "een nieuwe versie is geinstalleerd ({{version}})",
|
||||
"viewReleaseNotes": "zie release notes",
|
||||
"albumGain": "album gain",
|
||||
"translation": "vertaling",
|
||||
"explicitStatus": "expliciete status",
|
||||
@@ -149,13 +139,7 @@
|
||||
"clean": "schoon",
|
||||
"gridRows": "rasterrijen",
|
||||
"tableColumns": "tabelkolommen",
|
||||
"itemsMore": "{{count}} meer",
|
||||
"countSelected": "{{count}} geselecteerd",
|
||||
"view": "bekijken",
|
||||
"noFilters": "geen filters ingesteld",
|
||||
"example": "voorbeeld",
|
||||
"mood": "stemming",
|
||||
"retry": "opnieuw proberen"
|
||||
"itemsMore": "{{count}} meer"
|
||||
},
|
||||
"filter": {
|
||||
"rating": "rating",
|
||||
@@ -246,8 +230,7 @@
|
||||
"privateModeOn": "schakel private modus in",
|
||||
"selectMusicFolder": "selecteer muziekfolder",
|
||||
"noMusicFolder": "geen muziekfolder geselecteerd",
|
||||
"multipleMusicFolders": "{{count}} muziekfolders geselecteerd",
|
||||
"commandPalette": "open opdrachtvenster"
|
||||
"multipleMusicFolders": "{{count}} muziekfolders geselecteerd"
|
||||
},
|
||||
"albumDetail": {
|
||||
"moreFromArtist": "meer van deze $t(entity.artist_one)",
|
||||
@@ -294,9 +277,7 @@
|
||||
"topSongsFrom": "top nummers van {{title}}",
|
||||
"viewAll": "bekijk alle",
|
||||
"viewAllTracks": "bekijk alle $t(entity.track_other)",
|
||||
"recentReleases": "recente uitgaven",
|
||||
"groupingTypeAll": "alle soorten publicaties",
|
||||
"groupingTypePrimary": "primaire publicatiesoorten"
|
||||
"recentReleases": "recente uitgaven"
|
||||
},
|
||||
"manageServers": {
|
||||
"title": "beheer servers",
|
||||
@@ -325,8 +306,7 @@
|
||||
"newlyAdded": "nieuw toegevoegde uitgaven",
|
||||
"recentlyPlayed": "recent afgespeeld",
|
||||
"recentlyReleased": "recent uitgekomen",
|
||||
"title": "$t(common.home)",
|
||||
"genres": "$t(entity.genre_other)"
|
||||
"title": "$t(common.home)"
|
||||
},
|
||||
"favorites": {
|
||||
"title": "$t(entity.favorite_other)"
|
||||
@@ -362,10 +342,7 @@
|
||||
"audio": "geluid",
|
||||
"lyrics": "songtekst",
|
||||
"transcoding": "transcoderen",
|
||||
"discord": "discord",
|
||||
"lyricsDisplay": "songtekstweergave",
|
||||
"logger": "logger",
|
||||
"playerFilters": "spelerfilters"
|
||||
"discord": "discord"
|
||||
},
|
||||
"sidebar": {
|
||||
"albumArtists": "$t(entity.albumArtist_other)",
|
||||
@@ -381,19 +358,12 @@
|
||||
"search": "$t(common.search)",
|
||||
"settings": "$t(common.setting_other)",
|
||||
"shared": "$t(entity.playlist_other) gedeeld",
|
||||
"tracks": "$t(entity.track_other)",
|
||||
"radio": "$t(entity.radioStation_other)"
|
||||
"tracks": "$t(entity.track_other)"
|
||||
},
|
||||
"trackList": {
|
||||
"artistTracks": "nummers van {{artist}}",
|
||||
"genreTracks": "\"{{genre}}\" $t(entity.track_other)",
|
||||
"title": "$t(entity.track_other)"
|
||||
},
|
||||
"radioList": {
|
||||
"title": "radiostations"
|
||||
},
|
||||
"folderList": {
|
||||
"title": "$t(entity.folder_other)"
|
||||
}
|
||||
},
|
||||
"error": {
|
||||
@@ -420,12 +390,7 @@
|
||||
"networkError": "een netwerkfout heeft zich voorgedaan",
|
||||
"notificationDenied": "toestemming voor meldingen werd afgewezen. Deze instelling heeft geen effect",
|
||||
"openError": "kon het bestand niet openen",
|
||||
"badAlbum": "je ziet deze pagina omdat dit nummer niet onderdeel is van een album. je komt waarchijnlijk dit probleem tegen als je een nummer op het bovenste niveau van je muziekmap hebt staan. Jellyfin kan alleen nummers groeperen als ze in een folder zitten",
|
||||
"multipleServerSaveQueueError": "De afspeellijst bevat een of meer nummers die niet afkomstig zijn van de huidige server. Dit wordt niet ondersteund",
|
||||
"noNetwork": "server niet beschikbaar",
|
||||
"noNetworkDescription": "kan geen verbinding maken met deze server",
|
||||
"saveQueueFailed": "kan wachtrij niet opslaan",
|
||||
"settingsSyncError": "Er zijn verschillen gevonden tussen de instellingen in de renderer en het hoofdproces. Start de applicatie opnieuw op om de wijzigingen toe te passen"
|
||||
"badAlbum": "je ziet deze pagina omdat dit nummer niet onderdeel is van een album. je komt waarchijnlijk dit probleem tegen als je een nummer op het bovenste niveau van je muziekmap hebt staan. Jellyfin kan alleen nummers groeperen als ze in een folder zitten"
|
||||
},
|
||||
"entity": {
|
||||
"genre_one": "genre",
|
||||
@@ -462,11 +427,7 @@
|
||||
"song_one": "lied",
|
||||
"song_other": "liedjes",
|
||||
"play_one": "{{count}} keer afgespeeld",
|
||||
"play_other": "{{count}} keren afgespeeld",
|
||||
"radioStation_one": "radiostation",
|
||||
"radioStation_other": "radiostations",
|
||||
"radioStationWithCount_one": "{{count}} radiostation",
|
||||
"radioStationWithCount_other": "{{count}} radiostations"
|
||||
"play_other": "{{count}} keren afgespeeld"
|
||||
},
|
||||
"table": {
|
||||
"column": {
|
||||
@@ -518,247 +479,7 @@
|
||||
"gaplessAudio_optionWeak": "zwak (aanbevolen)",
|
||||
"gaplessAudio": "gapless audio",
|
||||
"globalMediaHotkeys_description": "het gebruik van systeem mediahotkeys voor controle van afspelen aan-/uitzetten",
|
||||
"globalMediaHotkeys": "globale mediasneltoetsen",
|
||||
"autoDJ": "auto-DJ",
|
||||
"autoDJ_description": "soortgelijke nummers automatisch aan wachtrij toevoegen",
|
||||
"autoDJ_itemCount": "aantal items",
|
||||
"autoDJ_itemCount_description": "het aantal items dat aan de wachtrij wordt geprobeerd toe te voegen als auto-DJ is ingeschakeld",
|
||||
"autoDJ_timing": "timing",
|
||||
"autoDJ_timing_description": "het aantal overgebleven nummers in de wachtrij voordat auto-DJ wordt aangeroepen",
|
||||
"accentColor_description": "stel de accentkleur voor de applicatie in",
|
||||
"accentColor": "accentkleur",
|
||||
"useThemeAccentColor": "gebruik accentkleur van thema",
|
||||
"useThemeAccentColor_description": "gebruik de primaire kleur zoals gedefinieerd in het gekozen thema in plaats van de aangepaste accentkleur",
|
||||
"albumBackground_description": "toon de albumhoes als achtergrond op albumpagina's",
|
||||
"albumBackground": "achtergrondafbeelding album",
|
||||
"albumBackgroundBlur_description": "de hoeveelheid vervaging die wordt toegepast op de achtergrondafbeelding van een album",
|
||||
"albumBackgroundBlur": "hoeveelheid vervaging achtergrondafbeelding",
|
||||
"analyticsDisable": "Opt-out van gebruiksgebaseerde gegevensverzameling",
|
||||
"analyticsDisable_description": "Geanonimiseerde gebruiksgegevens worden naar de ontwikkelaars gestuurd om te ondersteunen bij het verbeteren van de applicatie",
|
||||
"applicationHotkeys_description": "configureer sneltoetsen. vink aan om als globale sneltoets in te stellen (enkel voor desktop)",
|
||||
"applicationHotkeys": "applicatiesneltoetsen",
|
||||
"artistBackground": "achtergrondafbeelding artiest",
|
||||
"artistBackground_description": "gebruik de artiestafbeelding als achtergrond op artiestpagina's",
|
||||
"artistBackgroundBlur": "hoeveelheid vervaging van achtergrondafbeelding",
|
||||
"artistBackgroundBlur_description": "de hoeveelheid vervaging die wordt toegepast op de achtergrondafbeelding van een artiest",
|
||||
"artistConfiguration": "configuratie albumartiestpagina",
|
||||
"artistConfiguration_description": "configureer welke items worden getoond op de albumartiestpagina en in welke volgorde",
|
||||
"artistReleaseTypeConfiguration": "configuratie artiestuitgavesoorten",
|
||||
"artistReleaseTypeConfiguration_description": "configureer welke uitgavesoorten worden getoond op de albumartiestpagina en in welke volgorde",
|
||||
"audioDevice_description": "kies het audioapparaat dat wordt gebruikt om af te spelen (enkel voor de webspeler)",
|
||||
"audioDevice": "audioapparaat",
|
||||
"audioExclusiveMode_description": "schakel exclusieve uitvoermodus in. In deze modus wordt het systeem normaliter uitgesloten en zal enkel mpv audio kunnen uitvoeren",
|
||||
"audioExclusiveMode": "audio-exclusieve modus",
|
||||
"audioPlayer_description": "kies de audiospeler om te gebruiken bij het afspelen",
|
||||
"audioPlayer": "audiospeler",
|
||||
"buttonSize_description": "de grootte van de knoppen in de afspeelbalk",
|
||||
"buttonSize": "knopgrootte afspeelbalk",
|
||||
"clearCache_description": "een 'harde schoning' van feishin. naast het legen van feishin's cache wordt de browser-cache (opgeslagen afbeeldingen en andere gegevens) geleegd. inloggegevens en instellingen blijven bewaard",
|
||||
"clearCache": "browser-cache legen",
|
||||
"clearCacheSuccess": "cache succesvol geleegd",
|
||||
"clearQueryCache_description": "een 'zachte schoning' van feishin. dit zal afspeellijsten verversen, metadata volgen en opgeslagen songteksten herstellen. inloggegevens en gecachete afbeeldingen blijven bewaard",
|
||||
"clearQueryCache": "feishin's cache legen",
|
||||
"contextMenu_description": "maakt het mogelijk om items te verbergen in het menu dat verschijnt bij het rechts klikken op een item. uitgevinkte items worden verborgen",
|
||||
"contextMenu": "configuratie contextmenu (rechtermuisklik)",
|
||||
"crossfadeDuration_description": "bepaal de duur van het crossfade-effect",
|
||||
"crossfadeDuration": "duur crossfade",
|
||||
"crossfadeStyle": "crossfade-stijl",
|
||||
"crossfadeStyle_description": "kies de crossfade-stijl om te gebruiken met de audiospeler",
|
||||
"customCss": "aangepaste css",
|
||||
"customCss_description": "inhoud van de aangepastge css. Opmerking: content en niet-lokale urls zijn niet toegestaan. Een voorvertoning van de inhoud wordt hieronder getoond. Aanvullende velden die niet zijn ingesteld zijn aanwezig vanwege sanering",
|
||||
"customCssEnable_description": "sta toe aangepaste css te schrijven",
|
||||
"customCssEnable": "aangepaste css inschakelen",
|
||||
"customCssNotice": "Waarschuwing: ondanks sanering (het niet toestaan van url() en content:) brengt aangepaste css nog steeds risico's met zich mee omdat de interface wordt gewijzigd",
|
||||
"customFontPath_description": "bepaal het pad naar het aangepaste lettertype voor gebruik in de applicatie",
|
||||
"customFontPath": "aangepaste lettertypelocatie",
|
||||
"disableAutomaticUpdates": "automatische updates uitschakelen",
|
||||
"releaseChannel_optionBeta": "beta",
|
||||
"releaseChannel_optionLatest": "meest recente",
|
||||
"releaseChannel": "releasekanaal",
|
||||
"releaseChannel_description": "kies tussen stabiele releases of beta-releases voor automatische updates",
|
||||
"disableLibraryUpdateOnStartup": "niet controleren op nieuwe versies bij het opstarten",
|
||||
"discordApplicationId_description": "de applicatie-id voor {{discord}} rich presence (standaard is {{defaultId}})",
|
||||
"hotkey_listPlayNow": "nu in lijst spelen",
|
||||
"hotkey_navigateHome": "navigeer naar startpagina",
|
||||
"hotkey_playbackNext": "volgend nummer",
|
||||
"hotkey_playbackPause": "pauzeren",
|
||||
"hotkey_playbackPlay": "afspelen",
|
||||
"hotkey_playbackPlayPause": "afspelen / pauzeren",
|
||||
"hotkey_playbackPrevious": "vorig nummer",
|
||||
"hotkey_playbackStop": "stoppen",
|
||||
"hotkey_rate0": "wis beoordeling",
|
||||
"hotkey_rate1": "beoordeel 1 ster",
|
||||
"hotkey_rate2": "beoordeel 2 sterren",
|
||||
"hotkey_rate3": "beoordeel 3 sterren",
|
||||
"hotkey_skipBackward": "spring terug",
|
||||
"hotkey_skipForward": "spring vooruit",
|
||||
"hotkey_toggleCurrentSongFavorite": "schakel favorietstatus $t(common.currentSong)",
|
||||
"hotkey_toggleFullScreenPlayer": "schakel afspelen in volledig scherm",
|
||||
"hotkey_togglePreviousSongFavorite": "schakel favorietstatus $t(common.previousSong)",
|
||||
"hotkey_toggleQueue": "schakel wachtrij",
|
||||
"hotkey_toggleRepeat": "schakel herhalen",
|
||||
"hotkey_toggleShuffle": "schakel willekeurig afspelen",
|
||||
"hotkey_unfavoriteCurrentSong": "verwijder $t(common.currentSong) uit favorieten",
|
||||
"hotkey_unfavoritePreviousSong": "verwijder $t(common.previousSong) uit favorieten",
|
||||
"hotkey_volumeDown": "volume omlaag",
|
||||
"hotkey_volumeMute": "volume dempen",
|
||||
"hotkey_volumeUp": "volume omhoog",
|
||||
"hotkey_zoomIn": "inzoomen",
|
||||
"hotkey_zoomOut": "uitzoomen",
|
||||
"imageAspectRatio": "gebruik originele verhoudingen van albumhoes",
|
||||
"imageAspectRatio_description": "toon albumhoes in de originele verhoudingen, indien ingeschakeld. bij albumhoezen die geen 1:1-verhouding hebben zal de overige ruimte leeg blijven",
|
||||
"language": "taal",
|
||||
"language_description": "stel de taal voor applicatie in ($t(common.restartRequired))",
|
||||
"lastfm_description": "toon links naar Last.fm op artiest- en albumpagina's",
|
||||
"lastfm": "toon Last.fm-links",
|
||||
"lastfmApiKey_description": "de API-sleutel voor {{lastfm}}. vereist voor albumhoezen",
|
||||
"lastfmApiKey": "{{lastfm}}-API-sleutel",
|
||||
"lyricFetch_description": "bevraag verschillende bronnen op het internet voor songteksten",
|
||||
"lyricFetch": "haal songteksten op van het internet",
|
||||
"lyricFetchProvider_description": "kies de diensten die geraadpleegd worden voor songteksten. de volgorde van de diensten is tevens de volgorde waarop deze worden geraadpleegd",
|
||||
"lyricFetchProvider": "diensten voor songteksten",
|
||||
"lyricOffset_description": "compenseer de songtekst met het gegeven aantal milliseconden",
|
||||
"lyricOffset": "compensatie songtekst (ms)",
|
||||
"logLevel": "logniveau",
|
||||
"logLevel_description": "het laagste logniveau dat wordt getoond. debug toont alle logs, error toont enkel foutmeldingen",
|
||||
"logLevel_optionDebug": "debug",
|
||||
"logLevel_optionError": "fouten",
|
||||
"logLevel_optionInfo": "informatief",
|
||||
"logLevel_optionWarn": "waarschuwingen",
|
||||
"minimizeToTray_description": "minimaliseer de applicatie naar het systeemvak",
|
||||
"minimizeToTray": "minimaliseer naar systeemvak",
|
||||
"minimumScrobblePercentage_description": "het minimumpercentage dat van een nummer gespeeld om worden om deze te scrobblen",
|
||||
"minimumScrobblePercentage": "minimale duur voor scrobblen (percentage)",
|
||||
"minimumScrobbleSeconds_description": "de minimale duur in seconden dat van een nummer gespeeld moet zijn om deze te scrobblen",
|
||||
"minimumScrobbleSeconds": "minimale duur voor scrobblen (seconden)",
|
||||
"mpvExecutablePath_description": "bepaal het pad naar het uitvoerbare bestand van mpv. indien leeg wordt het standaard pad gebruikt",
|
||||
"showRatings": "toon beoordelingssterren",
|
||||
"showVisualizerInSidebar_description": "een paneel met de visualiseerder wordt aan de zijbalk toegevoegd",
|
||||
"showVisualizerInSidebar": "toon visualiseerder in zijbalk",
|
||||
"combinedLyricsAndVisualizer_description": "combineer songtekst en visualiseerder in hetzelfde paneel",
|
||||
"combinedLyricsAndVisualizer": "combineer songtekst en visualseerder in zijbalk",
|
||||
"preservePitch_description": "behoud toonhoogte bij het aanpassen van de afspeelsnelheid",
|
||||
"preservePitch": "behoud toonhoogte",
|
||||
"audioFadeOnStatusChange": "audio faseert uit bij statuswijziging",
|
||||
"audioFadeOnStatusChange_description": "past in- en uitfasering toe als de afspeelstatus verandert",
|
||||
"preventSleepOnPlayback_description": "voorkom slaapstand van het scherm als muziek afspeelt",
|
||||
"preventSleepOnPlayback": "voorkom slaapstand bij afspelen",
|
||||
"remotePassword_description": "bepaal het wachtwoord voor de externe-bedieningserver. Deze gegevens worden standaard onveilig verstuurd, dus gebruik bij voorkeur een uniek wachtwoord waar je niet om geeft",
|
||||
"remotePassword": "wachtwoord van externe-bedieningserver",
|
||||
"remotePort_description": "bepaal de poort voor de externe-bedieningserver",
|
||||
"remotePort": "poort van externe-bedieningserver",
|
||||
"remoteUsername": "gebruikersnaam van externe-bedieningserver",
|
||||
"remoteUsername_description": "bepaal de gebruikersnaam voor de externe-bedieningserver. Als zowel gebruikersnaam als wachtwoord leeg is wordt geen authenticatie toegepast",
|
||||
"replayGainClipping_description": "Voorkom clipping veroorzaakt door {{ReplayGain}} door automatisch het niveau te verlagen",
|
||||
"replayGainClipping": "{{ReplayGain}}-clipping",
|
||||
"replayGainFallback_description": "niveau in dB dat wordt toegepast als het bestand geen {{ReplayGain}}-tags bevat",
|
||||
"replayGainFallback": "{{ReplayGain}}-terugval",
|
||||
"replayGainMode_description": "pas het volumeniveau aan volgens {{ReplayGain}}-waarden opgeslagen in de metadata van het bestand",
|
||||
"replayGainMode": "{{ReplayGain}}-modus",
|
||||
"replayGainPreamp_description": "pas het voorverstekerniveau aan dat wordt toegepast op {{ReplayGain}}-waarden",
|
||||
"replayGainPreamp": "{{ReplayGain}}-voorversterker (dB)",
|
||||
"discordApplicationId": "{{discord}}-applicatie-id",
|
||||
"discordDisplayType_artistname": "artiestnamen",
|
||||
"discordDisplayType_description": "verandert waar je naar luistert in je status",
|
||||
"discordDisplayType_songname": "liednaam",
|
||||
"discordDisplayType": "weergavesoort {{discord}}-aanwezigheid",
|
||||
"discordIdleStatus_description": "Werk de status bij als de speler inactief is",
|
||||
"discordIdleStatus": "toon inactiviteit in rich presence",
|
||||
"discordRichPresence_description": "toon afspeelstatus in {{discord}} rich presence. Afbeeldingssleutelwoorden zijn {{icon}}, {{playing}} en {{paused}}",
|
||||
"discordServeImage": "deel afbeeldingen van de server met {{discord}}",
|
||||
"discordServeImage_description": "deel albumhoezen voor {{discord}} rich presence vanaf de server zelf. enkel beschikbaar voor Jellyfin en Navidrome. {{discord}} gebruikt een bot om afbeeldingen op te vragen, dus moet je server publiek toegankelijk zijn",
|
||||
"discordUpdateInterval": "verversinterval voor {{discord}} rich presence",
|
||||
"discordUpdateInterval_description": "de interval in seconden tussen elke update (minimaal 15 seconden)",
|
||||
"enableAutoTranslation_description": "schakel automatische vertaling in na het laden van songteksten",
|
||||
"enableAutoTranslation": "automatisch vertalen inschakelen",
|
||||
"enableRemote_description": "sta toe dat andere apparaten de applicatie kunnen bedienen via de externe-bedieningserver",
|
||||
"enableRemote": "externe-bedieningserver inschakelen",
|
||||
"followCurrentSong_description": "scroll de wachtrij automatisch naar het nummer dat momenteel wordt afgespeeld",
|
||||
"followCurrentSong": "volg actieve nummer",
|
||||
"homeConfiguration_description": "configureer welke items in welke volgorde getoond worden op de thuispagina",
|
||||
"homeConfiguration": "configuratie thuispagina",
|
||||
"homeFeature_description": "of de uitgelicht-carrousel op de thuispagina wordt getoond",
|
||||
"homeFeature": "uitgelicht-carrousel thuispagina",
|
||||
"hotkey_browserBack": "browser terug",
|
||||
"hotkey_browserForward": "browser vooruit",
|
||||
"hotkey_favoriteCurrentSong": "maak $t(common.currentSong) favoriet",
|
||||
"hotkey_favoritePreviousSong": "maak $t(common.previousSong) favoriet",
|
||||
"hotkey_globalSearch": "globaal zoeken",
|
||||
"hotkey_localSearch": "zoeken op pagina",
|
||||
"hotkey_listNavigateToPage": "navigeer naar lijst-item",
|
||||
"hotkey_listPlayDefault": "speel in lijst",
|
||||
"hotkey_listPlayLast": "speel laatste in lijst",
|
||||
"hotkey_listPlayNext": "speel volgende in lijst",
|
||||
"mpvExecutablePath": "pad uitvoerbaar bestand mpv",
|
||||
"mpvExtraParameters": "aanvullende parameters mpv",
|
||||
"mpvExtraParameters_description": "aanvullende parameters die aan mpv worden meegegeven",
|
||||
"mpvExtraParameters_help": "één per regel",
|
||||
"musicbrainz_description": "toon links naar MusicBrainz op artiest- en albumpagina's, als een MusicBrainz-ID aanwezig is",
|
||||
"musicbrainz": "toon MusicBrainz-links",
|
||||
"neteaseTranslation_description": "Haalt songteksten van NetEase op en toont deze, indien beschikbaar",
|
||||
"neteaseTranslation": "Gebruikt vertalingen van NetEase",
|
||||
"notify": "Nummerwisselnotificaties",
|
||||
"notify_description": "Toont een notificatie als het actieve nummer wisselt",
|
||||
"pathReplace": "bestandspadvervanging",
|
||||
"pathReplace_description": "vervang het standaard bestandspad van je server",
|
||||
"pathReplace_optionRemovePrefix": "verwijder voorvoegsel",
|
||||
"pathReplace_optionAddPrefix": "voeg voorvoegsel toe",
|
||||
"passwordStore_description": "welke wachtwoord- of secret-store gebruikt moet worden. wijzig dit als je problemen ervaart bij het opslaan van wachtwoorden",
|
||||
"passwordStore": "wachtwoord- / secret-store",
|
||||
"playerFilters": "Filter nummers uit de wachtrij",
|
||||
"playerFilters_description": "Voorkom dat nummers aan de wachtrij worden toegevoegd op basis van de volgende criteria",
|
||||
"playbackStyle_description": "kies de afspeelstijl om te gebruiken in de audiospeler",
|
||||
"playbackStyle_optionCrossFade": "crossfade",
|
||||
"playbackStyle_optionNormal": "normaal",
|
||||
"playbackStyle": "afspeelstijl",
|
||||
"playButtonBehavior_description": "het standaardgedrag van de afspelen-knop bij het toevoegen van nummers aan de wachtrij",
|
||||
"playButtonBehavior": "gedrag afspelen-knop",
|
||||
"artistRadioCount_description": "het aantal nummers dat moet worden opgehaald voor artiest- en nummer-radio",
|
||||
"artistRadioCount": "aantal nummers artiest- / nummer-radio",
|
||||
"imageResolution": "afbeeldingsgrootte",
|
||||
"imageResolution_description": "de afmetingen van de afbeeldingen die gebruikt worden in de app. door 0 op te geven worden de originele afmetingen gebruikt",
|
||||
"imageResolution_optionTable": "tabel",
|
||||
"imageResolution_optionItemCard": "item-kaart",
|
||||
"imageResolution_optionSidebar": "zijbalk",
|
||||
"imageResolution_optionHeader": "kop",
|
||||
"imageResolution_optionFullScreenPlayer": "schermvullende speler",
|
||||
"playerbarOpenDrawer_description": "open de schermvullende speler door te klikken op de afspeelbalk",
|
||||
"playerbarOpenDrawer": "volledig scherm via afspeelbalk",
|
||||
"playerbarSlider": "voortgangsindicator in afspeelbalk",
|
||||
"playerbarSlider_description": "golfvorm wordt afgeraden op een trage verbinding of bij een datalimiet",
|
||||
"playerbarSliderType_optionSlider": "voortgangsindicator",
|
||||
"playerbarSliderType_optionWaveform": "golfvorm",
|
||||
"playerbarWaveformAlign": "uitlijning golfvorm",
|
||||
"playerbarWaveformAlign_optionTop": "boven",
|
||||
"playerbarWaveformAlign_optionCenter": "midden",
|
||||
"playerbarWaveformAlign_optionBottom": "onder",
|
||||
"playerbarWaveformBarWidth": "breedte golfvormbalk",
|
||||
"playerbarWaveformGap": "tussenruimte golfvorm",
|
||||
"playerbarWaveformRadius": "straal golfvorm",
|
||||
"preferLocalLyrics_description": "geef de voorkeur aan lokale songteksten indien beschikbaar",
|
||||
"preferLocalLyrics": "prefereer lokale songteksten",
|
||||
"showLyricsInSidebar_description": "er zal een paneel worden toegevoegd aan de wachtrij waarin songteksten worden getoond",
|
||||
"showLyricsInSidebar": "toon songteksten in zijbalk",
|
||||
"showRatings_description": "toont beoordelingssterren in de interface",
|
||||
"sampleRate": "bemonsteringsfrequentie",
|
||||
"sampleRate_description": "de bemonsteringsfrequentie die wordt gebruikt als de gekozen bemonsteringsfrequentie afwijkt van die van de actieve media. bij een waarde lager dan 8000 wordt de standaard frequentie gebruikt",
|
||||
"savePlayQueue_description": "sla de wachtij op bij het afsluiten van de applicatie en herstel deze als de applicatie wordt geopend",
|
||||
"savePlayQueue": "sla wachtrij op",
|
||||
"scrobble_description": "scrobblet afgespeelde nummers naar de mediaserver",
|
||||
"scrobble": "scrobblen",
|
||||
"showSkipButton_description": "toont of verstopt de spoelknoppen op de afspeelbalk",
|
||||
"showSkipButton": "toon spoelknoppen",
|
||||
"showSkipButtons_description": "toont of verstopt de spoelknoppen op de afspeelbalk",
|
||||
"showSkipButtons": "toon spoelknoppen",
|
||||
"sidebarCollapsedNavigation_description": "toon of verstop de navigatie in de ingeklapte zijbalk",
|
||||
"sidebarCollapsedNavigation": "zijbalknavigatie (ingeklapt)",
|
||||
"sidebarConfiguration_description": "kies de items en hun volgorde voor in de zijbalk",
|
||||
"sidebarConfiguration": "configuratie zijbalk",
|
||||
"sidebarPlaylistList_description": "toon of verstop afspeellijsten in de zijbalk",
|
||||
"sidebarPlaylistList": "afspeellijsten zijbalk",
|
||||
"sidePlayQueueStyle_description": "de stijl van de wachtrij aan de zijkant",
|
||||
"sidePlayQueueStyle_optionAttached": "aangekoppeld",
|
||||
"sidePlayQueueStyle_optionDetached": "afgekoppeld"
|
||||
"globalMediaHotkeys": "globale mediasneltoetsen"
|
||||
},
|
||||
"form": {
|
||||
"addServer": {
|
||||
@@ -774,10 +495,7 @@
|
||||
"ignoreCors": "negeer cors $t(common.restartRequired)",
|
||||
"error_savePassword": "er is iets mis gegaan met het opslaan van het wachtwoord",
|
||||
"input_preferInstantMix": "verkies directe mix",
|
||||
"input_preferInstantMixDescription": "gebruik alleen instant mix om vergelijkbare nummer te krijgen. handig wanneer je plugins hebt die dit gedrag aanpassen",
|
||||
"input_preferRemoteUrl": "geef voorkeur aan openbare url",
|
||||
"input_remoteUrl": "publieke url",
|
||||
"input_remoteUrlPlaceholder": "optioneel: publieke url voor externe mogelijkheden"
|
||||
"input_preferInstantMixDescription": "gebruik alleen instant mix om vergelijkbare nummer te krijgen. handig wanneer je plugins hebt die dit gedrag aanpassen"
|
||||
},
|
||||
"deletePlaylist": {
|
||||
"title": "verwijder $t(entity.playlist_one)",
|
||||
@@ -817,8 +535,7 @@
|
||||
"editPlaylist": {
|
||||
"title": "$t(entity.playlist_one) aanpassen",
|
||||
"publicJellyfinNote": "Jellyfin laat niet weten of een playlist publiek of privaat is. Als u wilt dat dit publiek blijft, selecteer de volgende invoer",
|
||||
"success": "$t(entity.playlist_one) succesvol geüpdatet",
|
||||
"editNote": "Handmatige bewerking wordt afgeraden voor grote afspeellijsten. Weet je zeker dat je het risico op dataverlies wilt accepteren door de bestaande afspeellijst te overschrijven?"
|
||||
"success": "$t(entity.playlist_one) succesvol geüpdatet"
|
||||
},
|
||||
"updateServer": {
|
||||
"title": "update server",
|
||||
@@ -851,28 +568,13 @@
|
||||
"input_played_optionAll": "alle nummers",
|
||||
"input_played_optionUnplayed": "alleen ongespeelde nummers",
|
||||
"input_played_optionPlayed": "alleen gespeelde nummers"
|
||||
},
|
||||
"createRadioStation": {
|
||||
"success": "radiostation succesvol aangemaakt",
|
||||
"title": "radiostation aanmaken",
|
||||
"input_homepageUrl": "thuispagina-url",
|
||||
"input_name": "naam",
|
||||
"input_streamUrl": "stream-url"
|
||||
},
|
||||
"lyricsExport": {
|
||||
"export": "exporteer songtekst",
|
||||
"input_synced": "exporteer gesynchroniseerde songtekst",
|
||||
"input_offset": "$t(setting.lyricOffset)"
|
||||
},
|
||||
"saveQueue": {
|
||||
"success": "wachtrij opgeslagen op server"
|
||||
}
|
||||
},
|
||||
"player": {
|
||||
"addLast": "achteraan",
|
||||
"addNext": "volgende",
|
||||
"addLastShuffled": "als laatste toevoegen (willekeurig)",
|
||||
"addNextShuffled": "als volgende toevoegen (willekeurig)",
|
||||
"addLast": "achteraan toevoegen",
|
||||
"addNext": "als volgende toevoegen",
|
||||
"addLastShuffled": "als laatste toevoegen (geschud)",
|
||||
"addNextShuffled": "als volgende toevoegen (geschud)",
|
||||
"favorite": "favoriet",
|
||||
"mute": "dempen",
|
||||
"muted": "gedempt",
|
||||
@@ -887,80 +589,6 @@
|
||||
"previous": "vorige",
|
||||
"queue_clear": "wachtrij wissen",
|
||||
"queue_moveToBottom": "verplaats geselecteerde naar boven",
|
||||
"queue_moveToTop": "verplaats geselecteerde naar beneden",
|
||||
"artistRadio": "artiestenradio",
|
||||
"holdToShuffle": "vasthouden om willekeurig af te spelen",
|
||||
"lyrics": "songtekst",
|
||||
"queue_remove": "verwijder geselecteerde",
|
||||
"repeat": "herhalen",
|
||||
"repeat_all": "alles herhalen",
|
||||
"repeat_off": "herhalen uitgeschakeld",
|
||||
"restoreQueueFromServer": "herstel wachtrij van server",
|
||||
"saveQueueToServer": "sla wachtrij op server op",
|
||||
"shuffle": "afspelen (willekeurig)",
|
||||
"shuffle_off": "willekeurig afspelen uitgeschakeld",
|
||||
"skip": "overslaan",
|
||||
"skip_back": "spring terug",
|
||||
"skip_forward": "spring vooruit",
|
||||
"stop": "stoppen",
|
||||
"toggleFullscreenPlayer": "schakel speler in volledig scherm",
|
||||
"trackRadio": "nummerradio",
|
||||
"unfavorite": "verwijder favoriet",
|
||||
"pause": "pauzeren",
|
||||
"viewQueue": "toon wachtrij"
|
||||
},
|
||||
"datetime": {
|
||||
"minuteShort": "m",
|
||||
"secondShort": "s",
|
||||
"hourShort": "h",
|
||||
"dayShort": "d"
|
||||
},
|
||||
"filterOperator": {
|
||||
"afterDate": "is na (datum)",
|
||||
"before": "is voor",
|
||||
"beforeDate": "is vóór (datum)",
|
||||
"contains": "bevat",
|
||||
"endsWith": "eindigt met",
|
||||
"inPlaylist": "is in",
|
||||
"inTheLast": "is in de laatste",
|
||||
"inTheRange": "ligt binnen het bereik",
|
||||
"inTheRangeDate": "ligt binnen het bereik (datum)",
|
||||
"is": "is",
|
||||
"isNot": "is niet",
|
||||
"isGreaterThan": "is groter dan",
|
||||
"isLessThan": "is minder dan",
|
||||
"matchesRegex": "komt overeen met regex",
|
||||
"notContains": "bevat geen",
|
||||
"notInPlaylist": "is niet in",
|
||||
"notInTheLast": "is niet in de laatste",
|
||||
"startsWith": "begint met",
|
||||
"after": "is na"
|
||||
},
|
||||
"queryBuilder": {
|
||||
"standardTags": "standaard tags",
|
||||
"customTags": "aangepaste tags"
|
||||
},
|
||||
"releaseType": {
|
||||
"primary": {
|
||||
"album": "$t(entity.album_one)",
|
||||
"broadcast": "uitzending",
|
||||
"ep": "ep",
|
||||
"other": "overig",
|
||||
"single": "single"
|
||||
},
|
||||
"secondary": {
|
||||
"audiobook": "luisterboek",
|
||||
"audioDrama": "luisterdrama",
|
||||
"compilation": "compilatie",
|
||||
"djMix": "dj-mix",
|
||||
"demo": "demo",
|
||||
"fieldRecording": "veldopname",
|
||||
"interview": "interview",
|
||||
"live": "live",
|
||||
"mixtape": "mixtape",
|
||||
"remix": "remix",
|
||||
"soundtrack": "soundtrack",
|
||||
"spokenWord": "gesproken woord"
|
||||
}
|
||||
"queue_moveToTop": "verplaats geselecteerde naar beneden"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,11 +33,7 @@
|
||||
"holdToMoveToTop": "przytrzymaj aby, przesunąć na górę",
|
||||
"holdToMoveToBottom": "przytrzymaj aby, przesunąć na dół",
|
||||
"createRadioStation": "utwórz $t(entity.radioStation_one)",
|
||||
"deleteRadioStation": "usuń $t(entity.radioStation_one)",
|
||||
"addOrRemoveFromSelection": "dodaj lub usuń z wyboru",
|
||||
"selectRangeOfItems": "wybierz zakres elementów",
|
||||
"selectAll": "wybierz wszystkie",
|
||||
"openApplicationDirectory": "otwórz katalog aplikacji"
|
||||
"deleteRadioStation": "usuń $t(entity.radioStation_one)"
|
||||
},
|
||||
"common": {
|
||||
"increase": "zwiększ",
|
||||
@@ -73,7 +69,7 @@
|
||||
"delete": "usuń",
|
||||
"cancel": "anuluj",
|
||||
"forceRestartRequired": "zrestartuj aby zastosować zmiany... zamknij powiadomienie aby zrestartować",
|
||||
"setting": "ustawienia",
|
||||
"setting": "ustawienie",
|
||||
"version": "wersja",
|
||||
"title": "tytuł",
|
||||
"filter_one": "filtr",
|
||||
@@ -154,55 +150,49 @@
|
||||
"tableColumns": "tabela kolumn",
|
||||
"itemsMore": "{{count}} więcej",
|
||||
"noFilters": "nie skonfigurowano filtrów",
|
||||
"view": "wyświetl",
|
||||
"countSelected": "wybrano {{count}}",
|
||||
"retry": "spróbuj ponownie",
|
||||
"mood": "nastrój",
|
||||
"example": "przykład",
|
||||
"filter_multiple": "multi",
|
||||
"filter_single": "single"
|
||||
"view": "wyświetl"
|
||||
},
|
||||
"entity": {
|
||||
"genre_one": "gatunek",
|
||||
"genre_few": "gatunki",
|
||||
"genre_many": "gatunków",
|
||||
"playlistWithCount_one": "{{count}} playlista",
|
||||
"playlistWithCount_few": "{{count}} playlisty",
|
||||
"playlistWithCount_many": "{{count}} playlist",
|
||||
"playlist_one": "playlista",
|
||||
"playlist_few": "playlisty",
|
||||
"playlist_many": "playlist",
|
||||
"artist_one": "wykonawca",
|
||||
"artist_few": "wykonawców",
|
||||
"artist_many": "wykonawców",
|
||||
"folderWithCount_one": "{{count}} katalog",
|
||||
"folderWithCount_few": "{{count}} katalogi",
|
||||
"folderWithCount_many": "{{count}} katalogów",
|
||||
"albumArtist_one": "wykonawca albumu",
|
||||
"albumArtist_few": "wykonawcy albumu",
|
||||
"albumArtist_many": "wykonawców albumu",
|
||||
"track_one": "utwór",
|
||||
"track_few": "utwory",
|
||||
"track_many": "utworów",
|
||||
"albumArtistCount_one": "{{count}} wykonawca albumu",
|
||||
"albumArtistCount_few": "{{count}} wykonawców albumu",
|
||||
"albumArtistCount_many": "{{count}} wykonawców albumu",
|
||||
"albumArtist_few": "wykonawców albumów",
|
||||
"albumArtist_many": "wykonawców albumów",
|
||||
"albumWithCount_one": "{{count}} album",
|
||||
"albumWithCount_few": "{{count}} albumy",
|
||||
"albumWithCount_many": "{{count}} albumów",
|
||||
"favorite_one": "ulubiony",
|
||||
"favorite_few": "ulubione",
|
||||
"favorite_many": "ulubionych",
|
||||
"favorite_many": "ulubione",
|
||||
"artistWithCount_one": "{{count}} wykonawca",
|
||||
"artistWithCount_few": "{{count}} wykonawców",
|
||||
"artistWithCount_many": "{{count}} wykonawców",
|
||||
"folder_one": "katalog",
|
||||
"folder_few": "katalogi",
|
||||
"folder_many": "katalogów",
|
||||
"smartPlaylist": "inteligentna $t(entity.playlist_one)",
|
||||
"album_one": "album",
|
||||
"album_few": "albumy",
|
||||
"album_many": "albumów",
|
||||
"playlistWithCount_one": "{{count}} playlista",
|
||||
"playlistWithCount_few": "{{count}} playlisty",
|
||||
"playlistWithCount_many": "{{count}} playlist",
|
||||
"playlist_one": "playlista",
|
||||
"playlist_few": "playlisty",
|
||||
"playlist_many": "playlist",
|
||||
"folderWithCount_one": "{{count}} katalog",
|
||||
"folderWithCount_few": "{{count}} katalogi",
|
||||
"folderWithCount_many": "{{count}} katalogów",
|
||||
"track_one": "utwór",
|
||||
"track_few": "utwory",
|
||||
"track_many": "utworów",
|
||||
"albumArtistCount_one": "{{count}} wykonawca albumu",
|
||||
"albumArtistCount_few": "{{count}} wykonawców albumu",
|
||||
"albumArtistCount_many": "{{count}} wykonawców albumu",
|
||||
"smartPlaylist": "inteligentna $t(entity.playlist_one)",
|
||||
"genreWithCount_one": "{{count}} gatunek",
|
||||
"genreWithCount_few": "{{count}} gatunki",
|
||||
"genreWithCount_many": "{{count}} gatunków",
|
||||
@@ -214,12 +204,12 @@
|
||||
"play_many": "{{count}} odtworzeń",
|
||||
"song_one": "piosenka",
|
||||
"song_few": "piosenki",
|
||||
"song_many": "piosenek",
|
||||
"song_many": "piosenek",
|
||||
"radioStation_one": "stacja radiowa",
|
||||
"radioStation_few": "stacje radiowe",
|
||||
"radioStation_many": "stacji radiowych",
|
||||
"radioStationWithCount_one": "{{count}} stacja radiowa",
|
||||
"radioStationWithCount_few": "{{count}} stacje radiowych",
|
||||
"radioStationWithCount_few": "{{count}} stacje radiowe",
|
||||
"radioStationWithCount_many": "{{count}} stacji radiowych"
|
||||
},
|
||||
"error": {
|
||||
@@ -248,10 +238,7 @@
|
||||
"badValue": "niewłaściwa opcja \"{{value}}\". ta wartość już nie istnieje",
|
||||
"notificationDenied": "odmówiono uprawnień dla powiadomień. to ustawienie nie będzie miało efektu",
|
||||
"multipleServerSaveQueueError": "kolejka odtwarzania ma jedną lub więcej piosenek które nie pochodzą z aktualnego serwera. to nie jest wspierane",
|
||||
"saveQueueFailed": "nie udało się zapisać kolejki",
|
||||
"settingsSyncError": "zostały znalezione różnice pomiędzy ustawieniami w rendererze a głównym procesem. uruchom aplikację ponownie aby, zastosować zmiany",
|
||||
"noNetwork": "serwer niedostępny",
|
||||
"noNetworkDescription": "nie udało się połączyć z tym serwerem"
|
||||
"saveQueueFailed": "nie udało się zapisać kolejki"
|
||||
},
|
||||
"filter": {
|
||||
"mostPlayed": "najczęściej odtwarzane",
|
||||
@@ -325,10 +312,7 @@
|
||||
"ignoreCors": "zignoruj cors ($t(common.restartRequired))",
|
||||
"error_savePassword": "wystąpił błąd podczas próby zapisania hasła",
|
||||
"input_preferInstantMix": "preferuj natychmiastowy mix",
|
||||
"input_preferInstantMixDescription": "używaj tylko natychmiastowego mixu, by otrzymać podobne piosenki. przydatne gdy masz wtyczki które zmieniają to zachowanie",
|
||||
"input_preferRemoteUrl": "preferuj publiczny url",
|
||||
"input_remoteUrl": "publiczny url",
|
||||
"input_remoteUrlPlaceholder": "opcjonalne: publiczny url dla funkcji zewnętrznych"
|
||||
"input_preferInstantMixDescription": "używaj tylko natychmiastowego mixu, by otrzymać podobne piosenki. przydatne gdy masz wtyczki które zmieniają to zachowanie"
|
||||
},
|
||||
"addToPlaylist": {
|
||||
"success": "dodano $t(entity.trackWithCount, {\"count\": {{message}} }) do $t(entity.playlistWithCount, {\"count\": {{numOfPlaylists}} })",
|
||||
@@ -399,11 +383,6 @@
|
||||
"input_homepageUrl": "url strony głównej",
|
||||
"input_name": "nazwa",
|
||||
"input_streamUrl": "url strumienia"
|
||||
},
|
||||
"lyricsExport": {
|
||||
"export": "eksportuj tekst",
|
||||
"input_synced": "eksportuj zsynchronizowany tekst",
|
||||
"input_offset": "$t(setting.lyricOffset)"
|
||||
}
|
||||
},
|
||||
"page": {
|
||||
@@ -542,8 +521,7 @@
|
||||
"transcoding": "transkodowanie",
|
||||
"discord": "discord",
|
||||
"playerFilters": "filtry odtwarzacza",
|
||||
"logger": "logger",
|
||||
"lyricsDisplay": "wyświetlanie tekstu"
|
||||
"logger": "logger"
|
||||
},
|
||||
"trackList": {
|
||||
"title": "$t(entity.track_other)",
|
||||
@@ -570,9 +548,7 @@
|
||||
"viewDiscography": "przeglądaj dyskografię",
|
||||
"relatedArtists": "powiązane z $t(entity.artist_other)",
|
||||
"appearsOn": "pojawia się na",
|
||||
"viewAllTracks": "zobacz wszystko $t(entity.track_other)",
|
||||
"groupingTypeAll": "wszystkie typy wydań",
|
||||
"groupingTypePrimary": "główne typy wydań"
|
||||
"viewAllTracks": "zobacz wszystko $t(entity.track_other)"
|
||||
},
|
||||
"itemDetail": {
|
||||
"copyPath": "kopiuj ścieżkę do schowka",
|
||||
@@ -634,12 +610,13 @@
|
||||
"playSimilarSongs": "odtwarzaj podobne",
|
||||
"addLastShuffled": "ostatnie (wylosowane)",
|
||||
"addNextShuffled": "następne (wylosowane)",
|
||||
"queueType": "typ kolejki",
|
||||
"queueType_default": "domyślna",
|
||||
"queueType_priority": "priorytetowa",
|
||||
"holdToShuffle": "przytrzymaj aby odtwarzać losowo",
|
||||
"lyrics": "tekst",
|
||||
"restoreQueueFromServer": "przywróć kolejkę z serwera",
|
||||
"saveQueueToServer": "zapisz kolejkę na serwerze",
|
||||
"artistRadio": "radio wykonawcy",
|
||||
"trackRadio": "radio utworu"
|
||||
"saveQueueToServer": "zapisz kolejkę na serwerze"
|
||||
},
|
||||
"setting": {
|
||||
"crossfadeStyle_description": "wybierz styl przenikania, który ma być używany do odtwarzania dźwięku",
|
||||
@@ -802,10 +779,12 @@
|
||||
"clearQueryCache_description": "\"miękkie wyczyszczenie\" feishin. spowoduje to odświeżenie playlist, metadanych utworów i zresetowanie zapisanych tekstów. ustawienia, dane uwierzytelniające serwera i obrazy w pamięci podręcznej zostaną zachowane",
|
||||
"buttonSize_description": "rozmiar przycisków paska odtwarzacza",
|
||||
"clearCache": "wyczyść pamięć podręczną przeglądarki",
|
||||
"playerAlbumArtResolution": "rozdzielczość okładki albumu odtwarzacza",
|
||||
"externalLinks": "pokaż zewnętrzne linki",
|
||||
"mpvExtraParameters_help": "po jednym na linię",
|
||||
"passwordStore": "hasła",
|
||||
"passwordStore_description": "jakie hasło ma być używane. zmień to, jeśli masz problemy z przechowywaniem haseł",
|
||||
"playerAlbumArtResolution_description": "rozdzielczość podglądu okładki albumu w dużym odtwarzaczu. większa sprawia, że wygląda bardziej wyraziście, ale może spowolnić ładowanie. domyślnie 0, czyli auto",
|
||||
"startMinimized": "uruchom zminimalizowany",
|
||||
"startMinimized_description": "uruchom aplikację w zasobniku systemowym",
|
||||
"clearCacheSuccess": "pamięć podręczna została wyczyszczona pomyślnie",
|
||||
@@ -919,7 +898,7 @@
|
||||
"preservePitch": "utrzymuj ton",
|
||||
"preventSleepOnPlayback_description": "powstrzymuje ekran przed uśpieniem, gdy muzyka jest odtwarzana",
|
||||
"preventSleepOnPlayback": "powstrzymuj uśpienie podczas odtwarzania",
|
||||
"mediaSession_description": "włącza integrację z Media Session, wyświetlając sterowanie mediami i metadane w systemowym oknie zmiany głośności i na ekranie blokady",
|
||||
"mediaSession_description": "włącza integrację z Windows Media Session, wyświetlając sterowanie mediami i metadane w systemowym oknie zmiany głośności i na ekranie blokady (tylko Windows)",
|
||||
"mediaSession": "włącz media session",
|
||||
"transcode": "włącz transkodowanie",
|
||||
"queryBuilder": "kreator zaptań",
|
||||
@@ -947,33 +926,7 @@
|
||||
"logLevel_optionInfo": "info",
|
||||
"logLevel_optionWarn": "ostrzeżenia",
|
||||
"useThemeAccentColor": "używaj koloru akcentu motywu",
|
||||
"useThemeAccentColor_description": "używaj głównego koloru ustawionego w wybranym motywie zamiast niestandardowego koloru akcentu",
|
||||
"artistRadioCount_description": "ustawia liczbę piosenek do załadowania dla radia wykonawcy i radia utworu",
|
||||
"artistRadioCount": "liczba radio wykonawców/utworów",
|
||||
"imageResolution": "rozdzielczość obrazu",
|
||||
"imageResolution_description": "rozdzielczość dla obrazów używanych w programie. użycie wartości 0 ustawi rozdzielczość na natywną",
|
||||
"imageResolution_optionTable": "tabela",
|
||||
"imageResolution_optionItemCard": "karta elementu",
|
||||
"imageResolution_optionSidebar": "pasek boczny",
|
||||
"imageResolution_optionHeader": "nagłówek",
|
||||
"imageResolution_optionFullScreenPlayer": "odtwarzacz pełnoekranowy",
|
||||
"combinedLyricsAndVisualizer_description": "połącz tekst i wizualizacje w tym samym panelu",
|
||||
"combinedLyricsAndVisualizer": "połącz tekst i wizualizacje w pasku bocznym odtwarzacza",
|
||||
"artistReleaseTypeConfiguration": "konfiguracja typu wydań wykonawcy",
|
||||
"artistReleaseTypeConfiguration_description": "skonfiguruj jakie typy wydań są pokazywane i w jakiej kolejności na stronie albumów wykonawcy",
|
||||
"showRatings_description": "kontroluje czy funkcja oceniania gwiazdkami jest pokazywana w interfejsie",
|
||||
"showRatings": "pokaż ocenianie gwiazdkami",
|
||||
"mpvExtraParameters": "dodatkowe parametry mpv",
|
||||
"mpvExtraParameters_description": "dodatkowe argumenty do przekazania mpv",
|
||||
"hotkey_listNavigateToPage": "lista nawigacja do strony elementu",
|
||||
"hotkey_listPlayDefault": "lista odtwarzaj",
|
||||
"hotkey_listPlayLast": "lista odtwarzaj ostatnie",
|
||||
"hotkey_listPlayNext": "lista odtwarzaj następne",
|
||||
"hotkey_listPlayNow": "lista odtwarzaj teraz",
|
||||
"pathReplace": "zamiana ścieżki pliku",
|
||||
"pathReplace_description": "zamień domyślną ścieżkę pliku twojego serwera",
|
||||
"pathReplace_optionRemovePrefix": "usuń prefix",
|
||||
"pathReplace_optionAddPrefix": "dodaj prefix"
|
||||
"useThemeAccentColor_description": "używaj głównego koloru ustawionego w wybranym motywie zamiast niestandardowego koloru akcentu"
|
||||
},
|
||||
"table": {
|
||||
"config": {
|
||||
@@ -1046,9 +999,7 @@
|
||||
"genreBadge": "$t(entity.genre_one) (znaczki)",
|
||||
"image": "obraz",
|
||||
"bitDepth": "$t(common.bitDepth)",
|
||||
"sampleRate": "$t(common.sampleRate)",
|
||||
"composer": "kompozytor",
|
||||
"titleArtist": "$t(common.title) (wykonawca)"
|
||||
"sampleRate": "$t(common.sampleRate)"
|
||||
}
|
||||
},
|
||||
"column": {
|
||||
@@ -1133,160 +1084,5 @@
|
||||
"notInPlaylist": "nie jest w",
|
||||
"notInTheLast": "nie jest w ostatnim",
|
||||
"startsWith": "zaczyna się od"
|
||||
},
|
||||
"datetime": {
|
||||
"minuteShort": "min",
|
||||
"secondShort": "sek",
|
||||
"hourShort": "godz",
|
||||
"dayShort": "dzień"
|
||||
},
|
||||
"visualizer": {
|
||||
"visualizerType": "Typ Wizualizacji",
|
||||
"cycleTime": "Czas cyklu (w sekundach)",
|
||||
"copyConfiguration": "Kopiuj Konfigurację",
|
||||
"pasteConfiguration": "Wklej Konfigurację",
|
||||
"pasteConfigurationPlaceholder": "Wklej konfigurację JSON tutaj...",
|
||||
"pasteFromClipboard": "Wklej z schowka",
|
||||
"applyConfiguration": "Zastosuj Konfigurację",
|
||||
"configCopied": "Konfiguracja skopiowana do schowka",
|
||||
"configCopyFailed": "Nie udało się skopiować konfiguracji",
|
||||
"configPasted": "Konfiguracja zastosowana pomyślnie",
|
||||
"configPasteFailed": "Nie udało się zastosować konfiguracji. Sprawdź jej format.",
|
||||
"configPasteReadFailed": "Nie udało się odczytać z schowka",
|
||||
"cyclePresets": "Cykl Ustawień",
|
||||
"includeAllPresets": "Uwzględnij wszystkie Ustawienia",
|
||||
"ignoredPresets": "Ignorowane Ustawienia",
|
||||
"selectedPresets": "Wybrane Ustawienia",
|
||||
"randomizeNextPreset": "Losuj Następne Ustawienie",
|
||||
"blendTime": "Czas Mieszania",
|
||||
"presets": "Ustawienia",
|
||||
"selectPreset": "Wybierz Ustawienie",
|
||||
"applyPreset": "Zastosuj Ustawienie",
|
||||
"saveAsPreset": "Zapisz jako Ustawienie",
|
||||
"updatePreset": "Uaktualnij Ustawienie",
|
||||
"presetName": "Nazwa Ustawienia",
|
||||
"presetNamePlaceholder": "Wpisz nazwę ustawienia",
|
||||
"general": "Ogólne",
|
||||
"mode": "Tryb",
|
||||
"mode1To8": "Tryb 1 - 8",
|
||||
"mode10": "Tryb 10",
|
||||
"barSpace": "Odstęp Pasków",
|
||||
"lineWidth": "Szerokość Linii",
|
||||
"fillAlpha": "Wypełnij Alpha",
|
||||
"channelLayout": "Układ Kanałów",
|
||||
"maxFPS": "Maks FPS",
|
||||
"opacity": "Nieprzezroczystość",
|
||||
"customGradients": "Niestandardowe Gradienty",
|
||||
"addCustomGradient": "Dodaj Niestandardowy Gradient",
|
||||
"gradientName": "Nazwa Gradientu",
|
||||
"gradientNamePlaceholder": "Nazwa Gradientu",
|
||||
"vertical": "Pionowy",
|
||||
"horizontal": "Poziomy",
|
||||
"colorStops": "Kroki Kolorów",
|
||||
"addColor": "Dodaj Kolor",
|
||||
"position": "Pozycja",
|
||||
"level": "Poziom",
|
||||
"remove": "Usuń",
|
||||
"custom": "Niestandardowy",
|
||||
"builtIn": "Wbudowany",
|
||||
"colors": "Kolory",
|
||||
"colorMode": "Tryb Koloru",
|
||||
"gradient": "Gradient",
|
||||
"gradientLeft": "Lewa Gradientu",
|
||||
"gradientRight": "Prawa Gradientu",
|
||||
"fft": "FFT",
|
||||
"fftSize": "Rozmiar FFT",
|
||||
"smoothing": "Wygładzanie",
|
||||
"frequencyRangeAndScaling": "Zakres częstotliwości i skalowanie",
|
||||
"minimumFrequency": "Minimalna Częstotliwość",
|
||||
"maximumFrequency": "Maksymalna Częstotliwość",
|
||||
"frequencyScale": "Skala Częstotliwości",
|
||||
"sensitivity": "Czułość",
|
||||
"weightingFilter": "Filtr Wagi",
|
||||
"minimumDecibels": "Minimum Decybeli",
|
||||
"maximumDecibels": "Maksimum Decybeli",
|
||||
"linearAmplitude": "Amplituda Linearna",
|
||||
"linearBoost": "Podbicie Linearne",
|
||||
"peakBehavior": "Zachowanie Szczytów",
|
||||
"showPeaks": "Pokaż Szczyty",
|
||||
"fadePeaks": "Zanikaj Sczyty",
|
||||
"peakLine": "Linia Szczytów",
|
||||
"gravity": "Grawitacja",
|
||||
"peakFadeTime": "Czas Zanikania Szczytów (ms)",
|
||||
"peakHoldTime": "Czas Utrzymywania Szczytu (ms)",
|
||||
"radialSpectrum": "Spektrum Promieniowe",
|
||||
"radial": "Promieniowe",
|
||||
"radialInvert": "Odwrócenie Promieniowe",
|
||||
"spinSpeed": "Prędkość Obrotu",
|
||||
"radius": "Promień",
|
||||
"reflexMirror": "Lustro refleksyjne",
|
||||
"reflexFit": "Dopasowanie Odbić",
|
||||
"reflexRatio": "Współczynnik Odbić",
|
||||
"reflexAlpha": "Alpha Odbić",
|
||||
"reflexBrightness": "Jasność Odbić",
|
||||
"mirror": "Odbij lustrzanie",
|
||||
"miscellaneousSettings": "Różne Ustawienia",
|
||||
"alphaBars": "Alpha Pasków",
|
||||
"ledBars": "Paski LED",
|
||||
"trueLeds": "Prawdziwe LEDy",
|
||||
"lumiBars": "Paski Lumi",
|
||||
"outlineBars": "Obwódki Pasków",
|
||||
"roundBars": "Zaokrąglone Paski",
|
||||
"lowResolution": "Niska Rozdzielczość",
|
||||
"splitGradient": "Rozdziel Gradient",
|
||||
"showFPS": "Pokaż FPS",
|
||||
"showScaleX": "Pokaż Skalę X",
|
||||
"noteLabels": "Etykiety Nut",
|
||||
"showScaleY": "Pokaż Skalę Y",
|
||||
"options": {
|
||||
"colorMode": {
|
||||
"gradient": "Gradient",
|
||||
"barIndex": "Indeks-Paska",
|
||||
"barLevel": "Poziom-Paska"
|
||||
},
|
||||
"gradient": {
|
||||
"classic": "Klasyczny",
|
||||
"prism": "Pryzmat",
|
||||
"rainbow": "Tęcza",
|
||||
"steelblue": "Stalowoniebieski",
|
||||
"orangered": "Pomarańczowo-czerwony"
|
||||
},
|
||||
"channelLayout": {
|
||||
"single": "Pojedynczy",
|
||||
"dualCombined": "Podwójne-Połączone",
|
||||
"dualHorizontal": "Podwójne-Poziome",
|
||||
"dualVertical": "Podwójne-Pionowe"
|
||||
},
|
||||
"frequencyScale": {
|
||||
"linear": "Skala linearna",
|
||||
"none": "Żadna",
|
||||
"bark": "Skala bark",
|
||||
"log": "Skala log",
|
||||
"mel": "Skala Mel"
|
||||
},
|
||||
"weightingFilter": {
|
||||
"none": "Żadne",
|
||||
"a": "A",
|
||||
"b": "B",
|
||||
"c": "C",
|
||||
"d": "D",
|
||||
"z": "Z"
|
||||
},
|
||||
"mode": {
|
||||
"0": "[0] Dyskretne częstotliwości",
|
||||
"1": "[1] 1/24 oktawy / 240 pasm",
|
||||
"2": "[2] 1/12 oktawy / 120 pasm",
|
||||
"3": "[3] 1/8 oktawy / 80 pasm",
|
||||
"4": "[4] 1/6 oktawy / 60 pasm",
|
||||
"5": "[5] 1/4 oktawy / 40 pasm",
|
||||
"6": "[6] 1/3 oktawy / 30 pasm",
|
||||
"7": "[7] Pół oktawy / 20 pasm",
|
||||
"8": "[8] Pełna oktawa / 10 pasm",
|
||||
"10": "[10] Linia / Wykres miejscowy"
|
||||
}
|
||||
},
|
||||
"pasteGradient": "Wklej Gradient",
|
||||
"pasteGradientPlaceholder": "Wklej tutaj JSON gradientu...",
|
||||
"ansiBands": "Paski ANSI"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -356,6 +356,8 @@
|
||||
"playButtonBehavior_optionAddNext": "$t(player.addNext)",
|
||||
"playButtonBehavior_optionPlay": "$t(player.play)",
|
||||
"playButtonBehavior_optionPlayShuffled": "$t(player.shuffle)",
|
||||
"playerAlbumArtResolution": "resolução da capa do álbum no reprodutor",
|
||||
"playerAlbumArtResolution_description": "a resolução da pré-visualização da capa do álbum no reprodutor grande. Resoluções maiores deixam a imagem mais nítida, mas podem diminuir a velocidade de carregamento. O padrão é 0, ou seja, automático",
|
||||
"playerbarOpenDrawer": "alternar tela cheia na barra do reprodutor",
|
||||
"playerbarOpenDrawer_description": "permite clicar na barra do reprodutor para abrir o reprodutor em tela cheia",
|
||||
"remotePassword": "Senha do servidor de controle remoto",
|
||||
@@ -381,8 +383,6 @@
|
||||
"savePlayQueue_description": "Salvar a fila de reprodução ao fechar a aplicação e restaurá-la ao abrir a aplicação",
|
||||
"scrobble": "Scrobblar",
|
||||
"scrobble_description": "Scrobblar reproduções para o seu servidor de mídia",
|
||||
"showRatings": "exibir avaliações por estrelas",
|
||||
"showRatings_description": "exibir ou ocultar as avaliações por estrelas",
|
||||
"showSkipButton": "Exibir botões de pular",
|
||||
"showSkipButton_description": "Exibir ou ocultar os botões de pular na barra do reprodutor",
|
||||
"showSkipButtons": "Exibir botões de pular",
|
||||
|
||||
@@ -21,22 +21,7 @@
|
||||
"lastfm": "открыть на Last.fm",
|
||||
"musicbrainz": "открыть на MusicBrainz"
|
||||
},
|
||||
"moveToNext": "следующий",
|
||||
"addOrRemoveFromSelection": "добавить или удалить из выделения",
|
||||
"createRadioStation": "создать $t(entity.radioStation_one)",
|
||||
"deleteRadioStation": "удалить $t(entity.radioStation_one)",
|
||||
"selectAll": "выделить все",
|
||||
"downloadStarted": "Начата загрузка {{count}} предметов",
|
||||
"moveUp": "перейти наверх",
|
||||
"moveDown": "Перейти вниз",
|
||||
"holdToMoveToTop": "Удержать для перехода на верх",
|
||||
"holdToMoveToBottom": "удержать для перехода вниз",
|
||||
"moveItems": "переместить предметы",
|
||||
"shuffle": "Перемешать",
|
||||
"shuffleAll": "перемешать все",
|
||||
"shuffleSelected": "Смешать выбранное",
|
||||
"viewMore": "Посмотреть больше",
|
||||
"openApplicationDirectory": "открыть папку приложения"
|
||||
"moveToNext": "следующий"
|
||||
},
|
||||
"common": {
|
||||
"backward": "назад",
|
||||
@@ -139,23 +124,7 @@
|
||||
"viewReleaseNotes": "Список изменений",
|
||||
"bitDepth": "Разрядность",
|
||||
"sampleRate": "частота дискретизации",
|
||||
"tags": "теги",
|
||||
"countSelected": "{{count}} выбрано",
|
||||
"faster": "быстрее",
|
||||
"filter_single": "один",
|
||||
"filter_multiple": "несколько",
|
||||
"mood": "настроение",
|
||||
"noFilters": "фильтры не настроены",
|
||||
"private": "приватный",
|
||||
"public": "открытый",
|
||||
"retry": "повторить",
|
||||
"recordLabel": "лейбл звукозаписи",
|
||||
"releaseType": "тип выпуска",
|
||||
"slower": "медленее",
|
||||
"sort": "сортировать",
|
||||
"clean": "очистить",
|
||||
"gridRows": "Строки в сетке",
|
||||
"tableColumns": "Столбцы таблицы"
|
||||
"tags": "теги"
|
||||
},
|
||||
"entity": {
|
||||
"album_one": "альбом",
|
||||
@@ -210,13 +179,7 @@
|
||||
"genreWithCount_many": "{{count}} жанров",
|
||||
"trackWithCount_one": "{{count}} трек",
|
||||
"trackWithCount_few": "{{count}} трека",
|
||||
"trackWithCount_many": "{{count}} треков",
|
||||
"radioStation_one": "радиостанция",
|
||||
"radioStation_few": "радиостанции",
|
||||
"radioStation_many": "радиостанции",
|
||||
"radioStationWithCount_one": "Радиостанция",
|
||||
"radioStationWithCount_few": "Радиостанций",
|
||||
"radioStationWithCount_many": "Радиостанции"
|
||||
"trackWithCount_many": "{{count}} треков"
|
||||
},
|
||||
"table": {
|
||||
"config": {
|
||||
@@ -315,12 +278,7 @@
|
||||
"badAlbum": "вы видите эту страницу из-за того, что эта песня не входит в альбом. скорее всего, вы видите эту ошибку, так как песня находится в корневой директории папки с музыкой. Jellyfin группирует треки только по папкам",
|
||||
"networkError": "возникла ошибка сети",
|
||||
"badValue": "Недопустимый параметр «{{value}}». Это значение больше не существует",
|
||||
"notificationDenied": "Доступ к уведомлениям запрещен. Настройка не работает",
|
||||
"multipleServerSaveQueueError": "в очереди воспроизведения присутствует одна или несколько песен, которые не загружены с текущего сервера. это не поддерживается",
|
||||
"noNetwork": "сервер недоступен",
|
||||
"noNetworkDescription": "Не удалось подключиться к серверу",
|
||||
"saveQueueFailed": "Не удалось сохранить очередь",
|
||||
"settingsSyncError": "обнаружены несоответствия между настройками рендерера и основным процессом. перезапустите приложение, чтобы изменения вступили в силу"
|
||||
"notificationDenied": "Доступ к уведомлениям запрещен. Настройка не работает"
|
||||
},
|
||||
"filter": {
|
||||
"isCompilation": "сборник",
|
||||
@@ -394,7 +352,7 @@
|
||||
"queue_moveToTop": "переместить выделенное вниз",
|
||||
"queue_moveToBottom": "переместить выделенное вверх",
|
||||
"shuffle_off": "перемешивание выключено",
|
||||
"addLast": "последний",
|
||||
"addLast": "воспроизвести после всех",
|
||||
"mute": "отключить звук",
|
||||
"skip_forward": "вперёд",
|
||||
"viewQueue": "показать очередь"
|
||||
@@ -450,10 +408,7 @@
|
||||
"goBack": "назад",
|
||||
"goForward": "вперёд",
|
||||
"privateModeOff": "Выключить приватный режим",
|
||||
"privateModeOn": "Включить приватный режим",
|
||||
"selectMusicFolder": "выбрать папку с музыкой",
|
||||
"noMusicFolder": "папка с музыкой не выбрана",
|
||||
"multipleMusicFolders": "{{count}} выбрано музыкальных папок"
|
||||
"privateModeOn": "Включить приватный режим"
|
||||
},
|
||||
"manageServers": {
|
||||
"title": "сервера",
|
||||
@@ -484,8 +439,7 @@
|
||||
"showDetails": "получить информацию",
|
||||
"shareItem": "поделиться",
|
||||
"goToAlbum": "Перейти к $t(entity.album_one)",
|
||||
"goToAlbumArtist": "Перейти к $t(entity.albumArtist_one)",
|
||||
"goTo": "перейти в"
|
||||
"goToAlbumArtist": "Перейти к $t(entity.albumArtist_one)"
|
||||
},
|
||||
"home": {
|
||||
"mostPlayed": "слушают чаще всего",
|
||||
@@ -505,20 +459,7 @@
|
||||
"generalTab": "общее",
|
||||
"hotkeysTab": "горячие клавиши",
|
||||
"windowTab": "окно",
|
||||
"advanced": "расширенные",
|
||||
"analytics": "аналитика",
|
||||
"updates": "обновить",
|
||||
"cache": "кэш",
|
||||
"application": "приложение",
|
||||
"theme": "тема",
|
||||
"controls": "элементы управления",
|
||||
"sidebar": "боковая панель",
|
||||
"remote": "удаленный",
|
||||
"exportImport": "импорт/экспорт",
|
||||
"audio": "аудио",
|
||||
"lyrics": "тексты песен",
|
||||
"lyricsDisplay": "отображение текстов песен",
|
||||
"transcoding": "транскодирование"
|
||||
"advanced": "расширенные"
|
||||
},
|
||||
"albumArtistList": {
|
||||
"title": "$t(entity.albumArtist_other)"
|
||||
@@ -561,17 +502,12 @@
|
||||
"viewAllTracks": "посмотреть все $t(entity.track_other)",
|
||||
"recentReleases": "недавние релизы",
|
||||
"about": "О {{artist}}",
|
||||
"topSongsFrom": "популярные треки из {{title}}",
|
||||
"groupingTypeAll": "все типы выпусков",
|
||||
"groupingTypePrimary": "основные типы выпусков"
|
||||
"topSongsFrom": "популярные треки из {{title}}"
|
||||
},
|
||||
"itemDetail": {
|
||||
"copyPath": "скопировать путь в буфер обмена",
|
||||
"openFile": "открыть трек в менеджере файлов",
|
||||
"copiedPath": "путь успешно скопирован"
|
||||
},
|
||||
"radioList": {
|
||||
"title": "радиостанции"
|
||||
}
|
||||
},
|
||||
"form": {
|
||||
@@ -601,18 +537,13 @@
|
||||
"ignoreCors": "игнорировать CORS ($t(common.restartRequired))",
|
||||
"error_savePassword": "произошла ошибка при сохранении пароля",
|
||||
"input_preferInstantMix": "Предпочитать автоподборку",
|
||||
"input_preferInstantMixDescription": "Использовать быстрый микс только для поиска похожих композиций. Полезно, если у вас есть плагины, которые изменяют это поведение",
|
||||
"input_preferRemoteUrl": "предпочитать публичный url",
|
||||
"input_remoteUrl": "публичный url",
|
||||
"input_remoteUrlPlaceholder": "необязательно: публичный гкд-адрес для доступа к внешним функциям"
|
||||
"input_preferInstantMixDescription": "Использовать быстрый микс только для поиска похожих композиций. Полезно, если у вас есть плагины, которые изменяют это поведение"
|
||||
},
|
||||
"addToPlaylist": {
|
||||
"success": "добавлено: $t(entity.trackWithCount, {\"count\": {{message}} }) в $t(entity.playlistWithCount, {\"count\": {{numOfPlaylists}} })",
|
||||
"title": "добавить в $t(entity.playlist_one)",
|
||||
"input_skipDuplicates": "не добавлять дубликаты",
|
||||
"input_playlists": "$t(entity.playlist_other)",
|
||||
"create": "создать $t(entity.playlist_one) {{playlist}}",
|
||||
"searchOrCreate": "для создания нового списка выполните поиск по $t(entity.playlist_other) или введите соответствующий текст"
|
||||
"input_playlists": "$t(entity.playlist_other)"
|
||||
},
|
||||
"updateServer": {
|
||||
"title": "обновление сервера",
|
||||
@@ -621,11 +552,7 @@
|
||||
"queryEditor": {
|
||||
"input_optionMatchAll": "сопоставить все",
|
||||
"input_optionMatchAny": "сопоставить любой",
|
||||
"title": "Редактор запросов",
|
||||
"addRuleGroup": "добавить группу правил",
|
||||
"removeRuleGroup": "удалить группу правил",
|
||||
"resetToDefault": "сбросить на настройки по умолчанию",
|
||||
"clearFilters": "очистить фильтры"
|
||||
"title": "Редактор запросов"
|
||||
},
|
||||
"lyricSearch": {
|
||||
"input_name": "$t(common.name)",
|
||||
@@ -635,8 +562,7 @@
|
||||
"editPlaylist": {
|
||||
"title": "редактировать $t(entity.playlist_one)",
|
||||
"success": "$t(entity.playlist_one) обновлён успешно",
|
||||
"publicJellyfinNote": "Jellyfin по какой-то причине не предоставляет информацию о том, публичный плейлист или нет. Если вы хотите, чтобы он остался публичным, выберите следующую опцию",
|
||||
"editNote": "редактирование больших плейлистов вручную не рекомендуется. Вы уверены, что готовы принять риск потери данных, который может возникнуть в результате перезаписи существующего плейлиста?"
|
||||
"publicJellyfinNote": "Jellyfin по какой-то причине не предоставляет информацию о том, публичный плейлист или нет. Если вы хотите, чтобы он остался публичным, выберите следующую опцию"
|
||||
},
|
||||
"shareItem": {
|
||||
"success": "ссылка скопирована в буфер обмена (нажмите здесь, чтобы открыть)",
|
||||
@@ -650,35 +576,6 @@
|
||||
"enabled": "Приватный режим включен. Статус воспроизведения скрыт от внешних интеграций",
|
||||
"disabled": "Приватный режим отключен. Статус воспроизведения теперь виден внешним интеграциям",
|
||||
"title": "Приватный режим"
|
||||
},
|
||||
"largeFetchConfirmation": {
|
||||
"title": "добавить элементы в очередь",
|
||||
"description": "Это действие добавит все элементы в текущий отфильтрованный вид"
|
||||
},
|
||||
"createRadioStation": {
|
||||
"success": "радиостанция успешно создана",
|
||||
"title": "создать радиостанцию",
|
||||
"input_homepageUrl": "домашняя страница",
|
||||
"input_name": "имя",
|
||||
"input_streamUrl": "ссылка потока"
|
||||
},
|
||||
"lyricsExport": {
|
||||
"export": "экспортировать тексты песен",
|
||||
"input_synced": "экспорт синхронизированных текстов песен",
|
||||
"input_offset": "$t(setting.lyricOffset)"
|
||||
},
|
||||
"saveQueue": {
|
||||
"success": "сохранена очередь воспроизведения на сервере"
|
||||
},
|
||||
"shuffleAll": {
|
||||
"title": "Случайное воспроизведение",
|
||||
"input_limit": "сколько песен?",
|
||||
"input_minYear": "от года",
|
||||
"input_maxYear": "до года",
|
||||
"input_played": "воспроизвести фильтр",
|
||||
"input_played_optionAll": "все треки",
|
||||
"input_played_optionUnplayed": "только не игранные треки",
|
||||
"input_played_optionPlayed": "только игранные треки"
|
||||
}
|
||||
},
|
||||
"setting": {
|
||||
@@ -773,6 +670,7 @@
|
||||
"playButtonBehavior": "поведение кнопки воспроизведения",
|
||||
"playButtonBehavior_optionAddNext": "$t(player.addNext)",
|
||||
"playButtonBehavior_optionPlay": "$t(player.play)",
|
||||
"playerAlbumArtResolution_description": "разрешение большой версии обложки альбома в проигрывателе. при большем разрешении она выглядит более четкой, но может замедлить загрузку. по умолчанию равно 0 - устанавливает разрешение автоматически",
|
||||
"playerbarOpenDrawer": "полноэкранный переключатель по панели проигрывателя",
|
||||
"playerbarOpenDrawer_description": "позволяет перейти в полноэкранный режим воспроизведения нажатием на панель проигрывателя",
|
||||
"remotePort": "порт сервера удалённого управления",
|
||||
@@ -813,6 +711,7 @@
|
||||
"imageAspectRatio_description": "если эта опция включена, обложки будут отображаться в соответствии с их собственным соотношением сторон. для обложек не 1:1 оставшееся пространство будет пустым",
|
||||
"minimumScrobblePercentage": "минимальное время для скробблинга (в процентах)",
|
||||
"playbackStyle": "стиль воспроизведения",
|
||||
"playerAlbumArtResolution": "разрешение обложки альбома",
|
||||
"remotePassword_description": "задает пароль для сервера удалённого управления. По умолчанию эти учетные данные передаются небезопасным способом, поэтому следует использовать уникальный пароль, который вам неважен",
|
||||
"replayGainClipping_description": "Предотвращение клиппинга, вызванного {{ReplayGain}}, путём автоматического снижения усиления",
|
||||
"replayGainFallback_description": "усиление в db для применения, если у файла нет тегов {{ReplayGain}}",
|
||||
@@ -892,32 +791,5 @@
|
||||
"primary": {
|
||||
"other": "другие"
|
||||
}
|
||||
},
|
||||
"datetime": {
|
||||
"minuteShort": "м",
|
||||
"secondShort": "с",
|
||||
"hourShort": "ч",
|
||||
"dayShort": "д"
|
||||
},
|
||||
"filterOperator": {
|
||||
"after": "после",
|
||||
"afterDate": "после (дата)",
|
||||
"before": "это раньше",
|
||||
"beforeDate": "это раньше (дата)",
|
||||
"contains": "содержит",
|
||||
"endsWith": "заканчивается",
|
||||
"inPlaylist": "находится в",
|
||||
"inTheLast": "находится в последнем",
|
||||
"inTheRange": "находится в диапазоне",
|
||||
"inTheRangeDate": "находится в диапазоне (дата)",
|
||||
"is": "является",
|
||||
"isNot": "не",
|
||||
"isGreaterThan": "больше чем",
|
||||
"isLessThan": "меньше чем",
|
||||
"matchesRegex": "соответствует выражению",
|
||||
"notContains": "не содержит",
|
||||
"notInPlaylist": "не в",
|
||||
"notInTheLast": "не в последнем",
|
||||
"startsWith": "начинается с"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,8 +21,7 @@
|
||||
"openIn": {
|
||||
"lastfm": "Otvoriť v Last.fm",
|
||||
"musicbrainz": "Otvoriť v MusicBrainz"
|
||||
},
|
||||
"addOrRemoveFromSelection": "pridať či odstrániť z vybranie"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
"action_one": "akcia",
|
||||
@@ -655,6 +654,8 @@
|
||||
"playButtonBehavior_optionAddNext": "$t(player.addNext)",
|
||||
"playButtonBehavior_optionPlay": "$t(player.play)",
|
||||
"playButtonBehavior_optionPlayShuffled": "$t(player.shuffle)",
|
||||
"playerAlbumArtResolution": "rozlíšenie obrázka albumu",
|
||||
"playerAlbumArtResolution_description": "rozlíšenie zobrazenia náhľadu veľkých obrázkov albumov. pri väčšom rozlíšení budú krajšie, ale môže sa spomaliť ich načítavanie. predvolené je 0, čo znamená automatické",
|
||||
"playerbarOpenDrawer": "zobrazenie na celú obrazovku panelom prehrávača",
|
||||
"playerbarOpenDrawer_description": "umožní kliknutím na panel prehrávača prepnúť zobrazenie prehrávača na celú obrazovku",
|
||||
"remotePassword": "heslo servera vzdialeného ovládania",
|
||||
|
||||
@@ -33,11 +33,7 @@
|
||||
"musicbrainz": "Öppna i MusicBrainz"
|
||||
},
|
||||
"createRadioStation": "skapa $t(entity.radioStation_one)",
|
||||
"deleteRadioStation": "ta bort $t(entity.radioStation_one)",
|
||||
"addOrRemoveFromSelection": "lägg till eller ta bort från markerade",
|
||||
"selectRangeOfItems": "välj en mängd objekt",
|
||||
"selectAll": "markera alla",
|
||||
"openApplicationDirectory": "öppna applikationskatalog"
|
||||
"deleteRadioStation": "ta bort $t(entity.radioStation_one)"
|
||||
},
|
||||
"common": {
|
||||
"backward": "bakåt",
|
||||
@@ -147,8 +143,7 @@
|
||||
"clean": "städad",
|
||||
"gridRows": "rutnätsrader",
|
||||
"tableColumns": "tabellkolumner",
|
||||
"itemsMore": "{{count}} fler",
|
||||
"countSelected": "{{count}} markerade"
|
||||
"itemsMore": "{{count}} fler"
|
||||
},
|
||||
"error": {
|
||||
"remotePortWarning": "starta om servern för att tillämpa den nya porten",
|
||||
@@ -171,12 +166,7 @@
|
||||
"invalidServer": "ogiltig server",
|
||||
"loginRateError": "för många inloggningsförsök, försök igen om några sekunder",
|
||||
"badAlbum": "du ser denna sidan eftersom denna låten inte är en del av ett album. du ser troligtvis detta problemet för att du har en låt på toppnivån i din musikmapp. Jellyfin grupperar bara låtar om de finns i en mapp",
|
||||
"badValue": "felaktigt alternativ \"{{value}}\". detta värde existerar inte längre",
|
||||
"multipleServerSaveQueueError": "spelningskön har en eller flera låtar som inte är från den nuvarande valda servern. detta är inte stöttat",
|
||||
"networkError": "en nätverksfel uppstod",
|
||||
"notificationDenied": "åtkomst till notifieringarna var nekad. inställningen har ingen verkan",
|
||||
"openError": "kunde inte öppna filen",
|
||||
"settingsSyncError": "diskrepans hittades mellan inställningarna för renderingsprocessen och huvudprocessen. starta om applikationen för att ändringarna ska tillämpas"
|
||||
"badValue": "felaktigt alternativ \"{{value}}\". detta värde existerar inte längre"
|
||||
},
|
||||
"filter": {
|
||||
"mostPlayed": "mest spelade",
|
||||
@@ -219,9 +209,7 @@
|
||||
"album": "$t(entity.album_one)",
|
||||
"trackNumber": "spår",
|
||||
"songCount": "sångräkning",
|
||||
"criticRating": "kritikerbetyg",
|
||||
"albumCount": "$t(entity.album_other) antal",
|
||||
"explicitStatus": "$t(common.explicitStatus)"
|
||||
"criticRating": "kritikerbetyg"
|
||||
},
|
||||
"form": {
|
||||
"deletePlaylist": {
|
||||
@@ -248,17 +236,13 @@
|
||||
"input_savePassword": "spara lösenord",
|
||||
"ignoreSsl": "ignorera ssl ($t(common.restartRequired))",
|
||||
"ignoreCors": "ignorera cors ($t(common.restartRequired))",
|
||||
"error_savePassword": "ett fel uppstod när lösenordet skulle sparas",
|
||||
"input_preferInstantMix": "föredra instant mixning",
|
||||
"input_preferInstantMixDescription": "använd bara instant mixning för att få liknande låtar. användbar om du har plugin för att förändra detta beteendet"
|
||||
"error_savePassword": "ett fel uppstod när lösenordet skulle sparas"
|
||||
},
|
||||
"addToPlaylist": {
|
||||
"success": "lade till $t(entity.trackWithCount, {\"count\": {{message}} }) till $t(entity.playlistWithCount, {\"count\": {{numOfPlaylists}} })",
|
||||
"success": "tillade {{message}} $t(entity.track_other) til {{numOfPlaylists}} $t(entity.playlist_other)",
|
||||
"title": "lägg till i $t(entity.playlist_one)",
|
||||
"input_skipDuplicates": "hoppa över dubbletter",
|
||||
"input_playlists": "$t(entity.playlist_other)",
|
||||
"create": "skapa $t(entity.playlist_one) {{playlist}}",
|
||||
"searchOrCreate": "sök $t(entity.playlist_other) eller skriv för att skapa en ny"
|
||||
"input_playlists": "$t(entity.playlist_other)"
|
||||
},
|
||||
"updateServer": {
|
||||
"title": "uppdatera server",
|
||||
@@ -274,19 +258,7 @@
|
||||
"title": "sångtext sök"
|
||||
},
|
||||
"editPlaylist": {
|
||||
"title": "redigera $t(entity.playlist_one)",
|
||||
"publicJellyfinNote": "Jellyfin visar av någon anledning inte om en spellista är publik eller inte. Om du önskar att denna ska förbli publik, så får du ha följande indata markerade"
|
||||
},
|
||||
"largeFetchConfirmation": {
|
||||
"title": "lägg till objekt till kön",
|
||||
"description": "Åtgärden kommer att lägga till alla objekt till den nuvarande filtrerade vyn"
|
||||
},
|
||||
"createRadioStation": {
|
||||
"success": "radiostation skapades",
|
||||
"title": "skapa radiostation",
|
||||
"input_homepageUrl": "hemside-URL",
|
||||
"input_name": "namn",
|
||||
"input_streamUrl": "stream url"
|
||||
"title": "redigera $t(entity.playlist_one)"
|
||||
}
|
||||
},
|
||||
"page": {
|
||||
@@ -334,17 +306,7 @@
|
||||
"addFavorite": "$t(action.addToFavorites)",
|
||||
"play": "$t(player.play)",
|
||||
"numberSelected": "{{count}} vald",
|
||||
"removeFromQueue": "$t(action.removeFromQueue)",
|
||||
"download": "ladda ner",
|
||||
"moveItems": "$t(action.moveItems)",
|
||||
"moveToNext": "$t(action.moveToNext)",
|
||||
"playSimilarSongs": "$t(player.playSimilarSongs)",
|
||||
"playShuffled": "$t(player.shuffle)",
|
||||
"shareItem": "dela objekt",
|
||||
"goTo": "gå till",
|
||||
"goToAlbum": "gå till $t(entity.album_one)",
|
||||
"goToAlbumArtist": "gå till $t(entity.albumArtist_one)",
|
||||
"showDetails": "hämta information"
|
||||
"removeFromQueue": "$t(action.removeFromQueue)"
|
||||
},
|
||||
"albumDetail": {
|
||||
"moreFromArtist": "mer från $t(entity.artist_one)",
|
||||
@@ -378,12 +340,6 @@
|
||||
"searchFor": "sök efter {{query}}"
|
||||
},
|
||||
"title": "kommandon"
|
||||
},
|
||||
"manageServers": {
|
||||
"url": "URL",
|
||||
"username": "användarnamn",
|
||||
"editServerDetailsTooltip": "redigera serverinställningar",
|
||||
"removeServer": "ta bort server"
|
||||
}
|
||||
},
|
||||
"entity": {
|
||||
@@ -449,32 +405,5 @@
|
||||
"queue_moveToBottom": "flytta markerad till toppen",
|
||||
"addLast": "lägg till sist",
|
||||
"mute": "muta"
|
||||
},
|
||||
"datetime": {
|
||||
"minuteShort": "min",
|
||||
"secondShort": "sek",
|
||||
"hourShort": "h",
|
||||
"dayShort": "dag"
|
||||
},
|
||||
"filterOperator": {
|
||||
"after": "är efter",
|
||||
"afterDate": "är efter (datum)",
|
||||
"before": "är före",
|
||||
"beforeDate": "är före (datum)",
|
||||
"contains": "innehåller",
|
||||
"endsWith": "slutar med",
|
||||
"inPlaylist": "är inom",
|
||||
"inTheLast": "är i den sista",
|
||||
"inTheRange": "är i spannet",
|
||||
"inTheRangeDate": "är i spannet (datum)",
|
||||
"is": "är",
|
||||
"isNot": "är inte",
|
||||
"isGreaterThan": "är större än",
|
||||
"isLessThan": "är mindre än",
|
||||
"matchesRegex": "matchar regex",
|
||||
"notContains": "innehåller inte",
|
||||
"notInPlaylist": "är inte inom",
|
||||
"notInTheLast": "är inte inom den sista",
|
||||
"startsWith": "startar med"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -550,6 +550,8 @@
|
||||
"playButtonBehavior_description": "வரிசையில் பாடல்களைச் சேர்க்கும்போது ப்ளே பொத்தானின் இயல்புநிலை நடத்தை அமைக்கிறது",
|
||||
"playButtonBehavior_optionAddLast": "$t(player.addLast)",
|
||||
"playButtonBehavior_optionAddNext": "$t(player.addNext)",
|
||||
"playerAlbumArtResolution": "பிளேயர் ஆல்பம் கலைத் தீர்மானம்",
|
||||
"playerAlbumArtResolution_description": "பெரிய வீரரின் ஆல்பம் கலை முன்னோட்டத்திற்கான தீர்மானம். பெரியது இது மிகவும் மிருதுவானதாக தோற்றமளிக்கிறது, ஆனால் மெதுவாக ஏற்றுவதை மெதுவாகக் கொண்டிருக்கலாம். இயல்புநிலை 0 க்கு, அதாவது ஆட்டோ",
|
||||
"playerbarOpenDrawer": "பிளேயர்பார் முழுத்திரை மாற்று",
|
||||
"playerbarOpenDrawer_description": "முழு திரை பிளேயரைத் திறக்க பிளேயர்பாரைக் சொடுக்கு செய்ய அனுமதிக்கிறது",
|
||||
"remotePassword": "ரிமோட் கண்ட்ரோல் சர்வர் கடவுச்சொல்",
|
||||
|
||||
@@ -21,15 +21,7 @@
|
||||
"goToPage": "sayfaya git",
|
||||
"moveToNext": "sonrakine geç",
|
||||
"refresh": "$t(common.refresh)",
|
||||
"toggleSmartPlaylistEditor": "$t(entity.smartPlaylist) düzenleyiciye geç",
|
||||
"addOrRemoveFromSelection": "seçime ekle veya seçimi kaldır",
|
||||
"selectRangeOfItems": "bir dizi öğe seçin",
|
||||
"createRadioStation": "$t(entity.radioStation_one) oluştur",
|
||||
"deleteRadioStation": "$t(entity.radioStation_one) istasyonunu sil",
|
||||
"selectAll": "tümünü seç",
|
||||
"downloadStarted": "{{count}} öğenin indirilmesine başlandı",
|
||||
"moveUp": "yukarı kaydır",
|
||||
"moveDown": "aşağı kaydır"
|
||||
"toggleSmartPlaylistEditor": "$t(entity.smartPlaylist) düzenleyiciye geç"
|
||||
},
|
||||
"common": {
|
||||
"action_one": "eylem",
|
||||
@@ -128,8 +120,7 @@
|
||||
"trackGain": "parça kazancı",
|
||||
"trackPeak": "parça zirvesi",
|
||||
"private": "gizli",
|
||||
"clean": "temiz",
|
||||
"countSelected": "{{count}} adet seçildi"
|
||||
"clean": "temiz"
|
||||
},
|
||||
"entity": {
|
||||
"album_one": "albüm",
|
||||
@@ -613,6 +604,8 @@
|
||||
"playButtonBehavior_optionAddNext": "$t(player.addNext)",
|
||||
"playButtonBehavior_optionPlay": "$t(player.play)",
|
||||
"playButtonBehavior_optionPlayShuffled": "$t(player.shuffle)",
|
||||
"playerAlbumArtResolution": "oynatıcı albüm resmi çözünürlüğü",
|
||||
"playerAlbumArtResolution_description": "büyük oynatıcının albüm resmi önizlemesi için çözünürlük. daha büyük değerler daha net görünmesini sağlar, ancak yüklemeyi yavaşlatabilir. varsayılan değer 0, otomatik olarak çalışır",
|
||||
"playerbarOpenDrawer": "oynatma çubuğu tam ekran geçişi",
|
||||
"playerbarOpenDrawer_description": "tam ekran oynatıcıyı açmak için oynatma çubuğuna tıklamaya izin verir",
|
||||
"remotePassword": "uzaktan kontrol sunucusu şifresi",
|
||||
|
||||
@@ -1,5 +1 @@
|
||||
{
|
||||
"action": {
|
||||
"addToFavorites": "додати до $t(entity.favorite_other)"
|
||||
}
|
||||
}
|
||||
{}
|
||||
|
||||
@@ -31,13 +31,7 @@
|
||||
"shuffle": "随机播放",
|
||||
"shuffleAll": "随机播放全部",
|
||||
"shuffleSelected": "随机播放选定的内容",
|
||||
"viewMore": "查看更多",
|
||||
"addOrRemoveFromSelection": "在所选内容中添加或移除",
|
||||
"selectRangeOfItems": "批量选择",
|
||||
"selectAll": "全选",
|
||||
"createRadioStation": "创建$t(entity.radioStation_one)",
|
||||
"deleteRadioStation": "删除$t(entity.radioStation_one)",
|
||||
"openApplicationDirectory": "打开应用程序目录"
|
||||
"viewMore": "查看更多"
|
||||
},
|
||||
"common": {
|
||||
"increase": "增高",
|
||||
@@ -148,9 +142,7 @@
|
||||
"sort": "排序",
|
||||
"gridRows": "网格行",
|
||||
"tableColumns": "表格列",
|
||||
"itemsMore": "{{count}} 更多",
|
||||
"countSelected": "已选择{{count}}项",
|
||||
"retry": "重试"
|
||||
"itemsMore": "{{count}} 更多"
|
||||
},
|
||||
"entity": {
|
||||
"albumArtist_other": "专辑艺术家",
|
||||
@@ -184,10 +176,10 @@
|
||||
"skip_back": "向后跳过",
|
||||
"favorite": "收藏",
|
||||
"next": "下一首",
|
||||
"shuffle": "播放(随机)",
|
||||
"shuffle": "随机播放",
|
||||
"playbackFetchNoResults": "未找到歌曲",
|
||||
"playbackFetchInProgress": "正在加载歌曲…",
|
||||
"addNext": "下一首播放",
|
||||
"addNext": "添加为播放列表下一首",
|
||||
"playbackFetchCancel": "请稍等…关闭通知以取消操作",
|
||||
"play": "播放",
|
||||
"repeat_off": "循环关闭",
|
||||
@@ -197,16 +189,13 @@
|
||||
"queue_moveToTop": "将所选项移至底部",
|
||||
"queue_moveToBottom": "将所选项移至顶部",
|
||||
"shuffle_off": "禁用随机播放",
|
||||
"addLast": "上一曲",
|
||||
"addLast": "添加至播放列表末尾",
|
||||
"mute": "静音",
|
||||
"skip_forward": "向前跳过",
|
||||
"playbackSpeed": "播放速度",
|
||||
"pause": "暂停",
|
||||
"playSimilarSongs": "播放类似的歌曲",
|
||||
"viewQueue": "查看播放队列",
|
||||
"saveQueueToServer": "将播放队列保存到服务器",
|
||||
"restoreQueueFromServer": "从服务器恢复播放队列",
|
||||
"lyrics": "歌词"
|
||||
"viewQueue": "查看播放队列"
|
||||
},
|
||||
"setting": {
|
||||
"crossfadeStyle_description": "选择用于音频播放器的淡入淡出风格",
|
||||
@@ -378,6 +367,8 @@
|
||||
"startMinimized_description": "在系统托盘中启动应用程序",
|
||||
"passwordStore_description": "使用什么密码/密钥存储。如果您在存储密码时遇到问题,请更改此设置",
|
||||
"clearCacheSuccess": "缓存清除成功",
|
||||
"playerAlbumArtResolution": "播放器专辑封面分辨率",
|
||||
"playerAlbumArtResolution_description": "大型播放器专辑封面预览的分辨率。较大使其看起来更清晰,但可能会减慢加载速度。默认为0,表示自动",
|
||||
"homeConfiguration": "主页配置",
|
||||
"homeConfiguration_description": "配置主页上显示的项目以及显示顺序",
|
||||
"passwordStore": "密码/密钥存储",
|
||||
@@ -466,56 +457,7 @@
|
||||
"exportImportSettings_notValidJSON": "传递的文件不是有效的 JSON 文件",
|
||||
"exportImportSettings_offendingKeyError": "\"{{offendingKey}}\" 不正确 - {{reason}}",
|
||||
"enableAutoTranslation_description": "歌词加载时自动启用翻译",
|
||||
"enableAutoTranslation": "启用自动翻译",
|
||||
"imageResolution_description": "程序中使用的图片分辨率,设置为0时使用原始图片",
|
||||
"artistReleaseTypeConfiguration_description": "配置专辑艺术家页面上显示的发行类型及顺序",
|
||||
"logLevel_description": "设置显示的最低日志级别。debug显示所有日志,error仅显示错误日志",
|
||||
"showLyricsInSidebar_description": "在播放列表的附加面板中增加歌词显示页面",
|
||||
"playerbarSlider_description": "不建议在网络速度较慢或按流量计费情况下使用波形图",
|
||||
"showVisualizerInSidebar_description": "在播放侧边栏中增加可视化效果",
|
||||
"analyticsDisable_description": "发送匿名使用数据帮助开发者改进应用程序",
|
||||
"showRatings_description": "控制是否在界面上显示星级评分",
|
||||
"followCurrentSong_description": "自动滚动播放列表至当前播放的歌曲",
|
||||
"audioFadeOnStatusChange_description": "启用音乐淡入和淡出效果",
|
||||
"combinedLyricsAndVisualizer_description": "将歌词和可视化界面合并到同一面板中",
|
||||
"queryBuilderCustomFields_description": "在查询构建器添加自定义字段",
|
||||
"combinedLyricsAndVisualizer": "在播放器侧边栏合并歌词和可视化界面",
|
||||
"autoDJ_description": "自动添加相似歌曲到队列中",
|
||||
"notify_description": "歌曲变更时显示通知",
|
||||
"mpvExtraParameters_description": "向mpv传递额外参数",
|
||||
"audioFadeOnStatusChange": "音频改变时淡入淡出",
|
||||
"showVisualizerInSidebar": "在播放器侧边栏显示可视化效果",
|
||||
"showLyricsInSidebar": "在播放器侧边栏显示歌词",
|
||||
"analyticsDisable": "退出使用情况的分析",
|
||||
"artistReleaseTypeConfiguration": "艺术家发行类型设置",
|
||||
"useThemeAccentColor": "使用主题强调色",
|
||||
"mpvExtraParameters": "mpv额外参数",
|
||||
"showRatings": "显示星级评分",
|
||||
"followCurrentSong": "跟随当前歌曲",
|
||||
"logLevel": "日志等级",
|
||||
"playerbarWaveformAlign_optionTop": "顶部对齐",
|
||||
"playerbarWaveformAlign_optionCenter": "居中对齐",
|
||||
"playerbarWaveformAlign_optionBottom": "底部对齐",
|
||||
"queryBuilderCustomFields_inputLabel": "厂牌",
|
||||
"queryBuilderCustomFields_inputTag": "标签",
|
||||
"logLevel_optionDebug": "Debug",
|
||||
"logLevel_optionError": "Error",
|
||||
"logLevel_optionInfo": "Info",
|
||||
"logLevel_optionWarn": "Warn",
|
||||
"imageResolution_optionSidebar": "侧边栏",
|
||||
"imageResolution_optionHeader": "页首",
|
||||
"language": "语言",
|
||||
"notify": "启用歌曲通知",
|
||||
"imageResolution": "图像分辨率",
|
||||
"imageResolution_optionTable": "表格",
|
||||
"imageResolution_optionFullScreenPlayer": "全屏播放器",
|
||||
"playerbarSlider": "播放进度条",
|
||||
"playerbarSliderType_optionSlider": "滑块",
|
||||
"playerbarSliderType_optionWaveform": "波形",
|
||||
"playerbarWaveformAlign": "波形对齐方式",
|
||||
"playerbarWaveformBarWidth": "波形宽度",
|
||||
"playerbarWaveformGap": "波形间距",
|
||||
"transcode": "启用转码功能"
|
||||
"enableAutoTranslation": "启用自动翻译"
|
||||
},
|
||||
"error": {
|
||||
"remotePortWarning": "重启服务器使新端口生效",
|
||||
@@ -541,12 +483,7 @@
|
||||
"networkError": "发生网络错误",
|
||||
"openError": "无法打开文件",
|
||||
"badValue": "无效的选项 \"{{value}}\". 此值不再存在",
|
||||
"notificationDenied": "通知权限被拒绝。此设置无效",
|
||||
"multipleServerSaveQueueError": "不支持此操作(播放列表中包含来自其他服务器的歌曲)",
|
||||
"noNetwork": "服务器不可用",
|
||||
"noNetworkDescription": "无法连接到该服务器",
|
||||
"saveQueueFailed": "播放列表保存失败",
|
||||
"settingsSyncError": "渲染器设置与主进程中存在差异,请重启程序以应用更改"
|
||||
"notificationDenied": "通知权限被拒绝。此设置无效"
|
||||
},
|
||||
"filter": {
|
||||
"mostPlayed": "最多播放过",
|
||||
@@ -569,8 +506,8 @@
|
||||
"songCount": "歌曲数量",
|
||||
"random": "随机",
|
||||
"lastPlayed": "上次播放过",
|
||||
"toYear": "截止年份",
|
||||
"fromYear": "起始年份",
|
||||
"toYear": "从年份",
|
||||
"fromYear": "从年份",
|
||||
"criticRating": "评论家评分",
|
||||
"trackNumber": "曲目",
|
||||
"bpm": "bpm",
|
||||
@@ -607,9 +544,7 @@
|
||||
"artists": "$t(entity.artist_other)",
|
||||
"albumArtists": "$t(entity.albumArtist_other)",
|
||||
"shared": "共享$t(entity.playlist_other)",
|
||||
"myLibrary": "我的媒体库",
|
||||
"favorites": "$t(entity.favorite_other)",
|
||||
"radio": "$t(entity.radioStation_other)"
|
||||
"myLibrary": "我的媒体库"
|
||||
},
|
||||
"fullscreenPlayer": {
|
||||
"config": {
|
||||
@@ -646,10 +581,7 @@
|
||||
"settings": "$t(common.setting_other)",
|
||||
"quit": "$t(common.quit)",
|
||||
"privateModeOff": "关闭私人模式",
|
||||
"privateModeOn": "开启私人模式",
|
||||
"multipleMusicFolders": "已选择{{count}}个媒体库",
|
||||
"noMusicFolder": "未选择任何音乐库",
|
||||
"selectMusicFolder": "选择媒体库"
|
||||
"privateModeOn": "开启私人模式"
|
||||
},
|
||||
"home": {
|
||||
"mostPlayed": "最多播放",
|
||||
@@ -657,8 +589,7 @@
|
||||
"explore": "从库中搜索",
|
||||
"recentlyPlayed": "最近播放",
|
||||
"title": "$t(common.home)",
|
||||
"recentlyReleased": "最近发布",
|
||||
"genres": "$t(entity.genre_other)"
|
||||
"recentlyReleased": "最近发布"
|
||||
},
|
||||
"albumDetail": {
|
||||
"moreFromArtist": "更多该$t(entity.artist_one)作品",
|
||||
@@ -670,24 +601,7 @@
|
||||
"generalTab": "通用",
|
||||
"hotkeysTab": "快捷键",
|
||||
"windowTab": "窗口",
|
||||
"advanced": "高级",
|
||||
"updates": "更新",
|
||||
"cache": "缓存",
|
||||
"analytics": "分析",
|
||||
"application": "应用",
|
||||
"theme": "主题",
|
||||
"controls": "控制",
|
||||
"sidebar": "侧边栏",
|
||||
"remote": "远程服务",
|
||||
"exportImport": "导入/导出",
|
||||
"scrobble": "播放记录",
|
||||
"audio": "音频",
|
||||
"lyrics": "歌词",
|
||||
"transcoding": "转码",
|
||||
"discord": "Discord",
|
||||
"logger": "日志记录器",
|
||||
"queryBuilder": "查询构建器",
|
||||
"lyricsDisplay": "歌词显示"
|
||||
"advanced": "高级"
|
||||
},
|
||||
"globalSearch": {
|
||||
"commands": {
|
||||
@@ -721,9 +635,7 @@
|
||||
"playShuffled": "$t(player.shuffle)",
|
||||
"moveToNext": "$t(action.moveToNext)",
|
||||
"goToAlbum": "转到 $t(entity.album_one)",
|
||||
"goToAlbumArtist": "转到 $t(entity.albumArtist_one)",
|
||||
"moveItems": "$t(action.moveItems)",
|
||||
"goTo": "前往"
|
||||
"goToAlbumArtist": "转到 $t(entity.albumArtist_one)"
|
||||
},
|
||||
"trackList": {
|
||||
"title": "$t(entity.track_other)",
|
||||
@@ -755,8 +667,7 @@
|
||||
"viewAllTracks": "查看所有$t(entity.track_other)",
|
||||
"about": "关于{{artist}}",
|
||||
"appearsOn": "出现在",
|
||||
"viewAll": "查看全部",
|
||||
"groupingTypeAll": "所有发行类型"
|
||||
"viewAll": "查看全部"
|
||||
},
|
||||
"itemDetail": {
|
||||
"copyPath": "将路径复制到剪贴板",
|
||||
@@ -773,12 +684,6 @@
|
||||
"username": "用户名",
|
||||
"editServerDetailsTooltip": "编辑服务器详细信息",
|
||||
"removeServer": "移除服务器"
|
||||
},
|
||||
"favorites": {
|
||||
"title": "$t(entity.favorite_other)"
|
||||
},
|
||||
"folderList": {
|
||||
"title": "$t(entity.folder_other)"
|
||||
}
|
||||
},
|
||||
"form": {
|
||||
@@ -800,10 +705,7 @@
|
||||
"error_savePassword": "保存密码时出现错误",
|
||||
"input_url": "url",
|
||||
"input_preferInstantMixDescription": "仅使用即时混音来获取类似的歌曲。如果您有修改此行为的插件,则很有用",
|
||||
"input_preferInstantMix": "首选即时混音",
|
||||
"input_preferRemoteUrl": "首选公共 URL",
|
||||
"input_remoteUrl": "公共 URL",
|
||||
"input_remoteUrlPlaceholder": "可选:对外功能的公共 URL"
|
||||
"input_preferInstantMix": "首选即时混音"
|
||||
},
|
||||
"addToPlaylist": {
|
||||
"success": "添加$t(entity.trackWithCount, {\"count\": {{message}} })到$t(entity.playlistWithCount, {\"count\": {{numOfPlaylists}} })",
|
||||
@@ -828,17 +730,12 @@
|
||||
"queryEditor": {
|
||||
"input_optionMatchAll": "匹配全部",
|
||||
"input_optionMatchAny": "匹配任何",
|
||||
"title": "查询编辑器",
|
||||
"resetToDefault": "恢复默认值",
|
||||
"clearFilters": "清除筛选",
|
||||
"addRuleGroup": "添加规则组",
|
||||
"removeRuleGroup": "移除规则组"
|
||||
"title": "查询编辑器"
|
||||
},
|
||||
"editPlaylist": {
|
||||
"title": "编辑$t(entity.playlist_one)",
|
||||
"publicJellyfinNote": "Jellyfin 出于某种原因不会显示播放列表是否公开。如果您希望保持公开,请选择以下输入",
|
||||
"success": "$t(entity.playlist_one)更新成功",
|
||||
"editNote": "不建议对大型播放列表进行手动编辑,你确定接受新播放列表覆盖已有播放列表可能导致的数据丢失风险吗?"
|
||||
"success": "$t(entity.playlist_one)更新成功"
|
||||
},
|
||||
"lyricSearch": {
|
||||
"title": "搜索歌词",
|
||||
@@ -857,32 +754,6 @@
|
||||
"enabled": "启用私人模式,播放状态现在对外部集成隐藏",
|
||||
"disabled": "私人模式已禁用,播放状态现在对启用的外部集成可见",
|
||||
"title": "私人模式"
|
||||
},
|
||||
"largeFetchConfirmation": {
|
||||
"title": "将项目加入到播放列表",
|
||||
"description": "此操作将添加当前筛选视图中的所有项目"
|
||||
},
|
||||
"createRadioStation": {
|
||||
"input_homepageUrl": "首页地址",
|
||||
"input_name": "名称",
|
||||
"input_streamUrl": "串流地址"
|
||||
},
|
||||
"lyricsExport": {
|
||||
"export": "导出歌词",
|
||||
"input_synced": "导出同步歌词",
|
||||
"input_offset": "$t(setting.lyricOffset)"
|
||||
},
|
||||
"saveQueue": {
|
||||
"success": "播放列表已保存至服务器"
|
||||
},
|
||||
"shuffleAll": {
|
||||
"title": "随机播放",
|
||||
"input_genre": "$t(entity.genre_one)",
|
||||
"input_played_optionAll": "所有曲目",
|
||||
"input_maxYear": "截止年份",
|
||||
"input_minYear": "起始年份",
|
||||
"input_played_optionUnplayed": "仅未播放的曲目",
|
||||
"input_played_optionPlayed": "仅已播放的曲目"
|
||||
}
|
||||
},
|
||||
"table": {
|
||||
@@ -895,28 +766,7 @@
|
||||
"size": "$t(common.size)",
|
||||
"itemGap": "项目间隙(px)",
|
||||
"itemSize": "项目大小 (px)",
|
||||
"followCurrentSong": "关注当前播放的歌曲",
|
||||
"rowHoverHighlight": "鼠标悬停时高亮",
|
||||
"pagination_itemsPerPage": "每页项目条数",
|
||||
"itemsPerRow": "每行项目条数",
|
||||
"pinToRight": "固定到右侧",
|
||||
"size_default": "默认",
|
||||
"size_compact": "紧凑",
|
||||
"size_large": "松散",
|
||||
"pagination": "分页",
|
||||
"pagination_infinite": "无限滚动",
|
||||
"pagination_paginate": "分页式",
|
||||
"moveUp": "上移",
|
||||
"moveDown": "下移",
|
||||
"pinToLeft": "固定在左侧",
|
||||
"alignLeft": "左对齐",
|
||||
"alignCenter": "居中对齐",
|
||||
"alignRight": "右对齐",
|
||||
"alternateRowColors": "隔行填色",
|
||||
"advancedSettings": "高级设置",
|
||||
"autosize": "自动调整大小",
|
||||
"horizontalBorders": "行边框",
|
||||
"verticalBorders": "列边框"
|
||||
"followCurrentSong": "关注当前播放的歌曲"
|
||||
},
|
||||
"view": {
|
||||
"table": "表格",
|
||||
@@ -951,12 +801,7 @@
|
||||
"albumArtist": "$t(entity.albumArtist_one)",
|
||||
"titleCombined": "$t(common.title)(合并)",
|
||||
"codec": "$t(common.codec)",
|
||||
"songCount": "$t(entity.track_other)",
|
||||
"albumCount": "$t(entity.album_other)",
|
||||
"image": "图片",
|
||||
"bitDepth": "$t(common.bitDepth)",
|
||||
"sampleRate": "$t(common.sampleRate)",
|
||||
"genreBadge": "$t(entity.genre_one)(徽章)"
|
||||
"songCount": "$t(entity.track_other)"
|
||||
}
|
||||
},
|
||||
"column": {
|
||||
@@ -983,10 +828,7 @@
|
||||
"channels": "$t(common.channel_other)",
|
||||
"discNumber": "碟片",
|
||||
"size": "$t(common.size)",
|
||||
"codec": "$t(common.codec)",
|
||||
"owner": "所有者",
|
||||
"bitDepth": "$t(common.bitDepth)",
|
||||
"sampleRate": "$t(common.sampleRate)"
|
||||
"codec": "$t(common.codec)"
|
||||
}
|
||||
},
|
||||
"dragDropZone": {
|
||||
@@ -997,21 +839,7 @@
|
||||
"releaseType": {
|
||||
"primary": {
|
||||
"album": "$t(entity.album_one)",
|
||||
"broadcast": "播送",
|
||||
"ep": "迷你专辑(EP)",
|
||||
"single": "单曲",
|
||||
"other": "其他"
|
||||
},
|
||||
"secondary": {
|
||||
"audiobook": "有声读物",
|
||||
"compilation": "合辑",
|
||||
"demo": "样本唱片(Demo)",
|
||||
"interview": "访谈",
|
||||
"live": "现场表演(Live)",
|
||||
"mixtape": "混音专辑",
|
||||
"remix": "再混音(Remix)",
|
||||
"soundtrack": "原声带",
|
||||
"audioDrama": "广播剧"
|
||||
"broadcast": "播送"
|
||||
}
|
||||
},
|
||||
"filterOperator": {
|
||||
@@ -1019,72 +847,6 @@
|
||||
"afterDate": "晚于(日期)",
|
||||
"before": "之前",
|
||||
"beforeDate": "早于(日期)",
|
||||
"contains": "包含",
|
||||
"endsWith": "以…结尾",
|
||||
"inPlaylist": "在…中",
|
||||
"inTheRange": "在范围内",
|
||||
"inTheLast": "在最后",
|
||||
"is": "是",
|
||||
"isNot": "不是",
|
||||
"isGreaterThan": "大于",
|
||||
"isLessThan": "小于",
|
||||
"matchesRegex": "匹配正则表达式",
|
||||
"notContains": "不包含",
|
||||
"startsWith": "以…开头",
|
||||
"inTheRangeDate": "在(日期)范围内",
|
||||
"notInPlaylist": "不在…中"
|
||||
},
|
||||
"datetime": {
|
||||
"minuteShort": "分",
|
||||
"secondShort": "秒",
|
||||
"hourShort": "小时",
|
||||
"dayShort": "天"
|
||||
},
|
||||
"visualizer": {
|
||||
"configPasteFailed": "应用配置失败,请检查配置格式。",
|
||||
"configPasteReadFailed": "读取剪贴板失败",
|
||||
"configCopyFailed": "复制设置失败",
|
||||
"configCopied": "已复制设置到剪贴板",
|
||||
"pasteConfigurationPlaceholder": "将JSON配置粘贴到此处…",
|
||||
"addCustomGradient": "添加自定义渐变",
|
||||
"presetNamePlaceholder": "输入预设名称",
|
||||
"configPasted": "成功应用配置",
|
||||
"pasteFromClipboard": "从剪贴板粘贴",
|
||||
"saveAsPreset": "保存为预设",
|
||||
"customGradients": "自定义渐变",
|
||||
"showFPS": "显示帧率(FPS)",
|
||||
"presets": "预设",
|
||||
"general": "普通",
|
||||
"mode": "模式",
|
||||
"visualizerType": "可视化器效果类型",
|
||||
"selectPreset": "选择预设",
|
||||
"applyPreset": "应用预设",
|
||||
"updatePreset": "更新预设",
|
||||
"copyConfiguration": "复制配置",
|
||||
"pasteConfiguration": "粘贴配置",
|
||||
"applyConfiguration": "应用配置",
|
||||
"presetName": "预设名称",
|
||||
"mode1To8": "模式 1 - 8",
|
||||
"mode10": "模式 10",
|
||||
"fillAlpha": "填充透明度",
|
||||
"lineWidth": "线宽",
|
||||
"maxFPS": "最大帧率(FPS)",
|
||||
"opacity": "不透明度",
|
||||
"gradientName": "渐变名称",
|
||||
"gradientNamePlaceholder": "渐变名称",
|
||||
"vertical": "垂直",
|
||||
"horizontal": "水平",
|
||||
"addColor": "添加颜色",
|
||||
"position": "位置",
|
||||
"cycleTime": "循环时间(秒)",
|
||||
"channelLayout": "声道布局",
|
||||
"remove": "移除",
|
||||
"pasteGradientPlaceholder": "在此处粘贴颜色渐变的配置JSON…",
|
||||
"pasteGradient": "粘贴颜色渐变配置",
|
||||
"custom": "自定义",
|
||||
"builtIn": "内置",
|
||||
"colors": "颜色",
|
||||
"gradient": "渐变",
|
||||
"miscellaneousSettings": "杂项设置"
|
||||
"contains": "包含"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -106,11 +106,7 @@
|
||||
"explicitStatus": "Explicit狀態",
|
||||
"explicit": "Explicit",
|
||||
"gridRows": "網格行",
|
||||
"noFilters": "未設定任何過濾器",
|
||||
"countSelected": "{{count}}個已選取",
|
||||
"retry": "重試",
|
||||
"example": "範例",
|
||||
"mood": "情緒"
|
||||
"noFilters": "未設定任何過濾器"
|
||||
},
|
||||
"error": {
|
||||
"endpointNotImplementedError": "{{serverType}} 尚未實現端點 {{endpoint}}",
|
||||
@@ -138,10 +134,7 @@
|
||||
"notificationDenied": "通知權限被拒絕。此設定無效",
|
||||
"openError": "無法開啟檔案",
|
||||
"multipleServerSaveQueueError": "播放佇列中包含不是來自目前伺服器的歌曲,此操作不受支援",
|
||||
"saveQueueFailed": "儲存播放佇列失敗",
|
||||
"settingsSyncError": "偵測到渲染器與主程序之間的設定不一致,請重新啟動應用程式以套用變更",
|
||||
"noNetwork": "伺服器無法連線",
|
||||
"noNetworkDescription": "無法連接到此伺服器"
|
||||
"saveQueueFailed": "儲存播放佇列失敗"
|
||||
},
|
||||
"page": {
|
||||
"contextMenu": {
|
||||
@@ -181,7 +174,7 @@
|
||||
}
|
||||
},
|
||||
"home": {
|
||||
"explore": "從媒體庫中搜尋",
|
||||
"explore": "從資料庫中搜尋",
|
||||
"recentlyPlayed": "最近播放",
|
||||
"title": "$t(common.home)",
|
||||
"mostPlayed": "最多播放",
|
||||
@@ -255,8 +248,7 @@
|
||||
"discord": "Discord",
|
||||
"queryBuilder": "查詢建構器",
|
||||
"playerFilters": "播放過濾器",
|
||||
"logger": "日誌記錄器",
|
||||
"lyricsDisplay": "歌詞顯示"
|
||||
"logger": "日誌記錄器"
|
||||
},
|
||||
"albumArtistList": {
|
||||
"title": "$t(entity.albumArtist_other)"
|
||||
@@ -288,7 +280,7 @@
|
||||
"home": "$t(common.home)",
|
||||
"nowPlaying": "正在播放",
|
||||
"playlists": "$t(entity.playlist_other)",
|
||||
"myLibrary": "我的媒體庫",
|
||||
"myLibrary": "我的資料庫",
|
||||
"shared": "已分享 $t(entity.playlist_other)",
|
||||
"favorites": "$t(entity.favorite_other)",
|
||||
"radio": "$t(entity.radioStation_other)"
|
||||
@@ -307,9 +299,7 @@
|
||||
"topSongs": "熱門歌曲",
|
||||
"topSongsFrom": "{{title}} 的熱門歌曲",
|
||||
"viewAll": "檢視所有",
|
||||
"viewAllTracks": "檢視所有$t(entity.track_other)",
|
||||
"groupingTypeAll": "所有發佈類型",
|
||||
"groupingTypePrimary": "主要發佈類型"
|
||||
"viewAllTracks": "檢視所有$t(entity.track_other)"
|
||||
},
|
||||
"manageServers": {
|
||||
"title": "管理伺服器",
|
||||
@@ -371,12 +361,13 @@
|
||||
"viewQueue": "檢視佇列",
|
||||
"addLastShuffled": "新增至尾端 (隨機)",
|
||||
"addNextShuffled": "新增至下一首 (隨機)",
|
||||
"queueType": "佇列類型",
|
||||
"queueType_default": "預設",
|
||||
"queueType_priority": "優先",
|
||||
"holdToShuffle": "按住以隨機",
|
||||
"lyrics": "歌詞",
|
||||
"restoreQueueFromServer": "從伺服器還原播放佇列",
|
||||
"saveQueueToServer": "將播放佇列儲存至伺服器",
|
||||
"artistRadio": "藝人電台",
|
||||
"trackRadio": "曲目電台"
|
||||
"saveQueueToServer": "將播放佇列儲存至伺服器"
|
||||
},
|
||||
"setting": {
|
||||
"audioPlayer_description": "選擇用於播放的音訊播放器",
|
||||
@@ -412,7 +403,7 @@
|
||||
"discordUpdateInterval_description": "更新間隔秒數(至少 15 秒)",
|
||||
"enableRemote": "啟用遠端控制伺服器",
|
||||
"enableRemote_description": "啟用遠端控制伺服器,以允許其他設備控制此應用程式",
|
||||
"exitToTray": "關閉時到將視窗最小化",
|
||||
"exitToTray": "退出時最小化到系統匣",
|
||||
"followLyric": "跟隨目前歌詞",
|
||||
"font_description": "設定應用程式使用的字體",
|
||||
"fontType": "字體類型",
|
||||
@@ -457,7 +448,7 @@
|
||||
"lyricOffset": "歌詞偏移(毫秒)",
|
||||
"lyricOffset_description": "將歌詞偏移指定的毫秒數",
|
||||
"lyricFetchProvider_description": "選擇歌詞來源。 來源順序即為搜尋的順序",
|
||||
"minimizeToTray": "最小化到系統匣",
|
||||
"minimizeToTray": "最小化到匣",
|
||||
"minimizeToTray_description": "將應用程式最小化到系統匣",
|
||||
"minimumScrobbleSeconds": "最小紀錄時間(秒)",
|
||||
"minimumScrobbleSeconds_description": "歌曲被記錄為已播放(scrobble)所需的最小播放時間",
|
||||
@@ -543,8 +534,8 @@
|
||||
"albumBackground_description": "為包含專輯封面的專輯頁面新增背景圖片",
|
||||
"albumBackgroundBlur": "專輯背景圖片模糊大小",
|
||||
"albumBackgroundBlur_description": "調整應用於專輯背景圖片的模糊量",
|
||||
"artistConfiguration": "專輯藝人頁面設定",
|
||||
"artistConfiguration_description": "設定專輯藝人頁面中顯示的項目及排序",
|
||||
"artistConfiguration": "專輯藝術家頁面設定",
|
||||
"artistConfiguration_description": "設定專輯藝術家頁面上顯示的項目及其顯示順序",
|
||||
"clearCacheSuccess": "成功清除快取",
|
||||
"contextMenu": "右鍵選單配置",
|
||||
"contextMenu_description": "允許您隱藏在右鍵選單項目時顯示的項目。未選取的項目將被隱藏",
|
||||
@@ -560,7 +551,7 @@
|
||||
"discordServeImage": "從伺服器提供{{discord}}圖片",
|
||||
"discordServeImage_description": "從伺服器本身分享 {{discord}} Rich Presence的封面圖片,僅支援 Jellyfin 與 Navidrome。{{discord}} 會透過機器人擷取圖片,因此您的伺服器必須能從公開網路連線",
|
||||
"externalLinks": "顯示外部連結",
|
||||
"externalLinks_description": "在藝人/專輯頁面顯示外部連結(Last.fm, MusicBrainz)",
|
||||
"externalLinks_description": "在藝術家/專輯頁面顯示外部連結(Last.fm, MusicBrainz)",
|
||||
"preferLocalLyrics": "偏好本地歌詞",
|
||||
"preferLocalLyrics_description": "優先選擇本地歌詞,而不是遠端歌詞(如果可用)",
|
||||
"homeConfiguration": "首頁配置",
|
||||
@@ -570,20 +561,22 @@
|
||||
"imageAspectRatio": "使用原生封面照長寬比",
|
||||
"imageAspectRatio_description": "如果啟用,封面照將使用其原始長寬比顯示。對於非 1:1 的封面,剩餘空間將為空",
|
||||
"lastfm": "顯示 last.fm 連結",
|
||||
"lastfm_description": "在藝人/專輯頁面顯示 Last.fm 連結",
|
||||
"lastfm_description": "在藝術家/專輯頁面顯示 Last.fm 連結",
|
||||
"lastfmApiKey": "{{lastfm}} API金鑰",
|
||||
"lastfmApiKey_description": "{{lastfm}}的API金鑰。用於封面照",
|
||||
"mpvExtraParameters_help": "一行一個",
|
||||
"musicbrainz": "顯示 MusicBrainz 連結",
|
||||
"musicbrainz_description": "在存在 MusicBrainz ID 的藝人/專輯頁面上顯示 MusicBrainz 的連結",
|
||||
"musicbrainz_description": "在存在 MusicBrainz ID 的藝術家/專輯頁面上顯示 MusicBrainz 的鏈接",
|
||||
"neteaseTranslation": "啟用網易翻譯",
|
||||
"neteaseTranslation_description": "啟用後,將從網易取得並顯示翻譯的歌詞(如果有)",
|
||||
"passwordStore": "密碼/secret儲存",
|
||||
"passwordStore_description": "使用什麼密碼/secret儲存。如果您在儲存密碼時遇到問題,請變更此項目",
|
||||
"playButtonBehavior_optionPlayShuffled": "$t(player.shuffle)",
|
||||
"playerAlbumArtResolution": "播放器專輯封面解析度",
|
||||
"playerAlbumArtResolution_description": "大型播放器專輯封面預覽的解析度。較大的解析度使其看起來更清晰,但可能會減慢載入速度。預設為 0,表示自動",
|
||||
"playerbarOpenDrawer": "播放器列全螢幕切換",
|
||||
"playerbarOpenDrawer_description": "允許點擊播放器列以開啟全螢幕播放器",
|
||||
"startMinimized": "啟動時最小化",
|
||||
"startMinimized": "最小化啟動",
|
||||
"startMinimized_description": "在系統匣中啟動應用程式",
|
||||
"transcode_description": "啟用轉碼到不同格式",
|
||||
"transcodeBitrate": "要轉碼的比特率",
|
||||
@@ -623,7 +616,7 @@
|
||||
"preventSleepOnPlayback": "防止播放時進入睡眠狀態",
|
||||
"preventSleepOnPlayback_description": "在音樂播放時防止螢幕進入睡眠狀態",
|
||||
"mediaSession": "啟用Media Session",
|
||||
"mediaSession_description": "啟用 Media Session 整合功能,於系統音量Overlay和鎖定畫面中顯示媒體資料與控制面板",
|
||||
"mediaSession_description": "啟用 Windows Media Session 整合功能,於系統音量Overlay和鎖定畫面中顯示媒體資料與控制面板(僅限 Windows)",
|
||||
"releaseChannel": "發佈通道",
|
||||
"analyticsDisable": "選擇退出使用情況分析",
|
||||
"analyticsDisable_description": "經過匿名處理的使用情況資料將傳送給開發者,以協助改進應用程式",
|
||||
@@ -684,29 +677,7 @@
|
||||
"logLevel_optionInfo": "Info",
|
||||
"logLevel_optionWarn": "Warn",
|
||||
"useThemeAccentColor": "使用主題強調色",
|
||||
"useThemeAccentColor_description": "使用所選主題中定義的主要顏色,而非自訂的強調色",
|
||||
"artistRadioCount_description": "設定為藝人電台與曲目電台擷取的歌曲數量",
|
||||
"imageResolution": "圖片解析度",
|
||||
"imageResolution_description": "應用程式中所使用圖片的解析度。設定為 0 時,將使用圖片的原始解析度",
|
||||
"imageResolution_optionTable": "表格",
|
||||
"imageResolution_optionItemCard": "項目卡片",
|
||||
"imageResolution_optionSidebar": "側邊欄",
|
||||
"imageResolution_optionHeader": "頁首",
|
||||
"imageResolution_optionFullScreenPlayer": "全螢幕播放器",
|
||||
"combinedLyricsAndVisualizer_description": "將歌詞與視覺化效果整合至同一個面板",
|
||||
"combinedLyricsAndVisualizer": "在播放器側邊欄整合歌詞與視覺化效果",
|
||||
"artistRadioCount": "藝人/歌曲電台數量",
|
||||
"showRatings_description": "控制星級評分功能是否顯示於介面中",
|
||||
"showRatings": "顯示星級評分",
|
||||
"artistReleaseTypeConfiguration": "藝人發行類型設定",
|
||||
"artistReleaseTypeConfiguration_description": "設定專輯藝人頁面中顯示的發行類型及排序",
|
||||
"hotkey_listNavigateToPage": "從清單導覽至項目頁面",
|
||||
"mpvExtraParameters": "MPV額外參數",
|
||||
"mpvExtraParameters_description": "傳遞給MPV的額外參數",
|
||||
"pathReplace": "檔案路徑替換",
|
||||
"pathReplace_description": "替換您伺服器的預設檔案路徑",
|
||||
"pathReplace_optionRemovePrefix": "移除前綴",
|
||||
"pathReplace_optionAddPrefix": "增加前綴"
|
||||
"useThemeAccentColor_description": "使用所選主題中定義的主要顏色,而非自訂的強調色"
|
||||
},
|
||||
"table": {
|
||||
"config": {
|
||||
@@ -784,7 +755,7 @@
|
||||
},
|
||||
"column": {
|
||||
"album": "專輯",
|
||||
"albumArtist": "專輯藝人",
|
||||
"albumArtist": "專輯藝術家",
|
||||
"albumCount": "$t(entity.album_other)",
|
||||
"artist": "$t(entity.artist_one)",
|
||||
"biography": "簡介",
|
||||
@@ -846,17 +817,14 @@
|
||||
"holdToMoveToTop": "按住以移動至頂部",
|
||||
"holdToMoveToBottom": "按住以移動至底部",
|
||||
"createRadioStation": "創建 $t(entity.radioStation_one)",
|
||||
"deleteRadioStation": "刪除 $t(entity.radioStation_one)",
|
||||
"openApplicationDirectory": "開啟應用程式目錄",
|
||||
"addOrRemoveFromSelection": "新增或移除選取項目",
|
||||
"selectAll": "全選"
|
||||
"deleteRadioStation": "刪除 $t(entity.radioStation_one)"
|
||||
},
|
||||
"entity": {
|
||||
"album_other": "專輯",
|
||||
"albumArtist_other": "專輯藝人",
|
||||
"albumArtistCount_other": "{{count}} 位專輯藝人",
|
||||
"artist_other": "藝人",
|
||||
"artistWithCount_other": "{{count}} 位藝人",
|
||||
"albumArtist_other": "專輯藝術家",
|
||||
"albumArtistCount_other": "{{count}} 位專輯藝術家",
|
||||
"artist_other": "藝術家",
|
||||
"artistWithCount_other": "{{count}} 位藝術家",
|
||||
"favorite_other": "收藏",
|
||||
"folder_other": "資料夾",
|
||||
"folderWithCount_other": "{{count}} 個資料夾",
|
||||
@@ -932,10 +900,7 @@
|
||||
"ignoreCors": "忽略 cors $t(common.restartRequired)",
|
||||
"ignoreSsl": "忽略 ssl $t(common.restartRequired)",
|
||||
"input_preferInstantMix": "偏好即時混音",
|
||||
"input_preferInstantMixDescription": "僅使用即時混音功能來獲取相似歌曲。若您擁有能修改此行為的外掛,此功能將相當實用",
|
||||
"input_preferRemoteUrl": "優先使用公開網址",
|
||||
"input_remoteUrl": "公開網址",
|
||||
"input_remoteUrlPlaceholder": "選用:對外功能的公開網址"
|
||||
"input_preferInstantMixDescription": "僅使用即時混音功能來獲取相似歌曲。若您擁有能修改此行為的外掛,此功能將相當實用"
|
||||
},
|
||||
"addToPlaylist": {
|
||||
"input_playlists": "$t(entity.playlist_other)",
|
||||
@@ -1019,11 +984,6 @@
|
||||
},
|
||||
"saveQueue": {
|
||||
"success": "已將播放佇列儲存至伺服器"
|
||||
},
|
||||
"lyricsExport": {
|
||||
"export": "匯出歌詞",
|
||||
"input_synced": "匯出同步歌詞",
|
||||
"input_offset": "$t(setting.lyricOffset)"
|
||||
}
|
||||
},
|
||||
"releaseType": {
|
||||
@@ -1074,89 +1034,6 @@
|
||||
"matchesRegex": "符合正規表達式",
|
||||
"notContains": "不包含",
|
||||
"notInPlaylist": "不在…之中",
|
||||
"startsWith": "以…開頭",
|
||||
"inTheLast": "在最後",
|
||||
"notInTheLast": "不在最後"
|
||||
},
|
||||
"datetime": {
|
||||
"minuteShort": "分",
|
||||
"secondShort": "秒",
|
||||
"hourShort": "小時",
|
||||
"dayShort": "天"
|
||||
},
|
||||
"visualizer": {
|
||||
"visualizerType": "視覺化效果類型",
|
||||
"cyclePresets": "循環切換預設",
|
||||
"cycleTime": "循環時間 (秒)",
|
||||
"includeAllPresets": "包含所有預設",
|
||||
"ignoredPresets": "忽略的預設",
|
||||
"selectedPresets": "已選取的預設",
|
||||
"randomizeNextPreset": "隨機切換下一個預設",
|
||||
"blendTime": "過渡時間",
|
||||
"presets": "預設",
|
||||
"selectPreset": "選擇預設",
|
||||
"applyPreset": "套用預設",
|
||||
"saveAsPreset": "儲存為預設",
|
||||
"updatePreset": "更新預設",
|
||||
"copyConfiguration": "複製設定",
|
||||
"pasteConfiguration": "貼上設定",
|
||||
"pasteConfigurationPlaceholder": "在此處貼上JSON設定...",
|
||||
"pasteFromClipboard": "從剪貼簿貼上",
|
||||
"applyConfiguration": "套用設定",
|
||||
"configCopied": "設定已複製至剪貼簿",
|
||||
"configCopyFailed": "無法複製設定",
|
||||
"configPasted": "設定套用成功",
|
||||
"configPasteFailed": "無法套用設定,請檢查格式。",
|
||||
"configPasteReadFailed": "無法從剪貼簿讀取內容",
|
||||
"presetName": "預設名稱",
|
||||
"presetNamePlaceholder": "輸入預設名稱",
|
||||
"general": "一般",
|
||||
"mode": "模式",
|
||||
"mode1To8": "模式 1 - 8",
|
||||
"mode10": "模式 10",
|
||||
"barSpace": "柱間距",
|
||||
"lineWidth": "線條寬度",
|
||||
"fillAlpha": "填充透明度",
|
||||
"channelLayout": "聲道佈局",
|
||||
"maxFPS": "最大幀率",
|
||||
"opacity": "不透明度",
|
||||
"customGradients": "自定義漸層",
|
||||
"addCustomGradient": "新增自定義漸層",
|
||||
"gradientName": "漸層名稱",
|
||||
"gradientNamePlaceholder": "漸層名稱",
|
||||
"vertical": "垂直",
|
||||
"horizontal": "水平",
|
||||
"colorStops": "顏色分界點",
|
||||
"addColor": "新增顏色",
|
||||
"position": "位置",
|
||||
"remove": "移除",
|
||||
"custom": "自訂",
|
||||
"builtIn": "內建",
|
||||
"colors": "顏色",
|
||||
"colorMode": "顏色模式",
|
||||
"gradient": "漸層",
|
||||
"gradientLeft": "左側漸層",
|
||||
"gradientRight": "右側漸層",
|
||||
"fft": "FFT",
|
||||
"fftSize": "FFT 取樣大小",
|
||||
"smoothing": "平滑度",
|
||||
"frequencyRangeAndScaling": "頻率範圍與縮放",
|
||||
"minimumFrequency": "最低頻率",
|
||||
"maximumFrequency": "最高頻率",
|
||||
"frequencyScale": "頻率量表",
|
||||
"sensitivity": "靈敏度",
|
||||
"weightingFilter": "權重濾波器",
|
||||
"minimumDecibels": "最小分貝",
|
||||
"maximumDecibels": "最大分貝",
|
||||
"linearAmplitude": "線性振幅",
|
||||
"linearBoost": "線性增益",
|
||||
"peakBehavior": "峰值行為",
|
||||
"showPeaks": "顯示峰值",
|
||||
"fadePeaks": "峰值淡出",
|
||||
"peakLine": "峰值線條",
|
||||
"gravity": "重力",
|
||||
"peakFadeTime": "峰值淡出時間 (毫秒)",
|
||||
"peakHoldTime": "峰值停留時間 (毫秒)",
|
||||
"radialSpectrum": "圓形頻譜"
|
||||
"startsWith": "以…開頭"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ export async function getLyricsBySongId(url: string): Promise<null | string> {
|
||||
try {
|
||||
result = await axios.get<string>(url, { responseType: 'text' });
|
||||
} catch (e) {
|
||||
console.error('Genius lyrics request got an error!', (e as Error)?.message);
|
||||
console.error('Genius lyrics request got an error!', e);
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ export async function getSearchResults(
|
||||
},
|
||||
});
|
||||
} catch (e) {
|
||||
console.error('Genius search request got an error!', (e as Error)?.message);
|
||||
console.error('Genius search request got an error!', e);
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -150,7 +150,6 @@ export async function getSearchResults(
|
||||
return {
|
||||
artist: song.artist_names,
|
||||
id: song.url,
|
||||
isSync: null,
|
||||
name: song.full_title,
|
||||
source: LyricSource.GENIUS,
|
||||
};
|
||||
@@ -164,11 +163,13 @@ export async function query(
|
||||
): Promise<InternetProviderLyricResponse | null> {
|
||||
const response = await getSongId(params);
|
||||
if (!response) {
|
||||
console.error('Could not find the song on Genius!');
|
||||
return null;
|
||||
}
|
||||
|
||||
const lyrics = await getLyricsBySongId(response.id);
|
||||
if (!lyrics) {
|
||||
console.error('Could not get lyrics on Genius!');
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -193,7 +194,7 @@ async function getSongId(
|
||||
},
|
||||
});
|
||||
} catch (e) {
|
||||
console.error('Genius search request got an error!', (e as Error)?.message);
|
||||
console.error('Genius search request got an error!', e);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,10 +1,21 @@
|
||||
import { ipcMain } from 'electron';
|
||||
|
||||
import { store } from '../settings';
|
||||
import { getLyricsBySongId as getGenius, getSearchResults as searchGenius } from './genius';
|
||||
import { getLyricsBySongId as getLrcLib, getSearchResults as searchLrcLib } from './lrclib';
|
||||
import { getLyricsBySongId as getNetease, getSearchResults as searchNetease } from './netease';
|
||||
import { orderSearchResults } from './shared';
|
||||
import {
|
||||
getLyricsBySongId as getGenius,
|
||||
query as queryGenius,
|
||||
getSearchResults as searchGenius,
|
||||
} from './genius';
|
||||
import {
|
||||
getLyricsBySongId as getLrcLib,
|
||||
query as queryLrclib,
|
||||
getSearchResults as searchLrcLib,
|
||||
} from './lrclib';
|
||||
import {
|
||||
getLyricsBySongId as getNetease,
|
||||
query as queryNetease,
|
||||
getSearchResults as searchNetease,
|
||||
} from './netease';
|
||||
|
||||
import { Song } from '/@/shared/types/domain-types';
|
||||
|
||||
@@ -31,7 +42,6 @@ export type InternetProviderLyricResponse = {
|
||||
export type InternetProviderLyricSearchResponse = {
|
||||
artist: string;
|
||||
id: string;
|
||||
isSync: boolean | null;
|
||||
name: string;
|
||||
score?: number;
|
||||
source: LyricSource;
|
||||
@@ -62,6 +72,14 @@ type SearchFetcher = (
|
||||
params: LyricSearchQuery,
|
||||
) => Promise<InternetProviderLyricSearchResponse[] | null>;
|
||||
|
||||
type SongFetcher = (params: LyricSearchQuery) => Promise<InternetProviderLyricResponse | null>;
|
||||
|
||||
const FETCHERS: Record<LyricSource, SongFetcher> = {
|
||||
[LyricSource.GENIUS]: queryGenius,
|
||||
[LyricSource.LRCLIB]: queryLrclib,
|
||||
[LyricSource.NETEASE]: queryNetease,
|
||||
};
|
||||
|
||||
const SEARCH_FETCHERS: Record<LyricSource, SearchFetcher> = {
|
||||
[LyricSource.GENIUS]: searchGenius,
|
||||
[LyricSource.LRCLIB]: searchLrcLib,
|
||||
@@ -90,82 +108,37 @@ const getRemoteLyrics = async (song: Song) => {
|
||||
}
|
||||
}
|
||||
|
||||
const params: LyricSearchQuery = {
|
||||
album: song.album || song.name,
|
||||
artist: song.artists[0].name,
|
||||
duration: song.duration / 1000.0,
|
||||
name: song.name,
|
||||
};
|
||||
|
||||
const allSearchResults: InternetProviderLyricSearchResponse[] = [];
|
||||
|
||||
for (const source of sources) {
|
||||
try {
|
||||
const searchResults = await SEARCH_FETCHERS[source](params);
|
||||
if (searchResults) {
|
||||
allSearchResults.push(...searchResults);
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(`Error searching ${source} for lyrics:`, error);
|
||||
}
|
||||
}
|
||||
|
||||
if (allSearchResults.length === 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const rankedResults = orderSearchResults({
|
||||
params,
|
||||
results: allSearchResults,
|
||||
});
|
||||
|
||||
const bestMatch = rankedResults[0];
|
||||
|
||||
if (!bestMatch) {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Score is 0-1 where 0 = perfect match, 1 = worst match
|
||||
const matchThreshold = 0.55;
|
||||
const matchScore = bestMatch.score ?? 1;
|
||||
|
||||
if (matchScore > matchThreshold) {
|
||||
return null;
|
||||
}
|
||||
|
||||
let lyricsFromSource: InternetProviderLyricResponse | null = null;
|
||||
|
||||
try {
|
||||
const lyrics = await GET_FETCHERS[bestMatch.source](bestMatch.id);
|
||||
if (lyrics) {
|
||||
lyricsFromSource = {
|
||||
artist: bestMatch.artist,
|
||||
id: bestMatch.id,
|
||||
lyrics,
|
||||
name: bestMatch.name,
|
||||
source: bestMatch.source,
|
||||
};
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(`Error fetching lyrics from ${bestMatch.source}:`, error);
|
||||
}
|
||||
for (const source of sources) {
|
||||
const params = {
|
||||
album: song.album || song.name,
|
||||
artist: song.artists[0].name,
|
||||
duration: song.duration / 1000.0,
|
||||
name: song.name,
|
||||
};
|
||||
const response = await FETCHERS[source](params as unknown as LyricSearchQuery);
|
||||
|
||||
if (lyricsFromSource) {
|
||||
const newResult = cached
|
||||
? {
|
||||
...cached,
|
||||
[lyricsFromSource.source]: lyricsFromSource,
|
||||
}
|
||||
: ({ [lyricsFromSource.source]: lyricsFromSource } as CachedLyrics);
|
||||
if (response) {
|
||||
const newResult = cached
|
||||
? {
|
||||
...cached,
|
||||
[source]: response,
|
||||
}
|
||||
: ({ [source]: response } as CachedLyrics);
|
||||
|
||||
if (lyricCache.size === MAX_CACHED_ITEMS && cached === undefined) {
|
||||
const toRemove = lyricCache.keys().next().value;
|
||||
if (toRemove) {
|
||||
lyricCache.delete(toRemove);
|
||||
if (lyricCache.size === MAX_CACHED_ITEMS && cached === undefined) {
|
||||
const toRemove = lyricCache.keys().next().value;
|
||||
if (toRemove) {
|
||||
lyricCache.delete(toRemove);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
lyricCache.set(song.id.toString(), newResult);
|
||||
lyricCache.set(song.id.toString(), newResult);
|
||||
|
||||
lyricsFromSource = response;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return lyricsFromSource;
|
||||
|
||||
@@ -17,12 +17,8 @@ const TIMEOUT_MS = 5000;
|
||||
export interface LrcLibSearchResponse {
|
||||
albumName: string;
|
||||
artistName: string;
|
||||
duration?: number;
|
||||
id: number;
|
||||
instrumental?: boolean;
|
||||
name: string;
|
||||
plainLyrics: null | string;
|
||||
syncedLyrics: null | string;
|
||||
}
|
||||
|
||||
export interface LrcLibTrackResponse {
|
||||
@@ -46,7 +42,7 @@ export async function getLyricsBySongId(songId: string): Promise<null | string>
|
||||
try {
|
||||
result = await axios.get<LrcLibTrackResponse>(`${FETCH_URL}/${songId}`);
|
||||
} catch (e) {
|
||||
console.error('LrcLib lyrics request got an error!', (e as Error)?.message);
|
||||
console.error('LrcLib lyrics request got an error!', e);
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -69,7 +65,7 @@ export async function getSearchResults(
|
||||
},
|
||||
});
|
||||
} catch (e) {
|
||||
console.error('LrcLib search request got an error!', (e as Error)?.message);
|
||||
console.error('LrcLib search request got an error!', e);
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -79,7 +75,6 @@ export async function getSearchResults(
|
||||
return {
|
||||
artist: song.artistName,
|
||||
id: String(song.id),
|
||||
isSync: song.syncedLyrics ? true : false,
|
||||
name: song.name,
|
||||
source: LyricSource.LRCLIB,
|
||||
};
|
||||
@@ -107,13 +102,14 @@ export async function query(
|
||||
timeout: TIMEOUT_MS,
|
||||
});
|
||||
} catch (e) {
|
||||
console.error('LrcLib search request got an error!', (e as Error).message);
|
||||
console.error('LrcLib search request got an error!', e);
|
||||
return null;
|
||||
}
|
||||
|
||||
const lyrics = result.data.syncedLyrics || result.data.plainLyrics || null;
|
||||
|
||||
if (!lyrics) {
|
||||
console.error(`Could not get lyrics on LrcLib!`);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -128,7 +128,6 @@ export async function getSearchResults(
|
||||
return {
|
||||
artist,
|
||||
id: String(song.id),
|
||||
isSync: null,
|
||||
name: song.name,
|
||||
source: LyricSource.NETEASE,
|
||||
};
|
||||
@@ -142,11 +141,13 @@ export async function query(
|
||||
): Promise<InternetProviderLyricResponse | null> {
|
||||
const lyricsMatch = await getMatchedLyrics(params);
|
||||
if (!lyricsMatch) {
|
||||
console.error('Could not find the song on NetEase!');
|
||||
return null;
|
||||
}
|
||||
|
||||
const lyrics = await getLyricsBySongId(lyricsMatch.id);
|
||||
if (!lyrics) {
|
||||
console.error('Could not get lyrics on NetEase!');
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import Fuse, { FuseResult, IFuseOptions } from 'fuse.js';
|
||||
import Fuse, { IFuseOptions } from 'fuse.js';
|
||||
|
||||
import {
|
||||
InternetProviderLyricSearchResponse,
|
||||
@@ -15,81 +15,20 @@ export const orderSearchResults = (args: {
|
||||
fieldNormWeight: 1,
|
||||
includeScore: true,
|
||||
keys: [
|
||||
{ getFn: (song) => song.name, name: 'name', weight: 2 },
|
||||
{ getFn: (song) => song.artist, name: 'artist', weight: 2 },
|
||||
{ getFn: (song) => song.name, name: 'name', weight: 3 },
|
||||
{ getFn: (song) => song.artist, name: 'artist' },
|
||||
],
|
||||
threshold: 0.6,
|
||||
threshold: 1.0,
|
||||
};
|
||||
|
||||
const fuse = new Fuse(results, options);
|
||||
|
||||
let searchResults: Array<FuseResult<InternetProviderLyricSearchResponse>>;
|
||||
|
||||
if (params.artist && params.name) {
|
||||
const artistFuse = new Fuse(results, {
|
||||
includeScore: true,
|
||||
keys: [{ getFn: (song) => song.artist, name: 'artist' }],
|
||||
threshold: 0.6,
|
||||
});
|
||||
|
||||
const nameFuse = new Fuse(results, {
|
||||
includeScore: true,
|
||||
keys: [{ getFn: (song) => song.name, name: 'name' }],
|
||||
threshold: 0.6,
|
||||
});
|
||||
|
||||
const artistResults = artistFuse.search(params.artist);
|
||||
const nameResults = nameFuse.search(params.name);
|
||||
|
||||
const artistScores = new Map(artistResults.map((r) => [r.item.id, r.score ?? 1]));
|
||||
const nameScores = new Map(nameResults.map((r) => [r.item.id, r.score ?? 1]));
|
||||
|
||||
const combinedResults = new Map<string, FuseResult<InternetProviderLyricSearchResponse>>();
|
||||
|
||||
artistResults.forEach((result) => {
|
||||
const nameScore = nameScores.get(result.item.id);
|
||||
if (nameScore !== undefined) {
|
||||
const combinedScore = Math.max(result.score ?? 1, nameScore);
|
||||
combinedResults.set(result.item.id, {
|
||||
...result,
|
||||
score: combinedScore,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
nameResults.forEach((result) => {
|
||||
if (!combinedResults.has(result.item.id)) {
|
||||
const artistScore = artistScores.get(result.item.id);
|
||||
if (artistScore !== undefined) {
|
||||
const combinedScore = Math.max(result.score ?? 1, artistScore);
|
||||
combinedResults.set(result.item.id, {
|
||||
...result,
|
||||
score: combinedScore,
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
searchResults = Array.from(combinedResults.values());
|
||||
} else {
|
||||
searchResults = fuse.search<InternetProviderLyricSearchResponse>({
|
||||
...(params.artist && { artist: params.artist }),
|
||||
...(params.name && { name: params.name }),
|
||||
});
|
||||
}
|
||||
|
||||
const sortedResults = searchResults.sort((a, b) => {
|
||||
const aIsSync = a.item.isSync === true ? 1 : 0;
|
||||
const bIsSync = b.item.isSync === true ? 1 : 0;
|
||||
|
||||
if (aIsSync !== bIsSync) {
|
||||
return bIsSync - aIsSync;
|
||||
}
|
||||
|
||||
return (a.score || 0) - (b.score || 0);
|
||||
const searchResults = fuse.search<InternetProviderLyricSearchResponse>({
|
||||
...(params.artist && { artist: params.artist }),
|
||||
...(params.name && { name: params.name }),
|
||||
});
|
||||
|
||||
return sortedResults.map((result) => ({
|
||||
return searchResults.map((result) => ({
|
||||
...result.item,
|
||||
score: result.score,
|
||||
}));
|
||||
|
||||
@@ -525,63 +525,6 @@ ipcMain.handle(
|
||||
},
|
||||
);
|
||||
|
||||
ipcMain.handle(
|
||||
'player-get-audio-devices',
|
||||
async (): Promise<{ label: string; value: string }[]> => {
|
||||
try {
|
||||
const instance = getMpvInstance();
|
||||
let tempInstance: MpvAPI | null = null;
|
||||
let mpvToUse: MpvAPI | null = null;
|
||||
|
||||
if (instance && instance.isRunning()) {
|
||||
mpvToUse = instance;
|
||||
} else {
|
||||
try {
|
||||
tempInstance = await createMpv({});
|
||||
mpvToUse = tempInstance;
|
||||
} catch (err: any | NodeMpvError) {
|
||||
mpvLog(
|
||||
{ action: 'Failed to create temporary MPV instance for audio device list' },
|
||||
err,
|
||||
);
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
const deviceList = await mpvToUse.getProperty('audio-device-list');
|
||||
|
||||
if (!deviceList || !Array.isArray(deviceList)) {
|
||||
return [];
|
||||
}
|
||||
|
||||
const devices = deviceList.map((device: any) => {
|
||||
const name = device.name || device.description || 'Unknown Device';
|
||||
const description = device.description || '';
|
||||
const label = description ? `${name} (${description})` : name;
|
||||
return {
|
||||
label,
|
||||
value: name,
|
||||
};
|
||||
});
|
||||
|
||||
return devices;
|
||||
} finally {
|
||||
if (tempInstance && tempInstance !== instance) {
|
||||
try {
|
||||
await quit(tempInstance);
|
||||
} catch {
|
||||
// Ignore
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (err: any | NodeMpvError) {
|
||||
mpvLog({ action: 'Failed to get audio devices' }, err);
|
||||
return [];
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
enum MpvState {
|
||||
STARTED,
|
||||
IN_PROGRESS,
|
||||
|
||||
@@ -620,11 +620,8 @@ ipcMain.on('update-playback', (_event, status: PlayerStatus) => {
|
||||
broadcast({ data: status, event: 'playback' });
|
||||
});
|
||||
|
||||
ipcMain.on('update-song', (_event, song: QueueSong | undefined, imageUrl?: null | string) => {
|
||||
ipcMain.on('update-song', (_event, song: QueueSong | undefined) => {
|
||||
const songChanged = song?.id !== currentState.song?.id;
|
||||
if (song) {
|
||||
song.imageUrl = imageUrl || null;
|
||||
}
|
||||
currentState.song = song;
|
||||
|
||||
if (songChanged) {
|
||||
@@ -660,9 +657,6 @@ if (mprisPlayer) {
|
||||
}
|
||||
currentState.volume = volume;
|
||||
broadcast({ data: volume, event: 'volume' });
|
||||
getMainWindow()?.webContents.send('request-volume', {
|
||||
volume,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,12 @@
|
||||
import type { TitleTheme } from '/@/shared/types/types';
|
||||
|
||||
import { app, dialog, ipcMain, nativeTheme, OpenDialogOptions, safeStorage } from 'electron';
|
||||
import { dialog, ipcMain, nativeTheme, OpenDialogOptions, safeStorage } from 'electron';
|
||||
import Store from 'electron-store';
|
||||
import path from 'path';
|
||||
|
||||
const getFrame = () => {
|
||||
const isWindows = process.platform === 'win32';
|
||||
const isMacOS = process.platform === 'darwin';
|
||||
|
||||
if (isWindows) {
|
||||
return 'windows';
|
||||
}
|
||||
|
||||
if (isMacOS) {
|
||||
return 'macOS';
|
||||
}
|
||||
|
||||
return 'linux';
|
||||
};
|
||||
|
||||
const isDevelopment = process.env.NODE_ENV === 'development';
|
||||
|
||||
const defaultUserDataPath = app.getPath('userData');
|
||||
const storePath = isDevelopment
|
||||
? path.normalize(`${defaultUserDataPath}-dev`)
|
||||
: path.normalize(defaultUserDataPath);
|
||||
|
||||
export const store = new Store<any>({
|
||||
export const store = new Store({
|
||||
beforeEachMigration: (_store, context) => {
|
||||
console.log(`settings migrate from ${context.fromVersion} → ${context.toVersion}`);
|
||||
},
|
||||
cwd: storePath,
|
||||
defaults: {
|
||||
disable_auto_updates: false,
|
||||
enableNeteaseTranslation: false,
|
||||
global_media_hotkeys: true,
|
||||
lyrics: ['NetEase', 'lrclib.net'],
|
||||
mediaSession: false,
|
||||
playbackType: 'web',
|
||||
should_prompt_accessibility: true,
|
||||
shown_accessibility_warning: false,
|
||||
window_enable_tray: true,
|
||||
window_exit_to_tray: false,
|
||||
window_minimize_to_tray: false,
|
||||
window_start_minimized: false,
|
||||
window_window_bar_style: getFrame(),
|
||||
},
|
||||
migrations: {
|
||||
'>=0.21.2': (store) => {
|
||||
store.set('window_bar_style', 'linux');
|
||||
@@ -61,11 +22,7 @@ ipcMain.handle('settings-get', (_event, data: { property: string }) => {
|
||||
});
|
||||
|
||||
ipcMain.on('settings-set', (__event, data: { property: string; value: any }) => {
|
||||
if (data.value === undefined) {
|
||||
store.delete(data.property);
|
||||
} else {
|
||||
store.set(data.property, data.value);
|
||||
}
|
||||
store.set(`${data.property}`, data.value);
|
||||
});
|
||||
|
||||
ipcMain.handle('password-get', (_event, server: string): null | string => {
|
||||
|
||||
@@ -141,48 +141,48 @@ ipcMain.on('update-shuffle', (_event, shuffle: boolean) => {
|
||||
mprisPlayer.shuffle = shuffle;
|
||||
});
|
||||
|
||||
ipcMain.on(
|
||||
'update-song',
|
||||
(_event, song: QueueSong | undefined, imageUrl: null | string | undefined) => {
|
||||
try {
|
||||
if (!song?.id) {
|
||||
mprisPlayer.metadata = {};
|
||||
return;
|
||||
}
|
||||
|
||||
mprisPlayer.metadata = {
|
||||
'mpris:artUrl': imageUrl || null,
|
||||
'mpris:length': song.duration ? Math.round((song.duration || 0) * 1e3) : null,
|
||||
'mpris:trackid': song.id
|
||||
? mprisPlayer.objectPath(`track/${song.id?.replace('-', '')}`)
|
||||
: '',
|
||||
'xesam:album': song.album || null,
|
||||
'xesam:albumArtist': song.albumArtists?.length
|
||||
? song.albumArtists.map((artist) => artist.name)
|
||||
: null,
|
||||
'xesam:artist': song.artists?.length
|
||||
? song.artists.map((artist) => artist.name)
|
||||
: null,
|
||||
'xesam:audioBpm': song.bpm,
|
||||
// Comment is a `list of strings` type
|
||||
'xesam:comment': song.comment ? [song.comment] : null,
|
||||
'xesam:contentCreated': song.releaseDate,
|
||||
'xesam:discNumber': song.discNumber ? song.discNumber : null,
|
||||
'xesam:genre': song.genres?.length
|
||||
? song.genres.map((genre: any) => genre.name)
|
||||
: null,
|
||||
'xesam:lastUsed': song.lastPlayedAt,
|
||||
'xesam:title': song.name || null,
|
||||
'xesam:trackNumber': song.trackNumber ? song.trackNumber : null,
|
||||
'xesam:useCount':
|
||||
song.playCount !== null && song.playCount !== undefined ? song.playCount : null,
|
||||
// User ratings are only on Navidrome/Subsonic and are on a scale of 1-5
|
||||
'xesam:userRating': song.userRating ? song.userRating / 5 : null,
|
||||
};
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
ipcMain.on('update-song', (_event, song: QueueSong | undefined) => {
|
||||
try {
|
||||
if (!song?.id) {
|
||||
mprisPlayer.metadata = {};
|
||||
return;
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
const upsizedImageUrl = song.imageUrl
|
||||
? song.imageUrl
|
||||
?.replace(/&size=\d+/, '&size=300')
|
||||
.replace(/\?width=\d+/, '?width=300')
|
||||
.replace(/&height=\d+/, '&height=300')
|
||||
: null;
|
||||
|
||||
mprisPlayer.metadata = {
|
||||
'mpris:artUrl': upsizedImageUrl,
|
||||
'mpris:length': song.duration ? Math.round((song.duration || 0) * 1e3) : null,
|
||||
'mpris:trackid': song.id
|
||||
? mprisPlayer.objectPath(`track/${song.id?.replace('-', '')}`)
|
||||
: '',
|
||||
'xesam:album': song.album || null,
|
||||
'xesam:albumArtist': song.albumArtists?.length
|
||||
? song.albumArtists.map((artist) => artist.name)
|
||||
: null,
|
||||
'xesam:artist': song.artists?.length ? song.artists.map((artist) => artist.name) : null,
|
||||
'xesam:audioBpm': song.bpm,
|
||||
// Comment is a `list of strings` type
|
||||
'xesam:comment': song.comment ? [song.comment] : null,
|
||||
'xesam:contentCreated': song.releaseDate,
|
||||
'xesam:discNumber': song.discNumber ? song.discNumber : null,
|
||||
'xesam:genre': song.genres?.length ? song.genres.map((genre: any) => genre.name) : null,
|
||||
'xesam:lastUsed': song.lastPlayedAt,
|
||||
'xesam:title': song.name || null,
|
||||
'xesam:trackNumber': song.trackNumber ? song.trackNumber : null,
|
||||
'xesam:useCount':
|
||||
song.playCount !== null && song.playCount !== undefined ? song.playCount : null,
|
||||
// User ratings are only on Navidrome/Subsonic and are on a scale of 1-5
|
||||
'xesam:userRating': song.userRating ? song.userRating / 5 : null,
|
||||
};
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
}
|
||||
});
|
||||
|
||||
export { mprisPlayer };
|
||||
|
||||
@@ -30,7 +30,6 @@ import MenuBuilder from './menu';
|
||||
import {
|
||||
autoUpdaterLogInterface,
|
||||
createLog,
|
||||
disableAutoUpdates,
|
||||
hotkeyToElectronAccelerator,
|
||||
isLinux,
|
||||
isMacOS,
|
||||
@@ -126,9 +125,7 @@ const installExtensions = async () => {
|
||||
type: 'info',
|
||||
});
|
||||
})
|
||||
.catch(() => {
|
||||
// Ignore
|
||||
});
|
||||
.catch(console.error);
|
||||
});
|
||||
};
|
||||
|
||||
@@ -187,11 +184,13 @@ const createWinThumbarButtons = () => {
|
||||
};
|
||||
|
||||
const createTray = () => {
|
||||
tray =
|
||||
isLinux() || isMacOS()
|
||||
? new Tray(getAssetPath('icons/icon.png'))
|
||||
: new Tray(getAssetPath('icons/icon.ico'));
|
||||
if (isMacOS()) {
|
||||
return;
|
||||
}
|
||||
|
||||
tray = isLinux()
|
||||
? new Tray(getAssetPath('icons/icon.png'))
|
||||
: new Tray(getAssetPath('icons/icon.ico'));
|
||||
const contextMenu = Menu.buildFromTemplate([
|
||||
{
|
||||
click: () => {
|
||||
@@ -275,8 +274,8 @@ async function createWindow(first = true): Promise<void> {
|
||||
autoHideMenuBar: true,
|
||||
frame: false,
|
||||
height: 900,
|
||||
icon: isWindows() ? getAssetPath('icons/icon.ico') : getAssetPath('icons/icon.png'),
|
||||
minHeight: 120,
|
||||
icon: getAssetPath('icons/icon.png'),
|
||||
minHeight: 640,
|
||||
minWidth: 480,
|
||||
show: false,
|
||||
webPreferences: {
|
||||
@@ -457,7 +456,7 @@ async function createWindow(first = true): Promise<void> {
|
||||
return { action: 'deny' };
|
||||
});
|
||||
|
||||
if (!disableAutoUpdates() && store.get('disable_auto_updates') !== true) {
|
||||
if (store.get('disable_auto_updates') !== true) {
|
||||
new AppUpdater();
|
||||
}
|
||||
|
||||
@@ -497,9 +496,6 @@ if (shouldDisableMediaFeatures) {
|
||||
// https://github.com/electron/electron/issues/46538#issuecomment-2808806722
|
||||
app.commandLine.appendSwitch('gtk-version', '3');
|
||||
|
||||
// Enable garbage collection API
|
||||
app.commandLine.appendSwitch('js-flags', '--expose-gc');
|
||||
|
||||
// Must duplicate with the one in renderer process settings.store.ts
|
||||
enum BindingActions {
|
||||
GLOBAL_SEARCH = 'globalSearch',
|
||||
|
||||
@@ -18,10 +18,6 @@ if (process.env.NODE_ENV === 'development') {
|
||||
};
|
||||
}
|
||||
|
||||
export const disableAutoUpdates = () => {
|
||||
return process.env['DISABLE_AUTO_UPDATES'];
|
||||
};
|
||||
|
||||
export const isMacOS = () => {
|
||||
return process.platform === 'darwin';
|
||||
};
|
||||
|
||||
@@ -6,7 +6,6 @@ declare global {
|
||||
interface Window {
|
||||
api: PreloadApi;
|
||||
electron: ElectronAPI;
|
||||
LEGACY_AUTHENTICATION?: boolean;
|
||||
queryLocalFonts?: () => Promise<Font[]>;
|
||||
SERVER_LOCK?: boolean;
|
||||
SERVER_NAME?: string;
|
||||
|
||||
@@ -1,16 +1,24 @@
|
||||
import { ipcRenderer, IpcRendererEvent, OpenDialogOptions, webFrame } from 'electron';
|
||||
import Store from 'electron-store';
|
||||
|
||||
import { TitleTheme } from '/@/shared/types/types';
|
||||
|
||||
const store = new Store();
|
||||
|
||||
const set = (
|
||||
property: string,
|
||||
value: boolean | Record<string, unknown> | string | string[] | undefined,
|
||||
) => {
|
||||
ipcRenderer.send('settings-set', { property, value });
|
||||
if (value === undefined) {
|
||||
store.delete(property);
|
||||
return;
|
||||
}
|
||||
|
||||
store.set(`${property}`, value);
|
||||
};
|
||||
|
||||
const get = async (property: string) => {
|
||||
return ipcRenderer.invoke('settings-get', { property });
|
||||
const get = (property: string) => {
|
||||
return store.get(`${property}`);
|
||||
};
|
||||
|
||||
const restart = () => {
|
||||
@@ -70,22 +78,14 @@ export const toServerType = (value?: string): null | string => {
|
||||
const SERVER_TYPE = toServerType(process.env.SERVER_TYPE);
|
||||
|
||||
const env = {
|
||||
LEGACY_AUTHENTICATION:
|
||||
SERVER_TYPE !== null
|
||||
? process.env.LEGACY_AUTHENTICATION?.toLocaleLowerCase() === 'true'
|
||||
: false,
|
||||
SERVER_LOCK:
|
||||
SERVER_TYPE !== null ? process.env.SERVER_LOCK?.toLocaleLowerCase() === 'true' : false,
|
||||
SERVER_NAME: process.env.SERVER_NAME ?? '',
|
||||
SERVER_TYPE,
|
||||
SERVER_URL: process.env.SERVER_URL ?? 'http://',
|
||||
START_MAXIMIZED: undefined as boolean | undefined,
|
||||
START_MAXIMIZED: store.get('maximized'),
|
||||
};
|
||||
|
||||
get('maximized').then((value) => {
|
||||
env.START_MAXIMIZED = value as boolean | undefined;
|
||||
});
|
||||
|
||||
export const localSettings = {
|
||||
disableMediaKeys,
|
||||
enableMediaKeys,
|
||||
|
||||
@@ -27,8 +27,8 @@ const updateShuffle = (shuffle: boolean) => {
|
||||
ipcRenderer.send('update-shuffle', shuffle);
|
||||
};
|
||||
|
||||
const updateSong = (song: QueueSong | undefined, imageUrl?: null | string) => {
|
||||
ipcRenderer.send('update-song', song, imageUrl);
|
||||
const updateSong = (song: QueueSong | undefined) => {
|
||||
ipcRenderer.send('update-song', song);
|
||||
};
|
||||
|
||||
const requestSeek = (cb: (event: IpcRendererEvent, data: { offset: number }) => void) => {
|
||||
@@ -51,16 +51,11 @@ const requestToggleShuffle = (
|
||||
ipcRenderer.on('mpris-request-toggle-shuffle', cb);
|
||||
};
|
||||
|
||||
const requestVolume = (cb: (event: IpcRendererEvent, data: { volume: number }) => void) => {
|
||||
ipcRenderer.on('request-volume', cb);
|
||||
};
|
||||
|
||||
export const mpris = {
|
||||
requestPosition,
|
||||
requestSeek,
|
||||
requestToggleRepeat,
|
||||
requestToggleShuffle,
|
||||
requestVolume,
|
||||
updatePosition,
|
||||
updateRepeat,
|
||||
updateSeek,
|
||||
|
||||
@@ -98,10 +98,6 @@ const getStreamMetadata = async () => {
|
||||
return ipcRenderer.invoke('player-stream-metadata');
|
||||
};
|
||||
|
||||
const getAudioDevices = async () => {
|
||||
return ipcRenderer.invoke('player-get-audio-devices');
|
||||
};
|
||||
|
||||
const rendererAutoNext = (cb: (event: IpcRendererEvent, data: PlayerData) => void) => {
|
||||
ipcRenderer.on('renderer-player-auto-next', cb);
|
||||
};
|
||||
@@ -178,7 +174,6 @@ export const mpvPlayer = {
|
||||
autoNext,
|
||||
cleanup,
|
||||
currentTime,
|
||||
getAudioDevices,
|
||||
getCurrentTime,
|
||||
getMetadata,
|
||||
getStreamMetadata,
|
||||
|
||||
@@ -73,8 +73,8 @@ const updateShuffle = (shuffle: boolean) => {
|
||||
ipcRenderer.send('update-shuffle', shuffle);
|
||||
};
|
||||
|
||||
const updateSong = (song: QueueSong | undefined, imageUrl?: null | string) => {
|
||||
ipcRenderer.send('update-song', song, imageUrl);
|
||||
const updateSong = (args: QueueSong | undefined) => {
|
||||
ipcRenderer.send('update-song', args);
|
||||
};
|
||||
|
||||
const updateUsername = (username: string) => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { ipcRenderer, IpcRendererEvent, webFrame } from 'electron';
|
||||
import { ipcRenderer, IpcRendererEvent } from 'electron';
|
||||
|
||||
import { disableAutoUpdates, isLinux, isMacOS, isWindows } from '../main/utils';
|
||||
import { isLinux, isMacOS, isWindows } from '../main/utils';
|
||||
|
||||
const openItem = async (path: string) => {
|
||||
return ipcRenderer.invoke('open-item', path);
|
||||
@@ -39,28 +39,8 @@ const download = (url: string) => {
|
||||
ipcRenderer.send('download-url', url);
|
||||
};
|
||||
|
||||
const forceGarbageCollection = (): boolean => {
|
||||
try {
|
||||
if (typeof global.gc === 'function') {
|
||||
global.gc();
|
||||
webFrame.clearCache();
|
||||
return true;
|
||||
}
|
||||
if (typeof window.gc === 'function') {
|
||||
window.gc();
|
||||
webFrame.clearCache();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
export const utils = {
|
||||
disableAutoUpdates,
|
||||
download,
|
||||
forceGarbageCollection,
|
||||
isLinux,
|
||||
isMacOS,
|
||||
isWindows,
|
||||
|
||||
@@ -3,7 +3,7 @@ import { JellyfinController } from '/@/renderer/api/jellyfin/jellyfin-controller
|
||||
import { NavidromeController } from '/@/renderer/api/navidrome/navidrome-controller';
|
||||
import { SubsonicController } from '/@/renderer/api/subsonic/subsonic-controller';
|
||||
import { mergeMusicFolderId } from '/@/renderer/api/utils-music-folder';
|
||||
import { getServerById, useAuthStore, useSettingsStore } from '/@/renderer/store';
|
||||
import { getServerById, useAuthStore } from '/@/renderer/store';
|
||||
import { toast } from '/@/shared/components/toast/toast';
|
||||
import {
|
||||
AuthenticationResponse,
|
||||
@@ -60,22 +60,6 @@ const apiController = <K extends keyof ControllerEndpoint>(
|
||||
return controllerFn;
|
||||
};
|
||||
|
||||
const getPathReplaceSettings = () => {
|
||||
const { pathReplace, pathReplaceWith } = useSettingsStore.getState().general;
|
||||
return { pathReplace, pathReplaceWith };
|
||||
};
|
||||
|
||||
const addContext = <T extends { apiClientProps: any; context?: any }>(args: T): T => {
|
||||
const pathSettings = getPathReplaceSettings();
|
||||
return {
|
||||
...args,
|
||||
context: {
|
||||
...(args.context || {}),
|
||||
...pathSettings,
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
export interface GeneralController extends Omit<Required<ControllerEndpoint>, 'authenticate'> {
|
||||
authenticate: (
|
||||
url: string,
|
||||
@@ -97,7 +81,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'addToPlaylist',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
authenticate(url, body, type) {
|
||||
return apiController('authenticate', type)(url, body);
|
||||
@@ -114,7 +98,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'createFavorite',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
createInternetRadioStation(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -128,7 +112,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'createInternetRadioStation',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
createPlaylist(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -142,7 +126,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'createPlaylist',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
deleteFavorite(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -156,7 +140,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'deleteFavorite',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
deleteInternetRadioStation(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -170,7 +154,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'deleteInternetRadioStation',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
deletePlaylist(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -184,7 +168,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'deletePlaylist',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getAlbumArtistDetail(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -198,7 +182,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getAlbumArtistDetail',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getAlbumArtistList(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -212,13 +196,11 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getAlbumArtistList',
|
||||
server.type,
|
||||
)?.(
|
||||
addContext({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
}),
|
||||
);
|
||||
)?.({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
});
|
||||
},
|
||||
getAlbumArtistListCount(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -232,13 +214,11 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getAlbumArtistListCount',
|
||||
server.type,
|
||||
)?.(
|
||||
addContext({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
}),
|
||||
);
|
||||
)?.({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
});
|
||||
},
|
||||
getAlbumDetail(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -252,7 +232,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getAlbumDetail',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getAlbumInfo(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -266,7 +246,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getAlbumInfo',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getAlbumList(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -280,13 +260,11 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getAlbumList',
|
||||
server.type,
|
||||
)?.(
|
||||
addContext({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
}),
|
||||
);
|
||||
)?.({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
});
|
||||
},
|
||||
getAlbumListCount(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -300,13 +278,11 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getAlbumListCount',
|
||||
server.type,
|
||||
)?.(
|
||||
addContext({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
}),
|
||||
);
|
||||
)?.({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
});
|
||||
},
|
||||
getArtistList(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -320,13 +296,11 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getArtistList',
|
||||
server.type,
|
||||
)?.(
|
||||
addContext({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
}),
|
||||
);
|
||||
)?.({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
});
|
||||
},
|
||||
getArtistListCount(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -340,27 +314,11 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getArtistListCount',
|
||||
server.type,
|
||||
)?.(
|
||||
addContext({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
}),
|
||||
);
|
||||
},
|
||||
getArtistRadio(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
|
||||
if (!server) {
|
||||
throw new Error(
|
||||
`${i18n.t('error.apiRouteError', { postProcess: 'sentenceCase' })}: getArtistRadio`,
|
||||
);
|
||||
}
|
||||
|
||||
return apiController(
|
||||
'getArtistRadio',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
});
|
||||
},
|
||||
getDownloadUrl(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -374,7 +332,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getDownloadUrl',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getFolder(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -388,13 +346,11 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getFolder',
|
||||
server.type,
|
||||
)?.(
|
||||
addContext({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
}),
|
||||
);
|
||||
)?.({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
});
|
||||
},
|
||||
getGenreList(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -408,32 +364,11 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getGenreList',
|
||||
server.type,
|
||||
)?.(
|
||||
addContext({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
}),
|
||||
);
|
||||
},
|
||||
getImageUrl(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
|
||||
if (!server) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
apiController(
|
||||
'getImageUrl',
|
||||
server.type,
|
||||
)?.(
|
||||
addContext({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
}),
|
||||
) || null
|
||||
);
|
||||
)?.({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
});
|
||||
},
|
||||
getInternetRadioStations(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -446,7 +381,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getInternetRadioStations',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getLyrics(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -460,7 +395,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getLyrics',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getMusicFolderList(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -474,7 +409,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getMusicFolderList',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getPlaylistDetail(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -488,7 +423,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getPlaylistDetail',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getPlaylistList(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -502,7 +437,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getPlaylistList',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getPlaylistListCount(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -516,7 +451,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getPlaylistListCount',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getPlaylistSongList(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -530,7 +465,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getPlaylistSongList',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getPlayQueue(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -544,7 +479,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getPlayQueue',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getRandomSongList(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -558,13 +493,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getRandomSongList',
|
||||
server.type,
|
||||
)?.(
|
||||
addContext({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
}),
|
||||
);
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getRoles(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -578,7 +507,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getRoles',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getServerInfo(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -592,7 +521,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getServerInfo',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getSimilarSongs(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -606,13 +535,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getSimilarSongs',
|
||||
server.type,
|
||||
)?.(
|
||||
addContext({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
}),
|
||||
);
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getSongDetail(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -626,7 +549,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getSongDetail',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getSongList(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -640,13 +563,11 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getSongList',
|
||||
server.type,
|
||||
)?.(
|
||||
addContext({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
}),
|
||||
);
|
||||
)?.({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
});
|
||||
},
|
||||
getSongListCount(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -660,13 +581,11 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getSongListCount',
|
||||
server.type,
|
||||
)?.(
|
||||
addContext({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
}),
|
||||
);
|
||||
)?.({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
});
|
||||
},
|
||||
getStreamUrl(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -678,7 +597,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getStreamUrl',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getStructuredLyrics(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -692,7 +611,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getStructuredLyrics',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getTagList(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -706,7 +625,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getTagList',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getTopSongs(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -720,7 +639,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getTopSongs',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getUserInfo(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -734,7 +653,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getUserInfo',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
getUserList(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -748,7 +667,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'getUserList',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
movePlaylistItem(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -762,7 +681,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'movePlaylistItem',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
removeFromPlaylist(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -776,7 +695,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'removeFromPlaylist',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
replacePlaylist(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -790,7 +709,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'replacePlaylist',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
savePlayQueue(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -804,7 +723,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'savePlayQueue',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
scrobble(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -818,7 +737,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'scrobble',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
search(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -832,13 +751,11 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'search',
|
||||
server.type,
|
||||
)?.(
|
||||
addContext({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
}),
|
||||
);
|
||||
)?.({
|
||||
...args,
|
||||
apiClientProps: { ...args.apiClientProps, server },
|
||||
query: mergeMusicFolderId(args.query, server),
|
||||
});
|
||||
},
|
||||
setRating(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -852,7 +769,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'setRating',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
shareItem(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -866,7 +783,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'shareItem',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
updateInternetRadioStation(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -880,7 +797,7 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'updateInternetRadioStation',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
updatePlaylist(args) {
|
||||
const server = getServerById(args.apiClientProps.serverId);
|
||||
@@ -894,6 +811,6 @@ export const controller: GeneralController = {
|
||||
return apiController(
|
||||
'updatePlaylist',
|
||||
server.type,
|
||||
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
|
||||
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
|
||||
},
|
||||
};
|
||||
|
||||
@@ -9,7 +9,6 @@ import packageJson from '../../../../package.json';
|
||||
import i18n from '/@/i18n/i18n';
|
||||
import { authenticationFailure } from '/@/renderer/api/utils';
|
||||
import { useAuthStore } from '/@/renderer/store';
|
||||
import { getServerUrl } from '/@/renderer/utils/normalize-server-url';
|
||||
import { jfType } from '/@/shared/api/jellyfin/jellyfin-types';
|
||||
import { getClientType } from '/@/shared/api/utils';
|
||||
import { ServerListItemWithCredential } from '/@/shared/types/domain-types';
|
||||
@@ -248,15 +247,6 @@ export const contract = c.router({
|
||||
404: jfType._response.error,
|
||||
},
|
||||
},
|
||||
getStudioList: {
|
||||
method: 'GET',
|
||||
path: 'studios',
|
||||
query: jfType._parameters.studioList,
|
||||
responses: {
|
||||
200: jfType._response.studioList,
|
||||
400: jfType._response.error,
|
||||
},
|
||||
},
|
||||
getTopSongsList: {
|
||||
method: 'GET',
|
||||
path: 'users/:userId/items',
|
||||
@@ -418,8 +408,7 @@ export const jfApiClient = (args: {
|
||||
const { params, path: api } = parsePath(path);
|
||||
|
||||
if (server) {
|
||||
const serverUrl = getServerUrl(server);
|
||||
baseUrl = serverUrl;
|
||||
baseUrl = `${server?.url}`;
|
||||
token = server?.credential;
|
||||
} else {
|
||||
baseUrl = url;
|
||||
|
||||
@@ -6,7 +6,6 @@ import { z } from 'zod';
|
||||
|
||||
import { jfApiClient } from '/@/renderer/api/jellyfin/jellyfin-api';
|
||||
import { useRadioStore } from '/@/renderer/features/radio/store/radio-store';
|
||||
import { getServerUrl } from '/@/renderer/utils/normalize-server-url';
|
||||
import { jfNormalize } from '/@/shared/api/jellyfin/jellyfin-normalize';
|
||||
import { JFSongListSort, JFSortOrder, jfType } from '/@/shared/api/jellyfin/jellyfin-types';
|
||||
import { getFeatures, hasFeature, sortSongList, VersionInfo } from '/@/shared/api/utils';
|
||||
@@ -25,7 +24,6 @@ import {
|
||||
songListSortMap,
|
||||
SortOrder,
|
||||
sortOrderMap,
|
||||
Tag,
|
||||
} from '/@/shared/types/domain-types';
|
||||
import { ServerFeature } from '/@/shared/types/features-types';
|
||||
|
||||
@@ -219,25 +217,24 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
throw new Error('No userId found');
|
||||
}
|
||||
|
||||
const [res, similarArtistsRes] = await Promise.all([
|
||||
jfApiClient(apiClientProps).getAlbumArtistDetail({
|
||||
params: {
|
||||
id: query.id,
|
||||
userId: apiClientProps.server?.userId,
|
||||
},
|
||||
query: {
|
||||
Fields: 'Genres, Overview',
|
||||
},
|
||||
}),
|
||||
jfApiClient(apiClientProps).getSimilarArtistList({
|
||||
params: {
|
||||
id: query.id,
|
||||
},
|
||||
query: {
|
||||
Limit: 10,
|
||||
},
|
||||
}),
|
||||
]);
|
||||
const res = await jfApiClient(apiClientProps).getAlbumArtistDetail({
|
||||
params: {
|
||||
id: query.id,
|
||||
userId: apiClientProps.server?.userId,
|
||||
},
|
||||
query: {
|
||||
Fields: 'Genres, Overview',
|
||||
},
|
||||
});
|
||||
|
||||
const similarArtistsRes = await jfApiClient(apiClientProps).getSimilarArtistList({
|
||||
params: {
|
||||
id: query.id,
|
||||
},
|
||||
query: {
|
||||
Limit: 10,
|
||||
},
|
||||
});
|
||||
|
||||
if (res.status !== 200 || similarArtistsRes.status !== 200) {
|
||||
throw new Error('Failed to get album artist detail');
|
||||
@@ -363,11 +360,11 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
},
|
||||
query: {
|
||||
...artistQuery,
|
||||
Fields: 'People, Tags, Studios',
|
||||
Fields: 'People, Tags',
|
||||
GenreIds: query.genreIds ? query.genreIds.join(',') : undefined,
|
||||
IncludeItemTypes: 'MusicAlbum',
|
||||
IsFavorite: query.favorite,
|
||||
Limit: query.limit === -1 ? undefined : query.limit,
|
||||
Limit: query.limit,
|
||||
ParentId: getLibraryId(query.musicFolderId),
|
||||
Recursive: true,
|
||||
SearchTerm: query.searchTerm,
|
||||
@@ -429,38 +426,10 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
apiClientProps,
|
||||
query: { ...query, limit: 1, startIndex: 0 },
|
||||
}).then((result) => result!.totalRecordCount!),
|
||||
getArtistRadio: async (args) => {
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
// For Jellyfin, use instant mix for artist radio
|
||||
const res = await jfApiClient(apiClientProps).getInstantMix({
|
||||
params: {
|
||||
itemId: query.artistId,
|
||||
},
|
||||
query: {
|
||||
Fields: 'Genres, DateCreated, MediaSources, ParentId',
|
||||
Limit: query.count,
|
||||
UserId: apiClientProps.server?.userId || undefined,
|
||||
},
|
||||
});
|
||||
|
||||
if (res.status !== 200) {
|
||||
throw new Error('Failed to get artist radio songs');
|
||||
}
|
||||
|
||||
return res.body.Items.map((song) =>
|
||||
jfNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
);
|
||||
},
|
||||
getDownloadUrl: (args) => {
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
return `${apiClientProps.server?.url}/items/${query.id}/download?apiKey=${apiClientProps.server?.credential}`;
|
||||
return `${apiClientProps.server?.url}/items/${query.id}/download?api_key=${apiClientProps.server?.credential}`;
|
||||
},
|
||||
getFolder: async ({ apiClientProps, query }) => {
|
||||
const userId = apiClientProps.server?.userId;
|
||||
@@ -701,23 +670,6 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
totalRecordCount: res.body?.TotalRecordCount || 0,
|
||||
};
|
||||
},
|
||||
getImageUrl: ({ apiClientProps: { server }, baseUrl, query }) => {
|
||||
const { id, size } = query;
|
||||
const imageSize = size;
|
||||
const url = baseUrl || getServerUrl(server);
|
||||
|
||||
if (!url) {
|
||||
return null;
|
||||
}
|
||||
|
||||
// For Jellyfin, we construct the URL pattern
|
||||
// The server will return a 404 or placeholder if no image exists
|
||||
const imageUrl = `${url}/Items/${id}/Images/Primary?quality=96${imageSize ? `&width=${imageSize}` : ''}`;
|
||||
|
||||
// For songs, we might want to fall back to album art, but we don't have albumId here
|
||||
// The caller can handle this if needed
|
||||
return imageUrl;
|
||||
},
|
||||
getInternetRadioStations: async (args) => {
|
||||
const { apiClientProps } = args;
|
||||
|
||||
@@ -866,14 +818,7 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
}
|
||||
|
||||
return {
|
||||
items: res.body.Items.map((item) =>
|
||||
jfNormalize.song(
|
||||
item,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
),
|
||||
items: res.body.Items.map((item) => jfNormalize.song(item, apiClientProps.server)),
|
||||
startIndex: 0,
|
||||
totalRecordCount: res.body.TotalRecordCount,
|
||||
};
|
||||
@@ -926,14 +871,7 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
}
|
||||
|
||||
return {
|
||||
items: res.body.Items.map((item) =>
|
||||
jfNormalize.song(
|
||||
item,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
),
|
||||
items: res.body.Items.map((item) => jfNormalize.song(item, apiClientProps.server)),
|
||||
startIndex: 0,
|
||||
totalRecordCount: res.body.Items.length || 0,
|
||||
};
|
||||
@@ -948,12 +886,7 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
throw new Error('Failed to get server info');
|
||||
}
|
||||
|
||||
const defaultFeatures = {};
|
||||
|
||||
const features = {
|
||||
...defaultFeatures,
|
||||
...getFeatures(VERSION_INFO, res.body.Version),
|
||||
};
|
||||
const features = getFeatures(VERSION_INFO, res.body.Version);
|
||||
|
||||
return {
|
||||
features,
|
||||
@@ -983,14 +916,7 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
if (res.status === 200 && res.body.Items.length) {
|
||||
const results = res.body.Items.reduce<Song[]>((acc, song) => {
|
||||
if (song.Id !== query.songId) {
|
||||
acc.push(
|
||||
jfNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
);
|
||||
acc.push(jfNormalize.song(song, apiClientProps.server));
|
||||
}
|
||||
|
||||
return acc;
|
||||
@@ -1019,14 +945,7 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
|
||||
return mix.body.Items.reduce<Song[]>((acc, song) => {
|
||||
if (song.Id !== query.songId) {
|
||||
acc.push(
|
||||
jfNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
);
|
||||
acc.push(jfNormalize.song(song, apiClientProps.server));
|
||||
}
|
||||
|
||||
return acc;
|
||||
@@ -1046,12 +965,7 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
throw new Error('Failed to get song detail');
|
||||
}
|
||||
|
||||
return jfNormalize.song(
|
||||
res.body,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
);
|
||||
return jfNormalize.song(res.body, apiClientProps.server);
|
||||
},
|
||||
getSongList: async (args) => {
|
||||
const { apiClientProps, query } = args;
|
||||
@@ -1120,19 +1034,19 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
? formatCommaDelimitedString(query.albumIds)
|
||||
: undefined;
|
||||
|
||||
const parentIdFilter = [albumIdsFilter, artistIdsFilter].filter(Boolean).join(',');
|
||||
|
||||
const res = await jfApiClient(apiClientProps).getSongList({
|
||||
params: {
|
||||
userId: apiClientProps.server?.userId,
|
||||
},
|
||||
query: {
|
||||
AlbumIds: albumIdsFilter,
|
||||
ArtistIds: artistIdsFilter,
|
||||
Fields: 'Genres, DateCreated, MediaSources, ParentId, People, Tags',
|
||||
GenreIds: query.genreIds?.join(','),
|
||||
IncludeItemTypes: 'Audio',
|
||||
IsFavorite: query.favorite,
|
||||
Limit: query.limit,
|
||||
ParentId: getLibraryId(query.musicFolderId),
|
||||
ParentId: parentIdFilter,
|
||||
Recursive: true,
|
||||
SearchTerm: query.searchTerm,
|
||||
SortBy: songListSortMap.jellyfin[query.sortBy] || 'Album,SortName',
|
||||
@@ -1164,12 +1078,7 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
|
||||
return {
|
||||
items: items.map((item) =>
|
||||
jfNormalize.song(
|
||||
item,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
jfNormalize.song(item, apiClientProps.server, query.imageSize),
|
||||
),
|
||||
startIndex: query.startIndex,
|
||||
totalRecordCount,
|
||||
@@ -1184,7 +1093,7 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
const { bitrate, format, id, transcode } = query;
|
||||
const deviceId = '';
|
||||
|
||||
let url = `${server?.url}/Items/${id}/Download?apiKey=${server?.credential}&playSessionId=${deviceId}`;
|
||||
let url = `${server?.url}/Items/${id}/Download?api_key=${server?.credential}&playSessionId=${deviceId}`;
|
||||
|
||||
if (transcode) {
|
||||
// Some format appears to be required. Fall back to trusty MP3 if not specified
|
||||
@@ -1234,40 +1143,12 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
throw new Error('failed to get tags');
|
||||
}
|
||||
|
||||
const studioRes = await jfApiClient(apiClientProps).getStudioList({
|
||||
query: {
|
||||
EnableTotalRecordCount: true,
|
||||
IncludeItemTypes: query.type === LibraryItem.SONG ? 'Audio' : 'MusicAlbum',
|
||||
ParentId: query.folder,
|
||||
},
|
||||
});
|
||||
|
||||
if (studioRes.status !== 200) {
|
||||
throw new Error('failed to get studios');
|
||||
}
|
||||
|
||||
const tags: Tag[] = [];
|
||||
if (res.body.Tags?.length) {
|
||||
tags.push({
|
||||
name: 'Tags',
|
||||
options: res.body.Tags.sort((a, b) =>
|
||||
a
|
||||
.toLocaleLowerCase()
|
||||
.localeCompare(b.toLocaleLowerCase(), undefined, { numeric: true }),
|
||||
).map((tag) => ({ id: tag, name: tag })),
|
||||
});
|
||||
}
|
||||
|
||||
if (studioRes.body.Items.length) {
|
||||
tags.push({
|
||||
name: 'Studios',
|
||||
options: studioRes.body.Items.sort((a, b) =>
|
||||
a.Name.toLocaleLowerCase().localeCompare(b.Name.toLocaleLowerCase()),
|
||||
).map((option) => ({ id: option.Name, name: option.Name })),
|
||||
});
|
||||
}
|
||||
|
||||
return { excluded: { album: [], song: [] }, tags };
|
||||
return {
|
||||
boolTags: res.body.Tags?.sort((a, b) =>
|
||||
a.toLocaleLowerCase().localeCompare(b.toLocaleLowerCase()),
|
||||
),
|
||||
excluded: { album: [], song: [] },
|
||||
};
|
||||
},
|
||||
getTopSongs: async (args) => {
|
||||
const { apiClientProps, query } = args;
|
||||
@@ -1297,14 +1178,7 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
}
|
||||
|
||||
return {
|
||||
items: res.body.Items.map((item) =>
|
||||
jfNormalize.song(
|
||||
item,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
),
|
||||
items: res.body.Items.map((item) => jfNormalize.song(item, apiClientProps.server)),
|
||||
startIndex: 0,
|
||||
totalRecordCount: res.body.TotalRecordCount,
|
||||
};
|
||||
@@ -1328,6 +1202,9 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
name: res.body.Name,
|
||||
};
|
||||
},
|
||||
jukeboxControl: async () => {
|
||||
throw new Error('Not implemented');
|
||||
},
|
||||
movePlaylistItem: async (args) => {
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
@@ -1389,12 +1266,7 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
}
|
||||
|
||||
const existingSongs = existingSongsRes.body.Items.map((item) =>
|
||||
jfNormalize.song(
|
||||
item,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
jfNormalize.song(item, apiClientProps.server),
|
||||
);
|
||||
|
||||
// 2. Get playlist detail to get the name
|
||||
@@ -1634,14 +1506,7 @@ export const JellyfinController: InternalControllerEndpoint = {
|
||||
jfNormalize.albumArtist(item, apiClientProps.server),
|
||||
),
|
||||
albums: albums.map((item) => jfNormalize.album(item, apiClientProps.server)),
|
||||
songs: songs.map((item) =>
|
||||
jfNormalize.song(
|
||||
item,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
),
|
||||
songs: songs.map((item) => jfNormalize.song(item, apiClientProps.server)),
|
||||
};
|
||||
},
|
||||
updateInternetRadioStation: async (args) => {
|
||||
|
||||
@@ -8,7 +8,6 @@ import qs from 'qs';
|
||||
import i18n from '/@/i18n/i18n';
|
||||
import { authenticationFailure } from '/@/renderer/api/utils';
|
||||
import { useAuthStore } from '/@/renderer/store';
|
||||
import { getServerUrl } from '/@/renderer/utils/normalize-server-url';
|
||||
import { ndType } from '/@/shared/api/navidrome/navidrome-types';
|
||||
import { resultWithHeaders } from '/@/shared/api/utils';
|
||||
import { toast } from '/@/shared/components/toast/toast';
|
||||
@@ -412,8 +411,7 @@ export const ndApiClient = (args: {
|
||||
const { params, path: api } = parsePath(path);
|
||||
|
||||
if (server) {
|
||||
const serverUrl = getServerUrl(server);
|
||||
baseUrl = serverUrl ? `${serverUrl}/api` : undefined;
|
||||
baseUrl = `${server?.url}/api`;
|
||||
token = server?.ndCredential;
|
||||
} else {
|
||||
baseUrl = url;
|
||||
|
||||
@@ -59,17 +59,19 @@ const EXCLUDED_ALBUM_TAGS = new Set<string>([
|
||||
'asin',
|
||||
'barcode',
|
||||
'copyright',
|
||||
'disctotal',
|
||||
'encodedby',
|
||||
'isrc',
|
||||
'key',
|
||||
'language',
|
||||
'musicbrainz_workid',
|
||||
'script',
|
||||
'tracktotal',
|
||||
'website',
|
||||
'work',
|
||||
]);
|
||||
|
||||
const EXCLUDED_SONG_TAGS = new Set<string>(['disctotal', 'tracktotal']);
|
||||
const EXCLUDED_SONG_TAGS = new Set<string>([]);
|
||||
|
||||
// Tags that use IDs as values as opposed to the tag value
|
||||
const ID_TAGS = new Set<string>(['albumversion', 'mood']);
|
||||
@@ -182,19 +184,18 @@ export const NavidromeController: InternalControllerEndpoint = {
|
||||
getAlbumArtistDetail: async (args) => {
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
const [res, artistInfoRes] = await Promise.all([
|
||||
ndApiClient(apiClientProps).getAlbumArtistDetail({
|
||||
params: {
|
||||
id: query.id,
|
||||
},
|
||||
}),
|
||||
ssApiClient(apiClientProps).getArtistInfo({
|
||||
query: {
|
||||
count: 10,
|
||||
id: query.id,
|
||||
},
|
||||
}),
|
||||
]);
|
||||
const res = await ndApiClient(apiClientProps).getAlbumArtistDetail({
|
||||
params: {
|
||||
id: query.id,
|
||||
},
|
||||
});
|
||||
|
||||
const artistInfoRes = await ssApiClient(apiClientProps).getArtistInfo({
|
||||
query: {
|
||||
count: 10,
|
||||
id: query.id,
|
||||
},
|
||||
});
|
||||
|
||||
if (res.status !== 200) {
|
||||
throw new Error('Failed to get album artist detail');
|
||||
@@ -266,7 +267,7 @@ export const NavidromeController: InternalControllerEndpoint = {
|
||||
query: { ...query, limit: 1, startIndex: 0 },
|
||||
}).then((result) => result!.totalRecordCount!),
|
||||
getAlbumDetail: async (args) => {
|
||||
const { apiClientProps, context, query } = args;
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
const albumRes = await ndApiClient(apiClientProps).getAlbumDetail({
|
||||
params: {
|
||||
@@ -292,8 +293,6 @@ export const NavidromeController: InternalControllerEndpoint = {
|
||||
return ndNormalize.album(
|
||||
{ ...albumRes.body.data, songs: songsData.body.data },
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
);
|
||||
},
|
||||
getAlbumInfo: async (args) => {
|
||||
@@ -317,23 +316,19 @@ export const NavidromeController: InternalControllerEndpoint = {
|
||||
};
|
||||
},
|
||||
getAlbumList: async (args) => {
|
||||
const { apiClientProps, context, query } = args;
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
const genres = hasFeature(apiClientProps.server, ServerFeature.BFR)
|
||||
? query.genreIds
|
||||
: query.genreIds?.[0];
|
||||
|
||||
const artistIds = hasFeature(apiClientProps.server, ServerFeature.BFR)
|
||||
? query.artistIds
|
||||
: query.artistIds?.[0];
|
||||
|
||||
const res = await ndApiClient(apiClientProps).getAlbumList({
|
||||
query: {
|
||||
_end: query.startIndex + (query.limit || 0),
|
||||
_order: sortOrderMap.navidrome[query.sortOrder],
|
||||
_sort: albumListSortMap.navidrome[query.sortBy],
|
||||
_start: query.startIndex,
|
||||
artist_id: artistIds,
|
||||
artist_id: query.artistIds?.[0],
|
||||
compilation: query.compilation,
|
||||
genre_id: genres,
|
||||
has_rating: query.hasRating,
|
||||
@@ -352,14 +347,7 @@ export const NavidromeController: InternalControllerEndpoint = {
|
||||
}
|
||||
|
||||
return {
|
||||
items: res.body.data.map((album) =>
|
||||
ndNormalize.album(
|
||||
album,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
),
|
||||
),
|
||||
items: res.body.data.map((album) => ndNormalize.album(album, apiClientProps.server)),
|
||||
startIndex: query?.startIndex || 0,
|
||||
totalRecordCount: Number(res.body.headers.get('x-total-count') || 0),
|
||||
};
|
||||
@@ -413,32 +401,6 @@ export const NavidromeController: InternalControllerEndpoint = {
|
||||
apiClientProps,
|
||||
query: { ...query, limit: 1, startIndex: 0 },
|
||||
}).then((result) => result!.totalRecordCount!),
|
||||
getArtistRadio: async (args) => {
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
// Use getSimilarSongs2 API for artist radio
|
||||
const res = await ssApiClient({
|
||||
...apiClientProps,
|
||||
silent: true,
|
||||
}).getSimilarSongs2({
|
||||
query: {
|
||||
count: query.count,
|
||||
id: query.artistId,
|
||||
},
|
||||
});
|
||||
|
||||
if (res.status !== 200) {
|
||||
throw new Error('Failed to get artist radio songs');
|
||||
}
|
||||
|
||||
if (!res.body.similarSongs2?.song) {
|
||||
return [];
|
||||
}
|
||||
|
||||
return res.body.similarSongs2.song.map((song) =>
|
||||
ssNormalize.song(song, apiClientProps.server),
|
||||
);
|
||||
},
|
||||
getDownloadUrl: SubsonicController.getDownloadUrl,
|
||||
getFolder: SubsonicController.getFolder,
|
||||
getGenreList: async (args) => {
|
||||
@@ -499,7 +461,6 @@ export const NavidromeController: InternalControllerEndpoint = {
|
||||
totalRecordCount: Number(res.body.headers.get('x-total-count') || 0),
|
||||
};
|
||||
},
|
||||
getImageUrl: SubsonicController.getImageUrl,
|
||||
getInternetRadioStations: SubsonicController.getInternetRadioStations,
|
||||
getLyrics: SubsonicController.getLyrics,
|
||||
getMusicFolderList: SubsonicController.getMusicFolderList,
|
||||
@@ -567,14 +528,7 @@ export const NavidromeController: InternalControllerEndpoint = {
|
||||
}
|
||||
|
||||
return {
|
||||
items: res.body.data.map((item) =>
|
||||
ndNormalize.song(
|
||||
item,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
),
|
||||
items: res.body.data.map((item) => ndNormalize.song(item, apiClientProps.server)),
|
||||
startIndex: 0,
|
||||
totalRecordCount: Number(res.body.headers.get('x-total-count') || 0),
|
||||
};
|
||||
@@ -591,14 +545,7 @@ export const NavidromeController: InternalControllerEndpoint = {
|
||||
|
||||
const { changedBy, current, items, position, updatedAt } = res.body.data;
|
||||
|
||||
const entries = items.map((song) =>
|
||||
ndNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
);
|
||||
const entries = items.map((song) => ndNormalize.song(song, apiClientProps.server));
|
||||
|
||||
return {
|
||||
changed: updatedAt,
|
||||
@@ -635,6 +582,7 @@ export const NavidromeController: InternalControllerEndpoint = {
|
||||
const features = {
|
||||
...subsonicArgs.features,
|
||||
...navidromeFeatures,
|
||||
jukebox: [1],
|
||||
publicPlaylist: [1],
|
||||
[ServerFeature.MUSIC_FOLDER_MULTISELECT]: [1],
|
||||
};
|
||||
@@ -689,12 +637,7 @@ export const NavidromeController: InternalControllerEndpoint = {
|
||||
throw new Error('Failed to get song detail');
|
||||
}
|
||||
|
||||
return ndNormalize.song(
|
||||
res.body.data,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
);
|
||||
return ndNormalize.song(res.body.data, apiClientProps.server);
|
||||
},
|
||||
getSongList: async (args) => {
|
||||
const { apiClientProps, query } = args;
|
||||
@@ -723,12 +666,7 @@ export const NavidromeController: InternalControllerEndpoint = {
|
||||
|
||||
return {
|
||||
items: res.body.data.map((song) =>
|
||||
ndNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
ndNormalize.song(song, apiClientProps.server, query.imageSize),
|
||||
),
|
||||
startIndex: query?.startIndex || 0,
|
||||
totalRecordCount: Number(res.body.headers.get('x-total-count') || 0),
|
||||
@@ -745,7 +683,7 @@ export const NavidromeController: InternalControllerEndpoint = {
|
||||
const { apiClientProps } = args;
|
||||
|
||||
if (!hasFeature(apiClientProps.server, ServerFeature.TAGS)) {
|
||||
return { excluded: { album: [], song: [] } };
|
||||
return { boolTags: undefined, enumTags: undefined, excluded: { album: [], song: [] } };
|
||||
}
|
||||
|
||||
const res = await ndApiClient(apiClientProps).getTagList({
|
||||
@@ -776,16 +714,12 @@ export const NavidromeController: InternalControllerEndpoint = {
|
||||
}
|
||||
}
|
||||
|
||||
const tags = Array.from(tagsToValues)
|
||||
const enumTags = Array.from(tagsToValues)
|
||||
.map((data) => ({
|
||||
name: data[0],
|
||||
options: data[1]
|
||||
.sort((a, b) =>
|
||||
a.name
|
||||
.toLocaleLowerCase()
|
||||
.localeCompare(b.name.toLocaleLowerCase(), undefined, {
|
||||
numeric: true,
|
||||
}),
|
||||
a.name.toLocaleLowerCase().localeCompare(b.name.toLocaleLowerCase()),
|
||||
)
|
||||
.map((option) => ({ id: option.id, name: option.name })),
|
||||
}))
|
||||
@@ -795,11 +729,12 @@ export const NavidromeController: InternalControllerEndpoint = {
|
||||
const excludedSongTags = Array.from(EXCLUDED_SONG_TAGS.values());
|
||||
|
||||
return {
|
||||
boolTags: undefined,
|
||||
enumTags,
|
||||
excluded: {
|
||||
album: excludedAlbumTags,
|
||||
song: excludedSongTags,
|
||||
},
|
||||
tags,
|
||||
};
|
||||
},
|
||||
getTopSongs: SubsonicController.getTopSongs,
|
||||
@@ -827,6 +762,7 @@ export const NavidromeController: InternalControllerEndpoint = {
|
||||
totalRecordCount: Number(res.body.headers.get('x-total-count') || 0),
|
||||
};
|
||||
},
|
||||
jukeboxControl: SubsonicController.jukeboxControl,
|
||||
movePlaylistItem: async (args) => {
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
@@ -883,12 +819,7 @@ export const NavidromeController: InternalControllerEndpoint = {
|
||||
}
|
||||
|
||||
const existingSongs = existingSongsRes.body.data.map((item) =>
|
||||
ndNormalize.song(
|
||||
item,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
ndNormalize.song(item, apiClientProps.server),
|
||||
);
|
||||
|
||||
// 2. Get playlist detail to get the name
|
||||
|
||||
@@ -4,9 +4,9 @@ import type {
|
||||
AlbumDetailQuery,
|
||||
AlbumListQuery,
|
||||
ArtistListQuery,
|
||||
ArtistRadioQuery,
|
||||
FolderQuery,
|
||||
GenreListQuery,
|
||||
JukeboxControlQuery,
|
||||
LyricSearchQuery,
|
||||
LyricsQuery,
|
||||
PlaylistDetailQuery,
|
||||
@@ -263,6 +263,12 @@ export const queryKeys: Record<
|
||||
},
|
||||
root: (serverId: string) => [serverId, 'genres'] as const,
|
||||
},
|
||||
jukebox: {
|
||||
control: (serverId: string, query?: JukeboxControlQuery) => {
|
||||
if (query) return [serverId, 'jukebox', 'control', query] as const;
|
||||
return [serverId, 'jukebox', 'control'] as const;
|
||||
},
|
||||
},
|
||||
musicFolders: {
|
||||
list: (serverId: string) => [serverId, 'musicFolders', 'list'] as const,
|
||||
},
|
||||
@@ -341,10 +347,6 @@ export const queryKeys: Record<
|
||||
root: (serverId: string) => [serverId] as const,
|
||||
},
|
||||
songs: {
|
||||
artistRadio: (serverId: string, query?: ArtistRadioQuery) => {
|
||||
if (query) return [serverId, 'songs', 'artistRadio', query] as const;
|
||||
return [serverId, 'songs', 'artistRadio'] as const;
|
||||
},
|
||||
count: (serverId: string, query?: SongListQuery) => {
|
||||
const { filter, pagination } = splitPaginatedQuery(query);
|
||||
if (query && pagination) {
|
||||
@@ -364,18 +366,6 @@ export const queryKeys: Record<
|
||||
|
||||
return [serverId, 'songs', 'detail'] as const;
|
||||
},
|
||||
infiniteList: (serverId: string, query?: SongListQuery) => {
|
||||
const { filter, pagination } = splitPaginatedQuery(query);
|
||||
if (query && pagination) {
|
||||
return [serverId, 'songs', 'infiniteList', filter, pagination] as const;
|
||||
}
|
||||
|
||||
if (query) {
|
||||
return [serverId, 'songs', 'infiniteList', filter] as const;
|
||||
}
|
||||
|
||||
return [serverId, 'songs', 'infiniteList'] as const;
|
||||
},
|
||||
list: (serverId: string, query?: SongListQuery) => {
|
||||
const { filter, pagination } = splitPaginatedQuery(query);
|
||||
if (query && pagination) {
|
||||
@@ -403,15 +393,7 @@ export const queryKeys: Record<
|
||||
if (query) return [serverId, 'songs', 'randomSongList', query] as const;
|
||||
return [serverId, 'songs', 'randomSongList'] as const;
|
||||
},
|
||||
remoteLyrics: (serverId: string, query?: LyricsQuery) => {
|
||||
if (query) return [serverId, 'song', 'lyrics', 'remote', query] as const;
|
||||
return [serverId, 'song', 'lyrics', 'remote'] as const;
|
||||
},
|
||||
root: (serverId: string) => [serverId, 'songs'] as const,
|
||||
serverLyrics: (serverId: string, query?: LyricsQuery) => {
|
||||
if (query) return [serverId, 'song', 'lyrics', 'server', query] as const;
|
||||
return [serverId, 'song', 'lyrics', 'server'] as const;
|
||||
},
|
||||
similar: (serverId: string, query?: SimilarSongsQuery) => {
|
||||
if (query) return [serverId, 'song', 'similar', query] as const;
|
||||
return [serverId, 'song', 'similar'] as const;
|
||||
|
||||
@@ -5,7 +5,6 @@ import qs from 'qs';
|
||||
import { z } from 'zod';
|
||||
|
||||
import i18n from '/@/i18n/i18n';
|
||||
import { getServerUrl } from '/@/renderer/utils/normalize-server-url';
|
||||
import { ssType } from '/@/shared/api/subsonic/subsonic-types';
|
||||
import { hasFeature } from '/@/shared/api/utils';
|
||||
import { toast } from '/@/shared/components/toast/toast';
|
||||
@@ -202,14 +201,6 @@ export const contract = c.router({
|
||||
200: ssType._response.similarSongs,
|
||||
},
|
||||
},
|
||||
getSimilarSongs2: {
|
||||
method: 'GET',
|
||||
path: 'getSimilarSongs2',
|
||||
query: ssType._parameters.similarSongs2,
|
||||
responses: {
|
||||
200: ssType._response.similarSongs2,
|
||||
},
|
||||
},
|
||||
getSong: {
|
||||
method: 'GET',
|
||||
path: 'getSong.view',
|
||||
@@ -258,6 +249,14 @@ export const contract = c.router({
|
||||
200: ssType._response.user,
|
||||
},
|
||||
},
|
||||
jukeboxControl: {
|
||||
method: 'GET',
|
||||
path: 'jukeboxControl.view',
|
||||
query: ssType._parameters.jukeboxControl,
|
||||
responses: {
|
||||
200: ssType._response.jukeboxPlaylist,
|
||||
},
|
||||
},
|
||||
ping: {
|
||||
method: 'GET',
|
||||
path: 'ping.view',
|
||||
@@ -399,8 +398,7 @@ export const ssApiClient = (args: {
|
||||
const { params, path: api } = parsePath(path);
|
||||
|
||||
if (server) {
|
||||
const serverUrl = getServerUrl(server);
|
||||
baseUrl = serverUrl ? `${serverUrl}/rest` : undefined;
|
||||
baseUrl = `${server.url}/rest`;
|
||||
const token = server.credential;
|
||||
const params = token.split(/&?\w=/gm);
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@ import { z } from 'zod';
|
||||
|
||||
import { contract, ssApiClient } from '/@/renderer/api/subsonic/subsonic-api';
|
||||
import { randomString } from '/@/renderer/utils';
|
||||
import { getServerUrl } from '/@/renderer/utils/normalize-server-url';
|
||||
import { ssNormalize } from '/@/shared/api/subsonic/subsonic-normalize';
|
||||
import {
|
||||
AlbumListSortType,
|
||||
@@ -156,10 +155,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
const res = await ssApiClient(apiClientProps).createFavorite({
|
||||
query: {
|
||||
albumId: query.type === LibraryItem.ALBUM ? query.id : undefined,
|
||||
artistId:
|
||||
query.type === LibraryItem.ALBUM_ARTIST || query.type === LibraryItem.ARTIST
|
||||
? query.id
|
||||
: undefined,
|
||||
artistId: query.type === LibraryItem.ALBUM_ARTIST ? query.id : undefined,
|
||||
id: query.type === LibraryItem.SONG ? query.id : undefined,
|
||||
},
|
||||
});
|
||||
@@ -209,10 +205,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
const res = await ssApiClient(apiClientProps).removeFavorite({
|
||||
query: {
|
||||
albumId: query.type === LibraryItem.ALBUM ? query.id : undefined,
|
||||
artistId:
|
||||
query.type === LibraryItem.ALBUM_ARTIST || query.type === LibraryItem.ARTIST
|
||||
? query.id
|
||||
: undefined,
|
||||
artistId: query.type === LibraryItem.ALBUM_ARTIST ? query.id : undefined,
|
||||
id: query.type === LibraryItem.SONG ? query.id : undefined,
|
||||
},
|
||||
});
|
||||
@@ -256,18 +249,17 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
getAlbumArtistDetail: async (args) => {
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
const [artistInfoRes, res] = await Promise.all([
|
||||
ssApiClient(apiClientProps).getArtistInfo({
|
||||
query: {
|
||||
id: query.id,
|
||||
},
|
||||
}),
|
||||
ssApiClient(apiClientProps).getArtist({
|
||||
query: {
|
||||
id: query.id,
|
||||
},
|
||||
}),
|
||||
]);
|
||||
const artistInfoRes = await ssApiClient(apiClientProps).getArtistInfo({
|
||||
query: {
|
||||
id: query.id,
|
||||
},
|
||||
});
|
||||
|
||||
const res = await ssApiClient(apiClientProps).getArtist({
|
||||
query: {
|
||||
id: query.id,
|
||||
},
|
||||
});
|
||||
|
||||
if (res.status !== 200) {
|
||||
throw new Error('Failed to get album artist detail');
|
||||
@@ -281,18 +273,11 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
}
|
||||
|
||||
return {
|
||||
...ssNormalize.albumArtist(artist, apiClientProps.server),
|
||||
albums: artist.album?.map((album) =>
|
||||
ssNormalize.album(
|
||||
album,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
),
|
||||
...ssNormalize.albumArtist(artist, apiClientProps.server, 300),
|
||||
albums: artist.album?.map((album) => ssNormalize.album(album, apiClientProps.server)),
|
||||
similarArtists:
|
||||
artistInfo?.similarArtist?.map((artist) =>
|
||||
ssNormalize.albumArtist(artist, apiClientProps.server),
|
||||
ssNormalize.albumArtist(artist, apiClientProps.server, 300),
|
||||
) || null,
|
||||
};
|
||||
},
|
||||
@@ -312,7 +297,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
const artists = (res.body.artists?.index || []).flatMap((index) => index.artist);
|
||||
|
||||
let results = artists.map((artist) =>
|
||||
ssNormalize.albumArtist(artist, apiClientProps.server),
|
||||
ssNormalize.albumArtist(artist, apiClientProps.server, 300),
|
||||
);
|
||||
|
||||
if (query.searchTerm) {
|
||||
@@ -323,18 +308,19 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
results = searchResults;
|
||||
}
|
||||
|
||||
return sortAndPaginate(results, {
|
||||
limit: query.limit,
|
||||
sortBy: query.sortBy,
|
||||
sortFn: query.sortBy ? sortAlbumArtistList : undefined,
|
||||
sortOrder: query.sortOrder,
|
||||
if (query.sortBy) {
|
||||
results = sortAlbumArtistList(results, query.sortBy, query.sortOrder);
|
||||
}
|
||||
|
||||
return {
|
||||
items: results,
|
||||
startIndex: query.startIndex,
|
||||
});
|
||||
totalRecordCount: artists.length,
|
||||
};
|
||||
},
|
||||
getAlbumArtistListCount: (args) =>
|
||||
SubsonicController.getAlbumArtistList({
|
||||
...args,
|
||||
context: args.context,
|
||||
query: { ...args.query, startIndex: 0 },
|
||||
}).then((res) => res!.totalRecordCount!),
|
||||
getAlbumDetail: async (args) => {
|
||||
@@ -350,12 +336,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
throw new Error('Failed to get album detail');
|
||||
}
|
||||
|
||||
return ssNormalize.album(
|
||||
res.body.album,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
);
|
||||
return ssNormalize.album(res.body.album, apiClientProps.server);
|
||||
},
|
||||
getAlbumList: async (args) => {
|
||||
const { apiClientProps, query } = args;
|
||||
@@ -367,7 +348,6 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
albumOffset: query.startIndex,
|
||||
artistCount: 0,
|
||||
artistOffset: 0,
|
||||
musicFolderId: getLibraryId(query.musicFolderId),
|
||||
query: query.searchTerm || '',
|
||||
songCount: 0,
|
||||
songOffset: 0,
|
||||
@@ -380,12 +360,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
|
||||
const results =
|
||||
res.body.searchResult3?.album?.map((album) =>
|
||||
ssNormalize.album(
|
||||
album,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
ssNormalize.album(album, apiClientProps.server),
|
||||
) || [];
|
||||
|
||||
return {
|
||||
@@ -420,14 +395,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
return artist.body.artist.album ?? [];
|
||||
});
|
||||
|
||||
const items = albums.map((album) =>
|
||||
ssNormalize.album(
|
||||
album,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
);
|
||||
const items = albums.map((album) => ssNormalize.album(album, apiClientProps.server));
|
||||
|
||||
return {
|
||||
items: sortAlbumList(items, query.sortBy, query.sortOrder),
|
||||
@@ -449,12 +417,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
|
||||
const allResults =
|
||||
res.body.starred?.album?.map((album) =>
|
||||
ssNormalize.album(
|
||||
album,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
ssNormalize.album(album, apiClientProps.server),
|
||||
) || [];
|
||||
|
||||
return sortAndPaginate(allResults, {
|
||||
@@ -519,12 +482,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
return {
|
||||
items:
|
||||
res.body.albumList2.album?.map((album) =>
|
||||
ssNormalize.album(
|
||||
album,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
ssNormalize.album(album, apiClientProps.server, 300),
|
||||
) || [],
|
||||
startIndex: query.startIndex,
|
||||
totalRecordCount: null,
|
||||
@@ -545,7 +503,6 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
albumOffset: startIndex,
|
||||
artistCount: 0,
|
||||
artistOffset: 0,
|
||||
musicFolderId: getLibraryId(query.musicFolderId),
|
||||
query: query.searchTerm || '',
|
||||
songCount: 0,
|
||||
songOffset: 0,
|
||||
@@ -695,7 +652,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
}
|
||||
|
||||
let results = artists.map((artist) =>
|
||||
ssNormalize.albumArtist(artist, apiClientProps.server),
|
||||
ssNormalize.albumArtist(artist, apiClientProps.server, 300),
|
||||
);
|
||||
|
||||
if (query.searchTerm) {
|
||||
@@ -717,36 +674,8 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
getArtistListCount: async (args) =>
|
||||
SubsonicController.getArtistList({
|
||||
...args,
|
||||
context: args.context,
|
||||
query: { ...args.query, startIndex: 0 },
|
||||
}).then((res) => res!.totalRecordCount!),
|
||||
getArtistRadio: async (args) => {
|
||||
const { apiClientProps, context, query } = args;
|
||||
|
||||
const res = await ssApiClient(apiClientProps).getSimilarSongs2({
|
||||
query: {
|
||||
count: query.count,
|
||||
id: query.artistId,
|
||||
},
|
||||
});
|
||||
|
||||
if (res.status !== 200) {
|
||||
throw new Error('Failed to get artist radio songs');
|
||||
}
|
||||
|
||||
if (!res.body.similarSongs2?.song) {
|
||||
return [];
|
||||
}
|
||||
|
||||
return res.body.similarSongs2.song.map((song) =>
|
||||
ssNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
),
|
||||
);
|
||||
},
|
||||
getDownloadUrl: (args) => {
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
@@ -758,7 +687,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
'&c=Feishin'
|
||||
);
|
||||
},
|
||||
getFolder: async ({ apiClientProps, context, query }) => {
|
||||
getFolder: async ({ apiClientProps, query }) => {
|
||||
const sortOrder = (query.sortOrder?.toLowerCase() ?? 'asc') as 'asc' | 'desc';
|
||||
|
||||
const isRootFolderId = /^\d+$/.test(query.id);
|
||||
@@ -790,14 +719,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
});
|
||||
}
|
||||
|
||||
let folders = items.map((item) =>
|
||||
ssNormalize.folder(
|
||||
item,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
),
|
||||
);
|
||||
let folders = items.map((item) => ssNormalize.folder(item, apiClientProps.server));
|
||||
|
||||
folders = orderBy(folders, [(v) => v.name.toLowerCase()], [sortOrder]);
|
||||
|
||||
@@ -825,12 +747,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
throw new Error('Failed to get folder');
|
||||
}
|
||||
|
||||
const folder = ssNormalize.folder(
|
||||
directoryRes.body.directory,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
);
|
||||
const folder = ssNormalize.folder(directoryRes.body.directory, apiClientProps.server);
|
||||
|
||||
let filteredFolders = folder.children?.folders || [];
|
||||
let filteredSongs = folder.children?.songs || [];
|
||||
@@ -904,29 +821,6 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
startIndex: query.startIndex,
|
||||
});
|
||||
},
|
||||
getImageUrl: ({ apiClientProps: { server }, baseUrl, query }) => {
|
||||
const { id, size } = query;
|
||||
const imageSize = size;
|
||||
const url = baseUrl || getServerUrl(server);
|
||||
|
||||
if (!url || !server?.credential) {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Check for default placeholder image ID
|
||||
if (id.match('2a96cbd8b46e442fc41c2b86b821562f')) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
`${url}/rest/getCoverArt.view` +
|
||||
`?id=${id}` +
|
||||
`&${server.credential}` +
|
||||
'&v=1.13.0' +
|
||||
'&c=Feishin' +
|
||||
(imageSize ? `&size=${imageSize}` : '')
|
||||
);
|
||||
},
|
||||
getInternetRadioStations: async (args) => {
|
||||
const { apiClientProps } = args;
|
||||
|
||||
@@ -958,7 +852,6 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
totalRecordCount: res.body.musicFolders.musicFolder.length,
|
||||
};
|
||||
},
|
||||
|
||||
getPlaylistDetail: async (args) => {
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
@@ -1044,7 +937,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
|
||||
return results.length;
|
||||
},
|
||||
getPlaylistSongList: async ({ apiClientProps, context, query }) => {
|
||||
getPlaylistSongList: async ({ apiClientProps, query }) => {
|
||||
const res = await ssApiClient(apiClientProps).getPlaylist({
|
||||
query: {
|
||||
id: query.id,
|
||||
@@ -1056,15 +949,8 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
}
|
||||
|
||||
const items =
|
||||
res.body.playlist.entry?.map((song, index) =>
|
||||
ssNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
index,
|
||||
),
|
||||
) || [];
|
||||
res.body.playlist.entry?.map((song) => ssNormalize.song(song, apiClientProps.server)) ||
|
||||
[];
|
||||
|
||||
return {
|
||||
items,
|
||||
@@ -1072,7 +958,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
totalRecordCount: items.length,
|
||||
};
|
||||
},
|
||||
getPlayQueue: async ({ apiClientProps, context }) => {
|
||||
getPlayQueue: async ({ apiClientProps }) => {
|
||||
if (hasFeature(apiClientProps.server, ServerFeature.SERVER_PLAY_QUEUE)) {
|
||||
const res = await ssApiClient(apiClientProps).getPlayQueueByIndex();
|
||||
|
||||
@@ -1087,15 +973,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
changed,
|
||||
changedBy,
|
||||
currentIndex: currentIndex ?? 0,
|
||||
entry:
|
||||
entry?.map((song) =>
|
||||
ssNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
),
|
||||
) || [],
|
||||
entry: entry?.map((song) => ssNormalize.song(song, apiClientProps.server)) || [],
|
||||
positionMs: position ?? 0,
|
||||
username,
|
||||
};
|
||||
@@ -1112,22 +990,14 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
changed,
|
||||
changedBy,
|
||||
currentIndex: current ? entry.findIndex((item) => item.id === current) : 0,
|
||||
entry:
|
||||
entry?.map((song) =>
|
||||
ssNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
),
|
||||
) || [],
|
||||
entry: entry?.map((song) => ssNormalize.song(song, apiClientProps.server)) || [],
|
||||
positionMs: position ?? 0,
|
||||
username,
|
||||
};
|
||||
}
|
||||
},
|
||||
getRandomSongList: async (args) => {
|
||||
const { apiClientProps, context, query } = args;
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
const res = await ssApiClient(apiClientProps).getRandomSongList({
|
||||
query: {
|
||||
@@ -1145,12 +1015,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
|
||||
const results = res.body.randomSongs?.song || [];
|
||||
const normalizedResults = results.map((song) =>
|
||||
ssNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
),
|
||||
ssNormalize.song(song, apiClientProps.server),
|
||||
);
|
||||
|
||||
return {
|
||||
@@ -1194,7 +1059,9 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
throw new Error('Failed to ping server');
|
||||
}
|
||||
|
||||
const features: ServerFeatures = {};
|
||||
const features: ServerFeatures = {
|
||||
jukebox: [1],
|
||||
};
|
||||
|
||||
if (!ping.body.openSubsonic || !ping.body.serverVersion) {
|
||||
return { features, version: ping.body.version };
|
||||
@@ -1228,7 +1095,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
return { features, id: apiClientProps.server?.id, version: ping.body.serverVersion };
|
||||
},
|
||||
getSimilarSongs: async (args) => {
|
||||
const { apiClientProps, context, query } = args;
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
const res = await ssApiClient(apiClientProps).getSimilarSongs({
|
||||
query: {
|
||||
@@ -1247,21 +1114,14 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
|
||||
return res.body.similarSongs.song.reduce<Song[]>((acc, song) => {
|
||||
if (song.id !== query.songId) {
|
||||
acc.push(
|
||||
ssNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
),
|
||||
);
|
||||
acc.push(ssNormalize.song(song, apiClientProps.server));
|
||||
}
|
||||
|
||||
return acc;
|
||||
}, []);
|
||||
},
|
||||
getSongDetail: async (args) => {
|
||||
const { apiClientProps, context, query } = args;
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
const res = await ssApiClient(apiClientProps).getSong({
|
||||
query: {
|
||||
@@ -1273,14 +1133,9 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
throw new Error('Failed to get song detail');
|
||||
}
|
||||
|
||||
return ssNormalize.song(
|
||||
res.body.song,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
);
|
||||
return ssNormalize.song(res.body.song, apiClientProps.server);
|
||||
},
|
||||
getSongList: async ({ apiClientProps, context, query }) => {
|
||||
getSongList: async ({ apiClientProps, query }) => {
|
||||
const fromAlbumPromises: Promise<ServerInferResponses<typeof contract.getAlbum>>[] = [];
|
||||
const artistDetailPromises: Promise<ServerInferResponses<typeof contract.getArtist>>[] = [];
|
||||
|
||||
@@ -1291,7 +1146,6 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
albumOffset: 0,
|
||||
artistCount: 0,
|
||||
artistOffset: 0,
|
||||
musicFolderId: getLibraryId(query.musicFolderId),
|
||||
query: query.searchTerm || '',
|
||||
songCount: query.limit,
|
||||
songOffset: query.startIndex,
|
||||
@@ -1305,12 +1159,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
return {
|
||||
items:
|
||||
res.body.searchResult3?.song?.map((song) =>
|
||||
ssNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
),
|
||||
ssNormalize.song(song, apiClientProps.server),
|
||||
) || [],
|
||||
startIndex: query.startIndex,
|
||||
totalRecordCount: null,
|
||||
@@ -1334,15 +1183,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
const results = res.body.songsByGenre?.song || [];
|
||||
|
||||
return {
|
||||
items:
|
||||
results.map((song) =>
|
||||
ssNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
),
|
||||
) || [],
|
||||
items: results.map((song) => ssNormalize.song(song, apiClientProps.server)) || [],
|
||||
startIndex: 0,
|
||||
totalRecordCount: null,
|
||||
};
|
||||
@@ -1361,12 +1202,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
|
||||
const allResults =
|
||||
(res.body.starred?.song || []).map((song) =>
|
||||
ssNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
),
|
||||
ssNormalize.song(song, apiClientProps.server),
|
||||
) || [];
|
||||
|
||||
return sortAndPaginate(allResults, {
|
||||
@@ -1442,15 +1278,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
}
|
||||
|
||||
return {
|
||||
items:
|
||||
results.map((song) =>
|
||||
ssNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
),
|
||||
) || [],
|
||||
items: results.map((song) => ssNormalize.song(song, apiClientProps.server)) || [],
|
||||
startIndex: 0,
|
||||
totalRecordCount: results.length,
|
||||
};
|
||||
@@ -1462,7 +1290,6 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
albumOffset: 0,
|
||||
artistCount: 0,
|
||||
artistOffset: 0,
|
||||
musicFolderId: getLibraryId(query.musicFolderId),
|
||||
query: query.searchTerm || '',
|
||||
songCount: query.limit,
|
||||
songOffset: query.startIndex,
|
||||
@@ -1476,12 +1303,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
return {
|
||||
items:
|
||||
res.body.searchResult3?.song?.map((song) =>
|
||||
ssNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
),
|
||||
ssNormalize.song(song, apiClientProps.server),
|
||||
) || [],
|
||||
startIndex: 0,
|
||||
totalRecordCount: null,
|
||||
@@ -1508,7 +1330,6 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
albumOffset: 0,
|
||||
artistCount: 0,
|
||||
artistOffset: 0,
|
||||
musicFolderId: getLibraryId(query.musicFolderId),
|
||||
query: query.searchTerm || '',
|
||||
songCount: MAX_SUBSONIC_ITEMS,
|
||||
songOffset: startIndex,
|
||||
@@ -1600,76 +1421,6 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
return (res.body.starred?.song || []).length || 0;
|
||||
}
|
||||
|
||||
const artistIds = query.albumArtistIds || query.artistIds;
|
||||
|
||||
if (query.albumIds || artistIds) {
|
||||
const fromAlbumPromises: Promise<ServerInferResponses<typeof contract.getAlbum>>[] = [];
|
||||
const artistDetailPromises: Promise<ServerInferResponses<typeof contract.getArtist>>[] =
|
||||
[];
|
||||
|
||||
if (query.albumIds) {
|
||||
for (const albumId of query.albumIds) {
|
||||
fromAlbumPromises.push(
|
||||
ssApiClient(apiClientProps).getAlbum({
|
||||
query: {
|
||||
id: albumId,
|
||||
},
|
||||
}),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if (artistIds) {
|
||||
for (const artistId of artistIds) {
|
||||
artistDetailPromises.push(
|
||||
ssApiClient(apiClientProps).getArtist({
|
||||
query: {
|
||||
id: artistId,
|
||||
},
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
const artistResult = await Promise.all(artistDetailPromises);
|
||||
|
||||
const albums = artistResult.flatMap((artist) => {
|
||||
if (artist.status !== 200) {
|
||||
return [];
|
||||
}
|
||||
|
||||
return artist.body.artist.album ?? [];
|
||||
});
|
||||
|
||||
const albumIds = albums.map((album) => album.id);
|
||||
|
||||
for (const albumId of albumIds) {
|
||||
fromAlbumPromises.push(
|
||||
ssApiClient(apiClientProps).getAlbum({
|
||||
query: {
|
||||
id: albumId.toString(),
|
||||
},
|
||||
}),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
let results: z.infer<typeof ssType._response.song>[] = [];
|
||||
|
||||
if (fromAlbumPromises.length > 0) {
|
||||
const albumsResult = await Promise.all(fromAlbumPromises);
|
||||
|
||||
results = albumsResult.flatMap((album) => {
|
||||
if (album.status !== 200) {
|
||||
return [];
|
||||
}
|
||||
|
||||
return album.body.album.song;
|
||||
});
|
||||
}
|
||||
|
||||
return results.length;
|
||||
}
|
||||
|
||||
let totalRecordCount = 0;
|
||||
|
||||
// Rather than just do `search3` by groups of 500, instead
|
||||
@@ -1682,7 +1433,6 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
albumOffset: 0,
|
||||
artistCount: 0,
|
||||
artistOffset: 0,
|
||||
musicFolderId: getLibraryId(query.musicFolderId),
|
||||
query: query.searchTerm || '',
|
||||
songCount: 1,
|
||||
songOffset: sectionIndex,
|
||||
@@ -1711,7 +1461,6 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
albumOffset: 0,
|
||||
artistCount: 0,
|
||||
artistOffset: 0,
|
||||
musicFolderId: getLibraryId(query.musicFolderId),
|
||||
query: query.searchTerm || '',
|
||||
songCount: MAX_SUBSONIC_ITEMS,
|
||||
songOffset: startIndex,
|
||||
@@ -1790,7 +1539,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
});
|
||||
},
|
||||
getTopSongs: async (args) => {
|
||||
const { apiClientProps, context, query } = args;
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
const res = await ssApiClient(apiClientProps).getTopSongsList({
|
||||
query: {
|
||||
@@ -1806,12 +1555,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
return {
|
||||
items:
|
||||
res.body.topSongs?.song?.map((song) =>
|
||||
ssNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
),
|
||||
ssNormalize.song(song, apiClientProps.server),
|
||||
) || [],
|
||||
startIndex: 0,
|
||||
totalRecordCount: res.body.topSongs?.song?.length || 0,
|
||||
@@ -1836,6 +1580,30 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
name: res.body.user.username,
|
||||
};
|
||||
},
|
||||
jukeboxControl: async (args) => {
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
const res = await ssApiClient(apiClientProps).jukeboxControl({
|
||||
query: query,
|
||||
});
|
||||
|
||||
if (res.status !== 200) {
|
||||
throw new Error('Failed to control jukebox');
|
||||
}
|
||||
|
||||
const jukeboxPlaylist = res.body.jukeboxPlaylist;
|
||||
|
||||
return {
|
||||
currentIndex: jukeboxPlaylist.currentIndex,
|
||||
gain: jukeboxPlaylist.gain,
|
||||
playing: jukeboxPlaylist.playing,
|
||||
position: jukeboxPlaylist.position ?? 0,
|
||||
songs:
|
||||
jukeboxPlaylist.entry?.map((song) =>
|
||||
ssNormalize.song(song, apiClientProps.server),
|
||||
) || [],
|
||||
};
|
||||
},
|
||||
removeFromPlaylist: async ({ apiClientProps, query }) => {
|
||||
const res = await ssApiClient(apiClientProps).updatePlaylist({
|
||||
query: {
|
||||
@@ -1851,7 +1619,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
return null;
|
||||
},
|
||||
replacePlaylist: async (args) => {
|
||||
const { apiClientProps, body, context, query } = args;
|
||||
const { apiClientProps, body, query } = args;
|
||||
|
||||
// 1. Fetch existing songs from the playlist
|
||||
const existingSongsRes = await ssApiClient(apiClientProps).getPlaylist({
|
||||
@@ -1866,12 +1634,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
|
||||
const existingSongs =
|
||||
existingSongsRes.body.playlist.entry?.map((song) =>
|
||||
ssNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
),
|
||||
ssNormalize.song(song, apiClientProps.server),
|
||||
) || [];
|
||||
|
||||
// 2. Get playlist detail to get the name
|
||||
@@ -1983,7 +1746,7 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
return null;
|
||||
},
|
||||
search: async (args) => {
|
||||
const { apiClientProps, context, query } = args;
|
||||
const { apiClientProps, query } = args;
|
||||
|
||||
const res = await ssApiClient(apiClientProps).search3({
|
||||
query: {
|
||||
@@ -1991,7 +1754,6 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
albumOffset: query.albumStartIndex,
|
||||
artistCount: query.albumArtistLimit,
|
||||
artistOffset: query.albumArtistStartIndex,
|
||||
musicFolderId: getLibraryId(query.musicFolderId),
|
||||
query: query.query,
|
||||
songCount: query.songLimit,
|
||||
songOffset: query.songStartIndex,
|
||||
@@ -2007,20 +1769,10 @@ export const SubsonicController: InternalControllerEndpoint = {
|
||||
ssNormalize.albumArtist(artist, apiClientProps.server),
|
||||
),
|
||||
albums: (res.body.searchResult3?.album || []).map((album) =>
|
||||
ssNormalize.album(
|
||||
album,
|
||||
apiClientProps.server,
|
||||
args.context?.pathReplace,
|
||||
args.context?.pathReplaceWith,
|
||||
),
|
||||
ssNormalize.album(album, apiClientProps.server),
|
||||
),
|
||||
songs: (res.body.searchResult3?.song || []).map((song) =>
|
||||
ssNormalize.song(
|
||||
song,
|
||||
apiClientProps.server,
|
||||
context?.pathReplace,
|
||||
context?.pathReplaceWith,
|
||||
),
|
||||
ssNormalize.song(song, apiClientProps.server),
|
||||
),
|
||||
};
|
||||
},
|
||||
|
||||
@@ -1,68 +0,0 @@
|
||||
import { QueryClient } from '@tanstack/react-query';
|
||||
|
||||
import { getServerById } from '/@/renderer/store';
|
||||
import { ServerType } from '/@/shared/types/domain-types';
|
||||
|
||||
interface OptimizedListCountOptions<TQuery, TListQuery, TResponse> {
|
||||
client: QueryClient;
|
||||
listQueryFn: (args: {
|
||||
apiClientProps: { serverId: string; signal?: AbortSignal };
|
||||
query: TListQuery;
|
||||
}) => Promise<TResponse>;
|
||||
listQueryKeyFn: (serverId: string, query: TListQuery) => readonly unknown[];
|
||||
query: TQuery;
|
||||
serverId: string;
|
||||
signal?: AbortSignal;
|
||||
}
|
||||
|
||||
export const getOptimizedListCount = async <
|
||||
TQuery,
|
||||
TListQuery extends { limit?: number; startIndex?: number },
|
||||
TResponse extends { totalRecordCount: null | number },
|
||||
>({
|
||||
client,
|
||||
listQueryFn,
|
||||
listQueryKeyFn,
|
||||
query,
|
||||
serverId,
|
||||
signal,
|
||||
}: OptimizedListCountOptions<TQuery, TListQuery, TResponse>): Promise<null | number> => {
|
||||
const server = getServerById(serverId);
|
||||
|
||||
if (server?.type !== ServerType.NAVIDROME && server?.type !== ServerType.JELLYFIN) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const limit =
|
||||
typeof query === 'object' &&
|
||||
query !== null &&
|
||||
'limit' in query &&
|
||||
typeof (query as any).limit === 'number' &&
|
||||
(query as any).limit > 0
|
||||
? (query as any).limit
|
||||
: 100;
|
||||
|
||||
// In most cases, the list count is called when entering the first page, so we fetch from the first page
|
||||
// This optimization will only help in this case, otherwise we still need 2 requests to get both the count and the data
|
||||
const pageQuery = {
|
||||
...query,
|
||||
limit,
|
||||
startIndex: 0,
|
||||
} as unknown as TListQuery;
|
||||
|
||||
const pageQueryKey = listQueryKeyFn(serverId, pageQuery);
|
||||
const cachedPage = client.getQueryData(pageQueryKey);
|
||||
|
||||
if (cachedPage && typeof cachedPage === 'object' && 'totalRecordCount' in cachedPage) {
|
||||
return (cachedPage as TResponse).totalRecordCount ?? 0;
|
||||
}
|
||||
|
||||
const pageResult = await listQueryFn({
|
||||
apiClientProps: { serverId, signal },
|
||||
query: pageQuery,
|
||||
});
|
||||
|
||||
client.setQueryData(pageQueryKey, pageResult);
|
||||
|
||||
return pageResult.totalRecordCount ?? 0;
|
||||
};
|
||||
@@ -7,13 +7,14 @@ import '@mantine/core/styles.css';
|
||||
import '@mantine/dates/styles.css';
|
||||
import '@mantine/notifications/styles.css';
|
||||
import isElectron from 'is-electron';
|
||||
import { lazy, Suspense, useEffect, useMemo, useRef, useState } from 'react';
|
||||
import { useEffect, useMemo, useRef, useState } from 'react';
|
||||
|
||||
import i18n from '/@/i18n/i18n';
|
||||
import { WebAudioContext } from '/@/renderer/features/player/context/webaudio-context';
|
||||
import { useSyncSettingsToMain } from '/@/renderer/hooks/use-sync-settings-to-main';
|
||||
import { ReleaseNotesModal } from './release-notes-modal';
|
||||
import { AppRouter } from '/@/renderer/router/app-router';
|
||||
import { useCssSettings, useHotkeySettings, useLanguage } from '/@/renderer/store';
|
||||
import { useCssSettings, useHotkeySettings, useSettingsStore } from '/@/renderer/store';
|
||||
import { useAppTheme } from '/@/renderer/themes/use-app-theme';
|
||||
import { sanitizeCss } from '/@/renderer/utils/sanitize';
|
||||
import { WebAudio } from '/@/shared/types/types';
|
||||
@@ -21,17 +22,11 @@ import '/@/shared/styles/global.css';
|
||||
import { PlayerProvider } from '/@/renderer/features/player/context/player-context';
|
||||
import { AudioPlayers } from '/@/renderer/features/player/components/audio-players';
|
||||
|
||||
const ReleaseNotesModal = lazy(() =>
|
||||
import('./release-notes-modal').then((module) => ({
|
||||
default: module.ReleaseNotesModal,
|
||||
})),
|
||||
);
|
||||
|
||||
const ipc = isElectron() ? window.api.ipc : null;
|
||||
|
||||
export const App = () => {
|
||||
const { mode, theme } = useAppTheme();
|
||||
const language = useLanguage();
|
||||
const language = useSettingsStore((store) => store.general.language);
|
||||
|
||||
const { content, enabled } = useCssSettings();
|
||||
const { bindings } = useHotkeySettings();
|
||||
@@ -77,21 +72,16 @@ export const App = () => {
|
||||
}
|
||||
}, [language]);
|
||||
|
||||
const notificationStyles = useMemo(
|
||||
() => ({
|
||||
root: {
|
||||
marginBottom: 90,
|
||||
},
|
||||
}),
|
||||
[],
|
||||
);
|
||||
|
||||
return (
|
||||
<MantineProvider forceColorScheme={mode} theme={theme}>
|
||||
<Notifications
|
||||
containerWidth="300px"
|
||||
position="bottom-center"
|
||||
styles={notificationStyles}
|
||||
styles={{
|
||||
root: {
|
||||
marginBottom: 90,
|
||||
},
|
||||
}}
|
||||
zIndex={50000}
|
||||
/>
|
||||
<WebAudioContext.Provider value={webAudioProvider}>
|
||||
@@ -100,9 +90,7 @@ export const App = () => {
|
||||
<AppRouter />
|
||||
</PlayerProvider>
|
||||
</WebAudioContext.Provider>
|
||||
<Suspense fallback={null}>
|
||||
<ReleaseNotesModal />
|
||||
</Suspense>
|
||||
<ReleaseNotesModal />
|
||||
</MantineProvider>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -27,20 +27,6 @@
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.blurred-background {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
opacity: 0.8;
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
.carousel-item :global(.overlay) {
|
||||
border-radius: var(--theme-radius-md);
|
||||
}
|
||||
@@ -67,13 +53,6 @@
|
||||
padding: var(--theme-spacing-md);
|
||||
}
|
||||
|
||||
.single-carousel-container .carousel-item .content {
|
||||
flex-direction: row;
|
||||
gap: var(--theme-spacing-lg);
|
||||
align-items: flex-end;
|
||||
padding: var(--theme-spacing-xl);
|
||||
}
|
||||
|
||||
.title-section {
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
@@ -98,15 +77,6 @@
|
||||
max-height: 160px;
|
||||
}
|
||||
|
||||
.single-carousel-container .carousel-item .content .image-section {
|
||||
flex-shrink: 0;
|
||||
justify-content: flex-start;
|
||||
width: auto;
|
||||
height: auto;
|
||||
min-height: auto;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.play-button-overlay {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
@@ -136,23 +106,6 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.single-carousel-container .carousel-item .content .metadata-section {
|
||||
flex: 1;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
height: auto;
|
||||
min-height: auto;
|
||||
max-height: none;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* Hide metadata on screens smaller than xs */
|
||||
@media (width < 36em) {
|
||||
.single-carousel-container .carousel-item .content .metadata-section {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.image-link {
|
||||
display: block;
|
||||
transition: transform 0.3s ease;
|
||||
@@ -176,11 +129,6 @@
|
||||
transition: filter 0.3s ease;
|
||||
}
|
||||
|
||||
.single-carousel-container .album-image-container {
|
||||
width: 200px;
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
.album-image-container::before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@@ -201,7 +149,7 @@
|
||||
|
||||
.album-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
height: auto;
|
||||
object-fit: cover;
|
||||
border-radius: var(--theme-radius-md);
|
||||
}
|
||||
@@ -211,12 +159,6 @@
|
||||
filter: drop-shadow(0 16px 40px rgb(0 0 0 / 60%)) drop-shadow(0 6px 16px rgb(0 0 0 / 50%));
|
||||
}
|
||||
|
||||
/* Single carousel: remove hover shadow effect */
|
||||
.single-carousel-container .carousel-item:hover .album-image-container,
|
||||
.single-carousel-container .carousel-link:hover .album-image-container {
|
||||
filter: drop-shadow(0 6px 20px rgb(0 0 0 / 50%)) drop-shadow(0 2px 8px rgb(0 0 0 / 40%));
|
||||
}
|
||||
|
||||
.artist-link {
|
||||
display: inline-block;
|
||||
color: inherit;
|
||||
@@ -235,7 +177,6 @@
|
||||
}
|
||||
|
||||
.artist {
|
||||
width: 100%;
|
||||
color: white;
|
||||
text-shadow: 0 0 8px rgb(0 0 0 / 50%);
|
||||
}
|
||||
@@ -276,21 +217,6 @@
|
||||
transform: translateY(-50%) scale(0.95);
|
||||
}
|
||||
|
||||
.single-carousel-container .nav-arrow-left,
|
||||
.single-carousel-container .nav-arrow-right {
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transition:
|
||||
opacity 0.2s ease,
|
||||
transform 0.2s ease;
|
||||
}
|
||||
|
||||
.single-carousel-container:hover .nav-arrow-left,
|
||||
.single-carousel-container:hover .nav-arrow-right {
|
||||
pointer-events: auto;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@container (min-width: $mantine-breakpoint-xs) {
|
||||
.carousel-item {
|
||||
min-height: 300px;
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
import type { MouseEvent } from 'react';
|
||||
|
||||
import { AnimatePresence, motion } from 'motion/react';
|
||||
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
||||
import { useEffect, useMemo, useRef, useState } from 'react';
|
||||
import { generatePath, Link } from 'react-router';
|
||||
|
||||
import styles from './feature-carousel.module.css';
|
||||
|
||||
import { ItemImage, useItemImageUrl } from '/@/renderer/components/item-image/item-image';
|
||||
import { usePlayer } from '/@/renderer/features/player/context/player-context';
|
||||
import { BackgroundOverlay } from '/@/renderer/features/shared/components/library-background-overlay';
|
||||
import { PlayButtonGroup } from '/@/renderer/features/shared/components/play-button-group';
|
||||
@@ -16,6 +15,7 @@ import { useCurrentServer } from '/@/renderer/store';
|
||||
import { ActionIcon } from '/@/shared/components/action-icon/action-icon';
|
||||
import { Badge } from '/@/shared/components/badge/badge';
|
||||
import { Group } from '/@/shared/components/group/group';
|
||||
import { Image } from '/@/shared/components/image/image';
|
||||
import { Stack } from '/@/shared/components/stack/stack';
|
||||
import { Text } from '/@/shared/components/text/text';
|
||||
import { Album, LibraryItem } from '/@/shared/types/domain-types';
|
||||
@@ -78,15 +78,9 @@ interface CarouselItemProps {
|
||||
}
|
||||
|
||||
const CarouselItem = ({ album }: CarouselItemProps) => {
|
||||
const imageUrl = useItemImageUrl({
|
||||
id: album.imageId || undefined,
|
||||
itemType: LibraryItem.ALBUM,
|
||||
type: 'itemCard',
|
||||
});
|
||||
|
||||
const { background: backgroundColor } = useFastAverageColor({
|
||||
algorithm: 'dominant',
|
||||
src: imageUrl || null,
|
||||
src: album.imageUrl || null,
|
||||
srcLoaded: true,
|
||||
});
|
||||
|
||||
@@ -116,13 +110,10 @@ const CarouselItem = ({ album }: CarouselItemProps) => {
|
||||
</div>
|
||||
|
||||
<div className={styles.imageSection}>
|
||||
<ItemImage
|
||||
<Image
|
||||
className={styles.albumImage}
|
||||
containerClassName={styles.albumImageContainer}
|
||||
id={album.imageId}
|
||||
itemType={LibraryItem.ALBUM}
|
||||
src={imageUrl}
|
||||
type="itemCard"
|
||||
src={album.imageUrl || undefined}
|
||||
/>
|
||||
<div className={styles.playButtonOverlay}>
|
||||
<PlayButtonGroup onPlay={handlePlay} />
|
||||
@@ -132,13 +123,7 @@ const CarouselItem = ({ album }: CarouselItemProps) => {
|
||||
<div className={styles.metadataSection}>
|
||||
<Stack gap="sm">
|
||||
{album.albumArtists?.[0] && (
|
||||
<Text
|
||||
className={styles.artist}
|
||||
fw={500}
|
||||
lineClamp={1}
|
||||
size="md"
|
||||
ta="center"
|
||||
>
|
||||
<Text className={styles.artist} fw={500} size="md">
|
||||
{album.albumArtists[0].name}
|
||||
</Text>
|
||||
)}
|
||||
@@ -216,70 +201,28 @@ export const FeatureCarousel = ({ data, onNearEnd }: FeatureCarouselProps) => {
|
||||
}
|
||||
}, [data, startIndex, itemsPerRow, onNearEnd]);
|
||||
|
||||
const handleNext = useCallback(
|
||||
(e?: MouseEvent<HTMLButtonElement>) => {
|
||||
e?.preventDefault();
|
||||
e?.stopPropagation();
|
||||
if (!data) return;
|
||||
directionRef.current = { isNext: true };
|
||||
setStartIndex((prev) => (prev + itemsPerRow) % data.length);
|
||||
},
|
||||
[data, itemsPerRow],
|
||||
);
|
||||
const handleNext = (e?: MouseEvent<HTMLButtonElement>) => {
|
||||
e?.preventDefault();
|
||||
e?.stopPropagation();
|
||||
if (!data) return;
|
||||
directionRef.current = { isNext: true };
|
||||
setStartIndex((prev) => (prev + itemsPerRow) % data.length);
|
||||
};
|
||||
|
||||
const handlePrevious = useCallback(
|
||||
(e?: MouseEvent<HTMLButtonElement>) => {
|
||||
e?.preventDefault();
|
||||
e?.stopPropagation();
|
||||
if (!data) return;
|
||||
directionRef.current = { isNext: false };
|
||||
setStartIndex((prev) => (prev - itemsPerRow + data.length) % data.length);
|
||||
},
|
||||
[data, itemsPerRow],
|
||||
);
|
||||
|
||||
const canNavigate = data && data.length > itemsPerRow;
|
||||
|
||||
const wheelCooldownRef = useRef(0);
|
||||
const wheelThreshold = 10;
|
||||
const wheelCooldownMs = 250;
|
||||
|
||||
const handleWheel = useCallback(
|
||||
(event: React.WheelEvent<HTMLDivElement>) => {
|
||||
if (!canNavigate || !data) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!event.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
const now = Date.now();
|
||||
const elapsed = now - wheelCooldownRef.current;
|
||||
|
||||
const horizontalDelta = Math.abs(event.deltaY);
|
||||
|
||||
if (horizontalDelta < wheelThreshold || elapsed < wheelCooldownMs) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.deltaY > 0) {
|
||||
wheelCooldownRef.current = now;
|
||||
handleNext();
|
||||
} else if (event.deltaY < 0) {
|
||||
wheelCooldownRef.current = now;
|
||||
handlePrevious();
|
||||
}
|
||||
},
|
||||
[canNavigate, data, handleNext, handlePrevious, wheelCooldownMs, wheelThreshold],
|
||||
);
|
||||
const handlePrevious = (e?: MouseEvent<HTMLButtonElement>) => {
|
||||
e?.preventDefault();
|
||||
e?.stopPropagation();
|
||||
if (!data) return;
|
||||
directionRef.current = { isNext: false };
|
||||
setStartIndex((prev) => (prev - itemsPerRow + data.length) % data.length);
|
||||
};
|
||||
|
||||
if (!data || data.length === 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={styles.carouselContainer} onWheel={handleWheel} ref={containerRef}>
|
||||
<div className={styles.carouselContainer} ref={containerRef}>
|
||||
<AnimatePresence initial={false} mode="popLayout">
|
||||
<motion.div
|
||||
animate="animate"
|
||||
|
||||
@@ -1,349 +0,0 @@
|
||||
import type { MouseEvent } from 'react';
|
||||
|
||||
import { AnimatePresence, motion } from 'motion/react';
|
||||
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
||||
import { generatePath, Link } from 'react-router';
|
||||
|
||||
import styles from './feature-carousel.module.css';
|
||||
|
||||
import { ItemImage, useItemImageUrl } from '/@/renderer/components/item-image/item-image';
|
||||
import { usePlayer } from '/@/renderer/features/player/context/player-context';
|
||||
import { BackgroundOverlay } from '/@/renderer/features/shared/components/library-background-overlay';
|
||||
import { calculateTitleSize } from '/@/renderer/features/shared/components/library-header';
|
||||
import { PlayButtonGroup } from '/@/renderer/features/shared/components/play-button-group';
|
||||
import { useContainerQuery, useFastAverageColor } from '/@/renderer/hooks';
|
||||
import { AppRoute } from '/@/renderer/router/routes';
|
||||
import { useCurrentServer } from '/@/renderer/store';
|
||||
import { ActionIcon } from '/@/shared/components/action-icon/action-icon';
|
||||
import { Group } from '/@/shared/components/group/group';
|
||||
import { Separator } from '/@/shared/components/separator/separator';
|
||||
import { Stack } from '/@/shared/components/stack/stack';
|
||||
import { TextTitle } from '/@/shared/components/text-title/text-title';
|
||||
import { Text } from '/@/shared/components/text/text';
|
||||
import { Album, LibraryItem } from '/@/shared/types/domain-types';
|
||||
import { Play } from '/@/shared/types/types';
|
||||
|
||||
const containerVariants = {
|
||||
animate: {},
|
||||
exit: {},
|
||||
initial: {},
|
||||
};
|
||||
|
||||
const itemVariants = {
|
||||
animate: {
|
||||
opacity: 1,
|
||||
scale: 1,
|
||||
transition: {
|
||||
duration: 0.2,
|
||||
ease: 'easeOut' as const,
|
||||
},
|
||||
y: 0,
|
||||
},
|
||||
exit: {
|
||||
opacity: 0,
|
||||
transition: {
|
||||
duration: 0.3,
|
||||
ease: 'easeIn' as const,
|
||||
},
|
||||
y: 0,
|
||||
},
|
||||
initial: {
|
||||
opacity: 0,
|
||||
y: 0,
|
||||
},
|
||||
};
|
||||
|
||||
interface CarouselItemProps {
|
||||
album: Album;
|
||||
}
|
||||
|
||||
interface SingleFeatureCarouselProps {
|
||||
data: Album[] | undefined;
|
||||
onNearEnd?: () => void;
|
||||
}
|
||||
|
||||
// const CAROUSEL_AUTOPLAY_INTERVAL = 10000;
|
||||
|
||||
const CarouselItem = ({ album }: CarouselItemProps) => {
|
||||
const imageUrl = useItemImageUrl({
|
||||
id: album.imageId || undefined,
|
||||
itemType: LibraryItem.ALBUM,
|
||||
type: 'itemCard',
|
||||
});
|
||||
|
||||
const { background: backgroundColor } = useFastAverageColor({
|
||||
algorithm: 'dominant',
|
||||
src: imageUrl || null,
|
||||
srcLoaded: true,
|
||||
});
|
||||
|
||||
const server = useCurrentServer();
|
||||
const { addToQueueByFetch } = usePlayer();
|
||||
|
||||
const handlePlay = (type: Play) => {
|
||||
if (!server?.id) return;
|
||||
addToQueueByFetch(server.id, [album.id], LibraryItem.ALBUM, type);
|
||||
};
|
||||
|
||||
const metadataItems = useMemo(() => {
|
||||
return [
|
||||
...(album.genres?.slice(0, 2).map((genre) => genre.name) || []),
|
||||
album.releaseYear ? album.releaseYear.toString() : null,
|
||||
].filter(Boolean);
|
||||
}, [album]);
|
||||
|
||||
return (
|
||||
<div className={styles.carouselItem}>
|
||||
{imageUrl && (
|
||||
<div
|
||||
className={styles.blurredBackground}
|
||||
style={{
|
||||
backgroundImage: `url(${imageUrl})`,
|
||||
filter: 'blur(3rem)',
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
<BackgroundOverlay backgroundColor={backgroundColor} opacity={0.7} />
|
||||
<Link
|
||||
className={styles.carouselLink}
|
||||
state={{ item: album }}
|
||||
to={generatePath(AppRoute.LIBRARY_ALBUMS_DETAIL, {
|
||||
albumId: album.id,
|
||||
})}
|
||||
>
|
||||
<div className={styles.content}>
|
||||
<div className={styles.imageSection}>
|
||||
<ItemImage
|
||||
className={styles.albumImage}
|
||||
containerClassName={styles.albumImageContainer}
|
||||
id={album.imageId}
|
||||
itemType={LibraryItem.ALBUM}
|
||||
type="itemCard"
|
||||
/>
|
||||
<div className={styles.playButtonOverlay}>
|
||||
<PlayButtonGroup onPlay={handlePlay} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className={styles.metadataSection}>
|
||||
<Stack gap="sm">
|
||||
<TextTitle
|
||||
className={styles.title}
|
||||
fw={900}
|
||||
lh={1.1}
|
||||
order={1}
|
||||
style={{ fontSize: calculateTitleSize(album.name) }}
|
||||
ta="left"
|
||||
>
|
||||
{album.name}
|
||||
</TextTitle>
|
||||
{album.albumArtistName && (
|
||||
<TextTitle
|
||||
className={styles.title}
|
||||
fw={700}
|
||||
lh={1.1}
|
||||
order={5}
|
||||
ta="left"
|
||||
>
|
||||
{album.albumArtistName}
|
||||
</TextTitle>
|
||||
)}
|
||||
<Group gap="xs" justify="flex-start" wrap="wrap">
|
||||
{metadataItems.map((item, index) => (
|
||||
<Text
|
||||
className={styles.title}
|
||||
fw={600}
|
||||
key={`metadata-${item}`}
|
||||
size="sm"
|
||||
>
|
||||
{item}
|
||||
{index < metadataItems.length - 1 && <Separator />}
|
||||
</Text>
|
||||
))}
|
||||
</Group>
|
||||
</Stack>
|
||||
</div>
|
||||
</div>
|
||||
</Link>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export const SingleFeatureCarousel = ({ data, onNearEnd }: SingleFeatureCarouselProps) => {
|
||||
const [currentIndex, setCurrentIndex] = useState(0);
|
||||
const directionRef = useRef<{ isNext: boolean }>({ isNext: true });
|
||||
const { ref: containerRef } = useContainerQuery({
|
||||
'2xl': 1920,
|
||||
'3xl': 2560,
|
||||
lg: 1024,
|
||||
md: 768,
|
||||
sm: 640,
|
||||
xl: 1440,
|
||||
});
|
||||
|
||||
// Check if we're near the end and trigger loading more
|
||||
useEffect(() => {
|
||||
if (!data || !onNearEnd) return;
|
||||
const remainingItems = data.length - currentIndex;
|
||||
// Trigger when we have less than 3 items remaining
|
||||
if (remainingItems < 3) {
|
||||
onNearEnd();
|
||||
}
|
||||
}, [data, currentIndex, onNearEnd]);
|
||||
|
||||
// useEffect(() => {
|
||||
// if (!data || data.length <= 1 || isPaused) {
|
||||
// if (intervalRef.current) {
|
||||
// clearInterval(intervalRef.current);
|
||||
// intervalRef.current = null;
|
||||
// }
|
||||
// return;
|
||||
// }
|
||||
|
||||
// if (intervalRef.current) {
|
||||
// clearInterval(intervalRef.current);
|
||||
// }
|
||||
|
||||
// intervalRef.current = setInterval(() => {
|
||||
// setCurrentIndex((prev) => (prev + 1) % data.length);
|
||||
// directionRef.current = { isNext: true };
|
||||
// }, CAROUSEL_AUTOPLAY_INTERVAL);
|
||||
|
||||
// return () => {
|
||||
// if (intervalRef.current) {
|
||||
// clearInterval(intervalRef.current);
|
||||
// intervalRef.current = null;
|
||||
// }
|
||||
// };
|
||||
// }, [data, isPaused, intervalKey]);
|
||||
|
||||
const handleNext = useCallback(
|
||||
(e?: MouseEvent<HTMLButtonElement>) => {
|
||||
e?.preventDefault();
|
||||
e?.stopPropagation();
|
||||
if (!data) return;
|
||||
directionRef.current = { isNext: true };
|
||||
setCurrentIndex((prev) => (prev + 1) % data.length);
|
||||
// setIntervalKey((prev) => prev + 1);
|
||||
},
|
||||
[data],
|
||||
);
|
||||
|
||||
const handlePrevious = useCallback(
|
||||
(e?: MouseEvent<HTMLButtonElement>) => {
|
||||
e?.preventDefault();
|
||||
e?.stopPropagation();
|
||||
if (!data) return;
|
||||
directionRef.current = { isNext: false };
|
||||
setCurrentIndex((prev) => (prev - 1 + data.length) % data.length);
|
||||
// setIntervalKey((prev) => prev + 1);
|
||||
},
|
||||
[data],
|
||||
);
|
||||
|
||||
const canNavigate = data && data.length > 1;
|
||||
|
||||
const wheelCooldownRef = useRef(0);
|
||||
const wheelThreshold = 10;
|
||||
const wheelCooldownMs = 250;
|
||||
|
||||
const handleWheel = useCallback(
|
||||
(event: React.WheelEvent<HTMLDivElement>) => {
|
||||
if (!canNavigate || !data) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!event.shiftKey) {
|
||||
return;
|
||||
}
|
||||
|
||||
const now = Date.now();
|
||||
const elapsed = now - wheelCooldownRef.current;
|
||||
|
||||
const horizontalDelta = Math.abs(event.deltaY);
|
||||
|
||||
if (horizontalDelta < wheelThreshold || elapsed < wheelCooldownMs) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.deltaY > 0) {
|
||||
wheelCooldownRef.current = now;
|
||||
handleNext();
|
||||
} else if (event.deltaY < 0) {
|
||||
wheelCooldownRef.current = now;
|
||||
handlePrevious();
|
||||
}
|
||||
},
|
||||
[canNavigate, data, handleNext, handlePrevious, wheelCooldownMs, wheelThreshold],
|
||||
);
|
||||
|
||||
if (!data || data.length === 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const currentAlbum = data[currentIndex];
|
||||
|
||||
return (
|
||||
<div
|
||||
className={`${styles.carouselContainer} ${styles.singleCarouselContainer}`}
|
||||
// onMouseEnter={() => setIsPaused(true)}
|
||||
// onMouseLeave={() => setIsPaused(false)}
|
||||
onWheel={handleWheel}
|
||||
ref={containerRef}
|
||||
>
|
||||
<AnimatePresence initial={false} mode="popLayout">
|
||||
<motion.div
|
||||
animate="animate"
|
||||
className={styles.carousel}
|
||||
exit="exit"
|
||||
initial="initial"
|
||||
key={`carousel-${currentIndex}`}
|
||||
style={{ '--items-per-row': 1 } as React.CSSProperties}
|
||||
variants={containerVariants}
|
||||
>
|
||||
<motion.div
|
||||
key={`item-${currentAlbum.id}-${currentIndex}`}
|
||||
variants={itemVariants}
|
||||
>
|
||||
<CarouselItem album={currentAlbum} />
|
||||
</motion.div>
|
||||
</motion.div>
|
||||
</AnimatePresence>
|
||||
|
||||
{data.length > 1 && (
|
||||
<>
|
||||
<ActionIcon
|
||||
className={styles.navArrowLeft}
|
||||
icon="arrowLeftS"
|
||||
iconProps={{ size: 'xl' }}
|
||||
onClick={handlePrevious}
|
||||
radius="50%"
|
||||
size="md"
|
||||
styles={{
|
||||
icon: {
|
||||
color: 'white',
|
||||
fill: 'white',
|
||||
},
|
||||
}}
|
||||
variant="subtle"
|
||||
/>
|
||||
<ActionIcon
|
||||
className={styles.navArrowRight}
|
||||
icon="arrowRightS"
|
||||
iconProps={{ size: 'xl' }}
|
||||
onClick={handleNext}
|
||||
radius="50%"
|
||||
size="md"
|
||||
styles={{
|
||||
icon: {
|
||||
color: 'white',
|
||||
fill: 'white',
|
||||
},
|
||||
}}
|
||||
variant="subtle"
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
@@ -6,24 +6,10 @@ import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
||||
|
||||
import styles from './grid-carousel.module.css';
|
||||
|
||||
import { DataRow, MemoizedItemCard } from '/@/renderer/components/item-card/item-card';
|
||||
import { useContainerQuery } from '/@/renderer/hooks';
|
||||
import { ActionIcon } from '/@/shared/components/action-icon/action-icon';
|
||||
import { Group } from '/@/shared/components/group/group';
|
||||
import { TextTitle } from '/@/shared/components/text-title/text-title';
|
||||
import { LibraryItem } from '/@/shared/types/domain-types';
|
||||
|
||||
export const useGridCarouselContainerQuery = () => {
|
||||
return useContainerQuery({
|
||||
'2xl': 1280,
|
||||
'3xl': 1440,
|
||||
lg: 960,
|
||||
md: 720,
|
||||
sm: 520,
|
||||
xl: 1152,
|
||||
xs: 360,
|
||||
});
|
||||
};
|
||||
|
||||
interface Card {
|
||||
content: ReactNode;
|
||||
@@ -32,16 +18,11 @@ interface Card {
|
||||
|
||||
interface GridCarouselProps {
|
||||
cards: Card[];
|
||||
containerQuery?: ReturnType<typeof useGridCarouselContainerQuery>;
|
||||
enableRefresh?: boolean;
|
||||
hasNextPage?: boolean;
|
||||
isFetchingNextPage?: boolean;
|
||||
loadNextPage?: () => void;
|
||||
onNextPage: (page: number) => void;
|
||||
onPrevPage: (page: number) => void;
|
||||
onRefresh?: () => void;
|
||||
placeholderItemType?: LibraryItem;
|
||||
placeholderRows?: DataRow[];
|
||||
rowCount?: number;
|
||||
title?: ReactNode | string;
|
||||
}
|
||||
@@ -65,22 +46,23 @@ const pageVariants: Variants = {
|
||||
function BaseGridCarousel(props: GridCarouselProps) {
|
||||
const {
|
||||
cards,
|
||||
containerQuery: providedContainerQuery,
|
||||
enableRefresh = false,
|
||||
hasNextPage,
|
||||
isFetchingNextPage,
|
||||
loadNextPage,
|
||||
onNextPage,
|
||||
onPrevPage,
|
||||
onRefresh,
|
||||
placeholderItemType,
|
||||
placeholderRows,
|
||||
rowCount = 1,
|
||||
title,
|
||||
} = props;
|
||||
const defaultContainerQuery = useGridCarouselContainerQuery();
|
||||
const containerQuery = providedContainerQuery || defaultContainerQuery;
|
||||
const { ref, ...cq } = containerQuery;
|
||||
const { ref, ...cq } = useContainerQuery({
|
||||
'2xl': 1280,
|
||||
'3xl': 1440,
|
||||
lg: 960,
|
||||
md: 720,
|
||||
sm: 520,
|
||||
xl: 1152,
|
||||
xs: 360,
|
||||
});
|
||||
|
||||
const [currentPage, setCurrentPage] = useState({
|
||||
isNext: false,
|
||||
@@ -113,48 +95,11 @@ function BaseGridCarousel(props: GridCarouselProps) {
|
||||
});
|
||||
|
||||
const visibleCards = useMemo(() => {
|
||||
const startIndex = currentPage.page * cardsToShow * rowCount;
|
||||
const endIndex = (currentPage.page + 1) * cardsToShow * rowCount;
|
||||
const slicedCards = cards.slice(startIndex, endIndex);
|
||||
const expectedCardCount = cardsToShow * rowCount;
|
||||
const missingCardCount = expectedCardCount - slicedCards.length;
|
||||
|
||||
// Add placeholder cards during loading state
|
||||
if (
|
||||
missingCardCount > 0 &&
|
||||
hasNextPage &&
|
||||
isFetchingNextPage &&
|
||||
placeholderItemType &&
|
||||
placeholderRows
|
||||
) {
|
||||
const placeholderCards: Card[] = Array.from(
|
||||
{ length: missingCardCount },
|
||||
(_, index) => ({
|
||||
content: (
|
||||
<MemoizedItemCard
|
||||
data={undefined}
|
||||
itemType={placeholderItemType}
|
||||
rows={placeholderRows}
|
||||
type="poster"
|
||||
/>
|
||||
),
|
||||
id: `placeholder-${startIndex + slicedCards.length + index}`,
|
||||
}),
|
||||
);
|
||||
return [...slicedCards, ...placeholderCards];
|
||||
}
|
||||
|
||||
return slicedCards;
|
||||
}, [
|
||||
currentPage.page,
|
||||
cardsToShow,
|
||||
rowCount,
|
||||
cards,
|
||||
hasNextPage,
|
||||
isFetchingNextPage,
|
||||
placeholderItemType,
|
||||
placeholderRows,
|
||||
]);
|
||||
return cards.slice(
|
||||
currentPage.page * cardsToShow * rowCount,
|
||||
(currentPage.page + 1) * cardsToShow * rowCount,
|
||||
);
|
||||
}, [cards, currentPage, cardsToShow, rowCount]);
|
||||
|
||||
const shouldLoadNextPage = visibleCards.length < cardsToShow * rowCount;
|
||||
|
||||
@@ -210,65 +155,45 @@ function BaseGridCarousel(props: GridCarouselProps) {
|
||||
{cq.isCalculated && (
|
||||
<>
|
||||
<div className={styles.navigation}>
|
||||
{typeof title === 'string' ? (
|
||||
<Group gap="xs" justify="space-between" w="100%">
|
||||
<Group gap="xs">
|
||||
<Group gap="xs" justify="space-between" w="100%">
|
||||
<Group gap="xs">
|
||||
{typeof title === 'string' ? (
|
||||
<TextTitle fw={700} isNoSelect order={3}>
|
||||
{title}
|
||||
</TextTitle>
|
||||
{enableRefresh && onRefresh && (
|
||||
<ActionIcon
|
||||
icon="refresh"
|
||||
iconProps={{ size: 'xs' }}
|
||||
onClick={onRefresh}
|
||||
size="xs"
|
||||
tooltip={{ label: 'Refresh' }}
|
||||
variant="transparent"
|
||||
/>
|
||||
)}
|
||||
</Group>
|
||||
<Group gap="xs" justify="end">
|
||||
) : (
|
||||
title
|
||||
)}
|
||||
{onRefresh && (
|
||||
<ActionIcon
|
||||
disabled={isPrevDisabled}
|
||||
icon="arrowLeftS"
|
||||
iconProps={{ size: 'lg' }}
|
||||
onClick={handlePrevPage}
|
||||
icon="refresh"
|
||||
iconProps={{ size: 'md' }}
|
||||
onClick={onRefresh}
|
||||
size="xs"
|
||||
variant="subtle"
|
||||
tooltip={{ label: 'Refresh' }}
|
||||
variant="transparent"
|
||||
/>
|
||||
<ActionIcon
|
||||
disabled={isNextDisabled}
|
||||
icon="arrowRightS"
|
||||
iconProps={{ size: 'lg' }}
|
||||
onClick={handleNextPage}
|
||||
size="xs"
|
||||
variant="subtle"
|
||||
/>
|
||||
</Group>
|
||||
)}
|
||||
</Group>
|
||||
) : (
|
||||
<div className={styles.customTitleContainer}>
|
||||
<div className={styles.customTitleContent}>{title}</div>
|
||||
<Group gap="xs" justify="end">
|
||||
<ActionIcon
|
||||
disabled={isPrevDisabled}
|
||||
icon="arrowLeftS"
|
||||
iconProps={{ size: 'lg' }}
|
||||
onClick={handlePrevPage}
|
||||
size="xs"
|
||||
variant="subtle"
|
||||
/>
|
||||
<ActionIcon
|
||||
disabled={isNextDisabled}
|
||||
icon="arrowRightS"
|
||||
iconProps={{ size: 'lg' }}
|
||||
onClick={handleNextPage}
|
||||
size="xs"
|
||||
variant="subtle"
|
||||
/>
|
||||
</Group>
|
||||
</div>
|
||||
)}
|
||||
<Group gap="xs" justify="end">
|
||||
<ActionIcon
|
||||
disabled={isPrevDisabled}
|
||||
icon="arrowLeftS"
|
||||
iconProps={{ size: 'lg' }}
|
||||
onClick={handlePrevPage}
|
||||
size="xs"
|
||||
variant="subtle"
|
||||
/>
|
||||
<ActionIcon
|
||||
disabled={isNextDisabled}
|
||||
icon="arrowRightS"
|
||||
iconProps={{ size: 'lg' }}
|
||||
onClick={handleNextPage}
|
||||
size="xs"
|
||||
variant="subtle"
|
||||
/>
|
||||
</Group>
|
||||
</Group>
|
||||
</div>
|
||||
<AnimatePresence custom={currentPage} initial={false} mode="wait">
|
||||
<motion.div
|
||||
@@ -302,74 +227,6 @@ export const GridCarousel = memo(BaseGridCarousel);
|
||||
|
||||
GridCarousel.displayName = 'GridCarousel';
|
||||
|
||||
interface GridCarouselSkeletonProps {
|
||||
containerQuery?: ReturnType<typeof useGridCarouselContainerQuery>;
|
||||
enableRefresh?: boolean;
|
||||
placeholderItemType: LibraryItem;
|
||||
placeholderRows: DataRow[];
|
||||
rowCount?: number;
|
||||
title?: ReactNode | string;
|
||||
}
|
||||
|
||||
const GridCarouselSkeleton = (props: GridCarouselSkeletonProps) => {
|
||||
const {
|
||||
containerQuery: providedContainerQuery,
|
||||
enableRefresh = false,
|
||||
placeholderItemType,
|
||||
placeholderRows,
|
||||
rowCount = 1,
|
||||
title,
|
||||
} = props;
|
||||
|
||||
const { ...cq } = providedContainerQuery;
|
||||
|
||||
const cardsToShow = cq.isCalculated
|
||||
? getCardsToShow({
|
||||
isLargerThan2xl: cq.is2xl,
|
||||
isLargerThan3xl: cq.is3xl,
|
||||
isLargerThanLg: cq.isLg,
|
||||
isLargerThanMd: cq.isMd,
|
||||
isLargerThanSm: cq.isSm,
|
||||
isLargerThanXl: cq.isXl,
|
||||
})
|
||||
: 6;
|
||||
|
||||
const placeholderCards = useMemo(() => {
|
||||
const cardCount = cardsToShow * rowCount;
|
||||
return Array.from({ length: cardCount }, (_, index) => ({
|
||||
content: (
|
||||
<MemoizedItemCard
|
||||
data={undefined}
|
||||
itemType={placeholderItemType}
|
||||
rows={placeholderRows}
|
||||
type="poster"
|
||||
/>
|
||||
),
|
||||
id: `skeleton-${index}`,
|
||||
}));
|
||||
}, [cardsToShow, rowCount, placeholderItemType, placeholderRows]);
|
||||
|
||||
return (
|
||||
<GridCarousel
|
||||
cards={placeholderCards}
|
||||
containerQuery={providedContainerQuery}
|
||||
enableRefresh={enableRefresh}
|
||||
hasNextPage={false}
|
||||
isFetchingNextPage={false}
|
||||
onNextPage={() => {}}
|
||||
onPrevPage={() => {}}
|
||||
placeholderItemType={placeholderItemType}
|
||||
placeholderRows={placeholderRows}
|
||||
rowCount={rowCount}
|
||||
title={title}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export const GridCarouselSkeletonFallback = memo(GridCarouselSkeleton);
|
||||
|
||||
GridCarouselSkeletonFallback.displayName = 'GridCarouselSkeletonFallback';
|
||||
|
||||
function getCardsToShow(breakpoints: {
|
||||
isLargerThan2xl: boolean;
|
||||
isLargerThan3xl: boolean;
|
||||
|
||||
@@ -14,19 +14,6 @@
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.custom-title-container {
|
||||
display: flex;
|
||||
gap: var(--theme-spacing-sm);
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.custom-title-content {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(var(--cards-to-show, 2), minmax(0, 1fr));
|
||||
|
||||
@@ -32,7 +32,6 @@ interface ItemCardControlsProps {
|
||||
internalState?: ItemListStateActions;
|
||||
item: Album | AlbumArtist | Artist | Playlist | Song | undefined;
|
||||
itemType: LibraryItem;
|
||||
showRating: boolean;
|
||||
type?: 'compact' | 'default' | 'poster';
|
||||
}
|
||||
|
||||
@@ -73,29 +72,6 @@ const createPlayHandler =
|
||||
return;
|
||||
}
|
||||
|
||||
const isSongItem =
|
||||
itemType === LibraryItem.SONG ||
|
||||
itemType === LibraryItem.PLAYLIST_SONG ||
|
||||
(item as { _itemType: LibraryItem })._itemType === LibraryItem.SONG;
|
||||
|
||||
if (isSongItem && controls?.onDoubleClick && internalState) {
|
||||
const rowId = internalState.extractRowId(item);
|
||||
|
||||
if (rowId) {
|
||||
const index = internalState.findItemIndex(rowId);
|
||||
return controls.onDoubleClick({
|
||||
event: null,
|
||||
index,
|
||||
internalState,
|
||||
item,
|
||||
itemType,
|
||||
meta: {
|
||||
playType,
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
controls?.onPlay?.({
|
||||
event: e,
|
||||
internalState,
|
||||
@@ -204,7 +180,6 @@ export const ItemCardControls = ({
|
||||
internalState,
|
||||
item,
|
||||
itemType,
|
||||
showRating,
|
||||
type = 'default',
|
||||
}: ItemCardControlsProps) => {
|
||||
const playNowHandler = useMemo(
|
||||
@@ -292,7 +267,6 @@ export const ItemCardControls = ({
|
||||
<FavoriteButton isFavorite={isFavorite} onClick={favoriteHandler} />
|
||||
)}
|
||||
{controls?.onRating &&
|
||||
showRating &&
|
||||
(item?._serverType === ServerType.NAVIDROME ||
|
||||
item?._serverType === ServerType.SUBSONIC) && (
|
||||
<RatingButton
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: var(--theme-spacing-md);
|
||||
overflow: hidden;
|
||||
user-select: none;
|
||||
@@ -178,10 +177,10 @@
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
gap: 0;
|
||||
width: 100%;
|
||||
padding: var(--theme-spacing-xs);
|
||||
background-color: alpha(var(--theme-colors-background), 0.5);
|
||||
text-shadow: 0 1px 2px rgb(0 0 0 / 80%);
|
||||
background-color: rgb(0 0 0 / 50%);
|
||||
backdrop-filter: blur(2px);
|
||||
transform: translateY(0);
|
||||
transition:
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
import clsx from 'clsx';
|
||||
import formatDuration from 'format-duration';
|
||||
import { AnimatePresence } from 'motion/react';
|
||||
import { Fragment, memo, ReactNode, useCallback, useMemo, useState } from 'react';
|
||||
import { Fragment, memo, ReactNode, useState } from 'react';
|
||||
import { generatePath, Link } from 'react-router';
|
||||
|
||||
import styles from './item-card.module.css';
|
||||
|
||||
import i18n from '/@/i18n/i18n';
|
||||
import { ItemCardControls } from '/@/renderer/components/item-card/item-card-controls';
|
||||
import { ItemImage } from '/@/renderer/components/item-image/item-image';
|
||||
import { getDraggedItems } from '/@/renderer/components/item-list/helpers/get-dragged-items';
|
||||
import { getTitlePath } from '/@/renderer/components/item-list/helpers/get-title-path';
|
||||
import {
|
||||
@@ -16,20 +15,10 @@ import {
|
||||
useItemSelectionState,
|
||||
} from '/@/renderer/components/item-list/helpers/item-list-state';
|
||||
import { ItemControls } from '/@/renderer/components/item-list/types';
|
||||
import { JoinedArtists } from '/@/renderer/features/albums/components/joined-artists';
|
||||
import { useDragDrop } from '/@/renderer/hooks/use-drag-drop';
|
||||
import { AppRoute } from '/@/renderer/router/routes';
|
||||
import { useShowRatings } from '/@/renderer/store';
|
||||
import {
|
||||
formatDateAbsolute,
|
||||
formatDateAbsoluteUTC,
|
||||
formatDateRelative,
|
||||
formatDurationString,
|
||||
formatRating,
|
||||
} from '/@/renderer/utils/format';
|
||||
import { SEPARATOR_STRING } from '/@/shared/api/utils';
|
||||
import { Group } from '/@/shared/components/group/group';
|
||||
import { Icon } from '/@/shared/components/icon/icon';
|
||||
import { formatDateAbsolute, formatDateRelative, formatRating } from '/@/renderer/utils/format';
|
||||
import { Image } from '/@/shared/components/image/image';
|
||||
import { Separator } from '/@/shared/components/separator/separator';
|
||||
import { Skeleton } from '/@/shared/components/skeleton/skeleton';
|
||||
import { Text } from '/@/shared/components/text/text';
|
||||
@@ -78,14 +67,13 @@ export const ItemCard = ({
|
||||
type = 'poster',
|
||||
withControls,
|
||||
}: ItemCardProps) => {
|
||||
const showRatings = useShowRatings();
|
||||
const imageUrl = getImageUrl(data);
|
||||
const rows = providedRows || [];
|
||||
|
||||
switch (type) {
|
||||
case 'compact':
|
||||
return (
|
||||
<MemoizedCompactItemCard
|
||||
<CompactItemCard
|
||||
controls={controls}
|
||||
data={data}
|
||||
enableDrag={enableDrag}
|
||||
@@ -96,13 +84,12 @@ export const ItemCard = ({
|
||||
isRound={isRound}
|
||||
itemType={itemType}
|
||||
rows={rows}
|
||||
showRating={showRatings}
|
||||
withControls={withControls}
|
||||
/>
|
||||
);
|
||||
case 'poster':
|
||||
return (
|
||||
<MemoizedPosterItemCard
|
||||
<PosterItemCard
|
||||
controls={controls}
|
||||
data={data}
|
||||
enableDrag={enableDrag}
|
||||
@@ -113,14 +100,13 @@ export const ItemCard = ({
|
||||
isRound={isRound}
|
||||
itemType={itemType}
|
||||
rows={rows}
|
||||
showRating={showRatings}
|
||||
withControls={withControls}
|
||||
/>
|
||||
);
|
||||
case 'default':
|
||||
default:
|
||||
return (
|
||||
<MemoizedDefaultItemCard
|
||||
<DefaultItemCard
|
||||
controls={controls}
|
||||
data={data}
|
||||
enableDrag={enableDrag}
|
||||
@@ -131,7 +117,6 @@ export const ItemCard = ({
|
||||
isRound={isRound}
|
||||
itemType={itemType}
|
||||
rows={rows}
|
||||
showRating={showRatings}
|
||||
withControls={withControls}
|
||||
/>
|
||||
);
|
||||
@@ -145,20 +130,18 @@ export interface ItemCardDerivativeProps extends Omit<ItemCardProps, 'type'> {
|
||||
imageUrl: string | undefined;
|
||||
internalState?: ItemListStateActions;
|
||||
rows: DataRow[];
|
||||
showRating: boolean;
|
||||
}
|
||||
|
||||
const CompactItemCard = ({
|
||||
controls,
|
||||
data,
|
||||
enableDrag,
|
||||
enableExpansion,
|
||||
enableNavigation,
|
||||
imageUrl,
|
||||
internalState,
|
||||
isRound,
|
||||
itemType,
|
||||
rows,
|
||||
showRating,
|
||||
withControls,
|
||||
}: ItemCardDerivativeProps) => {
|
||||
const [showControls, setShowControls] = useState(false);
|
||||
@@ -168,71 +151,6 @@ const CompactItemCard = ({
|
||||
: undefined;
|
||||
const isSelected = useItemSelectionState(internalState, itemRowId || undefined);
|
||||
|
||||
const getId = useCallback(() => {
|
||||
if (!data) {
|
||||
return [];
|
||||
}
|
||||
|
||||
const draggedItems = getDraggedItems(data, internalState);
|
||||
return draggedItems.map((item) => item.id);
|
||||
}, [data, internalState]);
|
||||
|
||||
const getItem = useCallback(() => {
|
||||
if (!data) {
|
||||
return [];
|
||||
}
|
||||
|
||||
const draggedItems = getDraggedItems(data, internalState);
|
||||
return draggedItems;
|
||||
}, [data, internalState]);
|
||||
|
||||
const onDragStart = useCallback(() => {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
|
||||
const draggedItems = getDraggedItems(data, internalState);
|
||||
if (internalState) {
|
||||
internalState.setDragging(draggedItems);
|
||||
}
|
||||
}, [data, internalState]);
|
||||
|
||||
const onDrop = useCallback(() => {
|
||||
if (internalState) {
|
||||
internalState.setDragging([]);
|
||||
}
|
||||
}, [internalState]);
|
||||
|
||||
const dragOperation = useMemo(
|
||||
() =>
|
||||
itemType === LibraryItem.QUEUE_SONG
|
||||
? [DragOperation.REORDER, DragOperation.ADD]
|
||||
: [DragOperation.ADD],
|
||||
[itemType],
|
||||
);
|
||||
|
||||
const drag = useMemo(
|
||||
() => ({
|
||||
getId,
|
||||
getItem,
|
||||
itemType,
|
||||
onDragStart,
|
||||
onDrop,
|
||||
operation: dragOperation,
|
||||
target: DragTarget.ALBUM,
|
||||
}),
|
||||
[getId, getItem, itemType, onDragStart, onDrop, dragOperation],
|
||||
);
|
||||
|
||||
const { isDragging: isDraggingLocal, ref } = useDragDrop<HTMLDivElement>({
|
||||
drag,
|
||||
isEnabled: !!enableDrag && !!data,
|
||||
});
|
||||
|
||||
const itemId = data && internalState ? data.id : undefined;
|
||||
const isDraggingState = useItemDraggingState(internalState, itemId);
|
||||
const isDragging = isDraggingState || isDraggingLocal;
|
||||
|
||||
const handleClick = useDoubleClick({
|
||||
onDoubleClick: (e: React.MouseEvent<HTMLDivElement>) => {
|
||||
if (!data || !controls || !internalState) {
|
||||
@@ -321,7 +239,7 @@ const CompactItemCard = ({
|
||||
typeof (data as { userRating: null | number }).userRating === 'number'
|
||||
? (data as { userRating: null | number }).userRating
|
||||
: null;
|
||||
const hasRating = showRating && userRating !== null && userRating > 0;
|
||||
const hasRating = userRating !== null && userRating > 0;
|
||||
|
||||
const imageContainerClassName = clsx(styles.imageContainer, {
|
||||
[styles.isRound]: isRound,
|
||||
@@ -329,26 +247,21 @@ const CompactItemCard = ({
|
||||
|
||||
const imageContainerContent = (
|
||||
<>
|
||||
<ItemImage
|
||||
<Image
|
||||
className={clsx(styles.image, {
|
||||
[styles.isRound]: isRound,
|
||||
})}
|
||||
id={data?.imageId}
|
||||
itemType={itemType}
|
||||
src={(data as Album | AlbumArtist | Playlist | Song)?.imageUrl}
|
||||
type="itemCard"
|
||||
src={imageUrl}
|
||||
/>
|
||||
{isFavorite && <div className={styles.favoriteBadge} />}
|
||||
{hasRating && <div className={styles.ratingBadge}>{userRating}</div>}
|
||||
<AnimatePresence>
|
||||
{withControls && showControls && data && (
|
||||
{withControls && showControls && (
|
||||
<ItemCardControls
|
||||
controls={controls}
|
||||
enableExpansion={enableExpansion}
|
||||
internalState={internalState}
|
||||
item={data}
|
||||
itemType={itemType}
|
||||
showRating={showRating}
|
||||
type="compact"
|
||||
/>
|
||||
)}
|
||||
@@ -375,10 +288,8 @@ const CompactItemCard = ({
|
||||
return (
|
||||
<div
|
||||
className={clsx(styles.container, styles.compact, {
|
||||
[styles.dragging]: isDragging,
|
||||
[styles.selected]: isSelected,
|
||||
})}
|
||||
ref={ref}
|
||||
>
|
||||
{enableNavigation && navigationPath && !internalState ? (
|
||||
<Link
|
||||
@@ -420,15 +331,14 @@ const CompactItemCard = ({
|
||||
row !== null && row !== undefined,
|
||||
)
|
||||
.map((row, index) => (
|
||||
<Text
|
||||
<div
|
||||
className={clsx(styles.row, {
|
||||
[styles.muted]: index > 0,
|
||||
})}
|
||||
key={row.id}
|
||||
size={index > 0 ? 'sm' : 'md'}
|
||||
>
|
||||
|
||||
</Text>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
@@ -441,11 +351,11 @@ const DefaultItemCard = ({
|
||||
data,
|
||||
enableExpansion,
|
||||
enableNavigation,
|
||||
imageUrl,
|
||||
internalState,
|
||||
isRound,
|
||||
itemType,
|
||||
rows,
|
||||
showRating,
|
||||
withControls,
|
||||
}: ItemCardDerivativeProps) => {
|
||||
const [showControls, setShowControls] = useState(false);
|
||||
@@ -547,16 +457,13 @@ const DefaultItemCard = ({
|
||||
typeof (data as { userRating: null | number }).userRating === 'number'
|
||||
? (data as { userRating: null | number }).userRating
|
||||
: null;
|
||||
const hasRating = showRating && userRating !== null && userRating > 0;
|
||||
const hasRating = userRating !== null && userRating > 0;
|
||||
|
||||
const imageContainerContent = (
|
||||
<>
|
||||
<ItemImage
|
||||
<Image
|
||||
className={clsx(styles.image, { [styles.isRound]: isRound })}
|
||||
id={data?.imageId}
|
||||
itemType={itemType}
|
||||
src={(data as Album | AlbumArtist | Playlist | Song)?.imageUrl}
|
||||
type="itemCard"
|
||||
src={imageUrl}
|
||||
/>
|
||||
{isFavorite && <div className={styles.favoriteBadge} />}
|
||||
{hasRating && <div className={styles.ratingBadge}>{userRating}</div>}
|
||||
@@ -567,7 +474,6 @@ const DefaultItemCard = ({
|
||||
enableExpansion={enableExpansion}
|
||||
item={data}
|
||||
itemType={itemType}
|
||||
showRating={showRating}
|
||||
type="default"
|
||||
/>
|
||||
)}
|
||||
@@ -637,15 +543,14 @@ const DefaultItemCard = ({
|
||||
(row): row is NonNullable<typeof row> => row !== null && row !== undefined,
|
||||
)
|
||||
.map((row, index) => (
|
||||
<Text
|
||||
<div
|
||||
className={clsx(styles.row, {
|
||||
[styles.muted]: index > 0,
|
||||
})}
|
||||
key={row.id}
|
||||
size={index > 0 ? 'sm' : 'md'}
|
||||
>
|
||||
|
||||
</Text>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
@@ -658,11 +563,11 @@ const PosterItemCard = ({
|
||||
enableDrag,
|
||||
enableExpansion,
|
||||
enableNavigation,
|
||||
imageUrl,
|
||||
internalState,
|
||||
isRound,
|
||||
itemType,
|
||||
rows,
|
||||
showRating,
|
||||
withControls,
|
||||
}: ItemCardDerivativeProps) => {
|
||||
const [showControls, setShowControls] = useState(false);
|
||||
@@ -672,64 +577,46 @@ const PosterItemCard = ({
|
||||
: undefined;
|
||||
const isSelected = useItemSelectionState(internalState, itemRowId || undefined);
|
||||
|
||||
const getId = useCallback(() => {
|
||||
if (!data) {
|
||||
return [];
|
||||
}
|
||||
|
||||
const draggedItems = getDraggedItems(data, internalState);
|
||||
return draggedItems.map((item) => item.id);
|
||||
}, [data, internalState]);
|
||||
|
||||
const getItem = useCallback(() => {
|
||||
if (!data) {
|
||||
return [];
|
||||
}
|
||||
|
||||
const draggedItems = getDraggedItems(data, internalState);
|
||||
return draggedItems;
|
||||
}, [data, internalState]);
|
||||
|
||||
const onDragStart = useCallback(() => {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
|
||||
const draggedItems = getDraggedItems(data, internalState);
|
||||
if (internalState) {
|
||||
internalState.setDragging(draggedItems);
|
||||
}
|
||||
}, [data, internalState]);
|
||||
|
||||
const onDrop = useCallback(() => {
|
||||
if (internalState) {
|
||||
internalState.setDragging([]);
|
||||
}
|
||||
}, [internalState]);
|
||||
|
||||
const dragOperation = useMemo(
|
||||
() =>
|
||||
itemType === LibraryItem.QUEUE_SONG
|
||||
? [DragOperation.REORDER, DragOperation.ADD]
|
||||
: [DragOperation.ADD],
|
||||
[itemType],
|
||||
);
|
||||
|
||||
const drag = useMemo(
|
||||
() => ({
|
||||
getId,
|
||||
getItem,
|
||||
itemType,
|
||||
onDragStart,
|
||||
onDrop,
|
||||
operation: dragOperation,
|
||||
target: DragTarget.ALBUM,
|
||||
}),
|
||||
[getId, getItem, itemType, onDragStart, onDrop, dragOperation],
|
||||
);
|
||||
|
||||
const { isDragging: isDraggingLocal, ref } = useDragDrop<HTMLDivElement>({
|
||||
drag,
|
||||
drag: {
|
||||
getId: () => {
|
||||
if (!data) {
|
||||
return [];
|
||||
}
|
||||
|
||||
const draggedItems = getDraggedItems(data, internalState);
|
||||
return draggedItems.map((item) => item.id);
|
||||
},
|
||||
getItem: () => {
|
||||
if (!data) {
|
||||
return [];
|
||||
}
|
||||
|
||||
const draggedItems = getDraggedItems(data, internalState);
|
||||
return draggedItems;
|
||||
},
|
||||
itemType,
|
||||
onDragStart: () => {
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
|
||||
const draggedItems = getDraggedItems(data, internalState);
|
||||
if (internalState) {
|
||||
internalState.setDragging(draggedItems);
|
||||
}
|
||||
},
|
||||
onDrop: () => {
|
||||
if (internalState) {
|
||||
internalState.setDragging([]);
|
||||
}
|
||||
},
|
||||
operation:
|
||||
itemType === LibraryItem.QUEUE_SONG
|
||||
? [DragOperation.REORDER, DragOperation.ADD]
|
||||
: [DragOperation.ADD],
|
||||
target: DragTarget.ALBUM,
|
||||
},
|
||||
isEnabled: !!enableDrag && !!data,
|
||||
});
|
||||
|
||||
@@ -829,16 +716,13 @@ const PosterItemCard = ({
|
||||
typeof (data as { userRating: null | number }).userRating === 'number'
|
||||
? (data as { userRating: null | number }).userRating
|
||||
: null;
|
||||
const hasRating = showRating && userRating !== null && userRating > 0;
|
||||
const hasRating = userRating !== null && userRating > 0;
|
||||
|
||||
const imageContainerContent = (
|
||||
<>
|
||||
<ItemImage
|
||||
<Image
|
||||
className={clsx(styles.image, { [styles.isRound]: isRound })}
|
||||
id={(data as { imageId: string })?.imageId}
|
||||
itemType={itemType}
|
||||
src={(data as { imageUrl: string })?.imageUrl}
|
||||
type="itemCard"
|
||||
src={imageUrl}
|
||||
/>
|
||||
{isFavorite && <div className={styles.favoriteBadge} />}
|
||||
{hasRating && <div className={styles.ratingBadge}>{userRating}</div>}
|
||||
@@ -850,7 +734,6 @@ const PosterItemCard = ({
|
||||
internalState={internalState}
|
||||
item={data}
|
||||
itemType={itemType}
|
||||
showRating={showRating}
|
||||
type="poster"
|
||||
/>
|
||||
)}
|
||||
@@ -924,31 +807,21 @@ const PosterItemCard = ({
|
||||
(row): row is NonNullable<typeof row> => row !== null && row !== undefined,
|
||||
)
|
||||
.map((row, index) => (
|
||||
<Text
|
||||
<div
|
||||
className={clsx(styles.row, {
|
||||
[styles.muted]: index > 0,
|
||||
})}
|
||||
key={row.id}
|
||||
size={index > 0 ? 'sm' : 'md'}
|
||||
>
|
||||
|
||||
</Text>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
const MemoizedPosterItemCard = memo(PosterItemCard);
|
||||
MemoizedPosterItemCard.displayName = 'MemoizedPosterItemCard';
|
||||
|
||||
const MemoizedCompactItemCard = memo(CompactItemCard);
|
||||
MemoizedCompactItemCard.displayName = 'MemoizedCompactItemCard';
|
||||
|
||||
const MemoizedDefaultItemCard = memo(DefaultItemCard);
|
||||
MemoizedDefaultItemCard.displayName = 'MemoizedDefaultItemCard';
|
||||
|
||||
export const getDataRows = (type?: 'compact' | 'default' | 'poster'): DataRow[] => {
|
||||
export const getDataRows = (): DataRow[] => {
|
||||
return [
|
||||
{
|
||||
format: (data) => {
|
||||
@@ -1006,18 +879,21 @@ export const getDataRows = (type?: 'compact' | 'default' | 'poster'): DataRow[]
|
||||
{
|
||||
format: (data) => {
|
||||
if ('albumArtists' in data && Array.isArray(data.albumArtists)) {
|
||||
return (
|
||||
<JoinedArtists
|
||||
artistName={data.albumArtistName}
|
||||
artists={data.albumArtists}
|
||||
linkProps={{ fw: 400, isMuted: true }}
|
||||
rootTextProps={{
|
||||
fw: 400,
|
||||
isMuted: type === 'compact' ? false : true,
|
||||
size: 'sm',
|
||||
}}
|
||||
/>
|
||||
);
|
||||
return (data as Album | Song).albumArtists.map((artist, index) => (
|
||||
<Fragment key={artist.id}>
|
||||
<Link
|
||||
state={{ item: artist }}
|
||||
to={generatePath(AppRoute.LIBRARY_ALBUM_ARTISTS_DETAIL, {
|
||||
albumArtistId: artist.id,
|
||||
})}
|
||||
>
|
||||
{artist.name}
|
||||
</Link>
|
||||
{index < (data as Album | Song).albumArtists.length - 1 && (
|
||||
<Separator />
|
||||
)}
|
||||
</Fragment>
|
||||
));
|
||||
}
|
||||
return '';
|
||||
},
|
||||
@@ -1049,7 +925,7 @@ export const getDataRows = (type?: 'compact' | 'default' | 'poster'): DataRow[]
|
||||
{
|
||||
format: (data) => {
|
||||
if ('duration' in data && data.duration !== null) {
|
||||
return formatDurationString(data.duration);
|
||||
return formatDuration(data.duration * 1000);
|
||||
}
|
||||
return '';
|
||||
},
|
||||
@@ -1058,17 +934,7 @@ export const getDataRows = (type?: 'compact' | 'default' | 'poster'): DataRow[]
|
||||
{
|
||||
format: (data) => {
|
||||
if ('releaseYear' in data && data.releaseYear !== null) {
|
||||
const releaseYear = data.releaseYear;
|
||||
const originalYear =
|
||||
'originalYear' in data && data.originalYear !== null
|
||||
? data.originalYear
|
||||
: null;
|
||||
|
||||
if (originalYear !== null && originalYear !== releaseYear) {
|
||||
return `${originalYear}${SEPARATOR_STRING}${releaseYear}`;
|
||||
}
|
||||
|
||||
return String(releaseYear);
|
||||
return String(data.releaseYear);
|
||||
}
|
||||
return '';
|
||||
},
|
||||
@@ -1077,15 +943,7 @@ export const getDataRows = (type?: 'compact' | 'default' | 'poster'): DataRow[]
|
||||
{
|
||||
format: (data) => {
|
||||
if ('releaseDate' in data && data.releaseDate) {
|
||||
if (
|
||||
'originalDate' in data &&
|
||||
data.originalDate &&
|
||||
data.originalDate !== data.releaseDate
|
||||
) {
|
||||
return `${formatDateAbsoluteUTC(data.originalDate)}${SEPARATOR_STRING}${formatDateAbsoluteUTC(data.releaseDate)}`;
|
||||
}
|
||||
|
||||
return `${formatDateAbsoluteUTC(data.releaseDate)}`;
|
||||
return data.releaseDate;
|
||||
}
|
||||
return '';
|
||||
},
|
||||
@@ -1103,12 +961,7 @@ export const getDataRows = (type?: 'compact' | 'default' | 'poster'): DataRow[]
|
||||
{
|
||||
format: (data) => {
|
||||
if ('lastPlayedAt' in data && data.lastPlayedAt) {
|
||||
return (
|
||||
<Group align="center" gap="xs">
|
||||
<Icon icon="lastPlayed" size="sm" />
|
||||
{formatDateRelative(data.lastPlayedAt)}
|
||||
</Group>
|
||||
);
|
||||
return formatDateRelative(data.lastPlayedAt);
|
||||
}
|
||||
return '';
|
||||
},
|
||||
@@ -1117,7 +970,7 @@ export const getDataRows = (type?: 'compact' | 'default' | 'poster'): DataRow[]
|
||||
{
|
||||
format: (data) => {
|
||||
if ('playCount' in data && data.playCount !== null) {
|
||||
return i18n.t('entity.play', { count: data.playCount });
|
||||
return String(data.playCount);
|
||||
}
|
||||
return '';
|
||||
},
|
||||
@@ -1166,7 +1019,7 @@ export const getDataRows = (type?: 'compact' | 'default' | 'poster'): DataRow[]
|
||||
{
|
||||
format: (data) => {
|
||||
if ('songCount' in data && data.songCount !== null) {
|
||||
return i18n.t('entity.trackWithCount', { count: data.songCount });
|
||||
return String(data.songCount);
|
||||
}
|
||||
return '';
|
||||
},
|
||||
@@ -1175,7 +1028,7 @@ export const getDataRows = (type?: 'compact' | 'default' | 'poster'): DataRow[]
|
||||
{
|
||||
format: (data) => {
|
||||
if ('albumCount' in data && data.albumCount !== null) {
|
||||
return i18n.t('entity.albumWithCount', { count: data.albumCount });
|
||||
return String(data.albumCount);
|
||||
}
|
||||
return '';
|
||||
},
|
||||
@@ -1230,67 +1083,56 @@ const getItemNavigationPath = (
|
||||
return getTitlePath(effectiveItemType, data.id);
|
||||
};
|
||||
|
||||
const ItemCardRow = memo(
|
||||
({
|
||||
data,
|
||||
index,
|
||||
row,
|
||||
type,
|
||||
}: {
|
||||
data: Album | AlbumArtist | Artist | Playlist | Song | undefined;
|
||||
index: number;
|
||||
row: DataRow;
|
||||
type?: 'compact' | 'default' | 'poster';
|
||||
}) => {
|
||||
const alignmentClass =
|
||||
row.align === 'center'
|
||||
? styles['align-center']
|
||||
: row.align === 'end'
|
||||
? styles['align-end']
|
||||
: styles['align-start'];
|
||||
const ItemCardRow = ({
|
||||
data,
|
||||
index,
|
||||
row,
|
||||
type,
|
||||
}: {
|
||||
data: Album | AlbumArtist | Artist | Playlist | Song | undefined;
|
||||
index: number;
|
||||
row: DataRow;
|
||||
type?: 'compact' | 'default' | 'poster';
|
||||
}) => {
|
||||
const alignmentClass =
|
||||
row.align === 'center'
|
||||
? styles['align-center']
|
||||
: row.align === 'end'
|
||||
? styles['align-end']
|
||||
: styles['align-start'];
|
||||
|
||||
// All rows except the first one (index 0) should be muted
|
||||
const isMuted = index > 0 || row.isMuted;
|
||||
|
||||
const formattedContent = useMemo(() => {
|
||||
if (!data) {
|
||||
return null;
|
||||
}
|
||||
return row.format(data);
|
||||
}, [data, row]);
|
||||
|
||||
if (!data) {
|
||||
return (
|
||||
<div
|
||||
className={clsx(styles.row, alignmentClass, {
|
||||
[styles.compact]: type === 'compact',
|
||||
[styles.default]: type === 'default',
|
||||
[styles.muted]: isMuted,
|
||||
[styles.poster]: type === 'poster',
|
||||
})}
|
||||
>
|
||||
|
||||
</div>
|
||||
);
|
||||
}
|
||||
// All rows except the first one (index 0) should be muted
|
||||
const isMuted = index > 0 || row.isMuted;
|
||||
|
||||
if (!data) {
|
||||
return (
|
||||
<Text
|
||||
<div
|
||||
className={clsx(styles.row, alignmentClass, {
|
||||
[styles.bold]: index === 0,
|
||||
[styles.compact]: type === 'compact',
|
||||
[styles.default]: type === 'default',
|
||||
[styles.muted]: isMuted,
|
||||
[styles.poster]: type === 'poster',
|
||||
})}
|
||||
size={index > 0 ? 'sm' : 'md'}
|
||||
>
|
||||
{formattedContent}
|
||||
</Text>
|
||||
|
||||
</div>
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
ItemCardRow.displayName = 'ItemCardRow';
|
||||
return (
|
||||
<Text
|
||||
className={clsx(styles.row, alignmentClass, {
|
||||
[styles.bold]: index === 0,
|
||||
[styles.compact]: type === 'compact',
|
||||
[styles.default]: type === 'default',
|
||||
[styles.muted]: isMuted,
|
||||
[styles.poster]: type === 'poster',
|
||||
})}
|
||||
size={index > 0 ? 'sm' : 'md'}
|
||||
>
|
||||
{row.format(data)}
|
||||
</Text>
|
||||
);
|
||||
};
|
||||
|
||||
export const MemoizedItemCard = memo(ItemCard);
|
||||
|
||||
@@ -1,146 +1,146 @@
|
||||
// import { AnimatePresence } from 'motion/react';
|
||||
// import { MouseEvent, useMemo, useState } from 'react';
|
||||
// import { Link } from 'react-router';
|
||||
import { AnimatePresence } from 'motion/react';
|
||||
import { MouseEvent, useMemo, useState } from 'react';
|
||||
import { Link } from 'react-router';
|
||||
|
||||
// import styles from './item-detail.module.css';
|
||||
import styles from './item-detail.module.css';
|
||||
|
||||
// import { ItemCardControls } from '/@/renderer/components/item-card/item-card-controls';
|
||||
// import { useFastAverageColor } from '/@/renderer/hooks';
|
||||
// import { ActionIcon } from '/@/shared/components/action-icon/action-icon';
|
||||
// import { Badge } from '/@/shared/components/badge/badge';
|
||||
// import { Divider } from '/@/shared/components/divider/divider';
|
||||
// import { Group } from '/@/shared/components/group/group';
|
||||
// import { Image } from '/@/shared/components/image/image';
|
||||
// import { Rating } from '/@/shared/components/rating/rating';
|
||||
// import { Text } from '/@/shared/components/text/text';
|
||||
// import {
|
||||
// Album,
|
||||
// AlbumArtist,
|
||||
// Artist,
|
||||
// LibraryItem,
|
||||
// Playlist,
|
||||
// Song,
|
||||
// } from '/@/shared/types/domain-types';
|
||||
// import { stringToColor } from '/@/shared/utils/string-to-color';
|
||||
import { ItemCardControls } from '/@/renderer/components/item-card/item-card-controls';
|
||||
import { useFastAverageColor } from '/@/renderer/hooks';
|
||||
import { ActionIcon } from '/@/shared/components/action-icon/action-icon';
|
||||
import { Badge } from '/@/shared/components/badge/badge';
|
||||
import { Divider } from '/@/shared/components/divider/divider';
|
||||
import { Group } from '/@/shared/components/group/group';
|
||||
import { Image } from '/@/shared/components/image/image';
|
||||
import { Rating } from '/@/shared/components/rating/rating';
|
||||
import { Text } from '/@/shared/components/text/text';
|
||||
import {
|
||||
Album,
|
||||
AlbumArtist,
|
||||
Artist,
|
||||
LibraryItem,
|
||||
Playlist,
|
||||
Song,
|
||||
} from '/@/shared/types/domain-types';
|
||||
import { stringToColor } from '/@/shared/utils/string-to-color';
|
||||
|
||||
// interface ItemDetailProps {
|
||||
// data: Album | AlbumArtist | Artist | Playlist | Song | undefined;
|
||||
// itemHeight: number;
|
||||
// itemType: LibraryItem;
|
||||
// onClick?: (e: MouseEvent<HTMLDivElement>, item: unknown, itemType: LibraryItem) => void;
|
||||
// withControls?: boolean;
|
||||
// }
|
||||
interface ItemDetailProps {
|
||||
data: Album | AlbumArtist | Artist | Playlist | Song | undefined;
|
||||
itemHeight: number;
|
||||
itemType: LibraryItem;
|
||||
onClick?: (e: MouseEvent<HTMLDivElement>, item: unknown, itemType: LibraryItem) => void;
|
||||
withControls?: boolean;
|
||||
}
|
||||
|
||||
// export const ItemDetail = ({ data, itemType, onClick, withControls }: ItemDetailProps) => {
|
||||
// const imageUrl = getImageUrl(data);
|
||||
export const ItemDetail = ({ data, itemType, onClick, withControls }: ItemDetailProps) => {
|
||||
const imageUrl = getImageUrl(data);
|
||||
|
||||
// const [showControls, setShowControls] = useState(false);
|
||||
const [showControls, setShowControls] = useState(false);
|
||||
|
||||
// const { background } = useFastAverageColor({
|
||||
// algorithm: 'simple',
|
||||
// src: imageUrl,
|
||||
// srcLoaded: false,
|
||||
// });
|
||||
const { background } = useFastAverageColor({
|
||||
algorithm: 'simple',
|
||||
src: imageUrl,
|
||||
srcLoaded: false,
|
||||
});
|
||||
|
||||
// // const tags = [...(data?.genres ?? [])];
|
||||
// const tags = [...(data?.genres ?? [])];
|
||||
|
||||
// const tags = useMemo(() => {
|
||||
// if (!data) {
|
||||
// return [];
|
||||
// }
|
||||
const tags = useMemo(() => {
|
||||
if (!data) {
|
||||
return [];
|
||||
}
|
||||
|
||||
// const items: {
|
||||
// color?: string;
|
||||
// id: string;
|
||||
// isLight?: boolean;
|
||||
// itemType: LibraryItem;
|
||||
// name: string;
|
||||
// }[] = [];
|
||||
const items: {
|
||||
color?: string;
|
||||
id: string;
|
||||
isLight?: boolean;
|
||||
itemType: LibraryItem;
|
||||
name: string;
|
||||
}[] = [];
|
||||
|
||||
// if ('albumArtists' in data && Array.isArray(data.albumArtists)) {
|
||||
// data.albumArtists?.forEach((tag: { id: string; name: string }) => {
|
||||
// items.push({ id: tag.id, itemType: LibraryItem.ALBUM_ARTIST, name: tag.name });
|
||||
// });
|
||||
// }
|
||||
if ('albumArtists' in data && Array.isArray(data.albumArtists)) {
|
||||
data.albumArtists?.forEach((tag: { id: string; name: string }) => {
|
||||
items.push({ id: tag.id, itemType: LibraryItem.ALBUM_ARTIST, name: tag.name });
|
||||
});
|
||||
}
|
||||
|
||||
// if ('genres' in data && Array.isArray(data.genres)) {
|
||||
// data.genres?.forEach((tag: { id: string; itemType: LibraryItem; name: string }) => {
|
||||
// const { color, isLight } = stringToColor(tag.name);
|
||||
// items.push({ ...tag, color, isLight });
|
||||
// });
|
||||
// }
|
||||
if ('genres' in data && Array.isArray(data.genres)) {
|
||||
data.genres?.forEach((tag: { id: string; itemType: LibraryItem; name: string }) => {
|
||||
const { color, isLight } = stringToColor(tag.name);
|
||||
items.push({ ...tag, color, isLight });
|
||||
});
|
||||
}
|
||||
|
||||
// // if ('tags' in data && typeof data.tags === 'object') {
|
||||
// // console.log('data.tags :>> ', data.tags);
|
||||
// // Object.entries(data.tags).forEach(([key, value]) => {
|
||||
// // items.push({ id: key, itemType: LibraryItem.TAG, name: value });
|
||||
// // });
|
||||
// // }
|
||||
// if ('tags' in data && typeof data.tags === 'object') {
|
||||
// console.log('data.tags :>> ', data.tags);
|
||||
// Object.entries(data.tags).forEach(([key, value]) => {
|
||||
// items.push({ id: key, itemType: LibraryItem.TAG, name: value });
|
||||
// });
|
||||
// }
|
||||
|
||||
// return items;
|
||||
// }, [data]);
|
||||
return items;
|
||||
}, [data]);
|
||||
|
||||
// return (
|
||||
// <div
|
||||
// className={styles.container}
|
||||
// onClick={(e) => onClick?.(e, data, itemType)}
|
||||
// style={{ backgroundColor: background }}
|
||||
// >
|
||||
// <div
|
||||
// className={styles.imageContainer}
|
||||
// onMouseEnter={() => withControls && setShowControls(true)}
|
||||
// onMouseLeave={() => withControls && setShowControls(false)}
|
||||
// >
|
||||
// <Image alt={data?.name} src={imageUrl} />
|
||||
// <AnimatePresence>
|
||||
// {withControls && showControls && <ItemCardControls type="compact" />}
|
||||
// </AnimatePresence>
|
||||
// </div>
|
||||
// <div className={styles.metadataContainer}>
|
||||
// <div className={styles.header}>
|
||||
// <Text className={styles.title} component={Link} isLink size="lg" weight={500}>
|
||||
// {data?.name}
|
||||
// </Text>
|
||||
// <Group>
|
||||
// {data && 'userRating' in data && (
|
||||
// <Rating size="xs" value={data?.userRating ?? 0} />
|
||||
// )}
|
||||
// {data && 'userFavorite' in data && (
|
||||
// <ActionIcon
|
||||
// icon="favorite"
|
||||
// iconProps={{
|
||||
// fill: data?.userFavorite ? 'primary' : 'default',
|
||||
// }}
|
||||
// size="xs"
|
||||
// />
|
||||
// )}
|
||||
// </Group>
|
||||
// </div>
|
||||
// <Divider />
|
||||
// <div className={styles.content}>
|
||||
// <Group className={styles.tags} gap="xs">
|
||||
// {tags.map((tag) => (
|
||||
// <Badge
|
||||
// key={tag.id}
|
||||
// style={{
|
||||
// backgroundColor: tag.color,
|
||||
// color: tag.isLight ? 'black' : 'white',
|
||||
// }}
|
||||
// >
|
||||
// {tag.name}
|
||||
// </Badge>
|
||||
// ))}
|
||||
// </Group>
|
||||
// </div>
|
||||
// </div>
|
||||
// </div>
|
||||
// );
|
||||
// };
|
||||
return (
|
||||
<div
|
||||
className={styles.container}
|
||||
onClick={(e) => onClick?.(e, data, itemType)}
|
||||
style={{ backgroundColor: background }}
|
||||
>
|
||||
<div
|
||||
className={styles.imageContainer}
|
||||
onMouseEnter={() => withControls && setShowControls(true)}
|
||||
onMouseLeave={() => withControls && setShowControls(false)}
|
||||
>
|
||||
<Image alt={data?.name} src={imageUrl} />
|
||||
<AnimatePresence>
|
||||
{withControls && showControls && <ItemCardControls type="compact" />}
|
||||
</AnimatePresence>
|
||||
</div>
|
||||
<div className={styles.metadataContainer}>
|
||||
<div className={styles.header}>
|
||||
<Text className={styles.title} component={Link} isLink size="lg" weight={500}>
|
||||
{data?.name}
|
||||
</Text>
|
||||
<Group>
|
||||
{data && 'userRating' in data && (
|
||||
<Rating size="xs" value={data?.userRating ?? 0} />
|
||||
)}
|
||||
{data && 'userFavorite' in data && (
|
||||
<ActionIcon
|
||||
icon="favorite"
|
||||
iconProps={{
|
||||
fill: data?.userFavorite ? 'primary' : 'default',
|
||||
}}
|
||||
size="xs"
|
||||
/>
|
||||
)}
|
||||
</Group>
|
||||
</div>
|
||||
<Divider />
|
||||
<div className={styles.content}>
|
||||
<Group className={styles.tags} gap="xs">
|
||||
{tags.map((tag) => (
|
||||
<Badge
|
||||
key={tag.id}
|
||||
style={{
|
||||
backgroundColor: tag.color,
|
||||
color: tag.isLight ? 'black' : 'white',
|
||||
}}
|
||||
>
|
||||
{tag.name}
|
||||
</Badge>
|
||||
))}
|
||||
</Group>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
// const getImageUrl = (data: Album | AlbumArtist | Artist | Playlist | Song | undefined) => {
|
||||
// if (data && 'imageUrl' in data) {
|
||||
// return data.imageUrl || undefined;
|
||||
// }
|
||||
const getImageUrl = (data: Album | AlbumArtist | Artist | Playlist | Song | undefined) => {
|
||||
if (data && 'imageUrl' in data) {
|
||||
return data.imageUrl || undefined;
|
||||
}
|
||||
|
||||
// return undefined;
|
||||
// };
|
||||
return undefined;
|
||||
};
|
||||
|
||||
@@ -1,141 +0,0 @@
|
||||
import { memo, useMemo } from 'react';
|
||||
import z from 'zod';
|
||||
|
||||
import { api } from '/@/renderer/api';
|
||||
import {
|
||||
GeneralSettingsSchema,
|
||||
getServerById,
|
||||
useAuthStore,
|
||||
useCurrentServerId,
|
||||
useImageRes,
|
||||
useSettingsStore,
|
||||
} from '/@/renderer/store';
|
||||
import { BaseImage, ImageProps } from '/@/shared/components/image/image';
|
||||
import { LibraryItem } from '/@/shared/types/domain-types';
|
||||
|
||||
const getUnloaderIcon = (itemType: LibraryItem) => {
|
||||
switch (itemType) {
|
||||
case LibraryItem.ALBUM:
|
||||
return 'emptyAlbumImage';
|
||||
case LibraryItem.ALBUM_ARTIST:
|
||||
return 'emptyArtistImage';
|
||||
case LibraryItem.ARTIST:
|
||||
return 'emptyArtistImage';
|
||||
case LibraryItem.GENRE:
|
||||
return 'emptyGenreImage';
|
||||
case LibraryItem.PLAYLIST:
|
||||
return 'emptyPlaylistImage';
|
||||
case LibraryItem.SONG:
|
||||
return 'emptySongImage';
|
||||
default:
|
||||
return 'emptyImage';
|
||||
}
|
||||
};
|
||||
|
||||
const BaseItemImage = (
|
||||
props: Omit<ImageProps, 'id' | 'src'> & {
|
||||
id?: null | string;
|
||||
itemType: LibraryItem;
|
||||
serverId?: null | string;
|
||||
src?: null | string;
|
||||
type?: keyof z.infer<typeof GeneralSettingsSchema>['imageRes'];
|
||||
},
|
||||
) => {
|
||||
const { serverId, src, ...rest } = props;
|
||||
|
||||
const imageUrl = useItemImageUrl({
|
||||
id: props.id,
|
||||
imageUrl: src,
|
||||
itemType: props.itemType,
|
||||
serverId: serverId || undefined,
|
||||
type: props.type,
|
||||
});
|
||||
|
||||
return (
|
||||
<BaseImage
|
||||
src={imageUrl}
|
||||
unloaderIcon={getUnloaderIcon(props.itemType)}
|
||||
{...rest}
|
||||
id={props.id || undefined}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export const ItemImage = memo(BaseItemImage);
|
||||
|
||||
interface UseItemImageUrlProps {
|
||||
id?: null | string;
|
||||
imageUrl?: null | string;
|
||||
itemType: LibraryItem;
|
||||
serverId?: string;
|
||||
size?: number;
|
||||
type?: keyof z.infer<typeof GeneralSettingsSchema>['imageRes'];
|
||||
useRemoteUrl?: boolean;
|
||||
}
|
||||
|
||||
export const useItemImageUrl = (args: UseItemImageUrlProps) => {
|
||||
const { id, imageUrl, itemType, size, type, useRemoteUrl } = args;
|
||||
const serverId = useCurrentServerId();
|
||||
|
||||
const imageRes = useImageRes();
|
||||
const sizeByType: number | undefined = type ? imageRes[type] : undefined;
|
||||
|
||||
return useMemo(() => {
|
||||
if (imageUrl) {
|
||||
return imageUrl;
|
||||
}
|
||||
|
||||
if (!id) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const targetServerId = args.serverId || serverId;
|
||||
let baseUrl: string | undefined;
|
||||
|
||||
if (useRemoteUrl) {
|
||||
const server = getServerById(targetServerId);
|
||||
baseUrl = server?.remoteUrl || server?.url;
|
||||
}
|
||||
|
||||
return (
|
||||
api.controller.getImageUrl({
|
||||
apiClientProps: { serverId: targetServerId },
|
||||
baseUrl,
|
||||
query: { id, itemType, size: size ?? sizeByType },
|
||||
}) || undefined
|
||||
);
|
||||
}, [args.serverId, id, imageUrl, itemType, serverId, size, sizeByType, useRemoteUrl]);
|
||||
};
|
||||
|
||||
export function getItemImageUrl(args: UseItemImageUrlProps) {
|
||||
const { id, imageUrl, itemType, size, type, useRemoteUrl } = args;
|
||||
const authStore = useAuthStore.getState();
|
||||
const currentServerId = authStore.currentServer?.id;
|
||||
const serverId = (args.serverId || currentServerId) as string;
|
||||
|
||||
const imageRes = useSettingsStore.getState().general.imageRes;
|
||||
const sizeByType: number | undefined = type ? imageRes[type] : undefined;
|
||||
|
||||
if (imageUrl) {
|
||||
return imageUrl;
|
||||
}
|
||||
|
||||
if (!id) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
let baseUrl: string | undefined;
|
||||
|
||||
if (useRemoteUrl) {
|
||||
const server = getServerById(serverId);
|
||||
baseUrl = server?.remoteUrl || server?.url;
|
||||
}
|
||||
|
||||
return (
|
||||
api.controller.getImageUrl({
|
||||
apiClientProps: { serverId },
|
||||
baseUrl,
|
||||
query: { id, itemType, size: size ?? sizeByType },
|
||||
}) || undefined
|
||||
);
|
||||
}
|
||||
@@ -191,7 +191,7 @@ export const useDefaultItemListControls = (args?: UseDefaultItemListControlsArgs
|
||||
onColumnResized?.(columnId, width);
|
||||
},
|
||||
|
||||
onDoubleClick: ({ internalState, item, itemType, meta }: DefaultItemControlProps) => {
|
||||
onDoubleClick: ({ internalState, item, itemType }: DefaultItemControlProps) => {
|
||||
if (!item || !internalState) {
|
||||
return;
|
||||
}
|
||||
@@ -212,7 +212,7 @@ export const useDefaultItemListControls = (args?: UseDefaultItemListControlsArgs
|
||||
}
|
||||
}
|
||||
|
||||
if (itemType === LibraryItem.SONG || itemType === LibraryItem.PLAYLIST_SONG) {
|
||||
if (itemType === LibraryItem.SONG) {
|
||||
const data = internalState.getData();
|
||||
const validSongs = data.filter((d): d is Song => {
|
||||
if (!d || typeof d !== 'object') {
|
||||
@@ -235,31 +235,17 @@ export const useDefaultItemListControls = (args?: UseDefaultItemListControlsArgs
|
||||
return;
|
||||
}
|
||||
|
||||
const playType = (meta?.playType as Play) || Play.NOW;
|
||||
|
||||
// For NEXT, LAST, NEXT_SHUFFLE, and LAST_SHUFFLE, only add the clicked song
|
||||
// For NOW and SHUFFLE, add a range of songs around the clicked song
|
||||
let songsToAdd: Song[];
|
||||
if (
|
||||
playType === Play.NEXT ||
|
||||
playType === Play.LAST ||
|
||||
playType === Play.NEXT_SHUFFLE ||
|
||||
playType === Play.LAST_SHUFFLE
|
||||
) {
|
||||
songsToAdd = [item as Song];
|
||||
} else {
|
||||
const songsBefore = 50;
|
||||
const songsAfter = 50;
|
||||
const startIndex = Math.max(0, clickedIndex - songsBefore);
|
||||
const endIndex = Math.min(validSongs.length, clickedIndex + songsAfter + 1);
|
||||
songsToAdd = validSongs.slice(startIndex, endIndex);
|
||||
}
|
||||
const songsBefore = 100;
|
||||
const songsAfter = 100;
|
||||
const startIndex = Math.max(0, clickedIndex - songsBefore);
|
||||
const endIndex = Math.min(validSongs.length, clickedIndex + songsAfter + 1);
|
||||
const songsToAdd = validSongs.slice(startIndex, endIndex);
|
||||
|
||||
if (songsToAdd.length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
player.addToQueueByData(songsToAdd, playType, item.id);
|
||||
player.addToQueueByData(songsToAdd, Play.NOW, item.id);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ import { eventEmitter } from '/@/renderer/events/event-emitter';
|
||||
import { UserFavoriteEventPayload, UserRatingEventPayload } from '/@/renderer/events/events';
|
||||
import { LibraryItem } from '/@/shared/types/domain-types';
|
||||
|
||||
export const getListQueryKeyName = (itemType: LibraryItem): string => {
|
||||
const getQueryKeyName = (itemType: LibraryItem): string => {
|
||||
switch (itemType) {
|
||||
case LibraryItem.ALBUM:
|
||||
return 'albums';
|
||||
@@ -32,13 +32,6 @@ export const getListQueryKeyName = (itemType: LibraryItem): string => {
|
||||
}
|
||||
};
|
||||
|
||||
type InfiniteLoaderCacheData = {
|
||||
dataMap: Map<number, unknown>;
|
||||
idToIndexMap: Map<string, number>;
|
||||
pagesLoaded: Record<string, boolean>;
|
||||
version: number;
|
||||
};
|
||||
|
||||
interface UseItemListInfiniteLoaderProps {
|
||||
eventKey: string;
|
||||
fetchThreshold?: number;
|
||||
@@ -50,12 +43,10 @@ interface UseItemListInfiniteLoaderProps {
|
||||
serverId: string;
|
||||
}
|
||||
|
||||
function getInitialData(): InfiniteLoaderCacheData {
|
||||
function getInitialData(itemCount: number) {
|
||||
return {
|
||||
dataMap: new Map(),
|
||||
idToIndexMap: new Map(),
|
||||
data: Array.from({ length: itemCount }, () => undefined),
|
||||
pagesLoaded: {},
|
||||
version: 0,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -94,7 +85,7 @@ export const useItemListInfiniteLoader = ({
|
||||
const { setItemCount } = useListContext();
|
||||
|
||||
useEffect(() => {
|
||||
if (totalItemCount == null || !setItemCount) {
|
||||
if (!totalItemCount || !setItemCount) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -124,30 +115,31 @@ export const useItemListInfiniteLoader = ({
|
||||
|
||||
return result;
|
||||
},
|
||||
queryKey: queryKeys[getListQueryKeyName(itemType)].list(serverId, queryParams),
|
||||
queryKey: queryKeys[getQueryKeyName(itemType)].list(serverId, queryParams),
|
||||
});
|
||||
|
||||
const endIndex = startIndex + itemsPerPage;
|
||||
|
||||
// Update the query data with the fetched page
|
||||
queryClient.setQueryData(dataQueryKey, (oldData: InfiniteLoaderCacheData) => {
|
||||
const nextDataMap = new Map(oldData.dataMap);
|
||||
const nextIdToIndexMap = new Map(oldData.idToIndexMap);
|
||||
queryClient.setQueryData(
|
||||
dataQueryKey,
|
||||
(oldData: { data: unknown[]; pagesLoaded: Record<string, boolean> }) => {
|
||||
const newData = [
|
||||
...oldData.data.slice(0, startIndex),
|
||||
...result.items,
|
||||
...oldData.data.slice(endIndex),
|
||||
];
|
||||
const newPagesLoaded = {
|
||||
...oldData.pagesLoaded,
|
||||
[pageNumber]: true,
|
||||
};
|
||||
|
||||
result.items.forEach((item, offset) => {
|
||||
const index = startIndex + offset;
|
||||
nextDataMap.set(index, item);
|
||||
if (item && typeof item === 'object' && 'id' in (item as any)) {
|
||||
const id = String((item as any).id);
|
||||
nextIdToIndexMap.set(id, index);
|
||||
}
|
||||
});
|
||||
|
||||
return {
|
||||
dataMap: nextDataMap,
|
||||
idToIndexMap: nextIdToIndexMap,
|
||||
pagesLoaded: { ...oldData.pagesLoaded, [pageNumber]: true },
|
||||
version: oldData.version + 1,
|
||||
};
|
||||
});
|
||||
return {
|
||||
data: newData,
|
||||
pagesLoaded: newPagesLoaded,
|
||||
};
|
||||
},
|
||||
);
|
||||
|
||||
// Track the last fetched page
|
||||
lastFetchedPageRef.current = Math.max(lastFetchedPageRef.current, pageNumber);
|
||||
@@ -187,19 +179,17 @@ export const useItemListInfiniteLoader = ({
|
||||
if (!oldData) return oldData;
|
||||
return {
|
||||
...oldData,
|
||||
dataMap: new Map(),
|
||||
idToIndexMap: new Map(),
|
||||
pagesLoaded: {},
|
||||
version: (oldData?.version ?? 0) + 1,
|
||||
};
|
||||
});
|
||||
|
||||
lastFetchedPageRef.current = -1;
|
||||
currentVisibleRangeRef.current = null;
|
||||
|
||||
// Invalidate and wait for count query to refetch
|
||||
await queryClient.ensureQueryData({
|
||||
// Invalidate and wait for count query to refetch (this will suspend via useSuspenseQuery)
|
||||
await queryClient.refetchQueries({
|
||||
queryKey: countQueryKey,
|
||||
type: 'active',
|
||||
});
|
||||
|
||||
// Fetch the first page after count is refetched
|
||||
@@ -222,11 +212,11 @@ export const useItemListInfiniteLoader = ({
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [dataQueryKey, queryClient, fetchPage, itemsPerPage]);
|
||||
|
||||
const { data } = useQuery<InfiniteLoaderCacheData>({
|
||||
const { data } = useQuery<{ data: unknown[]; pagesLoaded: Record<string, boolean> }>({
|
||||
enabled: false,
|
||||
initialData: getInitialData(),
|
||||
initialData: getInitialData(totalItemCount),
|
||||
queryFn: () => {
|
||||
return getInitialData();
|
||||
return getInitialData(totalItemCount);
|
||||
},
|
||||
queryKey: dataQueryKey,
|
||||
});
|
||||
@@ -244,7 +234,7 @@ export const useItemListInfiniteLoader = ({
|
||||
const pageNumber = Math.floor(range.startIndex / itemsPerPage);
|
||||
|
||||
const currentData = queryClient.getQueryData<{
|
||||
dataMap: Map<number, unknown>;
|
||||
data: unknown[];
|
||||
pagesLoaded: Record<string, boolean>;
|
||||
}>(dataQueryKey);
|
||||
|
||||
@@ -300,20 +290,18 @@ export const useItemListInfiniteLoader = ({
|
||||
|
||||
// Reset the infinite list data
|
||||
const currentData = queryClient.getQueryData<{
|
||||
dataMap: Map<number, unknown>;
|
||||
data: unknown[];
|
||||
pagesLoaded: Record<string, boolean>;
|
||||
}>(dataQueryKey);
|
||||
|
||||
if (force || currentData) {
|
||||
// Reset data to initial state and clear all loaded pages
|
||||
await queryClient.setQueryData(dataQueryKey, (oldData: any) => {
|
||||
if (!oldData) return getInitialData();
|
||||
if (!oldData) return getInitialData(totalItemCount);
|
||||
return {
|
||||
...oldData,
|
||||
dataMap: new Map(),
|
||||
idToIndexMap: new Map(),
|
||||
data: Array.from({ length: totalItemCount }, () => undefined),
|
||||
pagesLoaded: {},
|
||||
version: (oldData?.version ?? 0) + 1,
|
||||
};
|
||||
});
|
||||
lastFetchedPageRef.current = -1;
|
||||
@@ -349,23 +337,28 @@ export const useItemListInfiniteLoader = ({
|
||||
|
||||
const updateItems = useCallback(
|
||||
(indexes: number[], value: object) => {
|
||||
queryClient.setQueryData(dataQueryKey, (prev: InfiniteLoaderCacheData) => {
|
||||
const nextDataMap = new Map(prev.dataMap);
|
||||
queryClient.setQueryData(
|
||||
dataQueryKey,
|
||||
(prev: { data: unknown[]; pagesLoaded: Record<string, boolean> }) => {
|
||||
return {
|
||||
...prev,
|
||||
data: prev.data.map((item: any, index) => {
|
||||
if (!item) {
|
||||
return item;
|
||||
}
|
||||
|
||||
indexes.forEach((index) => {
|
||||
const existing = nextDataMap.get(index);
|
||||
if (!existing || typeof existing !== 'object') {
|
||||
return;
|
||||
}
|
||||
nextDataMap.set(index, { ...(existing as any), ...(value as any) });
|
||||
});
|
||||
if (!indexes.includes(index)) {
|
||||
return item;
|
||||
}
|
||||
|
||||
return {
|
||||
...prev,
|
||||
dataMap: nextDataMap,
|
||||
version: prev.version + 1,
|
||||
};
|
||||
});
|
||||
return {
|
||||
...item,
|
||||
...value,
|
||||
};
|
||||
}),
|
||||
};
|
||||
},
|
||||
);
|
||||
},
|
||||
[queryClient, dataQueryKey],
|
||||
);
|
||||
@@ -392,9 +385,16 @@ export const useItemListInfiniteLoader = ({
|
||||
return;
|
||||
}
|
||||
|
||||
const idToIndexMap = data.data
|
||||
.filter(Boolean)
|
||||
.reduce((acc: Record<string, number>, item: any, index: number) => {
|
||||
acc[item.id] = index;
|
||||
return acc;
|
||||
}, {});
|
||||
|
||||
const dataIndexes = payload.id
|
||||
.map((id: string) => (data as any).idToIndexMap?.get(id))
|
||||
.filter((idx): idx is number => typeof idx === 'number');
|
||||
.map((id: string) => idToIndexMap[id])
|
||||
.filter((idx) => idx !== undefined);
|
||||
|
||||
if (dataIndexes.length === 0) {
|
||||
return;
|
||||
@@ -408,9 +408,16 @@ export const useItemListInfiniteLoader = ({
|
||||
return;
|
||||
}
|
||||
|
||||
const idToIndexMap = data.data
|
||||
.filter(Boolean)
|
||||
.reduce((acc: Record<string, number>, item: any, index: number) => {
|
||||
acc[item.id] = index;
|
||||
return acc;
|
||||
}, {});
|
||||
|
||||
const dataIndexes = payload.id
|
||||
.map((id: string) => (data as any).idToIndexMap?.get(id))
|
||||
.filter((idx): idx is number => typeof idx === 'number');
|
||||
.map((id: string) => idToIndexMap[id])
|
||||
.filter((idx) => idx !== undefined);
|
||||
|
||||
if (dataIndexes.length === 0) {
|
||||
return;
|
||||
@@ -428,40 +435,7 @@ export const useItemListInfiniteLoader = ({
|
||||
};
|
||||
}, [data, eventKey, itemType, serverId, updateItems]);
|
||||
|
||||
const itemCount = totalItemCount ?? 0;
|
||||
|
||||
const getItem = useCallback(
|
||||
(index: number) => {
|
||||
return (data as any).dataMap?.get(index);
|
||||
},
|
||||
[data],
|
||||
);
|
||||
|
||||
const getItemIndex = useCallback(
|
||||
(id: string) => {
|
||||
return (data as any).idToIndexMap?.get(id);
|
||||
},
|
||||
[data],
|
||||
);
|
||||
|
||||
const loadedItems = useMemo(() => {
|
||||
const map: Map<number, unknown> | undefined = (data as any).dataMap;
|
||||
if (!map || map.size === 0) return [];
|
||||
return Array.from(map.entries())
|
||||
.sort(([a], [b]) => a - b)
|
||||
.map(([, v]) => v);
|
||||
}, [data]);
|
||||
|
||||
return {
|
||||
dataVersion: (data as any).version ?? 0,
|
||||
getItem,
|
||||
getItemIndex,
|
||||
itemCount,
|
||||
loadedItems,
|
||||
onRangeChanged,
|
||||
refresh,
|
||||
updateItems,
|
||||
};
|
||||
return { data: data.data, onRangeChanged, refresh, updateItems };
|
||||
};
|
||||
|
||||
export const parseListCountQuery = (query: any) => {
|
||||
|
||||
@@ -62,7 +62,7 @@ export const useItemListPaginatedLoader = ({
|
||||
const { setItemCount } = useListContext();
|
||||
|
||||
useEffect(() => {
|
||||
if (totalItemCount == null || !setItemCount) {
|
||||
if (!totalItemCount || !setItemCount) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -6,11 +6,8 @@ import { LibraryItem } from '/@/shared/types/domain-types';
|
||||
import { TableColumn } from '/@/shared/types/types';
|
||||
import { ItemListKey } from '/@/shared/types/types';
|
||||
|
||||
const getDefaultRowsForItemType = (
|
||||
itemType: LibraryItem,
|
||||
type?: 'compact' | 'default' | 'poster',
|
||||
): DataRow[] => {
|
||||
const allRows = getDataRows(type);
|
||||
const getDefaultRowsForItemType = (itemType: LibraryItem): DataRow[] => {
|
||||
const allRows = getDataRows();
|
||||
const rowMap = new Map(allRows.map((row) => [row.id, row]));
|
||||
|
||||
switch (itemType) {
|
||||
@@ -39,7 +36,9 @@ const getDefaultRowsForItemType = (
|
||||
}
|
||||
};
|
||||
|
||||
// Map TableColumn enum values to row IDs used in getDataRows
|
||||
const getRowIdFromTableColumn = (tableColumn: TableColumn): null | string => {
|
||||
// Map TableColumn enum values to the row IDs used in getDataRows
|
||||
const columnToRowIdMap: Record<TableColumn, null | string> = {
|
||||
[TableColumn.ACTIONS]: null,
|
||||
[TableColumn.ALBUM]: 'album',
|
||||
@@ -72,7 +71,6 @@ const getRowIdFromTableColumn = (tableColumn: TableColumn): null | string => {
|
||||
[TableColumn.SKIP]: null,
|
||||
[TableColumn.SONG_COUNT]: 'songCount',
|
||||
[TableColumn.TITLE]: 'name',
|
||||
[TableColumn.TITLE_ARTIST]: null,
|
||||
[TableColumn.TITLE_COMBINED]: null,
|
||||
[TableColumn.TRACK_NUMBER]: null,
|
||||
[TableColumn.USER_FAVORITE]: 'userFavorite',
|
||||
@@ -82,22 +80,16 @@ const getRowIdFromTableColumn = (tableColumn: TableColumn): null | string => {
|
||||
return columnToRowIdMap[tableColumn] || null;
|
||||
};
|
||||
|
||||
export const useGridRows = (
|
||||
itemType: LibraryItem,
|
||||
listKey?: ItemListKey,
|
||||
size?: 'compact' | 'default' | 'large',
|
||||
) => {
|
||||
export const useGridRows = (itemType: LibraryItem, listKey?: ItemListKey) => {
|
||||
const gridRowsConfig = useSettingsStore((state) =>
|
||||
listKey ? state.lists[listKey]?.grid?.rows : undefined,
|
||||
);
|
||||
|
||||
const type: 'compact' | 'default' | 'poster' = size === 'compact' ? 'compact' : 'poster';
|
||||
|
||||
return useMemo(() => {
|
||||
const allRows = getDataRows(type);
|
||||
const allRows = getDataRows();
|
||||
|
||||
if (!listKey || !gridRowsConfig || gridRowsConfig.length === 0) {
|
||||
const defaultRows = getDefaultRowsForItemType(itemType, type);
|
||||
const defaultRows = getDefaultRowsForItemType(itemType);
|
||||
return defaultRows.length > 0 ? defaultRows : allRows;
|
||||
}
|
||||
|
||||
@@ -118,5 +110,5 @@ export const useGridRows = (
|
||||
.filter((row): row is NonNullable<typeof row> => row !== null && row !== undefined);
|
||||
|
||||
return configuredRows.length > 0 ? configuredRows : allRows;
|
||||
}, [itemType, listKey, gridRowsConfig, type]);
|
||||
}, [itemType, listKey, gridRowsConfig]);
|
||||
};
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
import { useIsFetching } from '@tanstack/react-query';
|
||||
|
||||
import { queryKeys } from '/@/renderer/api/query-keys';
|
||||
import { getListQueryKeyName } from '/@/renderer/components/item-list/helpers/item-list-infinite-loader';
|
||||
import { useCurrentServerId } from '/@/renderer/store';
|
||||
import { LibraryItem } from '/@/shared/types/domain-types';
|
||||
|
||||
export const useIsFetchingItemListCount = ({ itemType }: { itemType: LibraryItem }) => {
|
||||
const serverId = useCurrentServerId();
|
||||
|
||||
const isFetching = useIsFetching({
|
||||
queryKey: queryKeys[getListQueryKeyName(itemType)].count(serverId),
|
||||
});
|
||||
|
||||
return isFetching > 0;
|
||||
};
|
||||
|
||||
export const useIsFetchingItemList = ({ itemType }: { itemType: LibraryItem }) => {
|
||||
const serverId = useCurrentServerId();
|
||||
|
||||
const isFetching = useIsFetching({
|
||||
queryKey: queryKeys[getListQueryKeyName(itemType)].list(serverId),
|
||||
});
|
||||
|
||||
return isFetching > 0;
|
||||
};
|
||||
@@ -1,123 +0,0 @@
|
||||
import { useNavigate } from 'react-router';
|
||||
|
||||
import { getTitlePath } from '/@/renderer/components/item-list/helpers/get-title-path';
|
||||
import {
|
||||
ItemListStateActions,
|
||||
ItemListStateItemWithRequiredProperties,
|
||||
} from '/@/renderer/components/item-list/helpers/item-list-state';
|
||||
import { ItemControls } from '/@/renderer/components/item-list/types';
|
||||
import { useHotkeySettings, usePlayButtonBehavior } from '/@/renderer/store';
|
||||
import { useHotkeys } from '/@/shared/hooks/use-hotkeys';
|
||||
import { LibraryItem } from '/@/shared/types/domain-types';
|
||||
import { Play } from '/@/shared/types/types';
|
||||
|
||||
export const useListHotkeys = ({
|
||||
controls,
|
||||
focused,
|
||||
internalState,
|
||||
itemType,
|
||||
}: {
|
||||
controls: ItemControls;
|
||||
focused: boolean;
|
||||
internalState: ItemListStateActions;
|
||||
itemType: LibraryItem;
|
||||
}) => {
|
||||
const { bindings } = useHotkeySettings();
|
||||
const playButtonBehavior = usePlayButtonBehavior();
|
||||
const navigate = useNavigate();
|
||||
|
||||
// Helper to check if item has required properties
|
||||
const hasRequiredStateItemProperties = (
|
||||
item: unknown,
|
||||
): item is ItemListStateItemWithRequiredProperties => {
|
||||
return (
|
||||
typeof item === 'object' &&
|
||||
item !== null &&
|
||||
'id' in item &&
|
||||
typeof (item as any).id === 'string' &&
|
||||
'_serverId' in item &&
|
||||
typeof (item as any)._serverId === 'string' &&
|
||||
'_itemType' in item &&
|
||||
typeof (item as any)._itemType === 'string'
|
||||
);
|
||||
};
|
||||
|
||||
useHotkeys([
|
||||
[
|
||||
'mod+a',
|
||||
() => {
|
||||
if (focused) {
|
||||
if (internalState.isAllSelected()) {
|
||||
internalState.deselectAll();
|
||||
} else {
|
||||
internalState.selectAll();
|
||||
}
|
||||
}
|
||||
},
|
||||
],
|
||||
[
|
||||
bindings.listPlayDefault.hotkey,
|
||||
() => {
|
||||
if (!focused) return;
|
||||
const selected = internalState.getSelected();
|
||||
const validSelected = selected.filter(hasRequiredStateItemProperties);
|
||||
if (validSelected.length === 0) return;
|
||||
|
||||
const item = validSelected[0];
|
||||
const playType = playButtonBehavior;
|
||||
controls.onPlay?.({ item, itemType, playType } as any);
|
||||
},
|
||||
],
|
||||
[
|
||||
bindings.listPlayNow.hotkey,
|
||||
() => {
|
||||
if (!focused) return;
|
||||
const selected = internalState.getSelected();
|
||||
const validSelected = selected.filter(hasRequiredStateItemProperties);
|
||||
if (validSelected.length === 0) return;
|
||||
|
||||
const item = validSelected[0];
|
||||
controls.onPlay?.({ item, itemType, playType: Play.NOW } as any);
|
||||
},
|
||||
],
|
||||
[
|
||||
bindings.listPlayNext.hotkey,
|
||||
() => {
|
||||
if (!focused) return;
|
||||
const selected = internalState.getSelected();
|
||||
const validSelected = selected.filter(hasRequiredStateItemProperties);
|
||||
if (validSelected.length === 0) return;
|
||||
|
||||
const item = validSelected[0];
|
||||
controls.onPlay?.({ item, itemType, playType: Play.NEXT } as any);
|
||||
},
|
||||
],
|
||||
[
|
||||
bindings.listPlayLast.hotkey,
|
||||
() => {
|
||||
if (!focused) return;
|
||||
const selected = internalState.getSelected();
|
||||
const validSelected = selected.filter(hasRequiredStateItemProperties);
|
||||
if (validSelected.length === 0) return;
|
||||
|
||||
const item = validSelected[0];
|
||||
controls.onPlay?.({ item, itemType, playType: Play.LAST } as any);
|
||||
},
|
||||
],
|
||||
[
|
||||
bindings.listNavigateToPage.hotkey,
|
||||
() => {
|
||||
if (!focused) return;
|
||||
const selected = internalState.getSelected();
|
||||
const validSelected = selected.filter(hasRequiredStateItemProperties);
|
||||
if (validSelected.length === 0) return;
|
||||
|
||||
const item = validSelected[0];
|
||||
const path = getTitlePath(itemType, item.id);
|
||||
if (path) {
|
||||
navigate(path, { state: { item } });
|
||||
}
|
||||
},
|
||||
],
|
||||
]);
|
||||
};
|
||||
@@ -1,5 +1,4 @@
|
||||
.item-grid-container {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column !important;
|
||||
width: 100%;
|
||||
|
||||
@@ -41,11 +41,11 @@ import {
|
||||
useItemListState,
|
||||
useItemListStateSubscription,
|
||||
} from '/@/renderer/components/item-list/helpers/item-list-state';
|
||||
import { useListHotkeys } from '/@/renderer/components/item-list/helpers/use-list-hotkeys';
|
||||
import { ItemControls, ItemListHandle } from '/@/renderer/components/item-list/types';
|
||||
import { animationProps } from '/@/shared/components/animations/animation-props';
|
||||
import { useElementSize } from '/@/shared/hooks/use-element-size';
|
||||
import { useFocusWithin } from '/@/shared/hooks/use-focus-within';
|
||||
import { useHotkeys } from '/@/shared/hooks/use-hotkeys';
|
||||
import { useMergedRef } from '/@/shared/hooks/use-merged-ref';
|
||||
import { LibraryItem } from '/@/shared/types/domain-types';
|
||||
|
||||
@@ -53,16 +53,14 @@ interface VirtualizedGridListProps {
|
||||
_tableMetaVersion: number; // Used to trigger rerenders via React.memo comparison
|
||||
controls: ItemControls;
|
||||
currentPage?: number;
|
||||
dataVersion?: number;
|
||||
data: unknown[];
|
||||
enableDrag?: boolean;
|
||||
enableExpansion: boolean;
|
||||
enableSelection: boolean;
|
||||
gap: 'lg' | 'md' | 'sm' | 'xl' | 'xs';
|
||||
getItem?: (index: number) => ItemCardProps['data'];
|
||||
height: number;
|
||||
initialTop?: ItemGridListProps['initialTop'];
|
||||
internalState: ItemListStateActions;
|
||||
itemCount: number;
|
||||
itemType: LibraryItem;
|
||||
onRangeChanged?: ItemGridListProps['onRangeChanged'];
|
||||
onScroll?: ItemGridListProps['onScroll'];
|
||||
@@ -70,7 +68,6 @@ interface VirtualizedGridListProps {
|
||||
outerRef: RefObject<any>;
|
||||
ref: RefObject<FixedSizeList<GridItemProps> | null>;
|
||||
rows?: ItemCardProps['rows'];
|
||||
size?: 'compact' | 'default' | 'large';
|
||||
tableMetaRef: RefObject<null | {
|
||||
columnCount: number;
|
||||
itemHeight: number;
|
||||
@@ -83,16 +80,14 @@ const VirtualizedGridList = React.memo(
|
||||
({
|
||||
controls,
|
||||
currentPage,
|
||||
dataVersion,
|
||||
data,
|
||||
enableDrag,
|
||||
enableExpansion,
|
||||
enableSelection,
|
||||
gap,
|
||||
getItem,
|
||||
height,
|
||||
initialTop,
|
||||
internalState,
|
||||
itemCount,
|
||||
itemType,
|
||||
onRangeChanged,
|
||||
onScroll,
|
||||
@@ -100,7 +95,6 @@ const VirtualizedGridList = React.memo(
|
||||
outerRef,
|
||||
ref,
|
||||
rows,
|
||||
size,
|
||||
tableMetaRef,
|
||||
width,
|
||||
}: VirtualizedGridListProps) => {
|
||||
@@ -111,33 +105,27 @@ const VirtualizedGridList = React.memo(
|
||||
return {
|
||||
columns: tableMeta?.columnCount || 0,
|
||||
controls,
|
||||
dataVersion,
|
||||
data,
|
||||
enableDrag,
|
||||
enableExpansion,
|
||||
enableSelection,
|
||||
gap,
|
||||
getItem,
|
||||
internalState,
|
||||
itemCount,
|
||||
itemType,
|
||||
rows,
|
||||
size,
|
||||
tableMeta,
|
||||
};
|
||||
}, [
|
||||
tableMeta,
|
||||
controls,
|
||||
rows,
|
||||
getItem,
|
||||
itemCount,
|
||||
dataVersion,
|
||||
data,
|
||||
enableDrag,
|
||||
enableExpansion,
|
||||
enableSelection,
|
||||
gap,
|
||||
internalState,
|
||||
itemType,
|
||||
size,
|
||||
]);
|
||||
|
||||
const handleOnScroll = useCallback(
|
||||
@@ -227,11 +215,7 @@ const VirtualizedGridList = React.memo(
|
||||
|
||||
VirtualizedGridList.displayName = 'VirtualizedGridList';
|
||||
|
||||
const createThrottledSetTableMeta = (
|
||||
itemsPerRow?: number,
|
||||
rowsCount?: number,
|
||||
size?: 'compact' | 'default' | 'large',
|
||||
) => {
|
||||
const createThrottledSetTableMeta = (itemsPerRow?: number, rowsCount?: number) => {
|
||||
return throttle((width: number, dataLength: number, setTableMeta: (meta: any) => void) => {
|
||||
const isSm = width >= 600;
|
||||
const isMd = width >= 768;
|
||||
@@ -244,11 +228,11 @@ const createThrottledSetTableMeta = (
|
||||
let dynamicItemsPerRow = 2;
|
||||
|
||||
if (is4xl) {
|
||||
dynamicItemsPerRow = 10;
|
||||
dynamicItemsPerRow = 12;
|
||||
} else if (is3xl) {
|
||||
dynamicItemsPerRow = 8;
|
||||
dynamicItemsPerRow = 10;
|
||||
} else if (is2xl) {
|
||||
dynamicItemsPerRow = 7;
|
||||
dynamicItemsPerRow = 8;
|
||||
} else if (isXl) {
|
||||
dynamicItemsPerRow = 6;
|
||||
} else if (isLg) {
|
||||
@@ -261,22 +245,10 @@ const createThrottledSetTableMeta = (
|
||||
dynamicItemsPerRow = 2;
|
||||
}
|
||||
|
||||
if (size === 'large') {
|
||||
dynamicItemsPerRow = Math.round(dynamicItemsPerRow * 0.75);
|
||||
if (dynamicItemsPerRow < 1) {
|
||||
dynamicItemsPerRow = 1;
|
||||
}
|
||||
}
|
||||
|
||||
const setItemsPerRow = itemsPerRow || dynamicItemsPerRow;
|
||||
|
||||
const widthPerItem = Number(width) / setItemsPerRow;
|
||||
// For compact size, don't include text lines in height calculation
|
||||
// CompactItemCard has a different layout that doesn't need the extra space
|
||||
const itemHeight =
|
||||
size === 'compact'
|
||||
? widthPerItem
|
||||
: widthPerItem + (rowsCount || getDataRowsCount()) * 26;
|
||||
const itemHeight = widthPerItem + (rowsCount || getDataRowsCount()) * 26;
|
||||
|
||||
if (widthPerItem === 0) {
|
||||
return;
|
||||
@@ -293,17 +265,14 @@ const createThrottledSetTableMeta = (
|
||||
export interface GridItemProps {
|
||||
columns: number;
|
||||
controls: ItemCardProps['controls'];
|
||||
dataVersion?: number;
|
||||
data: any[];
|
||||
enableDrag?: boolean;
|
||||
enableExpansion?: boolean;
|
||||
enableSelection?: boolean;
|
||||
gap: 'lg' | 'md' | 'sm' | 'xl' | 'xs';
|
||||
getItem?: (index: number) => ItemCardProps['data'];
|
||||
internalState: ItemListStateActions;
|
||||
itemCount: number;
|
||||
itemType: LibraryItem;
|
||||
rows?: ItemCardProps['rows'];
|
||||
size?: 'compact' | 'default' | 'large';
|
||||
tableMeta: null | {
|
||||
columnCount: number;
|
||||
itemHeight: number;
|
||||
@@ -314,21 +283,15 @@ export interface GridItemProps {
|
||||
export interface ItemGridListProps {
|
||||
currentPage?: number;
|
||||
data: unknown[];
|
||||
dataVersion?: number;
|
||||
enableDrag?: boolean;
|
||||
enableEntranceAnimation?: boolean;
|
||||
enableExpansion?: boolean;
|
||||
enableSelection?: boolean;
|
||||
enableSelectionDialog?: boolean;
|
||||
gap?: 'lg' | 'md' | 'sm' | 'xl' | 'xs';
|
||||
getItem?: (index: number) => ItemCardProps['data'];
|
||||
getItemIndex?: (rowId: string) => number | undefined;
|
||||
getRowId?: ((item: unknown) => string) | string;
|
||||
initialTop?: {
|
||||
to: number;
|
||||
type: 'index' | 'offset';
|
||||
};
|
||||
itemCount?: number;
|
||||
itemsPerRow?: number;
|
||||
itemType: LibraryItem;
|
||||
onRangeChanged?: (range: { startIndex: number; stopIndex: number }) => void;
|
||||
@@ -337,23 +300,17 @@ export interface ItemGridListProps {
|
||||
overrideControls?: Partial<ItemControls>;
|
||||
ref?: Ref<ItemListHandle>;
|
||||
rows?: ItemCardProps['rows'];
|
||||
size?: 'compact' | 'default' | 'large';
|
||||
}
|
||||
|
||||
const BaseItemGridList = ({
|
||||
currentPage,
|
||||
data,
|
||||
dataVersion,
|
||||
enableDrag = true,
|
||||
enableEntranceAnimation = true,
|
||||
enableExpansion = false,
|
||||
enableSelection = true,
|
||||
gap = 'sm',
|
||||
getItem,
|
||||
getItemIndex,
|
||||
getRowId,
|
||||
initialTop,
|
||||
itemCount,
|
||||
itemsPerRow,
|
||||
itemType,
|
||||
onRangeChanged,
|
||||
@@ -362,7 +319,6 @@ const BaseItemGridList = ({
|
||||
overrideControls,
|
||||
ref,
|
||||
rows,
|
||||
size = 'default',
|
||||
}: ItemGridListProps) => {
|
||||
const rootRef = useRef(null);
|
||||
const outerRef = useRef(null);
|
||||
@@ -372,14 +328,6 @@ const BaseItemGridList = ({
|
||||
const handleRef = useRef<ItemListHandle | null>(null);
|
||||
const mergedContainerRef = useMergedRef(containerRef, rootRef, containerFocusRef);
|
||||
|
||||
const resolvedItemCount = itemCount ?? data.length;
|
||||
const resolvedGetItem = useCallback<(index: number) => ItemCardProps['data']>(
|
||||
(index: number) => {
|
||||
return (getItem ? getItem(index) : (data as any[])[index]) as ItemCardProps['data'];
|
||||
},
|
||||
[data, getItem],
|
||||
);
|
||||
|
||||
const getDataFn = useCallback(() => {
|
||||
return data;
|
||||
}, [data]);
|
||||
@@ -461,14 +409,14 @@ const BaseItemGridList = ({
|
||||
}, [osInstance]);
|
||||
|
||||
const throttledSetTableMeta = useMemo(() => {
|
||||
return createThrottledSetTableMeta(itemsPerRow, rows?.length, size);
|
||||
}, [itemsPerRow, rows?.length, size]);
|
||||
return createThrottledSetTableMeta(itemsPerRow, rows?.length);
|
||||
}, [itemsPerRow, rows?.length]);
|
||||
|
||||
useLayoutEffect(() => {
|
||||
const { current: container } = containerRef;
|
||||
if (!container) return;
|
||||
|
||||
throttledSetTableMeta(containerWidth, resolvedItemCount, (meta) => {
|
||||
throttledSetTableMeta(containerWidth, data.length, (meta) => {
|
||||
if (!meta) return;
|
||||
|
||||
const current = tableMetaRef.current;
|
||||
@@ -485,7 +433,7 @@ const BaseItemGridList = ({
|
||||
setTableMetaVersion((v) => v + 1);
|
||||
}
|
||||
});
|
||||
}, [containerWidth, resolvedItemCount, throttledSetTableMeta, containerRef]);
|
||||
}, [containerWidth, data.length, throttledSetTableMeta, containerRef]);
|
||||
|
||||
const controls = useDefaultItemListControls({ overrides: overrideControls });
|
||||
|
||||
@@ -538,12 +486,10 @@ const BaseItemGridList = ({
|
||||
const lastSelected = selected[selected.length - 1];
|
||||
const lastRowId = internalState.extractRowId(lastSelected);
|
||||
if (lastRowId) {
|
||||
currentIndex =
|
||||
getItemIndex?.(lastRowId) ??
|
||||
data.findIndex((d: any) => {
|
||||
const rowId = internalState.extractRowId(d);
|
||||
return rowId === lastRowId;
|
||||
});
|
||||
currentIndex = data.findIndex((d: any) => {
|
||||
const rowId = internalState.extractRowId(d);
|
||||
return rowId === lastRowId;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -554,7 +500,7 @@ const BaseItemGridList = ({
|
||||
: 0;
|
||||
const currentCol =
|
||||
currentIndex !== -1 ? currentIndex % tableMetaRef.current.columnCount : 0;
|
||||
const totalRows = Math.ceil(resolvedItemCount / tableMetaRef.current.columnCount);
|
||||
const totalRows = Math.ceil(data.length / tableMetaRef.current.columnCount);
|
||||
|
||||
let newIndex = 0;
|
||||
if (currentIndex !== -1) {
|
||||
@@ -566,7 +512,7 @@ const BaseItemGridList = ({
|
||||
const nextRowStart = nextRow * tableMetaRef.current.columnCount;
|
||||
const nextRowEnd = Math.min(
|
||||
nextRowStart + tableMetaRef.current.columnCount - 1,
|
||||
resolvedItemCount - 1,
|
||||
data.length - 1,
|
||||
);
|
||||
// Keep same column position, or use last item in row if column doesn't exist
|
||||
newIndex = Math.min(nextRowStart + currentCol, nextRowEnd);
|
||||
@@ -587,7 +533,7 @@ const BaseItemGridList = ({
|
||||
1,
|
||||
0,
|
||||
);
|
||||
newIndex = Math.min(newIndex, resolvedItemCount - 1);
|
||||
newIndex = Math.min(newIndex, data.length - 1);
|
||||
} else {
|
||||
newIndex = currentIndex;
|
||||
}
|
||||
@@ -597,14 +543,14 @@ const BaseItemGridList = ({
|
||||
// Move right, wrap to next row if at end of row
|
||||
if (
|
||||
currentCol < tableMetaRef.current.columnCount - 1 &&
|
||||
currentIndex < resolvedItemCount - 1
|
||||
currentIndex < data.length - 1
|
||||
) {
|
||||
newIndex = currentIndex + 1;
|
||||
} else if (currentRow < totalRows - 1) {
|
||||
// Wrap to start of next row
|
||||
newIndex = Math.min(
|
||||
(currentRow + 1) * tableMetaRef.current.columnCount,
|
||||
resolvedItemCount - 1,
|
||||
data.length - 1,
|
||||
);
|
||||
} else {
|
||||
newIndex = currentIndex;
|
||||
@@ -618,7 +564,7 @@ const BaseItemGridList = ({
|
||||
const prevRowStart = prevRow * tableMetaRef.current.columnCount;
|
||||
const prevRowEnd = Math.min(
|
||||
prevRowStart + tableMetaRef.current.columnCount - 1,
|
||||
resolvedItemCount - 1,
|
||||
data.length - 1,
|
||||
);
|
||||
// Keep same column position, or use last item in row if column doesn't exist
|
||||
newIndex = Math.min(prevRowStart + currentCol, prevRowEnd);
|
||||
@@ -633,7 +579,7 @@ const BaseItemGridList = ({
|
||||
newIndex = 0;
|
||||
}
|
||||
|
||||
const newItem: any = resolvedGetItem(newIndex);
|
||||
const newItem: any = data[newIndex];
|
||||
if (!newItem) return;
|
||||
|
||||
// Handle Shift + Arrow for incremental range selection (matches shift+click behavior)
|
||||
@@ -646,12 +592,10 @@ const BaseItemGridList = ({
|
||||
const lastRowId = internalState.extractRowId(lastSelectedItem);
|
||||
if (!lastRowId) return;
|
||||
|
||||
const lastIndex =
|
||||
getItemIndex?.(lastRowId) ??
|
||||
data.findIndex((d: any) => {
|
||||
const rowId = internalState.extractRowId(d);
|
||||
return rowId === lastRowId;
|
||||
});
|
||||
const lastIndex = data.findIndex((d: any) => {
|
||||
const rowId = internalState.extractRowId(d);
|
||||
return rowId === lastRowId;
|
||||
});
|
||||
|
||||
if (lastIndex !== -1 && newIndex !== -1) {
|
||||
// Create range selection from last selected to new position
|
||||
@@ -660,7 +604,7 @@ const BaseItemGridList = ({
|
||||
|
||||
const rangeItems: ItemListStateItemWithRequiredProperties[] = [];
|
||||
for (let i = startIndex; i <= stopIndex; i++) {
|
||||
const rangeItem = resolvedGetItem(i);
|
||||
const rangeItem = data[i];
|
||||
if (
|
||||
rangeItem &&
|
||||
typeof rangeItem === 'object' &&
|
||||
@@ -725,15 +669,7 @@ const BaseItemGridList = ({
|
||||
|
||||
scrollToIndex(newIndex);
|
||||
},
|
||||
[
|
||||
data,
|
||||
enableSelection,
|
||||
getItemIndex,
|
||||
internalState,
|
||||
resolvedGetItem,
|
||||
resolvedItemCount,
|
||||
scrollToIndex,
|
||||
],
|
||||
[data, enableSelection, internalState, scrollToIndex],
|
||||
);
|
||||
|
||||
const imperativeHandle: ItemListHandle = useMemo(() => {
|
||||
@@ -754,12 +690,20 @@ const BaseItemGridList = ({
|
||||
|
||||
useImperativeHandle(ref, () => imperativeHandle, [imperativeHandle]);
|
||||
|
||||
useListHotkeys({
|
||||
controls,
|
||||
focused,
|
||||
internalState,
|
||||
itemType,
|
||||
});
|
||||
useHotkeys([
|
||||
[
|
||||
'mod+a',
|
||||
() => {
|
||||
if (focused) {
|
||||
if (internalState.isAllSelected()) {
|
||||
internalState.deselectAll();
|
||||
} else {
|
||||
internalState.selectAll();
|
||||
}
|
||||
}
|
||||
},
|
||||
],
|
||||
]);
|
||||
|
||||
return (
|
||||
<motion.div
|
||||
@@ -770,7 +714,7 @@ const BaseItemGridList = ({
|
||||
ref={mergedContainerRef}
|
||||
tabIndex={0}
|
||||
{...animationProps.fadeIn}
|
||||
transition={{ duration: enableEntranceAnimation ? 1 : 0, ease: 'anticipate' }}
|
||||
transition={{ duration: 1, ease: 'anticipate' }}
|
||||
>
|
||||
<AutoSizer>
|
||||
{({ height, width }) => (
|
||||
@@ -778,16 +722,14 @@ const BaseItemGridList = ({
|
||||
_tableMetaVersion={tableMetaVersion}
|
||||
controls={controls}
|
||||
currentPage={currentPage}
|
||||
dataVersion={dataVersion}
|
||||
data={data}
|
||||
enableDrag={enableDrag}
|
||||
enableExpansion={enableExpansion}
|
||||
enableSelection={enableSelection}
|
||||
gap={gap}
|
||||
getItem={resolvedGetItem}
|
||||
height={height}
|
||||
initialTop={initialTop}
|
||||
internalState={internalState}
|
||||
itemCount={resolvedItemCount}
|
||||
itemType={itemType}
|
||||
onRangeChanged={onRangeChanged}
|
||||
onScroll={onScroll ?? (() => {})}
|
||||
@@ -795,26 +737,22 @@ const BaseItemGridList = ({
|
||||
outerRef={outerRef}
|
||||
ref={listRef}
|
||||
rows={rows}
|
||||
size={size}
|
||||
tableMetaRef={tableMetaRef}
|
||||
width={width}
|
||||
/>
|
||||
)}
|
||||
</AutoSizer>
|
||||
<AnimatePresence presenceAffectsLayout>
|
||||
<ExpandedContainer internalState={internalState} itemType={itemType} />
|
||||
{/* {enableSelectionDialog && <SelectionDialog internalState={internalState} />} */}
|
||||
</AnimatePresence>
|
||||
<ExpandedContainer internalState={internalState} itemType={itemType} />
|
||||
</motion.div>
|
||||
);
|
||||
};
|
||||
|
||||
const ListComponent = memo((props: ListChildComponentProps<GridItemProps>) => {
|
||||
const { index, style } = props;
|
||||
const { columns, controls, enableDrag, gap, getItem, itemCount, itemType, rows, size } =
|
||||
props.data;
|
||||
const { columns, controls, data, enableDrag, gap, itemType, rows } = props.data;
|
||||
|
||||
const items: ReactNode[] = [];
|
||||
const itemCount = data.length;
|
||||
const startIndex = index * columns;
|
||||
const stopIndex = Math.min(itemCount - 1, startIndex + columns - 1);
|
||||
|
||||
@@ -827,8 +765,7 @@ const ListComponent = memo((props: ListChildComponentProps<GridItemProps>) => {
|
||||
}
|
||||
|
||||
for (let i = startIndex; i <= stopIndex + columnCountToAdd; i += 1) {
|
||||
if (i < itemCount) {
|
||||
const item = getItem ? getItem(i) : undefined;
|
||||
if (i < data.length) {
|
||||
items.push(
|
||||
<div
|
||||
className={clsx(styles.itemRow, styles[`gap-${gap}`])}
|
||||
@@ -837,13 +774,12 @@ const ListComponent = memo((props: ListChildComponentProps<GridItemProps>) => {
|
||||
>
|
||||
<ItemCard
|
||||
controls={controls}
|
||||
data={item}
|
||||
data={data[i]}
|
||||
enableDrag={enableDrag}
|
||||
enableExpansion={props.data.enableExpansion}
|
||||
internalState={props.data.internalState}
|
||||
itemType={itemType}
|
||||
rows={rows}
|
||||
type={size === 'compact' ? 'compact' : 'poster'}
|
||||
withControls
|
||||
/>
|
||||
</div>,
|
||||
|
||||
@@ -6,7 +6,7 @@ import { ItemListItem } from '/@/renderer/components/item-list/types';
|
||||
import { ActionIcon } from '/@/shared/components/action-icon/action-icon';
|
||||
|
||||
export const ActionsColumn = (props: ItemTableListInnerColumn) => {
|
||||
const row: any = props.getRowItem?.(props.rowIndex) ?? (props.data as any[])[props.rowIndex];
|
||||
const row: any = (props.data as (any | undefined)[])[props.rowIndex];
|
||||
|
||||
const handleActionClick = (event: React.MouseEvent<HTMLButtonElement>) => {
|
||||
event.stopPropagation();
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import clsx from 'clsx';
|
||||
import { memo } from 'react';
|
||||
import { Fragment, memo, useMemo } from 'react';
|
||||
import { generatePath, Link } from 'react-router';
|
||||
|
||||
import styles from './album-artists-column.module.css';
|
||||
|
||||
@@ -9,15 +10,24 @@ import {
|
||||
ItemTableListInnerColumn,
|
||||
TableColumnContainer,
|
||||
} from '/@/renderer/components/item-list/item-table-list/item-table-list-column';
|
||||
import { JoinedArtists } from '/@/renderer/features/albums/components/joined-artists';
|
||||
import { Album, RelatedAlbumArtist, Song } from '/@/shared/types/domain-types';
|
||||
import { AppRoute } from '/@/renderer/router/routes';
|
||||
import { Text } from '/@/shared/components/text/text';
|
||||
import { RelatedAlbumArtist } from '/@/shared/types/domain-types';
|
||||
|
||||
const AlbumArtistsColumn = (props: ItemTableListInnerColumn) => {
|
||||
const rowItem = props.getRowItem?.(props.rowIndex) ?? (props.data as any[])[props.rowIndex];
|
||||
const row: RelatedAlbumArtist[] | undefined = rowItem?.[props.columns[props.columnIndex].id];
|
||||
const row: RelatedAlbumArtist[] | undefined = (
|
||||
props.data as (RelatedAlbumArtist[] | undefined)[]
|
||||
)[props.rowIndex]?.[props.columns[props.columnIndex].id];
|
||||
|
||||
const item = rowItem as Album | Song | undefined;
|
||||
const albumArtistString = item && 'albumArtistName' in item ? item.albumArtistName : '';
|
||||
const albumArtists = useMemo(() => {
|
||||
if (!row) return [];
|
||||
return row.map((albumArtist) => {
|
||||
const path = generatePath(AppRoute.LIBRARY_ALBUM_ARTISTS_DETAIL, {
|
||||
albumArtistId: albumArtist.id,
|
||||
});
|
||||
return { ...albumArtist, path };
|
||||
});
|
||||
}, [row]);
|
||||
|
||||
if (Array.isArray(row)) {
|
||||
return (
|
||||
@@ -28,20 +38,21 @@ const AlbumArtistsColumn = (props: ItemTableListInnerColumn) => {
|
||||
[styles.large]: props.size === 'large',
|
||||
})}
|
||||
>
|
||||
<JoinedArtists
|
||||
artistName={albumArtistString}
|
||||
artists={row}
|
||||
linkProps={{ fw: 400, isMuted: true }}
|
||||
rootTextProps={{
|
||||
className: clsx(styles.artistsContainer, {
|
||||
[styles.compact]: props.size === 'compact',
|
||||
[styles.large]: props.size === 'large',
|
||||
}),
|
||||
fw: 400,
|
||||
isMuted: true,
|
||||
size: 'sm',
|
||||
}}
|
||||
/>
|
||||
{albumArtists.map((albumArtist, index) => (
|
||||
<Fragment key={albumArtist.id}>
|
||||
<Text
|
||||
component={Link}
|
||||
isLink
|
||||
isMuted
|
||||
isNoSelect
|
||||
state={{ item: albumArtist }}
|
||||
to={albumArtist.path}
|
||||
>
|
||||
{albumArtist.name}
|
||||
</Text>
|
||||
{index < albumArtists.length - 1 && ', '}
|
||||
</Fragment>
|
||||
))}
|
||||
</div>
|
||||
</TableColumnContainer>
|
||||
);
|
||||
|
||||
@@ -15,10 +15,11 @@ import { Text } from '/@/shared/components/text/text';
|
||||
import { Song } from '/@/shared/types/domain-types';
|
||||
|
||||
const AlbumColumn = (props: ItemTableListInnerColumn) => {
|
||||
const rowItem = props.getRowItem?.(props.rowIndex) ?? (props.data as any[])[props.rowIndex];
|
||||
const row: null | string | undefined = rowItem?.[props.columns[props.columnIndex].id];
|
||||
const row: null | string | undefined = (props.data as (null | string | undefined)[])[
|
||||
props.rowIndex
|
||||
]?.[props.columns[props.columnIndex].id];
|
||||
|
||||
const song = rowItem as Song | undefined;
|
||||
const song = props.data[props.rowIndex] as Song | undefined;
|
||||
const albumId = song?.albumId;
|
||||
|
||||
const albumPath = useMemo(() => {
|
||||
|
||||
@@ -10,16 +10,14 @@ import {
|
||||
ItemTableListInnerColumn,
|
||||
TableColumnContainer,
|
||||
} from '/@/renderer/components/item-list/item-table-list/item-table-list-column';
|
||||
import { JoinedArtists } from '/@/renderer/features/albums/components/joined-artists';
|
||||
import { AppRoute } from '/@/renderer/router/routes';
|
||||
import { Text } from '/@/shared/components/text/text';
|
||||
import { LibraryItem, RelatedAlbumArtist, Song } from '/@/shared/types/domain-types';
|
||||
import { RelatedAlbumArtist } from '/@/shared/types/domain-types';
|
||||
|
||||
const AlbumArtistsColumn = (props: ItemTableListInnerColumn) => {
|
||||
const rowItem = props.getRowItem?.(props.rowIndex) ?? (props.data as any[])[props.rowIndex];
|
||||
const row: RelatedAlbumArtist[] | undefined = (rowItem as any)?.[
|
||||
props.columns[props.columnIndex].id
|
||||
];
|
||||
const ArtistsColumn = (props: ItemTableListInnerColumn) => {
|
||||
const row: RelatedAlbumArtist[] | undefined = (
|
||||
props.data as (RelatedAlbumArtist[] | undefined)[]
|
||||
)[props.rowIndex]?.[props.columns[props.columnIndex].id];
|
||||
|
||||
const artists = useMemo(() => {
|
||||
if (!row) return [];
|
||||
@@ -67,48 +65,6 @@ const AlbumArtistsColumn = (props: ItemTableListInnerColumn) => {
|
||||
return <ColumnSkeletonVariable {...props} />;
|
||||
};
|
||||
|
||||
const SongArtistsColumn = (props: ItemTableListInnerColumn) => {
|
||||
const row: Song | undefined = (props.getRowItem?.(props.rowIndex) ??
|
||||
(props.data as any[])[props.rowIndex]) as Song | undefined;
|
||||
|
||||
if (row) {
|
||||
return (
|
||||
<TableColumnContainer {...props}>
|
||||
<div
|
||||
className={clsx(styles.artistsContainer, {
|
||||
[styles.compact]: props.size === 'compact',
|
||||
[styles.large]: props.size === 'large',
|
||||
})}
|
||||
>
|
||||
<JoinedArtists
|
||||
artistName={row.artistName}
|
||||
artists={row.artists}
|
||||
linkProps={{ fw: 400, isMuted: true }}
|
||||
rootTextProps={{ fw: 400, isMuted: true, size: 'sm' }}
|
||||
/>
|
||||
</div>
|
||||
</TableColumnContainer>
|
||||
);
|
||||
}
|
||||
|
||||
if (row === null) {
|
||||
return <ColumnNullFallback {...props} />;
|
||||
}
|
||||
|
||||
return <ColumnSkeletonVariable {...props} />;
|
||||
};
|
||||
|
||||
const BaseArtistsColumn = (props: ItemTableListInnerColumn) => {
|
||||
const { itemType } = props;
|
||||
|
||||
switch (itemType) {
|
||||
case LibraryItem.ALBUM:
|
||||
return <AlbumArtistsColumn {...props} />;
|
||||
default:
|
||||
return <SongArtistsColumn {...props} />;
|
||||
}
|
||||
};
|
||||
|
||||
const ArtistsColumnMemo = memo(BaseArtistsColumn);
|
||||
export const ArtistsColumnMemo = memo(ArtistsColumn);
|
||||
|
||||
export { ArtistsColumnMemo as ArtistsColumn };
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
.composers-container {
|
||||
display: -webkit-box;
|
||||
overflow: hidden;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
color: var(--theme-colors-foreground-muted);
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.composers-container.compact {
|
||||
-webkit-line-clamp: 1;
|
||||
}
|
||||
|
||||
.composers-container.large {
|
||||
-webkit-line-clamp: 3;
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
import clsx from 'clsx';
|
||||
import { memo } from 'react';
|
||||
|
||||
import styles from './composer-column.module.css';
|
||||
|
||||
import {
|
||||
ColumnNullFallback,
|
||||
ColumnSkeletonVariable,
|
||||
ItemTableListInnerColumn,
|
||||
TableColumnContainer,
|
||||
} from '/@/renderer/components/item-list/item-table-list/item-table-list-column';
|
||||
import { JoinedArtists } from '/@/renderer/features/albums/components/joined-artists';
|
||||
import { Album, RelatedArtist, Song } from '/@/shared/types/domain-types';
|
||||
|
||||
const ComposerColumn = (props: ItemTableListInnerColumn) => {
|
||||
const rowItem = props.getRowItem?.(props.rowIndex) ?? (props.data as any[])[props.rowIndex];
|
||||
const item = rowItem as Album | Song | undefined;
|
||||
|
||||
const composers = item?.participants?.composer || [];
|
||||
|
||||
if (composers && Array.isArray(composers) && composers.length > 0) {
|
||||
return (
|
||||
<TableColumnContainer {...props}>
|
||||
<div
|
||||
className={clsx(styles.composersContainer, {
|
||||
[styles.compact]: props.size === 'compact',
|
||||
[styles.large]: props.size === 'large',
|
||||
})}
|
||||
>
|
||||
<JoinedArtists
|
||||
artistName=""
|
||||
artists={composers as RelatedArtist[]}
|
||||
linkProps={{ fw: 400, isMuted: true }}
|
||||
rootTextProps={{ fw: 400, isMuted: true, size: 'sm' }}
|
||||
/>
|
||||
</div>
|
||||
</TableColumnContainer>
|
||||
);
|
||||
}
|
||||
|
||||
if (composers?.length === 0 || item === null || item === undefined) {
|
||||
return <ColumnNullFallback {...props} />;
|
||||
}
|
||||
|
||||
return <ColumnSkeletonVariable {...props} />;
|
||||
};
|
||||
|
||||
export const ComposerColumnMemo = memo(ComposerColumn);
|
||||
|
||||
export { ComposerColumnMemo as ComposerColumn };
|
||||
@@ -6,8 +6,9 @@ import {
|
||||
} from '/@/renderer/components/item-list/item-table-list/item-table-list-column';
|
||||
|
||||
export const CountColumn = (props: ItemTableListInnerColumn) => {
|
||||
const rowItem = props.getRowItem?.(props.rowIndex) ?? (props.data as any[])[props.rowIndex];
|
||||
const row: number | undefined = (rowItem as any)?.[props.columns[props.columnIndex].id];
|
||||
const row: number | undefined = (props.data as (any | undefined)[])[props.rowIndex]?.[
|
||||
props.columns[props.columnIndex].id
|
||||
];
|
||||
|
||||
if (typeof row === 'number') {
|
||||
return (
|
||||
|
||||
@@ -10,11 +10,9 @@ import {
|
||||
formatDateRelative,
|
||||
formatHrDateTime,
|
||||
} from '/@/renderer/utils/format';
|
||||
import { SEPARATOR_STRING } from '/@/shared/api/utils';
|
||||
import { Stack } from '/@/shared/components/stack/stack';
|
||||
import { Text } from '/@/shared/components/text/text';
|
||||
import { Tooltip } from '/@/shared/components/tooltip/tooltip';
|
||||
import { TableColumn } from '/@/shared/types/types';
|
||||
|
||||
const getDateTooltipLabel = (utcString: string) => {
|
||||
return (
|
||||
@@ -30,8 +28,9 @@ const getDateTooltipLabel = (utcString: string) => {
|
||||
};
|
||||
|
||||
export const DateColumn = (props: ItemTableListInnerColumn) => {
|
||||
const rowItem = props.getRowItem?.(props.rowIndex) ?? (props.data as any[])[props.rowIndex];
|
||||
const row: string | undefined = (rowItem as any)?.[props.columns[props.columnIndex].id];
|
||||
const row: string | undefined = (props.data as (any | undefined)[])[props.rowIndex]?.[
|
||||
props.columns[props.columnIndex].id
|
||||
];
|
||||
|
||||
if (typeof row === 'string' && row) {
|
||||
return (
|
||||
@@ -51,49 +50,9 @@ export const DateColumn = (props: ItemTableListInnerColumn) => {
|
||||
};
|
||||
|
||||
export const AbsoluteDateColumn = (props: ItemTableListInnerColumn) => {
|
||||
const rowItem = props.getRowItem?.(props.rowIndex) ?? (props.data as any[])[props.rowIndex];
|
||||
const row: string | undefined = (rowItem as any)?.[props.columns[props.columnIndex].id];
|
||||
|
||||
if (props.type === TableColumn.RELEASE_DATE) {
|
||||
const item = rowItem as any;
|
||||
if (item && 'releaseDate' in item && item.releaseDate) {
|
||||
const releaseDate = item.releaseDate;
|
||||
const originalDate =
|
||||
'originalDate' in item && item.originalDate && item.originalDate !== releaseDate
|
||||
? item.originalDate
|
||||
: null;
|
||||
|
||||
if (originalDate) {
|
||||
const formattedOriginalDate = formatDateAbsoluteUTC(originalDate);
|
||||
const formattedReleaseDate = formatDateAbsoluteUTC(releaseDate);
|
||||
const displayText = `${formattedOriginalDate}${SEPARATOR_STRING}${formattedReleaseDate}`;
|
||||
|
||||
return (
|
||||
<TableColumnTextContainer {...props}>
|
||||
<Tooltip label={getDateTooltipLabel(releaseDate)} multiline={false}>
|
||||
<span>{displayText}</span>
|
||||
</Tooltip>
|
||||
</TableColumnTextContainer>
|
||||
);
|
||||
}
|
||||
|
||||
if (typeof releaseDate === 'string' && releaseDate) {
|
||||
return (
|
||||
<TableColumnTextContainer {...props}>
|
||||
<Tooltip label={getDateTooltipLabel(releaseDate)} multiline={false}>
|
||||
<span>{formatDateAbsoluteUTC(releaseDate)}</span>
|
||||
</Tooltip>
|
||||
</TableColumnTextContainer>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if (row === null) {
|
||||
return <ColumnNullFallback {...props} />;
|
||||
}
|
||||
|
||||
return <ColumnSkeletonFixed {...props} />;
|
||||
}
|
||||
const row: string | undefined = (props.data as (any | undefined)[])[props.rowIndex]?.[
|
||||
props.columns[props.columnIndex].id
|
||||
];
|
||||
|
||||
if (typeof row === 'string' && row) {
|
||||
return (
|
||||
@@ -113,8 +72,9 @@ export const AbsoluteDateColumn = (props: ItemTableListInnerColumn) => {
|
||||
};
|
||||
|
||||
export const RelativeDateColumn = (props: ItemTableListInnerColumn) => {
|
||||
const rowItem = props.getRowItem?.(props.rowIndex) ?? (props.data as any[])[props.rowIndex];
|
||||
const row: string | undefined = (rowItem as any)?.[props.columns[props.columnIndex].id];
|
||||
const row: string | undefined = (props.data as (any | undefined)[])[props.rowIndex]?.[
|
||||
props.columns[props.columnIndex].id
|
||||
];
|
||||
|
||||
if (typeof row === 'string') {
|
||||
return (
|
||||
|
||||
@@ -6,8 +6,9 @@ import {
|
||||
} from '/@/renderer/components/item-list/item-table-list/item-table-list-column';
|
||||
|
||||
export const DefaultColumn = (props: ItemTableListInnerColumn) => {
|
||||
const rowItem = props.getRowItem?.(props.rowIndex) ?? (props.data as any[])[props.rowIndex];
|
||||
const row: any | undefined = (rowItem as any)?.[props.columns[props.columnIndex].id];
|
||||
const row: any | undefined = (props.data as (any | undefined)[])[props.rowIndex]?.[
|
||||
props.columns[props.columnIndex].id
|
||||
];
|
||||
|
||||
if (typeof row === 'string') {
|
||||
return <TableColumnTextContainer {...props}>{row}</TableColumnTextContainer>;
|
||||
|
||||
@@ -8,8 +8,9 @@ import {
|
||||
} from '/@/renderer/components/item-list/item-table-list/item-table-list-column';
|
||||
|
||||
export const DurationColumn = (props: ItemTableListInnerColumn) => {
|
||||
const rowItem = props.getRowItem?.(props.rowIndex) ?? (props.data as any[])[props.rowIndex];
|
||||
const row: number | undefined = (rowItem as any)?.[props.columns[props.columnIndex].id];
|
||||
const row: number | undefined = (props.data as (any | undefined)[])[props.rowIndex]?.[
|
||||
props.columns[props.columnIndex].id
|
||||
];
|
||||
|
||||
if (typeof row === 'number') {
|
||||
return (
|
||||
|
||||