Compare commits

...

336 Commits

Author SHA1 Message Date
jeffvli c5d2c60d70 update to v1.3.0 2026-01-18 19:08:38 -08:00
Hosted Weblate 52d2cf5cb4 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translated using Weblate (Czech)

Currently translated at 100.0% (1113 of 1113 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (1113 of 1113 strings)

Translated using Weblate (Russian)

Currently translated at 68.1% (759 of 1113 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (1113 of 1113 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (1113 of 1113 strings)

Translated using Weblate (Polish)

Currently translated at 99.9% (1112 of 1113 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (1111 of 1111 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (1111 of 1111 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (1111 of 1111 strings)

Translated using Weblate (French)

Currently translated at 93.3% (1035 of 1109 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (1109 of 1109 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (1109 of 1109 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (1109 of 1109 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 87.5% (971 of 1109 strings)

Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 93.8% (1041 of 1109 strings)

Translated using Weblate (Dutch)

Currently translated at 74.9% (831 of 1109 strings)

Translated using Weblate (Basque)

Currently translated at 77.8% (863 of 1109 strings)

Translated using Weblate (Basque)

Currently translated at 76.1% (845 of 1109 strings)

Translated using Weblate (Basque)

Currently translated at 75.1% (833 of 1109 strings)

Translated using Weblate (Ukrainian)

Currently translated at 0.1% (1 of 1109 strings)

Translated using Weblate (Basque)

Currently translated at 69.5% (771 of 1109 strings)

Translated using Weblate (Dutch)

Currently translated at 65.7% (729 of 1109 strings)

Translated using Weblate (Dutch)

Currently translated at 61.7% (685 of 1109 strings)

Translated using Weblate (Dutch)

Currently translated at 56.8% (630 of 1109 strings)

Translated using Weblate (Dutch)

Currently translated at 54.8% (608 of 1109 strings)

Translated using Weblate (Dutch)

Currently translated at 47.0% (522 of 1109 strings)

Translated using Weblate (Dutch)

Currently translated at 47.0% (522 of 1109 strings)

Update translation files

Updated by "Remove blank strings" hook in Weblate.

Translated using Weblate (Slovak)

Currently translated at 61.1% (678 of 1109 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (1109 of 1109 strings)

Translated using Weblate (Catalan)

Currently translated at 99.8% (1107 of 1109 strings)

Translated using Weblate (Japanese)

Currently translated at 80.7% (896 of 1109 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (1109 of 1109 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (1109 of 1109 strings)

Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 93.8% (1041 of 1109 strings)

Translated using Weblate (French)

Currently translated at 93.3% (1035 of 1109 strings)

Update translation files

Updated by "Remove blank strings" hook in Weblate.

Translated using Weblate (French)

Currently translated at 93.3% (1035 of 1109 strings)

Update translation files

Updated by "Remove blank strings" hook in Weblate.

Translated using Weblate (French)

Currently translated at 93.6% (1039 of 1109 strings)

Co-authored-by: Aitor Astorga <a.astorga.sdv@protonmail.com>
Co-authored-by: Alexander <spokeosen@gmail.com>
Co-authored-by: Desiler <qboin94@gmail.com>
Co-authored-by: Emily <Markix124@protonmail.com>
Co-authored-by: Fjuro <fjuro@alius.cz>
Co-authored-by: Fordas <fordas15@gmail.com>
Co-authored-by: HUMET <ressaguer@proton.me>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: KosmoMoustache <kosmomoustache@users.noreply.hosted.weblate.org>
Co-authored-by: Ondo <SparkyOndo@proton.me>
Co-authored-by: bokse <weblate@bokse.nl>
Co-authored-by: karigane <169052233+karigane-cha@users.noreply.github.com>
Co-authored-by: linger <linger0517@gmail.com>
Co-authored-by: skajmer <skajmer@protonmail.com>
Co-authored-by: Роман <romkaeliseev@gmail.com>
Co-authored-by: 無情天 <kofzhanganguo@126.com>
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/ca/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/cs/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/es/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/eu/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/fr/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/ja/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/nl/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/pl/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/ru/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/sk/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/uk/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/zh_Hant/
Translation: feishin/Translation
2026-01-19 03:53:37 +01:00
jeffvli a63763bfe8 use dev path for local settings store 2026-01-18 18:53:21 -08:00
jeffvli 15633d07f0 remove the Priority queue type 2026-01-18 18:53:21 -08:00
Kendall Garner 04f7c7fdd4 fix(remote): proper image when mpris and remote interleave 2026-01-18 18:18:36 -08:00
jeffvli 1c6ee88912 remove ♫ icon from card/table date fields 2026-01-18 17:46:16 -08:00
jeffvli c53b2f8ed8 fix title columns link width 2026-01-18 17:45:58 -08:00
jeffvli 5c2c18268b fix type assertions and add mantine type extension 2026-01-18 17:30:33 -08:00
jeffvli 5fd0ffaa4f make reset filter button size consistent with unpin 2026-01-18 17:24:52 -08:00
jeffvli 4d0b0d0c8d add compact sizing variants to ActionIcon 2026-01-18 17:24:52 -08:00
Kendall Garner 45df497ee6 natural numeric sort for tag and disable disc/track total for nd track filter 2026-01-18 17:19:30 -08:00
jeffvli 2dd83b111f allow search on visualizer select inputs 2026-01-18 17:17:39 -08:00
jeffvli 6b599bf53d remove compilation from primary album section groupings 2026-01-18 17:07:53 -08:00
jeffvli d10e4a3d68 rework auto lyrics matcher (#1569)
- remove priority order in favor of best match from all selected providers (lrclib synchronized)
- improve % match for title / artist
2026-01-18 16:02:37 -08:00
jeffvli 7f1c4a4d18 add sync status to lrclib lyrics (#1568) 2026-01-18 15:47:07 -08:00
jeffvli c3d4f6cacd properly handle disableArtistFilter and disableGenreFilter props for all list filters 2026-01-18 14:07:52 -08:00
jeffvli dad3d10a83 move filter reset button to header 2026-01-18 14:04:30 -08:00
Kendall Garner 5c06624f8c Initial work: support showing studios for jellyfin, allow pill to be clickable (#1566) 2026-01-18 13:53:34 -08:00
Kendall Garner cf428a14a3 fix left control and context menu image display for queue items of different server 2026-01-18 08:35:19 -08:00
jeffvli a0e09b80cf fix missing playlistItemId for subsonic song normalization (#1564) 2026-01-18 02:28:31 -08:00
jeffvli 0e388dabf5 add fullscreen visualizer (#1546) 2026-01-18 02:17:55 -08:00
jeffvli 27a5153b8a add click handler onto the accessible deselect icon on the multiselect 2026-01-18 00:50:03 -08:00
jeffvli cad3b4c905 fix stale updates in Grid/Table config 2026-01-17 22:01:24 -08:00
jeffvli bda82a8198 add gap between input and items in VirtualMultiSelect 2026-01-17 21:38:12 -08:00
Nooby b9d14e03f1 Add Rosé Pine themes (#1549)
* Add Rosé Pine theme
2026-01-17 20:35:11 -08:00
jeffvli ea46b98400 prevent mpv hotkey conflict with radio when inactive 2026-01-17 20:29:57 -08:00
jeffvli 123f09da6c fix spinner position in VirtualMultiSelect 2026-01-17 20:19:06 -08:00
jeffvli 4155cd0963 optimize ND/JF list fetch
- no longer requires 2 separate fetches for count and data
- the list count includes the first page so we set the query data directly
2026-01-17 19:57:12 -08:00
jeffvli 27f82aef94 conditionally disable Subsonic list filters based on availability (#1567) 2026-01-17 18:20:40 -08:00
jeffvli 9f9d685353 decrease font weight of JoinedArtists display 2026-01-17 17:46:51 -08:00
jeffvli 9b97a3fa61 add reset button to list filters 2026-01-17 17:43:55 -08:00
jeffvli 5b519320c2 enhance album/song list filters 2026-01-17 16:56:35 -08:00
jeffvli 790782b799 fix itemCount not updating properly on zero value 2026-01-17 16:25:37 -08:00
jeffvli 8c5188dfd0 add VirtualMultiSelect component for filters 2026-01-17 16:25:12 -08:00
jeffvli d793e67b56 replace separator string with smaller bullet 2026-01-17 13:29:25 -08:00
jeffvli 9bccf7c405 replace Rating column header with icon instead of text 2026-01-17 13:23:53 -08:00
jeffvli 291daa434c validate that the current song is different from server before revalidating in queue 2026-01-17 13:19:56 -08:00
jeffvli ef5daad1dd add more dynamic imports to optimize bundle 2026-01-17 07:32:16 -08:00
jeffvli 6cb5c95c1f add chrome target for vite build 2026-01-17 07:27:52 -08:00
jeffvli 37068a3b89 fix sourcemaps in vite build 2026-01-17 04:57:28 -08:00
jeffvli 5901748b76 fix disc group selection state in album songs 2026-01-17 04:29:06 -08:00
jeffvli 945a4052e2 decrease opacity of non-active sync lyric 2026-01-17 03:40:53 -08:00
jeffvli cd887f8615 adjust lyrics scroll mask to improve edge visibility (#1562) 2026-01-17 03:37:49 -08:00
jeffvli 3f3540dd2b fix mouseover state causing rerender in fullscreen player (#1535) 2026-01-17 03:02:05 -08:00
jeffvli b4b0c6cedd fix Toggle Queue hotkey when using detached queue (#1522) 2026-01-17 02:43:11 -08:00
jeffvli afd91d2ae3 fix sidebar drag region overlapping window controls with web windowbar (#1536) 2026-01-17 02:38:37 -08:00
jeffvli e0e1799902 add fallback to minYear if no dates tagged 2026-01-17 02:35:11 -08:00
jeffvli e64d77feba add timeout to prevent accidental context submenu close (#1552) 2026-01-17 02:31:09 -08:00
jeffvli ac944c43bb add composer column to song/album table (#1559) 2026-01-17 02:16:56 -08:00
jeffvli aec2f85165 add filter Link to album recordlabels (#1541) 2026-01-17 02:00:06 -08:00
jeffvli 85a7df29db fix settings reset
- force reset by deleting local storage state and reloading the window
- the default reset functionality does not seem to work due to the persistence
2026-01-17 01:53:08 -08:00
jeffvli 18d56f32cf add Title (artist) column (#1496) 2026-01-17 01:49:59 -08:00
jeffvli d1aed5007f refactor item list to use accessor function 2026-01-16 23:45:46 -08:00
jeffvli e2b20eb89b split out item list table functionality 2026-01-16 23:45:19 -08:00
jeffvli a5fa022eb6 add context to item list table 2026-01-16 23:45:04 -08:00
jeffvli 79e7d7a010 refactor item list table drag/hover 2026-01-16 23:43:50 -08:00
jeffvli 431ff76e19 clean up old logs 2026-01-16 11:05:33 -08:00
jeffvli dc5414284a invalidate recentlyPlayed and mostPlayed carousels on scrobble submission 2026-01-16 04:35:06 -08:00
jeffvli a59e57572c support query key override on infinite carousels 2026-01-16 04:34:44 -08:00
jeffvli 2827b2ae01 invalidate the album query on scrobble submission 2026-01-16 04:23:57 -08:00
jeffvli fc5024be90 revalidate current song in queue during playback 2026-01-16 04:18:02 -08:00
jeffvli dab1103279 manually increment queue play count on scrobble 2026-01-16 04:12:44 -08:00
jeffvli f5dabc134a revert library title wrap style 2026-01-16 03:55:29 -08:00
jeffvli 9e57125c96 reduce window minHeight to 120px (#1561) 2026-01-16 03:55:18 -08:00
jeffvli 8a14327aaf use placeholderData instead of initialData for detail routes 2026-01-16 02:43:14 -08:00
jeffvli b9311e841c remove fade animation on album songs table 2026-01-16 02:01:08 -08:00
jeffvli 46b80b9a18 add loading placeholder cards to grid carousel 2026-01-16 01:31:48 -08:00
jeffvli b6a670689c fix ItemCard skeleton sizing to match original 2026-01-15 22:14:34 -08:00
jeffvli 1a3fbe0a7a improve text wrap on library header 2026-01-15 21:40:47 -08:00
jeffvli 66a2b4c225 fix sidebar visualizer/lyrics combined behavior (#1529) 2026-01-15 21:35:45 -08:00
jeffvli 83c47454c6 fix image condition for discord rpc image with Jellyfin (#1509) 2026-01-14 22:03:22 -08:00
jeffvli 0947e209ce remove unused import 2026-01-14 21:58:08 -08:00
jeffvli 1f12ef2151 increase album release section limit to 100 (#1523) 2026-01-14 21:55:21 -08:00
jeffvli 8de80c00a8 ensure song follow is run on play queue render 2026-01-14 21:34:46 -08:00
jeffvli b79ebdfbef revert to old feature carousel style (#1412) 2026-01-14 21:15:24 -08:00
jeffvli a8604dd150 add recently played songs carousel for jellyfin (#1494) 2026-01-14 20:18:19 -08:00
jeffvli c676f5b91f use existing web player engine for radio playback (#1543) 2026-01-14 20:01:30 -08:00
jeffvli 41054ed819 add audio device selection for mpv 2026-01-14 19:12:36 -08:00
jeffvli d95204513f remove Windows only description for mediasession (#1557) 2026-01-14 18:47:10 -08:00
jeffvli 1850cc68d8 Revert "refactor image to only render in viewport once"
This reverts commit 746951b55f.
2026-01-14 18:46:09 -08:00
binder-badge c1c07b861e Update screenshots on readme (#1555)
* update screenshots on readme
2026-01-14 18:32:54 -08:00
Michael Levy 244aebb0f5 fix: Use .ico file on Windows (#1544)
* use ico file on windows
2026-01-14 18:25:43 -08:00
jeffvli ae49e3cf2f allow system tray in macOS (#1539) 2026-01-14 18:21:26 -08:00
Kendall Garner 40f04d6800 fix navidrome tag list sort 2026-01-11 17:07:57 -08:00
skajmer bc0ba8c116 Add missing _other strings (#1547)
Adds strings that were previously missing
2026-01-12 00:48:24 +00:00
jeffvli 746951b55f refactor image to only render in viewport once 2026-01-10 14:22:05 -08:00
haha4ni 89d4698155 fix:Chinese locale missing *_one key (#1531) 2026-01-09 16:20:55 +00:00
Kendall Garner 415cc71f74 fix(jellyfin): use undefined instead of -1 for limit for jellyfin 10.10, fix item-image 2026-01-09 08:11:02 -08:00
jeffvli 0e41144a10 fix title overflow on firefox 2026-01-08 23:50:38 -08:00
Kendall Garner b5dbb30b02 fix(query builder): default to no value for empty string 2026-01-08 21:16:40 -08:00
Kendall Garner bc40123891 fix(queue): use song serverId when switching servers 2026-01-08 20:43:35 -08:00
Kendall Garner f465e34ea3 fix(jellyfin): use correct filter for album/artist with small count 2026-01-08 20:32:57 -08:00
Kendall Garner eca925a4eb fix: respect volume wheel step for volume hotkey 2026-01-08 08:09:39 -08:00
Kendall Garner 6442728931 allow legacy auth setting to be default when server lock is disabled 2026-01-08 07:47:07 -08:00
Kendall Garner 7e67d0dac6 fix: properly handle server lock and related properties 2026-01-08 07:42:59 -08:00
Kendall Garner 2fdc214c21 remove download icon from non-electron contexts 2026-01-07 21:56:53 -08:00
Kendall Garner 652be94eb2 fix(remote): send song url to remote 2026-01-07 21:34:57 -08:00
Kendall Garner 93a5bafc38 fix: add scroll area to server selector dropdown in sidebar 2026-01-07 20:51:04 -08:00
jeffvli c2de979527 fix incorrect condition to try similar songs in autodj 2026-01-07 13:57:53 -08:00
Kendall Garner fd78bdf8af fix(login): add scroll area to login required page 2026-01-07 07:35:26 -08:00
haveac1gar e0e82e7246 Added sorting by Disc Number and Track Number for SongListSort.COMMENT (#1518) 2026-01-05 20:15:15 -08:00
jeffvli cb749480a4 fix missing ANALYTICS_DISABLED var in example docker compose 2026-01-04 16:12:20 -08:00
jeffvli 5ec8f1a904 add fallback to year for navidrome release display (#1498) 2026-01-04 15:22:37 -08:00
jeffvli 83b20d9086 fix card container height when inconsistent row count 2026-01-04 15:07:34 -08:00
jeffvli 211f09fe19 fix presets delete (#1497) 2026-01-04 14:42:44 -08:00
jeffvli 03c1fb0ff2 add missing table body to hotkeys manager 2026-01-04 14:31:18 -08:00
jeffvli 834412ad31 fix release notes not displayed on version change 2026-01-04 14:24:34 -08:00
jeffvli 7ae0aa198e use separator string for releasetype display 2026-01-04 02:54:00 -08:00
Hosted Weblate 5d24d90a7c Translated using Weblate (Czech)
Currently translated at 100.0% (1109 of 1109 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (1109 of 1109 strings)

Translated using Weblate (Czech)

Currently translated at 99.0% (1099 of 1109 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (1104 of 1104 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (1099 of 1099 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (1099 of 1099 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 88.4% (972 of 1099 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (1099 of 1099 strings)

Co-authored-by: Fjuro <fjuro@alius.cz>
Co-authored-by: Fordas <fordas15@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kaffu Chino <kaffu-chino@outlook.com>
Co-authored-by: skajmer <skajmer@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/cs/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/es/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/pl/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/zh_Hans/
Translation: feishin/Translation
2026-01-04 10:37:14 +00:00
jeffvli b5923539c2 update to v1.2.0 2026-01-04 02:37:04 -08:00
jeffvli 3a9d49549c remove duplicate text in release notes modal 2026-01-04 02:36:59 -08:00
jeffvli ff272a5385 fix butterchurn init and cleanup 2026-01-04 02:35:44 -08:00
jeffvli 327875df6a make queue controls follow panel in sidebar (#1492) 2026-01-04 02:09:35 -08:00
jeffvli 9bbb213bc2 use shorthand localized date format 2026-01-04 01:58:15 -08:00
jeffvli 3122c1a058 fix long press to work only on left click (#1493) 2026-01-04 01:53:34 -08:00
jeffvli af055ab6dd support original date display and sort (#1488) 2026-01-04 01:49:51 -08:00
jeffvli e34d84deee fix missing defaultValue on NumberInput 2026-01-04 01:01:14 -08:00
jeffvli 0596faf51e readd mpv reload handler 2026-01-04 01:01:01 -08:00
jeffvli 5f1867c14f add support for track subtitle display (#1177) 2026-01-04 00:44:22 -08:00
jeffvli 1c6b204e80 bump butterchurn package 2026-01-03 23:04:22 -08:00
jeffvli 29957780cb fix wrong imageRes being used in some cases 2026-01-03 16:00:32 -08:00
jeffvli fd0d783e7d use weighted ordering for album sections with secondary releasetypes 2026-01-03 15:51:58 -08:00
jeffvli 5ec025a70e fix artist album search conditional render on no results 2026-01-03 15:42:41 -08:00
jeffvli dc0c6401de fix image column skeleton aspect ratio 2026-01-03 06:31:42 -08:00
jeffvli 06fc7b391f remove remixer from navidrome album type 2026-01-03 06:31:40 -08:00
jeffvli 8c91f1c52d remove scroll shadows from fullscreen player 2026-01-03 03:23:58 -08:00
jeffvli 968d991a1a improve table scroll shadow styles 2026-01-03 03:19:40 -08:00
jeffvli f4f75f342c use throttle on scroll shadow instead of debounce 2026-01-03 03:08:05 -08:00
jeffvli ba32832619 actually fix the related tab (#1484) 2026-01-03 03:05:53 -08:00
jeffvli 186811156e add remixer to song artist (#1400) 2026-01-03 03:03:10 -08:00
jeffvli 261c5541cd cleanup path replacement 2026-01-03 02:24:53 -08:00
jeffvli 5c14d20f78 join releasetypes on 'all' mode on artist page 2026-01-03 02:09:59 -08:00
jeffvli c67731f852 add missing gain node to butterchurn (#1475) 2026-01-03 01:33:48 -08:00
jeffvli 0336f4afea fix related tab sizing (#1484) 2026-01-03 01:19:37 -08:00
jeffvli ace4c77bdc add missing cleanup functions on visualizers 2026-01-03 01:01:55 -08:00
jeffvli ffe3f08705 optimize item table 2026-01-03 01:01:54 -08:00
jeffvli d06d1674d1 optimize various base components 2026-01-03 01:01:54 -08:00
jeffvli a66c67e86d optimize settings store 2026-01-03 01:01:54 -08:00
dependabot[bot] 0cfc4119ba Bump qs in the npm_and_yarn group across 1 directory (#1465)
Bumps the npm_and_yarn group with 1 update in the / directory: [qs](https://github.com/ljharb/qs).


Updates `qs` from 6.14.0 to 6.14.1
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.14.0...v6.14.1)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.1
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-03 00:53:50 -08:00
Qimiao Chen af0354a4d5 Avoid an infinite loop when artist.name is an empty string. (#1483)
* Avoid an infinite loop when  is an empty string.

---------

Co-authored-by: Jeff <42182408+jeffvli@users.noreply.github.com>
2026-01-03 00:53:26 -08:00
jeffvli e696c0c636 add context menu item to show song in file manager (#1397) 2026-01-02 01:32:51 -08:00
jeffvli 6aeec1e89c add filepath replacement setting (#1402) 2026-01-02 01:23:29 -08:00
jeffvli e406b27170 fix radio cancellation error on double click (#1419) 2026-01-01 20:40:24 -08:00
jeffvli 55cead87c8 add LEGACY_AUTH env variable (#1473) 2026-01-01 20:33:27 -08:00
jeffvli aaf840d358 resend mediasession on player repeat (#1472) 2026-01-01 20:17:49 -08:00
jeffvli af8470e254 fix missing export lyrics button 2026-01-01 20:08:27 -08:00
jeffvli c7809c62ce throttle volume slider 2026-01-01 15:32:20 -08:00
jeffvli cb47883328 remove unused properties from PlayerData 2026-01-01 15:31:57 -08:00
jeffvli 588e0609fd add list playback and navigation hotkeys (#1469) 2026-01-01 14:02:02 -08:00
jeffvli 091d2efb2e fix grid song play behavior (#1477) 2026-01-01 12:41:04 -08:00
Flutter e5c5985f0f feat: playlist grid view (#1476)
* feat: grid view for playlists
2026-01-01 12:21:47 -08:00
jeffvli b7627fd469 fix sidebar image empty icon 2026-01-01 12:21:20 -08:00
jeffvli 22c0f8f8c6 add manual garbage collection 2026-01-01 12:21:20 -08:00
Leonardo Salgueiro a7d2a427ec forcing string value for EP to always be upper case (#1474) 2026-01-01 11:59:27 -08:00
jeffvli 14cc4079a3 fix Inter font missing variable weights 2025-12-31 18:19:34 -08:00
jeffvli bb93b0895e fix table keyboard navigation (#1469) 2025-12-31 18:10:31 -08:00
jeffvli 1a3e2eec70 add up to 2 genre carousels on the album page 2025-12-31 16:30:10 -08:00
jeffvli 926b77c770 fix Subsonic artist list broken pagination 2025-12-31 15:55:45 -08:00
jeffvli a4472bb449 include custom gradients and opacity in copied visualizer preset 2025-12-31 15:52:28 -08:00
jeffvli cd04d7a760 re-add visualizer preset update functionality 2025-12-31 15:32:44 -08:00
jeffvli 6356c55c81 add loading state to external lyrics fetch 2025-12-31 15:20:22 -08:00
jeffvli 37ed99d0fb optimize artist page load speed 2025-12-31 15:15:30 -08:00
jeffvli 72475fbcc2 update to v1.1.0 2025-12-31 01:53:43 -08:00
Hosted Weblate 0096aeeb1b Translated using Weblate (Czech)
Currently translated at 100.0% (1094 of 1094 strings)

Translated using Weblate (German)

Currently translated at 81.1% (888 of 1094 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 86.1% (942 of 1094 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 76.4% (836 of 1094 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (1094 of 1094 strings)

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 72.2% (789 of 1092 strings)

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 72.1% (787 of 1091 strings)

Translated using Weblate (Polish)

Currently translated at 99.6% (1087 of 1091 strings)

Translated using Weblate (Japanese)

Currently translated at 79.3% (865 of 1090 strings)

Translated using Weblate (Japanese)

Currently translated at 77.0% (840 of 1090 strings)

Translated using Weblate (Spanish)

Currently translated at 96.9% (1055 of 1088 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (1088 of 1088 strings)

Translated using Weblate (Spanish)

Currently translated at 94.9% (1033 of 1088 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (1088 of 1088 strings)

Translated using Weblate (Spanish)

Currently translated at 87.5% (953 of 1088 strings)

Translated using Weblate (Basque)

Currently translated at 70.0% (762 of 1088 strings)

Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 94.2% (1025 of 1088 strings)

Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 94.2% (1025 of 1088 strings)

Co-authored-by: Aitor Astorga <a.astorga.sdv@protonmail.com>
Co-authored-by: Fjuro <fjuro@alius.cz>
Co-authored-by: Fordas <fordas15@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kaffu Chino <kaffu-chino@outlook.com>
Co-authored-by: Ondo <SparkyOndo@proton.me>
Co-authored-by: Zarakkas <kaz@users.noreply.hosted.weblate.org>
Co-authored-by: karigane <169052233+karigane-cha@users.noreply.github.com>
Co-authored-by: linger <linger0517@gmail.com>
Co-authored-by: skajmer <skajmer@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/ca/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/cs/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/de/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/es/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/eu/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/ja/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/pl/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/zh_Hant/
Translation: feishin/Translation
2025-12-31 10:52:01 +01:00
jeffvli 91ccc71fcd fix media session using stale image reference (#1296) 2025-12-31 01:51:52 -08:00
jeffvli b00f9795bf add song infinite carousel (#1464) 2025-12-31 01:20:04 -08:00
jeffvli 255b9a9c2d fix lyrics fetch and clear (#1342)
- split server and remote lyrics into separate queries
- lyrics cache now always contain server lyrics, override will use separate remote query
- clear button is reverted to only clear the override query, and back to server
2025-12-31 01:07:56 -08:00
jeffvli 8eab4933ae fix click handler on LibraryHeader image 2025-12-30 21:19:29 -08:00
jeffvli 031f443238 re-add missing styles onto library header image 2025-12-30 21:09:47 -08:00
jeffvli 72d0fca28b support secondary public server URL 2025-12-30 21:05:38 -08:00
jeffvli 7aeadb531f use ItemImage in library header 2025-12-30 16:17:37 -08:00
jeffvli 4e213ea79e improve library header title size calculation 2025-12-30 16:13:04 -08:00
jeffvli b99ea61115 allow analytics opt out from env (#1454) 2025-12-30 15:40:58 -08:00
jeffvli 4a025f82e4 fix incorrect imageId assignments (#1456) 2025-12-30 15:18:03 -08:00
jeffvli 6ddaf0366c support copy / paste audiomotionanalyzer gradients 2025-12-30 15:03:05 -08:00
jeffvli 62183ecb58 adjust analytics to wait for server before track 2025-12-30 13:59:52 -08:00
jeffvli 3ee92b068b fix list filters sidebar not persisting closed state 2025-12-30 13:45:21 -08:00
jeffvli 4dc3a0e8d1 decrease opacity of header background image 2025-12-30 13:37:26 -08:00
jeffvli 43652ce65d add several audiomotionanalyzer presets 2025-12-30 13:32:54 -08:00
jeffvli b08c8a1719 update default audiomotionanalyzer preset 2025-12-30 13:22:08 -08:00
jeffvli 0385f13928 fix missing mpv parameters translation 2025-12-30 05:37:23 -08:00
jeffvli 3bf2c585b8 fix localization on visualizer form 2025-12-30 05:35:37 -08:00
jeffvli 7d05e4536b adjust default react-query stale/gc time 2025-12-30 04:43:14 -08:00
jeffvli 0553f3b5a2 fix missing rating input on the compact item card 2025-12-30 04:08:39 -08:00
jeffvli c01a0d79e1 fix missing format on item card album count row 2025-12-30 04:04:05 -08:00
jeffvli adc094005f improve compact size item card 2025-12-30 03:59:17 -08:00
jeffvli 5b7557bd45 fix subsonic release date format to yyyy-mm-dd 2025-12-30 03:40:12 -08:00
jeffvli 6aa3905922 use exact album artist names (#1459) 2025-12-30 03:39:53 -08:00
jeffvli aa75aaaffb add more metadata to album header / side 2025-12-30 02:33:23 -08:00
jeffvli 62ab4b7a00 add releaseType to album header 2025-12-29 21:16:39 -08:00
jeffvli 145dc5c99e add fallback for navidrome release date 2025-12-29 20:54:58 -08:00
jeffvli 82a566aee1 add artist release type configuration, fix page configurations 2025-12-29 20:54:58 -08:00
Pyx 42058ff6d6 fix: correct propagation on settings menu (#1453)
* fix propagation error on settings menu
2025-12-29 14:57:49 -08:00
sheepman4267 9841cfba38 Bump electron version (#1452) 2025-12-29 14:51:50 -08:00
jeffvli 6c8099efe5 update to v1.0.2 2025-12-28 20:08:03 -08:00
jeffvli 8ba87d57cd fix default lyrics fetchers 2025-12-28 20:05:37 -08:00
jeffvli 4d57faa197 update to v1.0.1 2025-12-28 18:13:41 -08:00
Hosted Weblate 4129a8f56e Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 69.2% (752 of 1086 strings)

Translated using Weblate (Polish)

Currently translated at 99.6% (1082 of 1086 strings)

Translated using Weblate (Polish)

Currently translated at 93.6% (1017 of 1086 strings)

Translated using Weblate (Polish)

Currently translated at 88.0% (955 of 1084 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (1084 of 1084 strings)

Translated using Weblate (Polish)

Currently translated at 87.8% (952 of 1084 strings)

Translated using Weblate (Czech)

Currently translated at 88.7% (961 of 1083 strings)

Translated using Weblate (Spanish)

Currently translated at 87.4% (947 of 1083 strings)

Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 87.6% (948 of 1082 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (951 of 951 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (951 of 951 strings)

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translated using Weblate (Hungarian)

Currently translated at 100.0% (939 of 939 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (939 of 939 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (939 of 939 strings)

Translated using Weblate (Turkish)

Currently translated at 74.8% (701 of 936 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (936 of 936 strings)

Translated using Weblate (Korean)

Currently translated at 45.9% (430 of 936 strings)

Translated using Weblate (German)

Currently translated at 94.8% (888 of 936 strings)

Translated using Weblate (Swedish)

Currently translated at 41.1% (385 of 936 strings)

Translated using Weblate (German)

Currently translated at 94.8% (888 of 936 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (936 of 936 strings)

Translated using Weblate (Dutch)

Currently translated at 52.4% (491 of 936 strings)

Translated using Weblate (Swedish)

Currently translated at 39.6% (371 of 936 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (936 of 936 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (936 of 936 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (932 of 932 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (932 of 932 strings)

Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 99.4% (927 of 932 strings)

Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 99.4% (927 of 932 strings)

Translated using Weblate (French)

Currently translated at 99.8% (927 of 928 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (927 of 927 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (927 of 927 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (926 of 926 strings)

Translated using Weblate (French)

Currently translated at 100.0% (926 of 926 strings)

Co-authored-by: Dylan MONTIGAUD <dylanmontigaud17@gmail.com>
Co-authored-by: Fjuro <fjuro@alius.cz>
Co-authored-by: Fordas <fordas15@gmail.com>
Co-authored-by: Fredrik Wastring <fredrik.was@gmail.com>
Co-authored-by: Guanjun Shi <yzsgjcdd@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: KosmoMoustache <kosmomoustache@users.noreply.hosted.weblate.org>
Co-authored-by: Mücahit Kaya <kaya-mucahit@outlook.com>
Co-authored-by: Naim V <naimverboom@gmail.com>
Co-authored-by: Ondo <SparkyOndo@proton.me>
Co-authored-by: Soderes Sanyi <kennex@protonmail.com>
Co-authored-by: Zarakkas <kaz@users.noreply.hosted.weblate.org>
Co-authored-by: linger <linger0517@gmail.com>
Co-authored-by: skajmer <skajmer@protonmail.com>
Co-authored-by: wonkwan lee <gorathkr@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/ca/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/cs/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/de/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/es/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/fr/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/hu/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/ko/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/nl/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/pl/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/sv/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/tr/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/feishin/translation/zh_Hant/
Translation: feishin/Translation
2025-12-29 03:12:30 +01:00
jeffvli 1aa91fe2f5 add defaults to main settings to sync with renderer 2025-12-28 18:12:14 -08:00
jeffvli 5c399f7117 add timeout to prevent too many lyrics fetch on song change 2025-12-28 17:49:39 -08:00
jeffvli 3c07f03651 fix custom gradients in audiomotion visualizer 2025-12-28 17:45:21 -08:00
jeffvli b26b6eab09 move server selector inline with other collapsed sidebar items 2025-12-28 17:27:01 -08:00
jeffvli b2579c031d pin album/song list filters by default 2025-12-28 17:19:38 -08:00
jeffvli 98e2458a03 enable lyrics/visualizer in sidebar by default 2025-12-28 17:19:38 -08:00
jeffvli b30e26ae7e adjust app default columns 2025-12-28 17:19:32 -08:00
jeffvli fd158b956a reorganize album metadata tags 2025-12-28 16:27:27 -08:00
jeffvli 109788ebbb update multiselect styles 2025-12-28 15:07:57 -08:00
jeffvli ffdef596ad auto follow queue when autodj is triggered 2025-12-28 14:34:38 -08:00
jeffvli 0a54f7c44c remove similarSongs from autodj when music folder is selected (#1451)
- Similar songs queries for both Subsonic/Jellyfin do not support querying by musicFolderId
2025-12-28 14:09:22 -08:00
jeffvli d5d995de5f fix missing musicFolderId on search (#1451) 2025-12-28 13:34:26 -08:00
jeffvli 304c38db1e fix infinite loader potentially refetching count multiple times on query change 2025-12-28 06:55:58 -08:00
jeffvli ef631d12cc support multiselect for nd album artist_id filter 2025-12-28 06:44:31 -08:00
jeffvli 4006980b29 adjust artist page suspense fetching 2025-12-28 06:36:14 -08:00
jeffvli f9c3c107bd adjust featured genres breakpoints 2025-12-28 06:04:54 -08:00
jeffvli 7106b100ce set default playerbar type to Slider 2025-12-28 06:04:41 -08:00
jeffvli e2d56c70b1 add optimistic update for top songs list (#1414) 2025-12-28 03:47:01 -08:00
jeffvli 1a930021b6 handle favorite/update in similarArtists 2025-12-28 03:43:59 -08:00
jeffvli 66699b9572 fix regression on round ItemCard 2025-12-28 03:23:57 -08:00
jeffvli 99be12e648 improve list loading indicator 2025-12-28 03:05:20 -08:00
jeffvli dde4e1b33c improve image placeholders and loading 2025-12-28 02:43:31 -08:00
jeffvli 88711eac2f fix Jellyfin imageId normalization 2025-12-28 02:26:27 -08:00
jeffvli f21ca83179 force single line on feature carousel artist 2025-12-28 02:03:20 -08:00
jeffvli f43950874d use "album" releasetype as default artist album fallback 2025-12-28 02:03:05 -08:00
jeffvli a3794158f0 increase default sidebar image res to 400 2025-12-28 01:34:18 -08:00
jeffvli 7f52b31b40 use multiselect for navidrome song tag filters 2025-12-28 01:26:36 -08:00
jeffvli 18a864a049 use multiselect for navidrome tag filters (#1420) 2025-12-28 01:24:54 -08:00
jeffvli 4eac6457ea add MPRIS volume handler (#1415) 2025-12-28 01:15:38 -08:00
Leonardo Salgueiro df0d4b7032 feat: adding setting to show/hide user ratings (#1426)
* adding show/hide user ratings setting
2025-12-28 01:04:50 -08:00
jeffvli f0942c7795 revert spinner icon 2025-12-28 01:04:11 -08:00
jeffvli 396325f397 refactor artist album grid to use flex layout 2025-12-28 00:51:20 -08:00
BatteredBunny 63015195b0 feat: Add DISABLE_AUTO_UPDATES env variable for disabling updates in the application entirely (#1446) 2025-12-28 00:50:55 -08:00
jeffvli e821397e6c add horizontal scroll to feature carousel (#1123) 2025-12-27 18:29:10 -08:00
jeffvli aae68853ef kill butterchurn visualizer if player is idle 2025-12-27 18:18:06 -08:00
jeffvli f904aafd4a add isEnabled property for playback filters 2025-12-27 18:12:14 -08:00
jeffvli 38b2508de6 unrender sidebar play queue when fullscreen player is open 2025-12-27 17:50:42 -08:00
jeffvli 8fee57157a fix lyrics settings button variant 2025-12-27 17:44:41 -08:00
jeffvli 6207cea9f1 support animated artist images 2025-12-27 17:29:26 -08:00
jeffvli c299752e44 Revert "enable autoHideSuspend on all overlayscrollbars instances"
This reverts commit b9a0d9b847.
2025-12-27 17:06:09 -08:00
jeffvli 82e4f832eb fix queue panels size persistence 2025-12-27 16:59:30 -08:00
jeffvli c8221c07ef fix layout shift caused by sidebar panel divider 2025-12-27 16:22:19 -08:00
jeffvli 710fc16f62 adjust artist album grid span 2025-12-27 16:22:02 -08:00
jeffvli 331cddcabb allow query preview when query editor is closed 2025-12-27 15:57:43 -08:00
jeffvli b9a0d9b847 enable autoHideSuspend on all overlayscrollbars instances 2025-12-27 15:48:50 -08:00
jeffvli 9c59a38f7a improve performance on page ScrollArea by throttling scroll callback 2025-12-27 15:48:29 -08:00
jeffvli b573999d33 add titles translations for secondary release types 2025-12-27 15:44:27 -08:00
jeffvli 35d8698ca0 add broadcast and other release type groupings 2025-12-27 15:23:42 -08:00
jeffvli 23e4574667 add configuration to show secondary release types 2025-12-27 15:19:00 -08:00
jeffvli 7db15c7c72 separate EP and Single in artist releasetypes 2025-12-27 15:03:38 -08:00
jeffvli d94b220319 fix playlist image urls 2025-12-27 14:58:57 -08:00
jeffvli acfc106f40 fix artist page initial fetch 2025-12-27 14:57:58 -08:00
jeffvli 856400048b fix image on context menu preview 2025-12-27 14:25:57 -08:00
jeffvli a7c2a92f16 set fixed height for play queue controls 2025-12-27 02:46:21 -08:00
jeffvli fc3d700a57 fix styling of transparent variant button disabled state 2025-12-27 02:44:09 -08:00
jeffvli a60973ffee adjust page animation transition 2025-12-27 02:42:41 -08:00
jeffvli a1114235d6 add layout animation for artist album cards 2025-12-27 02:25:13 -08:00
jeffvli 928b0b6f4d add a limit of 20 albums per section 2025-12-27 02:15:13 -08:00
jeffvli 60d6d49eaa fix height of sidebar panel handles 2025-12-27 02:07:03 -08:00
jeffvli 804a670bf1 default artistBackground to true 2025-12-27 02:04:00 -08:00
jeffvli e51bb05564 add play controls to artist album sections 2025-12-27 02:03:53 -08:00
jeffvli a21ee21652 add album section count badge 2025-12-27 01:55:34 -08:00
jeffvli 8b2d162733 adjust grid column counts based on new breakpoint configuration 2025-12-27 01:43:48 -08:00
jeffvli cc76c9f31e update name of Single section to Single EP 2025-12-27 01:33:29 -08:00
jeffvli aa7a5037fa add opacity configuration for visualizers 2025-12-27 01:33:05 -08:00
jeffvli 0acb1f54fc lint files 2025-12-27 01:27:10 -08:00
jeffvli 403ed8cae6 move artist radio button to page content 2025-12-27 01:19:56 -08:00
jeffvli 3db229ef68 re-add similar artists carousel to artist page 2025-12-27 01:13:28 -08:00
jeffvli f0d22267c3 replace react-resizable-panels with react-split-pane
- react-resizable-panels was causing an issue with browser navigation
2025-12-27 00:55:38 -08:00
jeffvli 796e511626 redesign artist page (#416) (#447) 2025-12-26 21:13:04 -08:00
jeffvli 06e757d3b2 decrease default lyric font/gap size 2025-12-26 18:40:30 -08:00
jeffvli 0c8032d097 adjust default audiomotion visualizer styles 2025-12-26 15:31:26 -08:00
jeffvli 7cd86d1301 default enable lyrics/visualizer in sidebar 2025-12-26 15:31:17 -08:00
jeffvli 781df3ab06 remove accordion from table/grid config 2025-12-26 15:16:51 -08:00
jeffvli 88b9124185 replace themes scrollbar with neutral colors 2025-12-26 15:14:01 -08:00
jeffvli 48724f816c fix compact item card styling for light mode 2025-12-26 15:09:43 -08:00
jeffvli 1a184a73de revert behavior for queue add by id 2025-12-26 14:55:53 -08:00
jeffvli e4b5cf36e1 fix duplicate PLAYER_PLAY event causing race condition in mpv 2025-12-26 14:49:06 -08:00
jeffvli dff182cbc5 use correct id for runtime images in useItemImageUrl 2025-12-26 14:04:48 -08:00
jeffvli fb8245539f fix missing normalizations for subsonic imageId (#1449) 2025-12-26 14:04:04 -08:00
jeffvli bb3cb4a6ad fix mpv volume on initial startup 2025-12-26 05:24:44 -08:00
jeffvli fb2e30c484 remove padding from sidebar visualizer 2025-12-26 02:32:10 -08:00
jeffvli 73c5292cc1 move the visualizer settings out of error boundary 2025-12-26 02:24:20 -08:00
jeffvli 800074dced add ignored presets for butterchurn 2025-12-25 17:19:56 -08:00
farfromrefuge f78a572a3c fix:music filtering subsonic (#1442)
* Add musicFolderId filtering for tracks in Subsonic API

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-12-25 14:22:23 -08:00
jeffvli 97b20cec19 persist queue sidebar panel sizing 2025-12-25 13:13:32 -08:00
jeffvli fd833f683b fix lyric alignment select on fullscreen player config (#1390) 2025-12-25 01:49:59 -08:00
jeffvli 076d9b3083 re-add pause / unpause events to Jellyfin scrobble (#1413) 2025-12-25 01:47:04 -08:00
jeffvli 3a2a1b0dc8 prevent sidebar item conflict with server selector 2025-12-25 01:39:33 -08:00
jeffvli 20c19cac6f add server selector to collapsed sidebar (#1401) 2025-12-25 01:37:07 -08:00
jeffvli 8205eeed22 split lyrics settings by key (#1389) 2025-12-25 01:29:31 -08:00
jeffvli 5eb2cff6e9 add additional configuration to player sidebar
- allow reordering of panels
- allow separation between lyrics and visualizer panels
- allow resize of panels
2025-12-24 23:20:00 -08:00
jeffvli d822d9cd29 increase default table image res to 80px 2025-12-24 19:25:44 -08:00
jeffvli 4142132ebc removal modal opacity on visualizer settings modal 2025-12-24 19:21:28 -08:00
jeffvli fb2746323b fix missing radial spin speed setting 2025-12-24 19:19:02 -08:00
Jeff d9172efae9 Add visualizer configuration (#1443)
* add visualizer configuration

* add visualizer presets

* add butterchurn visualizer

* wrap visualizers in error boundary
2025-12-24 18:12:13 -08:00
jeffvli 8e04f98e26 fix expand button on compact ItemCard 2025-12-24 03:17:39 -08:00
jeffvli 51587fbb6b add grid item card size presets 2025-12-23 21:59:52 -08:00
jeffvli cf06d69822 add sidebar visualizer / lyrics toggle in player config 2025-12-23 21:41:33 -08:00
jeffvli 22751de2f6 fix image url generation on album detail header 2025-12-23 21:30:26 -08:00
Kendall Garner 04fbf5d3d2 Export lyrics (#1383)
* add export button to the lyrics actions

* add export button to the lyrics search modal

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
2025-12-23 21:27:47 -08:00
jeffvli 936ba73fe4 remove refresh buttons from grid carousel by default 2025-12-23 21:27:12 -08:00
jeffvli 05efd0f318 temporarily remove item list selection dialog 2025-12-23 21:05:50 -08:00
jeffvli ce570eddd2 improve auto dj to trigger on remaining songs change 2025-12-23 21:05:40 -08:00
jeffvli 5b1f269344 update radio permission to allow normal users to create 2025-12-23 20:58:58 -08:00
jeffvli 0806d9852a fix sidebar playlist image url generation 2025-12-23 20:53:14 -08:00
jeffvli c3e38d7133 fix drag preview image url generation 2025-12-23 20:53:07 -08:00
farfromrefuge a322717e0e feat: add artist radio and track radio (in context menu) (#1437)
* Add API support for artist radio and track radio features

* Add translation strings and settings UI for artist radio count

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jeffvli <jeffvictorli@gmail.com>
2025-12-23 20:46:19 -08:00
jeffvli dcb84dd442 only run PR build on src changes 2025-12-23 20:26:24 -08:00
jeffvli ac257a9dc1 update PR publish to wait for lint success 2025-12-23 20:23:53 -08:00
Jeff 25bfb65b6d Add image URL generation at runtime to allow for dynamic image sizes (#1439)
* add getImageUrl to domain endpoints

* add new ItemImage component and hooks to generate image url

* add configuration for image resolution based on types
2025-12-23 20:18:52 -08:00
jeffvli 96f38e597c fix SegmentedControl indicator bugged position 2025-12-23 18:19:52 -08:00
Kendall Garner 383b728ddc chore(readmee): more accurate docker compose (2) 2025-12-23 17:39:11 -05:00
Kendall Garner 003cfbdd6c chore(readmer): more accurate docker compose 2025-12-23 17:38:13 -05:00
jeffvli a67ae50d16 fix links in album description 2025-12-22 20:43:26 -08:00
jeffvli ac3dcb5e17 fix releaseDate behavior on navidrome song normalization 2025-12-22 20:15:37 -08:00
Fleeym 833f82edff improve network error detection (#1436) 2025-12-22 20:15:06 -08:00
Fleeym 76f55111ec improve network error route (#1435) 2025-12-22 20:03:06 -08:00
Tiberiu (ELECTRO) Lazăr f418bbfd2f Fix API parameter for Jellyfin 10.12 and up (#1429)
* Fix API parameter for Jellyfin 10.11 and up

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
2025-12-22 19:51:06 -08:00
Fleeym b02eba510d set minimum ServerRequired list size to 1 (#1434)
The server list in ServerRequired was expecting at least 2 items before it was shown, meaning that if you are on the login screen, you couldn't select your configured server and had to add another one.
2025-12-22 19:45:40 -08:00
Benjamin 7a77b9bfe7 feat: show record label copyright at bottom of track listing (#1421)
* show record label copyright at bottom of track listing

* add recordLabels support for Jellyfin

---------

Co-authored-by: jeffvli <jeffvictorli@gmail.com>
2025-12-22 19:08:35 -08:00
Exceen c34b6774b9 fixed favorite tracks/albums/artists selection (#1418) 2025-12-22 18:43:16 -08:00
Kendall Garner f3fe5b013a fix(subsonic): support favoriting/unfavoriting artist 2025-12-19 21:35:26 -05:00
jeffvli 37be2cc8fa lint files 2025-12-16 21:10:55 -08:00
jeffvli e3c26aa5fa remove selection dialog from certain list views 2025-12-16 21:06:56 -08:00
jeffvli e21f538aa4 add item list selection dialog 2025-12-16 20:24:46 -08:00
jeffvli c9cd87bae5 remove release_channel from settings sync 2025-12-15 23:17:47 -08:00
jeffvli 9a8cb45510 Revert "prevent autoupdater from setting release channel (#1396)"
This reverts commit 614761efd7.
2025-12-15 23:06:25 -08:00
jeffvli 68b6a58ac5 handle text overflow on sidebar playlist duration 2025-12-15 21:37:58 -08:00
jeffvli 5b5cdbfb7f prevent action bar icons from being squished on resize (fix) 2025-12-15 21:37:17 -08:00
jeffvli cf4e505743 prevent action bar icons from being squished on resize 2025-12-15 21:36:27 -08:00
jeffvli 8464ed439e use success notification instead of warn on 0 playlist entries added (#1393) 2025-12-15 21:15:20 -08:00
jeffvli 9e49a45db9 fix initial list order on artist discography (#1378) 2025-12-15 21:07:24 -08:00
jeffvli 8dc5f2a580 add page view tracker 2025-12-15 20:50:58 -08:00
jeffvli 6bb848a675 remove analytics properties for based on desktop-only settings 2025-12-15 20:31:15 -08:00
jeffvli 8edf61f9e7 localize dates (#1237) 2025-12-15 20:20:32 -08:00
jeffvli 96d2699a2d add migration to clear all original store settings (#1396) 2025-12-15 19:07:12 -08:00
jeffvli 614761efd7 prevent autoupdater from setting release channel (#1396) 2025-12-15 18:12:16 -08:00
500 changed files with 44638 additions and 8653 deletions
+1
View File
@@ -5,6 +5,7 @@
*.jpeg binary
*.ico binary
*.icns binary
*.webp binary
*.eot binary
*.otf binary
*.ttf binary
+15
View File
@@ -4,9 +4,24 @@ 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:
+3 -1
View File
@@ -20,6 +20,8 @@ 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 PUBLIC_PATH="/"
ENV SERVER_LOCK=false SERVER_NAME="" SERVER_TYPE="" SERVER_URL=""
ENV LEGACY_AUTHENTICATION="" ANALYTICS_DISABLED="" PUBLIC_PATH="/"
EXPOSE 9180
CMD ["nginx", "-g", "daemon off;"]
+14 -10
View File
@@ -43,7 +43,7 @@ Rewrite of [Sonixd](https://github.com/jeffvli/sonixd).
## Screenshots
<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>
<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>
## Getting Started
@@ -62,18 +62,21 @@ 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
@@ -105,18 +108,17 @@ 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 # navidrome also works
- SERVER_URL= # http://address:port
- PUID=1000
- PGID=1000
- UMASK=002
- TZ=America/Los_Angeles
- 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
ports:
- 9180:9180
restart: unless-stopped
# Alternatively, to restrict to only localhost, - 127.0.0.1:9180:8190
```
### Configuration
@@ -130,7 +132,9 @@ 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.
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.
## FAQ
Binary file not shown.
Binary file not shown.
+9 -7
View File
@@ -1,13 +1,15 @@
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
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
# Alternatively, to restrict to only localhost, - 127.0.0.1:9180:8190
+1 -1
View File
@@ -1,7 +1,7 @@
appId: org.jeffvli.feishin
productName: Feishin
artifactName: ${productName}-${version}-${os}-${arch}.${ext}
electronVersion: 38.5.0
electronVersion: 39.2.7
directories:
buildResources: assets
files:
+2 -2
View File
@@ -1,7 +1,7 @@
appId: org.jeffvli.feishin
productName: Feishin
artifactName: ${productName}-${version}-${os}-${arch}.${ext}
electronVersion: 38.5.0
electronVersion: 39.2.7
directories:
buildResources: assets
files:
@@ -15,7 +15,7 @@ win:
target:
- zip
- nsis
icon: assets/icons/icon.png
icon: assets/icons/icon.ico
nsis:
allowToChangeInstallationDirectory: true
+8
View File
@@ -6,6 +6,7 @@ import dynamicImportPlugin from 'vite-plugin-dynamic-import';
import { ViteEjsPlugin } from 'vite-plugin-ejs';
const currentOSEnv = process.platform;
const electronRendererTarget = 'chrome87';
const config: UserConfig = {
main: {
@@ -36,6 +37,9 @@ const config: UserConfig = {
},
},
preload: {
build: {
sourcemap: true,
},
plugins: [externalizeDepsPlugin()],
resolve: {
alias: {
@@ -48,7 +52,11 @@ const config: UserConfig = {
build: {
cssMinify: 'esbuild',
minify: 'esbuild',
modulePreload: {
polyfill: false,
},
sourcemap: true,
target: electronRendererTarget,
},
css: {
modules: {
Binary file not shown.

Before

Width:  |  Height:  |  Size: 644 KiB

After

Width:  |  Height:  |  Size: 733 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

After

Width:  |  Height:  |  Size: 371 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 465 KiB

After

Width:  |  Height:  |  Size: 869 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 887 KiB

After

Width:  |  Height:  |  Size: 990 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 396 KiB

After

Width:  |  Height:  |  Size: 356 KiB

+18321
View File
File diff suppressed because it is too large Load Diff
+6 -3
View File
@@ -1,6 +1,6 @@
{
"name": "feishin",
"version": "0.22.0",
"version": "1.3.0",
"description": "A modern self-hosted music player.",
"keywords": [
"subsonic",
@@ -82,6 +82,8 @@
"@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",
@@ -110,7 +112,7 @@
"nuqs": "^2.7.1",
"overlayscrollbars": "^2.11.1",
"overlayscrollbars-react": "^0.5.6",
"qs": "^6.14.0",
"qs": "^6.14.1",
"react": "^19.1.0",
"react-call": "^1.8.1",
"react-dom": "^19.1.0",
@@ -121,6 +123,7 @@
"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",
@@ -147,7 +150,7 @@
"@vitejs/plugin-react": "^5.1.1",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"electron": "^38.5.0",
"electron": "^39.2.7",
"electron-builder": "^26.0.12",
"electron-devtools-installer": "^4.0.0",
"electron-vite": "^4.0.1",
+114 -44
View File
@@ -19,10 +19,10 @@ importers:
version: 1.1.0
'@electron-toolkit/preload':
specifier: ^3.0.1
version: 3.0.2(electron@38.5.0)
version: 3.0.2(electron@39.2.7)
'@electron-toolkit/utils':
specifier: ^4.0.0
version: 4.0.0(electron@38.5.0)
version: 4.0.0(electron@39.2.7)
'@mantine/colors-generator':
specifier: ^8.3.8
version: 8.3.8(chroma-js@3.1.2)
@@ -71,6 +71,12 @@ 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
@@ -156,8 +162,8 @@ importers:
specifier: ^0.5.6
version: 0.5.6(overlayscrollbars@2.11.3)(react@19.1.0)
qs:
specifier: ^6.14.0
version: 6.14.0
specifier: ^6.14.1
version: 6.14.1
react:
specifier: ^19.1.0
version: 19.1.0
@@ -188,6 +194,9 @@ 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)
@@ -262,8 +271,8 @@ importers:
specifier: ^10.1.0
version: 10.1.0
electron:
specifier: ^38.5.0
version: 38.5.0
specifier: ^39.2.7
version: 39.2.7
electron-builder:
specifier: ^26.0.12
version: 26.0.12(electron-builder-squirrel-windows@26.0.12)
@@ -352,6 +361,9 @@ 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==}
@@ -880,8 +892,8 @@ packages:
resolution: {integrity: sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==}
engines: {node: '>=6.9.0'}
'@bufbuild/protobuf@2.10.1':
resolution: {integrity: sha512-ckS3+vyJb5qGpEYv/s1OebUHDi/xSNtfgw1wqKZo7MR9F2z+qXr0q5XagafAG/9O0QPVIUfST0smluYSTpYFkg==}
'@bufbuild/protobuf@2.10.2':
resolution: {integrity: sha512-uFsRXwIGyu+r6AMdz+XijIIZJYpoWeYzILt5yZ2d3mCjQrWUTVpVD9WL/jZAbvp+Ed04rOhrsk7FiTcEDseB5A==}
'@cacheable/memoize@2.0.3':
resolution: {integrity: sha512-hl9wfQgpiydhQEIv7fkjEzTGE+tcosCXLKFDO707wYJ/78FVOlowb36djex5GdbSyeHnG62pomYLMuV/OT8Pbw==}
@@ -2279,8 +2291,8 @@ packages:
resolution: {integrity: sha512-JMWsdF+O8Orq3EMukbUN1QfbLK9mX2CkUmQBcW2T0s8OmdAUL5LLM/6wFwSrqXzlXB13yhyK9gTKS1rIizOduQ==}
hasBin: true
baseline-browser-mapping@2.8.32:
resolution: {integrity: sha512-OPz5aBThlyLFgxyhdwf/s2+8ab3OvT7AdTNvKHBwpXomIYeXqpUUuT8LrdtxZSsWJ4R4CU1un4XGh5Ez3nlTpw==}
baseline-browser-mapping@2.9.11:
resolution: {integrity: sha512-Sg0xJUNDU1sJNGdfGWhVHX0kkZ+HWcvmVymJbj6NSgZZmW/8S9Y2HQ5euytnIgakgxN6papOAWiwDo1ctFDcoQ==}
hasBin: true
bind-event-listener@3.0.0:
@@ -2332,8 +2344,8 @@ packages:
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
browserslist@4.28.0:
resolution: {integrity: sha512-tbydkR/CxfMwelN0vwdP/pLkDwyAASZ+VfWm4EOwlB6SWhx1sYnWLqo8N5j0rAzPfzfRaxt0mM/4wPU/Su84RQ==}
browserslist@4.28.1:
resolution: {integrity: sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==}
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
@@ -2359,6 +2371,12 @@ 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'}
@@ -2401,8 +2419,8 @@ packages:
caniuse-lite@1.0.30001751:
resolution: {integrity: sha512-A0QJhug0Ly64Ii3eIqHu5X51ebln3k4yTUkY1j8drqpWHVreg/VLijN48cZ1bYPiqOQuqpkIKnzr/Ul8V+p6Cw==}
caniuse-lite@1.0.30001757:
resolution: {integrity: sha512-r0nnL/I28Zi/yjk1el6ilj27tKcdjLsNqAOZr0yVjWPrSQyHgKI2INaEWw21bAQSv2LXRt1XuCS/GomNpWOxsQ==}
caniuse-lite@1.0.30001762:
resolution: {integrity: sha512-PxZwGNvH7Ak8WX5iXzoK1KPZttBXNPuaOvI2ZYU7NrlM+d9Ov+TUvlLOBNGzVXAntMSMMlJPd+jY6ovrVjSmUw==}
chalk@4.1.2:
resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
@@ -2779,6 +2797,12 @@ 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'}
@@ -2820,8 +2844,8 @@ packages:
electron-to-chromium@1.5.242:
resolution: {integrity: sha512-msZ7SYGFpXkm/iUizlMrm/FPNeYo8uSltQccLVFO3fV4RN2JWGdG7Aatztxtw3uDWp3DkupfkrosLjUnhY+iOw==}
electron-to-chromium@1.5.262:
resolution: {integrity: sha512-NlAsMteRHek05jRUxUR0a5jpjYq9ykk6+kO0yRaMi5moe7u0fVIOeQ3Y30A8dIiWFBNUoQGi1ljb1i5VtS9WQQ==}
electron-to-chromium@1.5.267:
resolution: {integrity: sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==}
electron-updater@6.6.2:
resolution: {integrity: sha512-Cr4GDOkbAUqRHP5/oeOmH/L2Bn6+FQPxVLZtPbcmKZC63a1F3uu5EefYOssgZXG3u/zBlubbJ5PJdITdMVggbw==}
@@ -2841,8 +2865,8 @@ packages:
resolution: {integrity: sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==}
engines: {node: '>=8.0.0'}
electron@38.5.0:
resolution: {integrity: sha512-dbC7V+eZweerYMJfxQldzHOg37a1VdNMCKxrJxlkp3cA30gOXtXSg4ZYs07L5+QwI19WOy1uyvtEUgbw1RRsCQ==}
electron@39.2.7:
resolution: {integrity: sha512-KU0uFS6LSTh4aOIC3miolcbizOFP7N1M46VTYVfqIgFiuA2ilfNaOHLDS9tCMvwwHRowAsvqBrh9NgMXcTOHCQ==}
engines: {node: '>= 12.20.55'}
hasBin: true
@@ -3178,6 +3202,10 @@ 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'}
@@ -4475,8 +4503,8 @@ packages:
resolution: {integrity: sha512-7gJ6mxcQb9vUBOtbKm5mDevbe2uRcOEVp1g4gb/Q+oLntB3HY8eBhOYRxFI2mlDFlY1e4DOSCptzxarXRvzxCA==}
engines: {node: '>=20'}
qs@6.14.0:
resolution: {integrity: sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==}
qs@6.14.1:
resolution: {integrity: sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==}
engines: {node: '>=0.6'}
queue-microtask@1.2.3:
@@ -4621,6 +4649,13 @@ 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'}
@@ -5478,6 +5513,12 @@ 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==}
@@ -5649,6 +5690,7 @@ 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==}
@@ -5866,6 +5908,8 @@ 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
@@ -6582,7 +6626,7 @@ snapshots:
'@babel/helper-string-parser': 7.27.1
'@babel/helper-validator-identifier': 7.28.5
'@bufbuild/protobuf@2.10.1':
'@bufbuild/protobuf@2.10.2':
optional: true
'@cacheable/memoize@2.0.3':
@@ -6658,17 +6702,17 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@electron-toolkit/preload@3.0.2(electron@38.5.0)':
'@electron-toolkit/preload@3.0.2(electron@39.2.7)':
dependencies:
electron: 38.5.0
electron: 39.2.7
'@electron-toolkit/tsconfig@2.0.0(@types/node@24.10.1)':
dependencies:
'@types/node': 24.10.1
'@electron-toolkit/utils@4.0.0(electron@38.5.0)':
'@electron-toolkit/utils@4.0.0(electron@39.2.7)':
dependencies:
electron: 38.5.0
electron: 39.2.7
'@electron/asar@3.2.18':
dependencies:
@@ -6773,7 +6817,7 @@ snapshots:
dependencies:
cross-dirname: 0.1.0
debug: 4.4.3
fs-extra: 11.3.2
fs-extra: 11.3.3
minimist: 1.2.8
postject: 1.0.0-alpha.6
transitivePeerDependencies:
@@ -7577,7 +7621,7 @@ snapshots:
'@types/electron-localshortcut@3.1.3':
dependencies:
electron: 38.5.0
electron: 39.2.7
transitivePeerDependencies:
- supports-color
@@ -8009,7 +8053,7 @@ snapshots:
baseline-browser-mapping@2.8.20: {}
baseline-browser-mapping@2.8.32: {}
baseline-browser-mapping@2.9.11: {}
bind-event-listener@3.0.0: {}
@@ -8080,13 +8124,13 @@ snapshots:
node-releases: 2.0.26
update-browserslist-db: 1.1.4(browserslist@4.27.0)
browserslist@4.28.0:
browserslist@4.28.1:
dependencies:
baseline-browser-mapping: 2.8.32
caniuse-lite: 1.0.30001757
electron-to-chromium: 1.5.262
baseline-browser-mapping: 2.9.11
caniuse-lite: 1.0.30001762
electron-to-chromium: 1.5.267
node-releases: 2.0.27
update-browserslist-db: 1.1.4(browserslist@4.28.0)
update-browserslist-db: 1.2.3(browserslist@4.28.1)
buffer-builder@0.2.0:
optional: true
@@ -8134,6 +8178,16 @@ 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:
@@ -8203,7 +8257,7 @@ snapshots:
caniuse-lite@1.0.30001751: {}
caniuse-lite@1.0.30001757: {}
caniuse-lite@1.0.30001762: {}
chalk@4.1.2:
dependencies:
@@ -8359,7 +8413,7 @@ snapshots:
core-js-compat@3.47.0:
dependencies:
browserslist: 4.28.0
browserslist: 4.28.1
core-util-is@1.0.2:
optional: true
@@ -8604,6 +8658,10 @@ 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
@@ -8681,7 +8739,7 @@ snapshots:
electron-to-chromium@1.5.242: {}
electron-to-chromium@1.5.262: {}
electron-to-chromium@1.5.267: {}
electron-updater@6.6.2:
dependencies:
@@ -8720,7 +8778,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
electron@38.5.0:
electron@39.2.7:
dependencies:
'@electron/get': 2.0.3
'@types/node': 22.15.32
@@ -9181,6 +9239,13 @@ 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
@@ -9526,7 +9591,7 @@ snapshots:
i18next@24.2.3(typescript@5.8.3):
dependencies:
'@babel/runtime': 7.27.1
'@babel/runtime': 7.28.4
optionalDependencies:
typescript: 5.8.3
@@ -10455,7 +10520,7 @@ snapshots:
dependencies:
hookified: 1.13.0
qs@6.14.0:
qs@6.14.1:
dependencies:
side-channel: 1.1.0
@@ -10588,6 +10653,11 @@ 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
@@ -10598,7 +10668,7 @@ snapshots:
react-textarea-autosize@8.5.9(@types/react@19.2.5)(react@19.1.0):
dependencies:
'@babel/runtime': 7.27.1
'@babel/runtime': 7.28.4
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)
@@ -10607,7 +10677,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.27.1
'@babel/runtime': 7.28.4
dom-helpers: 5.2.1
loose-envify: 1.4.0
prop-types: 15.8.1
@@ -10902,7 +10972,7 @@ snapshots:
sass-embedded@1.89.0:
dependencies:
'@bufbuild/protobuf': 2.10.1
'@bufbuild/protobuf': 2.10.2
buffer-builder: 0.2.0
colorjs.io: 0.5.2
immutable: 5.1.4
@@ -11559,9 +11629,9 @@ snapshots:
escalade: 3.2.0
picocolors: 1.1.1
update-browserslist-db@1.1.4(browserslist@4.28.0):
update-browserslist-db@1.2.3(browserslist@4.28.1):
dependencies:
browserslist: 4.28.0
browserslist: 4.28.1
escalade: 3.2.0
picocolors: 1.1.1
+1
View File
@@ -23,6 +23,7 @@ export default defineConfig({
assetFileNames: '[name].[ext]',
chunkFileNames: '[name].js',
entryFileNames: '[name].js',
sourcemapExcludeSources: false,
},
},
sourcemap: true,
+1 -1
View File
@@ -1 +1 @@
"use strict";window.SERVER_URL="${SERVER_URL}";window.SERVER_NAME="${SERVER_NAME}";window.SERVER_TYPE="${SERVER_TYPE}";window.SERVER_LOCK=${SERVER_LOCK};
"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}";
+253 -20
View File
@@ -14,7 +14,8 @@
"tracks": "$t(entity.track_other)",
"nowPlaying": "ara sona",
"shared": "$t(entity.playlist_other) compartida",
"favorites": "$t(entity.favorite_other)"
"favorites": "$t(entity.favorite_other)",
"radio": "$t(entity.radioStation_other)"
},
"albumArtistDetail": {
"relatedArtists": "$t(entity.artist_other) similars",
@@ -25,7 +26,9 @@
"viewDiscography": "Mosta la discografia",
"topSongs": "millors cançons",
"topSongsFrom": "les millors cançons de {{title}}",
"viewAll": "mostra-ho tot"
"viewAll": "mostra-ho tot",
"groupingTypeAll": "tots els tipus de llançaments",
"groupingTypePrimary": "tipus principals de llançament"
},
"albumArtistList": {
"title": "$t(entity.albumArtist_other)"
@@ -161,7 +164,8 @@
"transcoding": "transcodificació",
"discord": "discord",
"logger": "registres",
"playerFilters": "filtres de reproducció"
"playerFilters": "filtres de reproducció",
"lyricsDisplay": "mostra la lletra"
},
"globalSearch": {
"commands": {
@@ -184,6 +188,9 @@
},
"folderList": {
"title": "$t(entity.folder_other)"
},
"radioList": {
"title": "emissores de ràdio"
}
},
"common": {
@@ -301,7 +308,13 @@
"sort": "ordre",
"gridRows": "files de la quadrícula",
"tableColumns": "columnes de la taula",
"itemsMore": "{{count}} més"
"itemsMore": "{{count}} més",
"countSelected": "{{count}} seleccionats",
"retry": "reintenta",
"example": "exemple",
"mood": "estat d'ànim",
"filter_single": "senzill",
"filter_multiple": "multi"
},
"entity": {
"album_one": "àlbum",
@@ -355,7 +368,13 @@
"song_other": "cançons",
"favorite_one": "preferit",
"favorite_many": "preferits",
"favorite_other": "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"
},
"form": {
"addToPlaylist": {
@@ -403,7 +422,10 @@
"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_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"
},
"shareItem": {
"description": "descripció",
@@ -445,6 +467,21 @@
"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": {
@@ -479,7 +516,13 @@
"shuffle": "mescla",
"shuffleAll": "mescla-ho tot",
"shuffleSelected": "mescla els seleccionats",
"viewMore": "mostra'n més"
"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ó"
},
"setting": {
"language_description": "estableix l'idioma de l'aplicació ($t(common.restartRequired))",
@@ -643,8 +686,6 @@
"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",
@@ -729,7 +770,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 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)",
"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",
"crossfadeStyle": "estil de fosa encadenada",
"discordRichPresence": "estat d'activitat de {{discord}}",
"enableAutoTranslation_description": "activa la traducció automàtica en carregar la lletra",
@@ -787,7 +828,35 @@
"queryBuilderCustomFields_inputLabel": "discogràfica",
"queryBuilderCustomFields_inputTag": "etiqueta",
"queryBuilderCustomFields": "camps personalitzats",
"queryBuilderCustomFields_description": "afegeix camps personalitzats pel constructor de consultes"
"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"
},
"table": {
"column": {
@@ -884,7 +953,9 @@
"bitDepth": "$t(common.bitDepth)",
"genreBadge": "$t(entity.genre_one) (insígnies)",
"image": "imatge",
"sampleRate": "$t(common.sampleRate)"
"sampleRate": "$t(common.sampleRate)",
"composer": "compositor",
"titleArtist": "$t(common.title) (artista)"
},
"view": {
"table": "taula",
@@ -953,8 +1024,8 @@
"repeat_all": "repetició",
"shuffle": "reprodueix (mesclat)",
"shuffle_off": "reproducció aleatòria desactivada",
"addLast": "afegeix al final",
"addNext": "afegeix a continuació",
"addLast": "al final",
"addNext": "a continuació",
"favorite": "marcar com a preferida",
"mute": "silencia",
"next": "següent",
@@ -970,12 +1041,14 @@
"toggleFullscreenPlayer": "activa el reproductor de pantalla completa",
"unfavorite": "elimina de preferits",
"pause": "pausa",
"addLastShuffled": "afegeix al final (mesclat)",
"addNextShuffled": "afegeix a continuació (mesclat)",
"addLastShuffled": "al final (mesclat)",
"addNextShuffled": "a continuació (mesclat)",
"holdToShuffle": "mantén premut per mesclar",
"queueType": "tipus de cua",
"queueType_default": "predeterminat",
"queueType_priority": "prioritat"
"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"
},
"error": {
"credentialsRequired": "credencials requerides",
@@ -1001,7 +1074,12 @@
"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}}"
"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"
},
"releaseType": {
"primary": {
@@ -1055,5 +1133,160 @@
"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í..."
}
}
+221 -17
View File
@@ -33,13 +33,12 @@
"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"
"saveQueueToServer": "uložit frontu na server",
"artistRadio": "rádio umělce",
"trackRadio": "rádio skladby"
},
"setting": {
"crossfadeStyle_description": "vyberte způsob prolnutí u přehrávače zvuku",
@@ -207,8 +206,6 @@
"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",
@@ -289,7 +286,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 Windows Media Session, což zobrazí ovládání a metadata médií v překrytí systémové hlasitosti a na zamykací obrazovce (pouze Windows)",
"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",
"exportImportSettings_control_description": "exportovat a importovat nastavení pomocí souboru JSON",
"exportImportSettings_control_exportText": "exportovat nastavení",
"exportImportSettings_control_importText": "importovat nastavení",
@@ -349,7 +346,33 @@
"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í"
"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"
},
"action": {
"editPlaylist": "upravit $t(entity.playlist_one)",
@@ -385,7 +408,11 @@
"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)"
"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"
},
"common": {
"backward": "zpátky",
@@ -502,7 +529,13 @@
"tableColumns": "sloupce tabulky",
"itemsMore": "{{count}} dalších",
"noFilters": "nejsou nastaveny žádné filtry",
"view": "zobrazit"
"view": "zobrazit",
"countSelected": "vybráno {{count}}",
"retry": "zkusit znovu",
"mood": "nálada",
"example": "příklad",
"filter_single": "jeden",
"filter_multiple": "několik"
},
"table": {
"config": {
@@ -575,7 +608,9 @@
"genreBadge": "$t(entity.genre_one) (značky)",
"image": "obrázek",
"bitDepth": "$t(common.bitDepth)",
"sampleRate": "$t(common.sampleRate)"
"sampleRate": "$t(common.sampleRate)",
"composer": "skladatel",
"titleArtist": "$t(common.title) (umělec)"
}
},
"column": {
@@ -634,7 +669,10 @@
"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"
"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"
},
"filter": {
"mostPlayed": "nejvíce přehráváno",
@@ -804,7 +842,8 @@
"transcoding": "překódování",
"discord": "discord",
"playerFilters": "filtry přehrávače",
"logger": "protokol"
"logger": "protokol",
"lyricsDisplay": "zobrazení textů"
},
"albumArtistList": {
"title": "$t(entity.albumArtist_other)"
@@ -844,7 +883,9 @@
"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"
"viewAll": "zobrazit vše",
"groupingTypeAll": "všechny typy vydání",
"groupingTypePrimary": "primární typy vydání"
},
"itemDetail": {
"copiedPath": "cesta úspěšně zkopírována",
@@ -899,7 +940,10 @@
"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_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"
},
"addToPlaylist": {
"success": "přidáno $t(entity.trackWithCount, {\"count\": {{message}} }) do $t(entity.playlistWithCount, {\"count\": {{numOfPlaylists}} })",
@@ -970,6 +1014,11 @@
"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": {
@@ -1000,9 +1049,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ých",
"favorite_other": "oblíbené",
"artistWithCount_one": "{{count}} umělec",
"artistWithCount_few": "{{count}} umělci",
"artistWithCount_other": "{{count}} umělců",
@@ -1084,5 +1133,160 @@
"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 18",
"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…"
}
}
+120 -49
View File
@@ -1,7 +1,7 @@
{
"action": {
"editPlaylist": "$t(entity.playlist_one) bearbeiten",
"clearQueue": "Warteschlange leeren",
"clearQueue": "Wiedergabeliste 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 Warteschlange entfernen",
"removeFromQueue": "Aus Wiedergabeliste entfernen",
"setRating": "Bewerten",
"toggleSmartPlaylistEditor": "Editor für $t(entity.smartPlaylist) ein-/ausblenden",
"removeFromFavorites": "Aus $t(entity.favorite_other) entfernen",
@@ -29,7 +29,11 @@
"shuffleSelected": "Ausgewählte zufällig wiedergeben",
"viewMore": "Mehr zeigen",
"moveUp": "Nach oben bewegen",
"moveDown": "Nach unten 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"
},
"common": {
"backward": "zurück",
@@ -118,11 +122,11 @@
"close": "schließen",
"share": "Teilen",
"translation": "Übersetzung",
"trackGain": "Track-Pegelverstärkung",
"trackPeak": "Track-Spitzenpegel",
"trackGain": "Track Gain",
"trackPeak": "Track Peak",
"codec": "Codec",
"albumPeak": "Album-Spitzenpegel",
"albumGain": "Album-Pegelverstärkung",
"albumGain": "Album Gain",
"tags": "tags",
"viewReleaseNotes": "Veröffentlichungsnotizen anzeigen",
"newVersion": "eine neue Version wurde installiert ({{version}})",
@@ -145,7 +149,9 @@
"recordLabel": "Plattenlabel",
"slower": "langsamer",
"releaseType": "Veröffentlichungsformat",
"view": "Betrachten"
"view": "Betrachten",
"countSelected": "{{count}} ausgewählt",
"mood": "Stimmung"
},
"error": {
"remotePortWarning": "Starten Sie den Server neu, um den neuen Port anzuwenden",
@@ -167,11 +173,15 @@
"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. 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",
"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",
"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"
"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"
},
"filter": {
"mostPlayed": "Meistgespielt",
@@ -284,7 +294,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": {
@@ -293,7 +303,7 @@
"title": "Privatmodus"
},
"largeFetchConfirmation": {
"title": "Elemente der Warteschlange hinzufügen",
"title": "Elemente der Wiedergabeliste hinzufügen",
"description": "Diese Aktion fügt alle Elemente in der aktuell gefilterten Ansicht hinzu"
},
"shuffleAll": {
@@ -303,9 +313,22 @@
"input_minYear": "ab Jahr",
"input_maxYear": "bis Jahr",
"input_played_optionAll": "alle Tracks",
"input_played_optionUnplayed": "nur ungespielte Tracks",
"input_played_optionUnplayed": "nur nicht gespielte 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": {
@@ -343,7 +366,11 @@
"play_one": "{{count}} Wiedergabe",
"play_other": "{{count}} Wiedergaben",
"song_one": "Lied",
"song_other": "Lieder"
"song_other": "Lieder",
"radioStation_one": "Radiosender",
"radioStation_other": "Radiosender",
"radioStationWithCount_one": "{{count}} Radiosender",
"radioStationWithCount_other": "{{count}} Radiosender"
},
"table": {
"config": {
@@ -359,7 +386,17 @@
"displayType": "Anzeigestil",
"autoFitColumns": "automatisch Spalten einpassen",
"size_default": "Standard",
"followCurrentSong": "aktuellem Titel folgen"
"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"
},
"label": {
"dateAdded": "Hinzugefügt am",
@@ -387,7 +424,14 @@
"title": "$t(common.title)",
"year": "$t(common.year)",
"discNumber": "disk-Nummer",
"playCount": "Wiedergaben"
"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)"
}
},
"column": {
@@ -413,7 +457,11 @@
"genre": "$t(entity.genre_one)",
"songCount": "$t(entity.track_other)",
"trackNumber": "titel",
"size": "$t(common.size)"
"size": "$t(common.size)",
"bitDepth": "$t(common.bitDepth)",
"codec": "$t(common.codec)",
"sampleRate": "$t(common.sampleRate)",
"owner": "Besitzer"
}
},
"page": {
@@ -522,7 +570,8 @@
"albumArtists": "$t(entity.albumArtist_other)",
"shared": "$t(entity.playlist_other) geteilt",
"myLibrary": "meine bibliothek",
"favorites": "$t(entity.favorite_other)"
"favorites": "$t(entity.favorite_other)",
"radio": "$t(entity.radioStation_other)"
},
"setting": {
"playbackTab": "Wiedergabe",
@@ -538,7 +587,7 @@
"application": "App",
"queryBuilder": "Abfrage-Editor",
"theme": "Erscheinungsbild",
"controls": "Steuerung",
"controls": "Steuerelemente",
"sidebar": "Seitenleiste",
"scrobble": "Scrobbeln",
"audio": "Audio",
@@ -578,7 +627,9 @@
"topSongsFrom": "Toplieder von {{title}}",
"viewAll": "Alles ansehen",
"topSongs": "Toplieder",
"relatedArtists": "ähnliche $t(entity.artist_other)"
"relatedArtists": "ähnliche $t(entity.artist_other)",
"groupingTypeAll": "alle Veröffentlichungsformate",
"groupingTypePrimary": "primäre Veröffentlichungsformate"
},
"manageServers": {
"title": "Servers verwalten",
@@ -601,14 +652,17 @@
},
"playlist": {
"reorder": "Neuanordnung nur bei Sortierung nach ID möglich"
},
"radioList": {
"title": "Radiosender"
}
},
"player": {
"next": "nächster",
"addNext": "Als Nächstes spielen",
"addNext": "als Nächstes",
"play": "Abspielen",
"muted": "stummgeschaltet",
"addLast": "Als Letztes spielen",
"addLast": "als Letztes",
"mute": "Stumm",
"playRandom": "Zufällige Wiedergabe",
"previous": "Vorheriger",
@@ -617,7 +671,7 @@
"playbackFetchInProgress": "lieder werden geladen…",
"playbackSpeed": "Wiedergabegeschwindigkeit",
"playbackFetchCancel": "Das dauert eine Weile. Schließen Sie die Benachrichtigung, um den Vorgang abzubrechen",
"queue_clear": "Bereinige Warteschlange",
"queue_clear": "Wiedergabeliste bereinigen",
"repeat_all": "Alle wiederholen",
"repeat": "Wiederholen",
"queue_remove": "Ausgewählte entfernen",
@@ -634,13 +688,12 @@
"skip_forward": "vorspulen",
"skip": "Überspringen",
"playSimilarSongs": "Ähnliche Lieder abspielen",
"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",
"viewQueue": "Wiedergabeliste anzeigen",
"addLastShuffled": "als Letztes (zufällige Wiedergabe)",
"addNextShuffled": "als Nächstes (zufällige Wiedergabe)",
"holdToShuffle": "Halten für Zufallswiedergabe",
"queueType": "Warteschlangentyp"
"restoreQueueFromServer": "Wiedergabeliste von Server wiederherstellen",
"saveQueueToServer": "Wiedergabeliste auf Server speichern"
},
"setting": {
"audioDevice_description": "wählen Sie das Audiogerät aus, das für die Wiedergabe verwendet werden soll (nur Webplayer)",
@@ -716,7 +769,7 @@
"themeLight_description": "Legt das Erscheinungsbild für den hellen Modus fest",
"hotkey_toggleFullScreenPlayer": "Vollbildmodus umschalten",
"hotkey_localSearch": "Suche auf Seite",
"hotkey_toggleQueue": "Warteschlange umschalten",
"hotkey_toggleQueue": "Wiedergabeliste 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",
@@ -727,18 +780,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 Songs zur Warteschlange hinzugefügt werden",
"playButtonBehavior_description": "legt das Standardverhalten des Wiedergabe-Buttons fest, wenn Lieder zur Wiedergabeliste 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": "Wiedergabe-Warteschlange speichern",
"savePlayQueue": "Wiedergabeliste 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 Wiedergabewarteliste in der Seitenleiste fest",
"sidePlayQueueStyle_description": "legt den Stil der Wiedergabeliste in der Seitenleiste fest",
"replayGainMode": "{{ReplayGain}} Modus",
"playbackStyle_optionNormal": "Normal",
"windowBarStyle": "Fensterleistenstil",
@@ -769,7 +822,7 @@
"gaplessAudio_optionWeak": "schwach (empfohlen)",
"minimumScrobbleSeconds": "Minimum Scrobble-Dauer (Sekunden)",
"hotkey_playbackStop": "Stoppen",
"savePlayQueue_description": "Speichert Wiedergabewarteschlange, wenn die Anwendung geschlossen wird, und stellt sie wieder her, wenn die Anwendung geöffnet wird",
"savePlayQueue_description": "speichert die Wiedergabeliste beim Schließen der Anwendung, und stellt diese 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",
@@ -795,33 +848,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": "Wiedergabelistenstil in der Seitenleiste",
"sidePlayQueueStyle": "Stil der Wiedergabeliste in der Seitenleiste",
"zoom_description": "Setzt den Zoom (in %) für das Programm",
"zoom": "Zoom",
"albumBackground": "Album Hintergrund",
"customCss": "Benutzerdefiniert css",
"customCss": "Benutzerdefiniertes CSS",
"homeConfiguration": "Startseite Konfiguration",
"lastfmApiKey": "{{lastfm}} API-Schlüssel",
"lastfmApiKey_description": "Der API-Schlüssel für {{lastfm}}. wird für benötigt",
"lastfmApiKey_description": "Der API-Schlüssel für {{lastfm}}. wird für Albumcover 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": "aktiviere Benutzerdefinierte css",
"customCssEnable": "benutzerdefiniertes CSS aktivieren",
"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": "ermöglicht das Schreiben benutzerdefinierten CSS",
"customCssEnable_description": "erlaubt das Hinzufügen von benutzerdefiniertem 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}} Rückgriff",
"replayGainFallback": "{{ReplayGain}} Alternative",
"replayGainClipping": "{{ReplayGain}} Clipping",
"exportImportSettings_control_description": "Einstellungen mit JSON exportieren und importieren",
"exportImportSettings_control_exportText": "Einstellungen exportieren",
@@ -833,9 +886,7 @@
"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",
@@ -844,11 +895,11 @@
"logLevel_optionError": "Fehler",
"logLevel_optionInfo": "Info",
"logLevel_optionWarn": "Warnung",
"autoDJ_description": "Füge automatisch ähnliche Lieder der Warteschlange hinzu",
"autoDJ_description": "füge automatisch ähnliche Lieder der Wiedergabeliste hinzu",
"autoDJ": "Auto DJ",
"autoDJ_itemCount": "Anzahl",
"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_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_timing": "Timing",
"discordDisplayType": "{{discord}} Presence Darstellungsart",
"discordLinkType_mbz_lastfm": "{{musicbrainz}} mit {{lastfm}} als Ersatz",
@@ -867,11 +918,11 @@
"neteaseTranslation": "NetEase Übersetzungen aktivieren",
"notify": "Benachrichtigungen aktivieren",
"notify_description": "Zeigt Benachrichtigungen beim Titelwechsel",
"playerFilters": "Lieder in der Warteschlange filtern",
"playerFilters": "Lieder der Wiedergabeliste 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 dies, wenn bei der Wiedergabe Probleme auftreten",
"webAudio_description": "Web-Audio verwenden. Dies ermöglicht erweiterte Funktionen wie ReplayGain. Deaktiviere die Option, falls bei der Wiedergabe Probleme auftreten",
"webAudio": "Web-Audio verwenden",
"trayEnabled": "Info-Symbol anzeigen",
"transcode": "Transkodierung aktivieren",
@@ -889,7 +940,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: content und entfernte URLs sind unzulässig. Siehe Vorschau unten. Aufgrund von Bereinigung werden womöglich nicht gesetzte Felder angezeigt",
"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",
"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",
@@ -903,11 +954,25 @@
"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 Warteschlange hinzugefügt werden",
"playerFilters_description": "verhindert, dass Titel anhand der folgenden Kriterien zur Wiedergabeliste 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"
"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"
},
"dragDropZone": {
"error_oneFileOnly": "Bitte wähle nur 1 Datei",
@@ -961,5 +1026,11 @@
"soundtrack": "Soundtrack",
"spokenWord": "Gesprochenes Wort"
}
},
"datetime": {
"minuteShort": "Min",
"secondShort": "Sek",
"hourShort": "Std",
"dayShort": "Tag"
}
}
+210 -7
View File
@@ -2,11 +2,14 @@
"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)",
@@ -30,12 +33,14 @@
"toggleSmartPlaylistEditor": "toggle $t(entity.smartPlaylist) editor",
"viewPlaylists": "view $t(entity.playlist_other)",
"viewMore": "view more",
"openApplicationDirectory": "open application directory",
"openIn": {
"lastfm": "Open in Last.fm",
"musicbrainz": "Open in MusicBrainz"
}
},
"common": {
"countSelected": "{{count}} selected",
"explicitStatus": "explicit status",
"action_one": "action",
"action_other": "actions",
@@ -78,12 +83,15 @@
"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",
@@ -97,6 +105,7 @@
"minimize": "minimize",
"modified": "modified",
"mbid": "MusicBrainz ID",
"mood": "mood",
"name": "name",
"no": "no",
"none": "none",
@@ -114,6 +123,7 @@
"quit": "quit",
"random": "random",
"rating": "rating",
"retry": "retry",
"recordLabel": "record label",
"releaseType": "release type",
"refresh": "refresh",
@@ -207,6 +217,8 @@
"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",
@@ -266,6 +278,12 @@
"trackNumber": "track",
"explicitStatus": "$t(common.explicitStatus)"
},
"datetime": {
"minuteShort": "m",
"secondShort": "s",
"hourShort": "h",
"dayShort": "d"
},
"filterOperator": {
"after": "is after",
"afterDate": "is after (date)",
@@ -297,6 +315,9 @@
"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",
@@ -341,6 +362,11 @@
"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)",
@@ -391,6 +417,8 @@
"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)",
@@ -550,6 +578,7 @@
"scrobble": "scrobble",
"audio": "audio",
"lyrics": "lyrics",
"lyricsDisplay": "lyrics display",
"transcoding": "transcoding",
"discord": "discord",
"logger": "logger",
@@ -583,6 +612,7 @@
"addNext": "next",
"addLastShuffled": "last (shuffled)",
"addNextShuffled": "next (shuffled)",
"artistRadio": "artist radio",
"holdToShuffle": "hold to shuffle",
"favorite": "favorite",
"lyrics": "lyrics",
@@ -601,9 +631,6 @@
"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",
@@ -618,6 +645,7 @@
"skip_forward": "skip forwards",
"stop": "stop",
"toggleFullscreenPlayer": "toggle fullscreen player",
"trackRadio": "track radio",
"unfavorite": "unfavorite",
"pause": "pause",
"viewQueue": "view queue"
@@ -674,6 +702,8 @@
"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",
@@ -772,6 +802,11 @@
"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",
@@ -810,7 +845,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. the order of the providers is the order in which they will be queried",
"lyricFetchProvider_description": "select the providers to fetch lyrics from",
"lyricFetchProvider": "providers to fetch lyrics from",
"lyricOffset_description": "offset the lyric by the specified amount of milliseconds",
"lyricOffset": "lyric offset (ms)",
@@ -828,6 +863,8 @@
"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",
@@ -835,6 +872,10 @@
"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",
@@ -849,8 +890,15 @@
"playButtonBehavior_optionPlay": "$t(player.play)",
"playButtonBehavior_optionPlayShuffled": "$t(player.shuffle)",
"playButtonBehavior": "play button behavior",
"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",
"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",
"playerbarOpenDrawer_description": "allows clicking of the playerbar to open the full screen player",
"playerbarOpenDrawer": "playerbar fullscreen toggle",
"playerbarSlider": "playerbar slider",
@@ -868,8 +916,12 @@
"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",
@@ -912,7 +964,7 @@
"sidePlayQueueStyle_description": "sets the style of the side play queue",
"sidePlayQueueStyle_optionAttached": "attached",
"sidePlayQueueStyle_optionDetached": "detached",
"mediaSession_description": "enables Windows Media Session integration, displaying media controls and metadata in the system volume overlay and lock screen (Windows only)",
"mediaSession_description": "enables Media Session integration, displaying media controls and metadata in the system volume overlay and lock screen",
"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",
@@ -1033,6 +1085,7 @@
"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)",
@@ -1052,6 +1105,7 @@
"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)"
@@ -1067,5 +1121,154 @@
"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"
}
}
}
}
+224 -20
View File
@@ -33,13 +33,12 @@
"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"
"saveQueueToServer": "Guardar cola en el servidor",
"artistRadio": "Radio de artista",
"trackRadio": "Radio de pista"
},
"setting": {
"crossfadeStyle_description": "selecciona el estilo de crossfade a usar por el reproductor de audio",
@@ -50,7 +49,7 @@
"theme_description": "establece el tema a usar por la aplicación",
"hotkey_playbackPause": "pausa",
"replayGainFallback": "{{ReplayGain}} alternativa",
"sidebarCollapsedNavigation_description": "mostrar u ocultar la navegación en la barra lateral contraída",
"sidebarCollapsedNavigation_description": "Muestra u oculta 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",
@@ -120,7 +119,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 o esconde los botones de saltar en la barra del reproductor",
"showSkipButtons_description": "Muestra u oculta 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",
@@ -135,12 +134,12 @@
"exitToTray": "salir a la bandeja",
"hotkey_rate4": "calificar con 4 estrellas",
"enableRemote": "activar control remoto del servidor",
"showSkipButton_description": "muestra o esconde los botones de saltar en la barra del reproductor",
"showSkipButton_description": "Muestra u oculta 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 o esconde las listas de reproducción en la barra lateral",
"sidebarPlaylistList_description": "Muestra u oculta 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",
@@ -206,8 +205,6 @@
"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",
@@ -223,7 +220,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 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",
"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",
"customCssEnable": "Habilitar CSS personalizado",
"customCssEnable_description": "Permite escribir CSS personalizado",
"customCss": "CSS personalizado",
@@ -289,7 +286,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 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)",
"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",
"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",
@@ -349,7 +346,33 @@
"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"
"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"
},
"action": {
"editPlaylist": "editar $t(entity.playlist_one)",
@@ -385,7 +408,11 @@
"moveUp": "Desplazar hacia arriba",
"moveDown": "Desplazar hacia abajo",
"createRadioStation": "Crear $t(entity.radioStation_one)",
"deleteRadioStation": "Borrar $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"
},
"common": {
"backward": "hacia atrás",
@@ -502,7 +529,13 @@
"tableColumns": "Columnas de la tabla",
"itemsMore": "{{count}} más",
"noFilters": "Ningún filtro configurado",
"view": "Vista"
"view": "Vista",
"countSelected": "{{count}} seleccionados",
"retry": "Reintentar",
"mood": "Estado de ánimo",
"example": "Ejemplo",
"filter_single": "simple",
"filter_multiple": "multi"
},
"error": {
"remotePortWarning": "reiniciar el servidor para aplicar el nuevo puerto",
@@ -530,7 +563,10 @@
"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"
"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"
},
"filter": {
"mostPlayed": "más reproducido",
@@ -700,7 +736,8 @@
"discord": "Discord",
"sidebar": "Barra lateral",
"playerFilters": "Filtros del reproductor",
"logger": "Registrador"
"logger": "Registrador",
"lyricsDisplay": "Mostrar letras"
},
"albumArtistList": {
"title": "$t(entity.albumArtist_other)"
@@ -740,7 +777,9 @@
"recentReleases": "Lanzamientos recientes",
"viewDiscography": "Ver discografía",
"about": "Sobre {{artist}}",
"appearsOn": "Aparece en"
"appearsOn": "Aparece en",
"groupingTypeAll": "Todos los tipos de lanzamiento",
"groupingTypePrimary": "Tipos de lanzamiento principales"
},
"itemDetail": {
"copiedPath": "Ruta copiada correctamente",
@@ -795,7 +834,10 @@
"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_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"
},
"addToPlaylist": {
"success": "añadido $t(entity.trackWithCount, {\"count\": {{message}} }) a $t(entity.playlistWithCount, {\"count\": {{numOfPlaylists}} })",
@@ -866,6 +908,11 @@
"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": {
@@ -932,7 +979,9 @@
"genreBadge": "$t(entity.genre_one) (insignias)",
"image": "Imagen",
"bitDepth": "$t(common.bitDepth)",
"sampleRate": "$t(common.sampleRate)"
"sampleRate": "$t(common.sampleRate)",
"titleArtist": "$t(common.title) (artista)",
"composer": "Compositor"
},
"general": {
"gap": "$t(common.gap)",
@@ -1084,5 +1133,160 @@
"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"
}
}
+258 -24
View File
@@ -7,7 +7,7 @@
"moveToBottom": "mugitu behera",
"moveToTop": "mugitu gora",
"refresh": "$t(common.refresh)",
"removeFromFavorites": "kendu $t(entity.favorite_other)-(e)tik",
"removeFromFavorites": "kendu gogokoetatik",
"removeFromPlaylist": "kendu $t(entity.playlist_one)-(e)tik",
"removeFromQueue": "kendu ilaratik",
"setRating": "ezarri balorazioa",
@@ -20,8 +20,18 @@
"clearQueue": "garbitu ilara",
"createPlaylist": "sortu $t(entity.playlist_one)",
"deletePlaylist": "ezabatu $t(entity.playlist_one)",
"addToFavorites": "gehitu $t(entity.favorite_other)-(e)ra",
"addToPlaylist": "gehitu $t(entity.playlist_one)-(e)ra"
"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"
},
"common": {
"add": "gehitu",
@@ -55,7 +65,7 @@
"filter_other": "iragazkiak",
"filters": "iragazkiak",
"forceRestartRequired": "berreabiarazi aldaketak aplikatzeko... itxi notifikazioa berreabiarazteko",
"setting": "ezarpena",
"setting": "ezarpenak",
"share": "partekatu",
"action_one": "ekintza",
"action_other": "ekintzak",
@@ -124,7 +134,19 @@
"clean": "garbia",
"private": "pribatua",
"public": "publikoa",
"releaseType": "argitalpen mota"
"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"
},
"player": {
"repeat": "errepikatu",
@@ -151,13 +173,18 @@
"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"
"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)"
},
"table": {
"config": {
@@ -171,7 +198,20 @@
"size": "$t(common.size)",
"tableColumns": "taula zutabeak",
"itemSize": "elementuaren tamaina (px)",
"followCurrentSong": "jarraitu uneko abestia"
"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"
},
"label": {
"actions": "$t(common.action_other)",
@@ -199,7 +239,11 @@
"playCount": "erreprodukzio kopurua",
"lastPlayed": "azken aldiz entzunda",
"discNumber": "disko zenbakia",
"dateAdded": "gehitze data"
"dateAdded": "gehitze data",
"albumCount": "$t(entity.album_other)",
"image": "irudia",
"bitDepth": "$t(common.bitDepth)",
"sampleRate": "$t(common.sampleRate)"
}
},
"column": {
@@ -226,7 +270,10 @@
"releaseDate": "argitalpen data",
"lastPlayed": "azken aldiz entzundakoa",
"dateAdded": "gehitutako data",
"albumArtist": "albumeko artista"
"albumArtist": "albumeko artista",
"owner": "jabea",
"bitDepth": "$t(common.bitDepth)",
"sampleRate": "$t(common.sampleRate)"
}
},
"entity": {
@@ -264,7 +311,11 @@
"song_one": "abestia",
"song_other": "abestiak",
"trackWithCount_one": "pista {{count}}",
"trackWithCount_other": "{{count}} pista"
"trackWithCount_other": "{{count}} pista",
"radioStation_one": "irrati-katea",
"radioStation_other": "irrati-kateak",
"radioStationWithCount_one": "irrati-kate {{count}}",
"radioStationWithCount_other": "{{count}} irrati-kate"
},
"error": {
"apiRouteError": "ezin izan da eskaera bideratu",
@@ -290,7 +341,10 @@
"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"
"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"
},
"filter": {
"disc": "diskoa",
@@ -519,7 +573,6 @@
"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",
@@ -537,7 +590,52 @@
"exportImportSettings_control_importText": "inportatu ezarpenak",
"exportImportSettings_control_title": "inportatu / esportatu ezarpenak",
"exportImportSettings_importBtn": "inportatu ezarpenak",
"exportImportSettings_importModalTitle": "inportatu feishin 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"
},
"form": {
"addServer": {
@@ -553,7 +651,8 @@
"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_preferInstantMixDescription": "erabili berehalako nahasketa soilik antzeko abestiak lortzeko. erabilgarria portaera hau aldatzen duten pluginak badituzu",
"input_remoteUrl": "URL publikoa"
},
"addToPlaylist": {
"input_playlists": "$t(entity.playlist_other)",
@@ -592,12 +691,15 @@
"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"
"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?"
},
"queryEditor": {
"title": "kontsulta editorea",
"input_optionMatchAll": "guztiak bat etorri",
"input_optionMatchAny": "edozeinekin bat etorri"
"input_optionMatchAny": "edozeinekin bat etorri",
"resetToDefault": "lehenetsitako egoerara berrezarri",
"clearFilters": "garbitu iragazkiak"
},
"updateServer": {
"success": "zerbitzaria behar bezala eguneratu da",
@@ -607,6 +709,31 @@
"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": {
@@ -635,7 +762,11 @@
"privateModeOn": "aktibatu modu pribatua",
"selectServer": "aukeratu zerbitzaria",
"version": "bertsioa {{version}}",
"openBrowserDevtools": "ireki nabigatzailearen garapen tresnak"
"openBrowserDevtools": "ireki nabigatzailearen garapen tresnak",
"commandPalette": "ireki komando-paleta",
"noMusicFolder": "ez da musika karpetarik hautatu",
"selectMusicFolder": "aukeratu musika karpeta",
"multipleMusicFolders": "{{count}} musika karpeta aukeratuta"
},
"manageServers": {
"url": "URLa",
@@ -669,7 +800,8 @@
"shareItem": "partekatu elementua",
"goToAlbum": "joan $t(entity.album_one)-(e)ra",
"goToAlbumArtist": "joan albumera",
"showDetails": "informazioa lortu"
"showDetails": "informazioa lortu",
"moveItems": "$t(action.moveItems)"
},
"fullscreenPlayer": {
"config": {
@@ -713,7 +845,8 @@
"newlyAdded": "azken aldian gehitutako argitalpenak",
"recentlyPlayed": "azken aldian entzundakoak",
"recentlyReleased": "azken aldian argitaratutak",
"explore": "arakatu zure liburutegitik"
"explore": "arakatu zure liburutegitik",
"genres": "$t(entity.genre_other)"
},
"playlistList": {
"title": "$t(entity.playlist_other)"
@@ -723,7 +856,22 @@
"generalTab": "orokorra",
"playbackTab": "erreprodukzioa",
"windowTab": "leihoa",
"hotkeysTab": "laster-teklak"
"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"
},
"sidebar": {
"albumArtists": "$t(entity.albumArtist_other)",
@@ -738,7 +886,9 @@
"tracks": "$t(entity.track_other)",
"myLibrary": "nire liburutegia",
"nowPlaying": "orain erreproduzitzen",
"shared": "partekatutako $t(entity.playlist_other)"
"shared": "partekatutako $t(entity.playlist_other)",
"favorites": "$t(entity.favorite_other)",
"radio": "$t(entity.radioStation_other)"
},
"trackList": {
"title": "$t(entity.track_other)",
@@ -754,7 +904,9 @@
"viewAllTracks": "ikusi $t(entity.track_other) guztiak",
"appearsOn": "agertzen da hemen",
"recentReleases": "azken argitalpenak",
"viewDiscography": "ikusi diskografia"
"viewDiscography": "ikusi diskografia",
"groupingTypeAll": "argitalpen mota guztiak",
"groupingTypePrimary": "argitalpen mota nagusiak"
},
"itemDetail": {
"copyPath": "kopiatu bidea arbelean",
@@ -763,12 +915,22 @@
},
"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"
"other": "bestelakoa",
"ep": "ep"
},
"secondary": {
"compilation": "konpilazioa",
@@ -776,5 +938,77 @@
"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"
}
}
-2
View File
@@ -474,7 +474,6 @@
"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",
@@ -490,7 +489,6 @@
"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",
+140 -25
View File
@@ -14,7 +14,7 @@
"shuffle": "lecture (mélangé)",
"playbackFetchNoResults": "aucun titre trouvé",
"playbackFetchInProgress": "chargement des titres…",
"addNext": "ajouter ensuite",
"addNext": "prochain",
"playbackSpeed": "vitesse de lecture",
"playbackFetchCancel": "cela prend du temps… fermez la notification pour annuler",
"play": "lecture",
@@ -24,22 +24,21 @@
"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": "ajouter en dernier",
"addLast": "dernier",
"mute": "muet",
"skip_forward": "avancer",
"pause": "pause",
"unfavorite": "retirer des favoris",
"playSimilarSongs": "jouer des titres similaires",
"viewQueue": "voir la file d'attente",
"addLastShuffled": "ajouter en dernier (mélangé)",
"addNextShuffled": "ajouter ensuite (mélangé)",
"queueType": "type de file d'attente",
"queueType_default": "défaut",
"queueType_priority": "priorité",
"addLastShuffled": "dernier (mélangé)",
"addNextShuffled": "prochain (mélangé)",
"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"
"saveQueueToServer": "enregistrer la file d'attente sur le serveur",
"artistRadio": "radio de l'artiste",
"trackRadio": "radio du titre"
},
"action": {
"editPlaylist": "éditer $t(entity.playlist_one)",
@@ -75,7 +74,11 @@
"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)"
"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"
},
"common": {
"backward": "en arrière",
@@ -195,7 +198,11 @@
"tableColumns": "colonnes du tableau",
"itemsMore": "plus {{count}}",
"view": "vue",
"noFilters": "aucun filtre configuré"
"noFilters": "aucun filtre configuré",
"countSelected": "{{count}} sélectionnée",
"example": "exemple",
"mood": "humeur",
"retry": "réessayer"
},
"error": {
"remotePortWarning": "redémarrer le serveur pour appliquer le nouveau port",
@@ -223,7 +230,10 @@
"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"
"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"
},
"filter": {
"mostPlayed": "plus joués",
@@ -365,7 +375,8 @@
"transcoding": "transcodage",
"discord": "discord",
"logger": "logger",
"playerFilters": "filtres du lecteur"
"playerFilters": "filtres du lecteur",
"lyricsDisplay": "affichage des paroles"
},
"globalSearch": {
"commands": {
@@ -433,7 +444,8 @@
"recentReleases": "sorties récentes",
"viewDiscography": "voir la discographie",
"relatedArtists": "$t(entity.artist_other) similaires",
"topSongs": "meilleurs titres"
"topSongs": "meilleurs titres",
"groupingTypeAll": "toutes les types de sortie"
},
"itemDetail": {
"copyPath": "copier le chemin dans le presse-papiers",
@@ -633,9 +645,7 @@
"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",
@@ -709,7 +719,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 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)",
"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",
"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",
@@ -730,8 +740,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": "curseur de la barre de lecture",
"playerbarSliderType_optionSlider": "curseur",
"playerbarSlider": "barre de lecture",
"playerbarSliderType_optionSlider": "pleine",
"playerbarSliderType_optionWaveform": "forme d'onde",
"playerbarWaveformAlign": "forme d'onde alignée",
"playerbarWaveformAlign_optionTop": "haut",
@@ -765,11 +775,32 @@
"logLevel_optionError": "erreur",
"logLevel_optionInfo": "info",
"logLevel_optionWarn": "avertissement",
"playerFilters": "filtrer les tires de la file d'attente",
"playerFilters": "filtrer les titres 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"
"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"
},
"form": {
"deletePlaylist": {
@@ -790,7 +821,10 @@
"ignoreCors": "ignorer cors $t(common.restartRequired)",
"error_savePassword": "une erreur sest 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_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"
},
"addToPlaylist": {
"success": "$t(entity.trackWithCount, {\"count\" : {{message}} }) ajouté à $t(entity.playlistWithCount, {\"count\" : {{numOfPlaylists}} })",
@@ -869,6 +903,11 @@
},
"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": {
@@ -925,11 +964,11 @@
"song_many": "titres",
"song_other": "titres",
"radioStation_one": "station radio",
"radioStation_many": "stations radios",
"radioStation_other": "",
"radioStation_many": "stations radio",
"radioStation_other": "stations radio",
"radioStationWithCount_one": "{{count}} station radio",
"radioStationWithCount_many": "{{count}} stations radios",
"radioStationWithCount_other": ""
"radioStationWithCount_many": "{{count}} stations radio",
"radioStationWithCount_other": "{{count}} stations radio"
},
"table": {
"config": {
@@ -1087,5 +1126,81 @@
"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"
}
}
+50 -16
View File
@@ -31,7 +31,13 @@
"moveUp": "ugrás fel",
"moveDown": "ugrás le",
"holdToMoveToTop": "hosszan nyomva felülre mozgat",
"holdToMoveToBottom": "hosszan nyomva lejjebb 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"
},
"common": {
"collapse": "összecsukás",
@@ -145,7 +151,9 @@
"tableColumns": "táblázat oszlopok",
"itemsMore": "{{count}} még több",
"view": "nézet",
"noFilters": "nincs konfigurált szűrő"
"noFilters": "nincs konfigurált szűrő",
"countSelected": "{{count}} kiválasztott",
"retry": "újra"
},
"entity": {
"albumArtist_one": "Zenész",
@@ -184,7 +192,9 @@
"trackWithCount_one": "{{count}} sáv",
"trackWithCount_other": "{{count}} sávok",
"radioStation_one": "rádió állomás",
"radioStation_other": "rádió állomások"
"radioStation_other": "rádió állomások",
"radioStationWithCount_one": "{{count}} rádióállomás",
"radioStationWithCount_other": "{{count}} rádióállomások"
},
"error": {
"apiRouteError": "a kérést nem sikerült célba juttatni",
@@ -210,7 +220,12 @@
"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"
"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"
},
"filter": {
"albumCount": "$t(entity.album_other) darab",
@@ -345,6 +360,16 @@
"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": {
@@ -525,7 +550,8 @@
"settings": "$t(common.setting_other)",
"shared": "megosztott $t(entity.playlist_other)",
"tracks": "$t(entity.track_other)",
"favorites": "$t(entity.favorite_other)"
"favorites": "$t(entity.favorite_other)",
"radio": "$t(entity.radioStation_other)"
},
"trackList": {
"artistTracks": "dalok tőle {{artist}}",
@@ -537,11 +563,14 @@
},
"folderList": {
"title": "$t(entity.folder_other)"
},
"radioList": {
"title": "rádió állomások"
}
},
"player": {
"addLast": "utoljára hozzáadva",
"addNext": "következő hozzáadása",
"addLast": "utolsónak",
"addNext": "következő",
"favorite": "kedvenc",
"mute": "némítás",
"muted": "némítva",
@@ -571,13 +600,12 @@
"pause": "szünet",
"viewQueue": "műsorlista megtekintése",
"shuffle_off": "kevert lejátszás ki",
"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",
"addLastShuffled": "végére (keverve)",
"addNextShuffled": "következő (keverve)",
"holdToShuffle": "tartsd lenyomva a keveréshez",
"lyrics": "dalszöveg"
"lyrics": "dalszöveg",
"saveQueueToServer": "műsorlista mentése a szerverre",
"restoreQueueFromServer": "műsorlista visszaállítása a szerverről"
},
"releaseType": {
"primary": {
@@ -766,7 +794,6 @@
"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)",
@@ -780,7 +807,6 @@
"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",
@@ -908,7 +934,9 @@
"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"
"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"
},
"table": {
"config": {
@@ -1038,5 +1066,11 @@
"matchesRegex": "illeszkedik a regexre",
"is": "van",
"isNot": "nincs"
},
"datetime": {
"minuteShort": "perc",
"secondShort": "mp",
"hourShort": "óra",
"dayShort": "nap"
}
}
-2
View File
@@ -579,8 +579,6 @@
"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",
-2
View File
@@ -355,8 +355,6 @@
"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 dellanteprima 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",
+182 -23
View File
@@ -11,10 +11,10 @@
"skip_back": "前へスキップ",
"favorite": "お気に入り",
"next": "次へ",
"shuffle": "シャッフル",
"shuffle": "再生 (シャッフル)",
"playbackFetchNoResults": "曲が見つかりません",
"playbackFetchInProgress": "曲を読み込み中…",
"addNext": "次へ追加",
"addNext": "次",
"playbackSpeed": "再生速度",
"playbackFetchCancel": "処理に時間がかかります… 通知を閉じるとキャンセルします",
"play": "再生",
@@ -25,12 +25,15 @@
"queue_moveToTop": "選択項目を一番下に移動",
"queue_moveToBottom": "選択項目を先頭に移動",
"shuffle_off": "シャッフル無効",
"addLast": "最後へ追加",
"addLast": "最後",
"mute": "ミュート",
"skip_forward": "次へスキップ",
"pause": "一時停止",
"playSimilarSongs": "似たような曲を再生する",
"viewQueue": "キューを表示する"
"viewQueue": "キューを表示する",
"lyrics": "歌詞",
"restoreQueueFromServer": "サーバーからキューを復元",
"saveQueueToServer": "サーバーにキューを保存"
},
"setting": {
"crossfadeStyle_description": "オーディオプレーヤーが使用するクロスフェードのスタイルを選択します",
@@ -203,15 +206,13 @@
"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": "パスワード/シークレットストア",
"playerAlbumArtResolution": "プレーヤーのアルバムアートの解像度",
"passwordStore_description": "使用するパスワード / シークレットストア。パスワードの保存に問題がある場合はこれを変更してください",
"passwordStore": "パスワード / シークレットストア",
"playerbarOpenDrawer_description": "プレーヤーバーをクリックすると全画面プレーヤーが開きます",
"preferLocalLyrics_description": "利用可能な場合は、リモート歌詞よりもローカル歌詞を優先します",
"preferLocalLyrics": "ローカル歌詞を優先する",
@@ -298,7 +299,51 @@
"exportImportSettings_notValidJSON": "渡されたファイルは有効な JSON ではありません",
"exportImportSettings_importSuccess": "設定が正常にインポートされました!",
"exportImportSettings_importModalTitle": "Feishin 設定をインポート",
"exportImportSettings_importBtn": "設定をインポート"
"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": "プレーヤーのサイドバーにビジュアライザーを表示するパネルが追加されます"
},
"action": {
"editPlaylist": "$t(entity.playlist_one) を編集",
@@ -328,7 +373,17 @@
"shuffle": "シャッフル",
"shuffleAll": "すべてシャッフル",
"shuffleSelected": "選択した曲をシャッフル",
"viewMore": "さらに表示"
"viewMore": "さらに表示",
"createRadioStation": "$t(entity.radioStation_one) を作成",
"deleteRadioStation": "$t(entity.radioStation_one) を削除",
"selectAll": "すべて選択",
"moveUp": "上に移動",
"moveDown": "下に移動",
"holdToMoveToTop": "押し続けると一番上に移動します",
"holdToMoveToBottom": "押し続けると一番下に移動します",
"openApplicationDirectory": "アプリケーションディレクトリを開く",
"selectRangeOfItems": "項目の範囲を選択",
"addOrRemoveFromSelection": "選択に追加または削除"
},
"common": {
"backward": "戻る",
@@ -431,7 +486,19 @@
"doNotShowAgain": "再度表示しない",
"externalLinks": "外部リンク",
"sort": "分類",
"gridRows": "グリッド行"
"gridRows": "グリッド行",
"countSelected": "{{count}} 個選択されました",
"view": "表示",
"noFilters": "フィルターが設定されていません",
"retry": "再試行",
"itemsMore": "{{count}} 個以上",
"faster": "より速く",
"slower": "より遅く",
"example": "例",
"mood": "気分",
"recordLabel": "レコードレーベル",
"tableColumns": "テーブル列",
"clean": "クリーン"
},
"table": {
"config": {
@@ -478,7 +545,12 @@
"year": "$t(common.year)",
"albumArtist": "$t(entity.albumArtist_one)",
"codec": "$t(common.codec)",
"songCount": "$t(entity.track_other)"
"songCount": "$t(entity.track_other)",
"albumCount": "$t(entity.album_other)",
"bitDepth": "$t(common.bitDepth)",
"genreBadge": "$t(entity.genre_one) (バッジ)",
"image": "画像",
"sampleRate": "$t(common.sampleRate)"
}
},
"column": {
@@ -505,7 +577,9 @@
"discNumber": "ディスク",
"channels": "$t(common.channel_other)",
"size": "$t(common.size)",
"codec": "$t(common.codec)"
"codec": "$t(common.codec)",
"bitDepth": "$t(common.bitDepth)",
"sampleRate": "$t(common.sampleRate)"
}
},
"error": {
@@ -532,7 +606,12 @@
"networkError": "ネットワークエラーが発生しました",
"notificationDenied": "通知の許可が拒否されました。この設定は効果がありません",
"openError": "ファイルを開けませんでした",
"badValue": "無効なオプション「{{value}}」。この値は存在しません"
"badValue": "無効なオプション「{{value}}」。この値は存在しません",
"multipleServerSaveQueueError": "再生キューに現在のサーバーに存在しない曲が 1 曲以上あります。これはサポートされていません",
"noNetwork": "サーバーが利用できません",
"noNetworkDescription": "このサーバーに接続できませんでした",
"saveQueueFailed": "キューを保存できませんでした",
"settingsSyncError": "レンダラーとメインプロセスの設定に矛盾が見つかりました。変更を適用するにはアプリケーションを再起動してください"
},
"filter": {
"mostPlayed": "最も多く再生",
@@ -593,7 +672,9 @@
"artists": "$t(entity.artist_other)",
"albumArtists": "$t(entity.albumArtist_other)",
"myLibrary": "マイライブラリ",
"shared": "$t(entity.playlist_other) を共有"
"shared": "$t(entity.playlist_other) を共有",
"radio": "$t(entity.radioStation_other)",
"favorites": "$t(entity.favorite_other)"
},
"fullscreenPlayer": {
"config": {
@@ -630,7 +711,11 @@
"goBack": "戻る",
"goForward": "進む",
"privateModeOff": "プライベートモードをオフにする",
"privateModeOn": "プライベートモードをオンにする"
"privateModeOn": "プライベートモードをオンにする",
"selectMusicFolder": "音楽フォルダを選択",
"noMusicFolder": "音楽フォルダを選択",
"commandPalette": "コマンドパレットを開く",
"multipleMusicFolders": "{{count}} 個の音楽フォルダが選択されました"
},
"contextMenu": {
"addToPlaylist": "$t(action.addToPlaylist)",
@@ -656,7 +741,9 @@
"goToAlbum": "$t(entity.album_one) に移動",
"goToAlbumArtist": "$t(entity.albumArtist_one) に移動",
"showDetails": "情報を取得する",
"playShuffled": "$t(player.shuffle)"
"playShuffled": "$t(player.shuffle)",
"moveItems": "$t(action.moveItems)",
"goTo": "移動"
},
"home": {
"mostPlayed": "最も多く再生",
@@ -664,7 +751,8 @@
"title": "$t(common.home)",
"explore": "ライブラリから検索",
"recentlyPlayed": "最近の再生",
"recentlyReleased": "最近のリリース"
"recentlyReleased": "最近のリリース",
"genres": "$t(entity.genre_other)"
},
"albumDetail": {
"moreFromArtist": "$t(entity.artist_one) の他の項目",
@@ -676,7 +764,24 @@
"generalTab": "一般",
"hotkeysTab": "ホットキー",
"windowTab": "ウィンドウ",
"advanced": "高度"
"advanced": "高度",
"analytics": "分析",
"updates": "更新",
"cache": "キャッシュ",
"application": "アプリケーション",
"queryBuilder": "クエリビルダー",
"theme": "テーマ",
"controls": "コントロール",
"sidebar": "サイドバー",
"remote": "リモート",
"exportImport": "インポート / エクスポート",
"scrobble": "Scrobble",
"audio": "オーディオ",
"lyrics": "歌詞",
"lyricsDisplay": "歌詞表示",
"transcoding": "トランスコーディング",
"discord": "Discord",
"logger": "ロガー"
},
"albumArtistList": {
"title": "$t(entity.albumArtist_other)"
@@ -716,7 +821,9 @@
"topSongsFrom": "{{title}} からの人気曲",
"viewAll": "すべて表示",
"viewAllTracks": "$t(entity.track_other) をすべて表示",
"relatedArtists": "関連の $t(entity.artist_other)"
"relatedArtists": "関連の $t(entity.artist_other)",
"groupingTypeAll": "すべてのリリースタイプ",
"groupingTypePrimary": "主なリリースタイプ"
},
"manageServers": {
"title": "サーバーの管理",
@@ -733,6 +840,15 @@
},
"playlist": {
"reorder": "ID によるソート時のみ並べ替えが可能です"
},
"radioList": {
"title": "ラジオ局"
},
"favorites": {
"title": "$t(entity.favorite_other)"
},
"folderList": {
"title": "$t(entity.folder_other)"
}
},
"form": {
@@ -762,7 +878,10 @@
"ignoreCors": "CORSを無視 ($t(common.restartRequired))",
"error_savePassword": "パスワードを保存する際にエラーが発生しました",
"input_preferInstantMixDescription": "類似曲を取得するにはインスタントミックスのみを使用してください。この動作を変更するプラグインがある場合に役立ちます",
"input_preferInstantMix": "インスタントミックスを優先する"
"input_preferInstantMix": "インスタントミックスを優先する",
"input_preferRemoteUrl": "公開 URL を優先する",
"input_remoteUrl": "公開 URL",
"input_remoteUrlPlaceholder": "オプション: 外部機能用の公開 URL"
},
"addToPlaylist": {
"success": "$t(entity.trackWithCount, {\"count\": {{message}} }) を $t(entity.playlistWithCount, {\"count\": {{numOfPlaylists}} }) に追加しました",
@@ -789,7 +908,8 @@
"editPlaylist": {
"title": "$t(entity.playlist_one) を編集",
"publicJellyfinNote": "Jellyfin では、何らかの理由でプレイリストが公開されているかどうかが表示されません。公開されたままにしたい場合は、以下の項目を選択してください",
"success": "$t(entity.playlist_one) が正常に更新されました"
"success": "$t(entity.playlist_one) が正常に更新されました",
"editNote": "大規模なプレイリストの場合、手動編集は推奨されません。既存のプレイリストを上書きすることでデータ損失が発生するリスクを許容しますか?"
},
"shareItem": {
"allowDownloading": "ダウンロードを許可",
@@ -807,6 +927,29 @@
"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": {
@@ -827,7 +970,9 @@
"genreWithCount_other": "{{count}} 個のジャンル",
"trackWithCount_other": "{{count}} 個のトラック",
"play_other": "{{count}} 回再生",
"song_other": "曲"
"song_other": "曲",
"radioStation_other": "ラジオ局",
"radioStationWithCount_other": "{{count}} 局のラジオ局"
},
"dragDropZone": {
"error_oneFileOnly": "1 つのファイルのみ選択してください",
@@ -850,5 +995,19 @@
"demo": "デモ",
"soundtrack": "サウンドトラック"
}
},
"datetime": {
"minuteShort": "分",
"secondShort": "秒",
"hourShort": "時間",
"dayShort": "日"
},
"queryBuilder": {
"standardTags": "標準タグ",
"customTags": "カスタムタグ"
},
"filterOperator": {
"matchesRegex": "正規表現に一致",
"notContains": "含まれていない"
}
}
+32 -3
View File
@@ -21,7 +21,23 @@
},
"viewPlaylists": "$t(entity.playlist_other) 보기",
"setRating": "평점 지정",
"toggleSmartPlaylistEditor": "$t(entity.smartPlaylist) 편집기 펼치기"
"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": "앱 디렉토리 열기"
},
"common": {
"translation": "번역",
@@ -122,7 +138,18 @@
"recordLabel": "레이블",
"releaseType": "발매형태",
"explicit": "성인컨텐츠",
"clean": "클린"
"clean": "클린",
"countSelected": "{{count}}개 선택됨",
"doNotShowAgain": "다시 보지 않기",
"view": "보기",
"externalLinks": "외부 링크",
"faster": "빠르게",
"noFilters": "필터 미설정",
"slower": "천천히",
"sort": "정렬",
"gridRows": "행 그리드",
"tableColumns": "테이블 열",
"itemsMore": "{{count}}개 더"
},
"entity": {
"albumWithCount_other": "{{count}} 앨범",
@@ -142,7 +169,9 @@
"play_other": "{{count}} 재생",
"playlistWithCount_other": "{{count}} 재생목록",
"smartPlaylist": "스마트 $t(entity.playlist_one)",
"track_other": "트랙"
"track_other": "트랙",
"radioStation_other": "라디오 방송국",
"radioStationWithCount_other": "{{count}}개 라디오 방송국"
},
"error": {
"systemFontError": "시스템 폰트를 가져오는데 실패하였습니다",
+397 -25
View File
@@ -2,20 +2,20 @@
"action": {
"editPlaylist": "pas $t(entity.playlist_one) aan",
"goToPage": "ga naar pagina",
"moveToTop": "verplaats naar boven",
"moveToTop": "verplaats naar begin",
"addToFavorites": "toevoegen aan $t(entity.favorite_other)",
"addToPlaylist": "toevoegen aan $t(entity.playlist_one)",
"createPlaylist": "maak $t(entity.playlist_one)",
"removeFromPlaylist": "verwijder van $t(entity.playlist_one)",
"removeFromPlaylist": "verwijder uit $t(entity.playlist_one)",
"viewPlaylists": "bekijk $t(entity.playlist_other)",
"refresh": "$t(common.refresh)",
"deletePlaylist": "verwijder $t(entity.playlist_one)",
"removeFromQueue": "verwijder van lijst",
"removeFromQueue": "verwijder uit wachtrij",
"deselectAll": "deselecteer alles",
"moveToBottom": "verplaats naar bodem",
"setRating": "selecteer rating",
"moveToBottom": "verplaats naar einde",
"setRating": "kies beoordeling",
"toggleSmartPlaylistEditor": "editor $t(entity.smartPlaylist) schakelen",
"removeFromFavorites": "verwijder van $t(entity.favorite_other)",
"removeFromFavorites": "verwijder uit $t(entity.favorite_other)",
"clearQueue": "verwijder lijst",
"openIn": {
"lastfm": "Open in Last.fm",
@@ -27,7 +27,17 @@
"shuffle": "shuffle",
"shuffleAll": "shuffle alles",
"shuffleSelected": "shuffle geselecteerde",
"viewMore": "bekijk meer"
"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"
},
"common": {
"backward": "achteruit",
@@ -111,8 +121,8 @@
"setting": "instelling",
"close": "sluiten",
"additionalParticipants": "andere deelnemers",
"newVersion": "een nieuwe versie is geinstalleerd ({{version}})",
"viewReleaseNotes": "zie release notes",
"newVersion": "een nieuwe versie is geïnstalleerd ({{version}})",
"viewReleaseNotes": "lees uitgavenotities",
"albumGain": "album gain",
"translation": "vertaling",
"explicitStatus": "expliciete status",
@@ -139,7 +149,13 @@
"clean": "schoon",
"gridRows": "rasterrijen",
"tableColumns": "tabelkolommen",
"itemsMore": "{{count}} meer"
"itemsMore": "{{count}} meer",
"countSelected": "{{count}} geselecteerd",
"view": "bekijken",
"noFilters": "geen filters ingesteld",
"example": "voorbeeld",
"mood": "stemming",
"retry": "opnieuw proberen"
},
"filter": {
"rating": "rating",
@@ -230,7 +246,8 @@
"privateModeOn": "schakel private modus in",
"selectMusicFolder": "selecteer muziekfolder",
"noMusicFolder": "geen muziekfolder geselecteerd",
"multipleMusicFolders": "{{count}} muziekfolders geselecteerd"
"multipleMusicFolders": "{{count}} muziekfolders geselecteerd",
"commandPalette": "open opdrachtvenster"
},
"albumDetail": {
"moreFromArtist": "meer van deze $t(entity.artist_one)",
@@ -277,7 +294,9 @@
"topSongsFrom": "top nummers van {{title}}",
"viewAll": "bekijk alle",
"viewAllTracks": "bekijk alle $t(entity.track_other)",
"recentReleases": "recente uitgaven"
"recentReleases": "recente uitgaven",
"groupingTypeAll": "alle soorten publicaties",
"groupingTypePrimary": "primaire publicatiesoorten"
},
"manageServers": {
"title": "beheer servers",
@@ -306,7 +325,8 @@
"newlyAdded": "nieuw toegevoegde uitgaven",
"recentlyPlayed": "recent afgespeeld",
"recentlyReleased": "recent uitgekomen",
"title": "$t(common.home)"
"title": "$t(common.home)",
"genres": "$t(entity.genre_other)"
},
"favorites": {
"title": "$t(entity.favorite_other)"
@@ -342,7 +362,10 @@
"audio": "geluid",
"lyrics": "songtekst",
"transcoding": "transcoderen",
"discord": "discord"
"discord": "discord",
"lyricsDisplay": "songtekstweergave",
"logger": "logger",
"playerFilters": "spelerfilters"
},
"sidebar": {
"albumArtists": "$t(entity.albumArtist_other)",
@@ -358,12 +381,19 @@
"search": "$t(common.search)",
"settings": "$t(common.setting_other)",
"shared": "$t(entity.playlist_other) gedeeld",
"tracks": "$t(entity.track_other)"
"tracks": "$t(entity.track_other)",
"radio": "$t(entity.radioStation_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": {
@@ -390,7 +420,12 @@
"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"
"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"
},
"entity": {
"genre_one": "genre",
@@ -427,7 +462,11 @@
"song_one": "lied",
"song_other": "liedjes",
"play_one": "{{count}} keer afgespeeld",
"play_other": "{{count}} keren afgespeeld"
"play_other": "{{count}} keren afgespeeld",
"radioStation_one": "radiostation",
"radioStation_other": "radiostations",
"radioStationWithCount_one": "{{count}} radiostation",
"radioStationWithCount_other": "{{count}} radiostations"
},
"table": {
"column": {
@@ -479,7 +518,247 @@
"gaplessAudio_optionWeak": "zwak (aanbevolen)",
"gaplessAudio": "gapless audio",
"globalMediaHotkeys_description": "het gebruik van systeem mediahotkeys voor controle van afspelen aan-/uitzetten",
"globalMediaHotkeys": "globale mediasneltoetsen"
"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"
},
"form": {
"addServer": {
@@ -495,7 +774,10 @@
"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_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"
},
"deletePlaylist": {
"title": "verwijder $t(entity.playlist_one)",
@@ -535,7 +817,8 @@
"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"
"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?"
},
"updateServer": {
"title": "update server",
@@ -568,13 +851,28 @@
"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 toevoegen",
"addNext": "als volgende toevoegen",
"addLastShuffled": "als laatste toevoegen (geschud)",
"addNextShuffled": "als volgende toevoegen (geschud)",
"addLast": "achteraan",
"addNext": "volgende",
"addLastShuffled": "als laatste toevoegen (willekeurig)",
"addNextShuffled": "als volgende toevoegen (willekeurig)",
"favorite": "favoriet",
"mute": "dempen",
"muted": "gedempt",
@@ -589,6 +887,80 @@
"previous": "vorige",
"queue_clear": "wachtrij wissen",
"queue_moveToBottom": "verplaats geselecteerde naar boven",
"queue_moveToTop": "verplaats geselecteerde naar beneden"
"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"
}
}
}
+243 -39
View File
@@ -33,7 +33,11 @@
"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)"
"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"
},
"common": {
"increase": "zwiększ",
@@ -69,7 +73,7 @@
"delete": "usuń",
"cancel": "anuluj",
"forceRestartRequired": "zrestartuj aby zastosować zmiany... zamknij powiadomienie aby zrestartować",
"setting": "ustawienie",
"setting": "ustawienia",
"version": "wersja",
"title": "tytuł",
"filter_one": "filtr",
@@ -150,49 +154,55 @@
"tableColumns": "tabela kolumn",
"itemsMore": "{{count}} więcej",
"noFilters": "nie skonfigurowano filtrów",
"view": "wyświetl"
"view": "wyświetl",
"countSelected": "wybrano {{count}}",
"retry": "spróbuj ponownie",
"mood": "nastrój",
"example": "przykład",
"filter_multiple": "multi",
"filter_single": "single"
},
"entity": {
"genre_one": "gatunek",
"genre_few": "gatunki",
"genre_many": "gatunków",
"artist_one": "wykonawca",
"artist_few": "wykonawców",
"artist_many": "wykonawców",
"albumArtist_one": "wykonawca 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": "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",
"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",
"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",
"albumWithCount_one": "{{count}} album",
"albumWithCount_few": "{{count}} albumy",
"albumWithCount_many": "{{count}} albumów",
"favorite_one": "ulubiony",
"favorite_few": "ulubione",
"favorite_many": "ulubionych",
"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",
"genreWithCount_one": "{{count}} gatunek",
"genreWithCount_few": "{{count}} gatunki",
"genreWithCount_many": "{{count}} gatunków",
@@ -204,12 +214,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 radiowe",
"radioStationWithCount_few": "{{count}} stacje radiowych",
"radioStationWithCount_many": "{{count}} stacji radiowych"
},
"error": {
@@ -238,7 +248,10 @@
"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"
"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"
},
"filter": {
"mostPlayed": "najczęściej odtwarzane",
@@ -312,7 +325,10 @@
"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_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"
},
"addToPlaylist": {
"success": "dodano $t(entity.trackWithCount, {\"count\": {{message}} }) do $t(entity.playlistWithCount, {\"count\": {{numOfPlaylists}} })",
@@ -383,6 +399,11 @@
"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": {
@@ -521,7 +542,8 @@
"transcoding": "transkodowanie",
"discord": "discord",
"playerFilters": "filtry odtwarzacza",
"logger": "logger"
"logger": "logger",
"lyricsDisplay": "wyświetlanie tekstu"
},
"trackList": {
"title": "$t(entity.track_other)",
@@ -548,7 +570,9 @@
"viewDiscography": "przeglądaj dyskografię",
"relatedArtists": "powiązane z $t(entity.artist_other)",
"appearsOn": "pojawia się na",
"viewAllTracks": "zobacz wszystko $t(entity.track_other)"
"viewAllTracks": "zobacz wszystko $t(entity.track_other)",
"groupingTypeAll": "wszystkie typy wydań",
"groupingTypePrimary": "główne typy wydań"
},
"itemDetail": {
"copyPath": "kopiuj ścieżkę do schowka",
@@ -610,13 +634,12 @@
"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"
"saveQueueToServer": "zapisz kolejkę na serwerze",
"artistRadio": "radio wykonawcy",
"trackRadio": "radio utworu"
},
"setting": {
"crossfadeStyle_description": "wybierz styl przenikania, który ma być używany do odtwarzania dźwięku",
@@ -779,12 +802,10 @@
"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",
@@ -898,7 +919,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 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_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": "włącz media session",
"transcode": "włącz transkodowanie",
"queryBuilder": "kreator zaptań",
@@ -926,7 +947,33 @@
"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"
"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"
},
"table": {
"config": {
@@ -999,7 +1046,9 @@
"genreBadge": "$t(entity.genre_one) (znaczki)",
"image": "obraz",
"bitDepth": "$t(common.bitDepth)",
"sampleRate": "$t(common.sampleRate)"
"sampleRate": "$t(common.sampleRate)",
"composer": "kompozytor",
"titleArtist": "$t(common.title) (wykonawca)"
}
},
"column": {
@@ -1084,5 +1133,160 @@
"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"
}
}
+2 -2
View File
@@ -356,8 +356,6 @@
"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",
@@ -383,6 +381,8 @@
"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",
+143 -15
View File
@@ -21,7 +21,22 @@
"lastfm": "открыть на Last.fm",
"musicbrainz": "открыть на MusicBrainz"
},
"moveToNext": "следующий"
"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": "открыть папку приложения"
},
"common": {
"backward": "назад",
@@ -124,7 +139,23 @@
"viewReleaseNotes": "Список изменений",
"bitDepth": "Разрядность",
"sampleRate": "частота дискретизации",
"tags": "теги"
"tags": "теги",
"countSelected": "{{count}} выбрано",
"faster": "быстрее",
"filter_single": "один",
"filter_multiple": "несколько",
"mood": "настроение",
"noFilters": "фильтры не настроены",
"private": "приватный",
"public": "открытый",
"retry": "повторить",
"recordLabel": "лейбл звукозаписи",
"releaseType": "тип выпуска",
"slower": "медленее",
"sort": "сортировать",
"clean": "очистить",
"gridRows": "Строки в сетке",
"tableColumns": "Столбцы таблицы"
},
"entity": {
"album_one": "альбом",
@@ -179,7 +210,13 @@
"genreWithCount_many": "{{count}} жанров",
"trackWithCount_one": "{{count}} трек",
"trackWithCount_few": "{{count}} трека",
"trackWithCount_many": "{{count}} треков"
"trackWithCount_many": "{{count}} треков",
"radioStation_one": "радиостанция",
"radioStation_few": "радиостанции",
"radioStation_many": "радиостанции",
"radioStationWithCount_one": "Радиостанция",
"radioStationWithCount_few": "Радиостанций",
"radioStationWithCount_many": "Радиостанции"
},
"table": {
"config": {
@@ -278,7 +315,12 @@
"badAlbum": "вы видите эту страницу из-за того, что эта песня не входит в альбом. скорее всего, вы видите эту ошибку, так как песня находится в корневой директории папки с музыкой. Jellyfin группирует треки только по папкам",
"networkError": "возникла ошибка сети",
"badValue": "Недопустимый параметр «{{value}}». Это значение больше не существует",
"notificationDenied": "Доступ к уведомлениям запрещен. Настройка не работает"
"notificationDenied": "Доступ к уведомлениям запрещен. Настройка не работает",
"multipleServerSaveQueueError": "в очереди воспроизведения присутствует одна или несколько песен, которые не загружены с текущего сервера. это не поддерживается",
"noNetwork": "сервер недоступен",
"noNetworkDescription": "Не удалось подключиться к серверу",
"saveQueueFailed": "Не удалось сохранить очередь",
"settingsSyncError": "обнаружены несоответствия между настройками рендерера и основным процессом. перезапустите приложение, чтобы изменения вступили в силу"
},
"filter": {
"isCompilation": "сборник",
@@ -352,7 +394,7 @@
"queue_moveToTop": "переместить выделенное вниз",
"queue_moveToBottom": "переместить выделенное вверх",
"shuffle_off": "перемешивание выключено",
"addLast": "воспроизвести после всех",
"addLast": "последний",
"mute": "отключить звук",
"skip_forward": "вперёд",
"viewQueue": "показать очередь"
@@ -408,7 +450,10 @@
"goBack": "назад",
"goForward": "вперёд",
"privateModeOff": "Выключить приватный режим",
"privateModeOn": "Включить приватный режим"
"privateModeOn": "Включить приватный режим",
"selectMusicFolder": "выбрать папку с музыкой",
"noMusicFolder": "папка с музыкой не выбрана",
"multipleMusicFolders": "{{count}} выбрано музыкальных папок"
},
"manageServers": {
"title": "сервера",
@@ -439,7 +484,8 @@
"showDetails": "получить информацию",
"shareItem": "поделиться",
"goToAlbum": "Перейти к $t(entity.album_one)",
"goToAlbumArtist": "Перейти к $t(entity.albumArtist_one)"
"goToAlbumArtist": "Перейти к $t(entity.albumArtist_one)",
"goTo": "перейти в"
},
"home": {
"mostPlayed": "слушают чаще всего",
@@ -459,7 +505,20 @@
"generalTab": "общее",
"hotkeysTab": "горячие клавиши",
"windowTab": "окно",
"advanced": "расширенные"
"advanced": "расширенные",
"analytics": "аналитика",
"updates": "обновить",
"cache": "кэш",
"application": "приложение",
"theme": "тема",
"controls": "элементы управления",
"sidebar": "боковая панель",
"remote": "удаленный",
"exportImport": "импорт/экспорт",
"audio": "аудио",
"lyrics": "тексты песен",
"lyricsDisplay": "отображение текстов песен",
"transcoding": "транскодирование"
},
"albumArtistList": {
"title": "$t(entity.albumArtist_other)"
@@ -502,12 +561,17 @@
"viewAllTracks": "посмотреть все $t(entity.track_other)",
"recentReleases": "недавние релизы",
"about": "О {{artist}}",
"topSongsFrom": "популярные треки из {{title}}"
"topSongsFrom": "популярные треки из {{title}}",
"groupingTypeAll": "все типы выпусков",
"groupingTypePrimary": "основные типы выпусков"
},
"itemDetail": {
"copyPath": "скопировать путь в буфер обмена",
"openFile": "открыть трек в менеджере файлов",
"copiedPath": "путь успешно скопирован"
},
"radioList": {
"title": "радиостанции"
}
},
"form": {
@@ -537,13 +601,18 @@
"ignoreCors": "игнорировать CORS ($t(common.restartRequired))",
"error_savePassword": "произошла ошибка при сохранении пароля",
"input_preferInstantMix": "Предпочитать автоподборку",
"input_preferInstantMixDescription": "Использовать быстрый микс только для поиска похожих композиций. Полезно, если у вас есть плагины, которые изменяют это поведение"
"input_preferInstantMixDescription": "Использовать быстрый микс только для поиска похожих композиций. Полезно, если у вас есть плагины, которые изменяют это поведение",
"input_preferRemoteUrl": "предпочитать публичный url",
"input_remoteUrl": "публичный url",
"input_remoteUrlPlaceholder": "необязательно: публичный гкд-адрес для доступа к внешним функциям"
},
"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)"
"input_playlists": "$t(entity.playlist_other)",
"create": "создать $t(entity.playlist_one) {{playlist}}",
"searchOrCreate": "для создания нового списка выполните поиск по $t(entity.playlist_other) или введите соответствующий текст"
},
"updateServer": {
"title": "обновление сервера",
@@ -552,7 +621,11 @@
"queryEditor": {
"input_optionMatchAll": "сопоставить все",
"input_optionMatchAny": "сопоставить любой",
"title": "Редактор запросов"
"title": "Редактор запросов",
"addRuleGroup": "добавить группу правил",
"removeRuleGroup": "удалить группу правил",
"resetToDefault": "сбросить на настройки по умолчанию",
"clearFilters": "очистить фильтры"
},
"lyricSearch": {
"input_name": "$t(common.name)",
@@ -562,7 +635,8 @@
"editPlaylist": {
"title": "редактировать $t(entity.playlist_one)",
"success": "$t(entity.playlist_one) обновлён успешно",
"publicJellyfinNote": "Jellyfin по какой-то причине не предоставляет информацию о том, публичный плейлист или нет. Если вы хотите, чтобы он остался публичным, выберите следующую опцию"
"publicJellyfinNote": "Jellyfin по какой-то причине не предоставляет информацию о том, публичный плейлист или нет. Если вы хотите, чтобы он остался публичным, выберите следующую опцию",
"editNote": "редактирование больших плейлистов вручную не рекомендуется. Вы уверены, что готовы принять риск потери данных, который может возникнуть в результате перезаписи существующего плейлиста?"
},
"shareItem": {
"success": "ссылка скопирована в буфер обмена (нажмите здесь, чтобы открыть)",
@@ -576,6 +650,35 @@
"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": {
@@ -670,7 +773,6 @@
"playButtonBehavior": "поведение кнопки воспроизведения",
"playButtonBehavior_optionAddNext": "$t(player.addNext)",
"playButtonBehavior_optionPlay": "$t(player.play)",
"playerAlbumArtResolution_description": "разрешение большой версии обложки альбома в проигрывателе. при большем разрешении она выглядит более четкой, но может замедлить загрузку. по умолчанию равно 0 - устанавливает разрешение автоматически",
"playerbarOpenDrawer": "полноэкранный переключатель по панели проигрывателя",
"playerbarOpenDrawer_description": "позволяет перейти в полноэкранный режим воспроизведения нажатием на панель проигрывателя",
"remotePort": "порт сервера удалённого управления",
@@ -711,7 +813,6 @@
"imageAspectRatio_description": "если эта опция включена, обложки будут отображаться в соответствии с их собственным соотношением сторон. для обложек не 1:1 оставшееся пространство будет пустым",
"minimumScrobblePercentage": "минимальное время для скробблинга (в процентах)",
"playbackStyle": "стиль воспроизведения",
"playerAlbumArtResolution": "разрешение обложки альбома",
"remotePassword_description": "задает пароль для сервера удалённого управления. По умолчанию эти учетные данные передаются небезопасным способом, поэтому следует использовать уникальный пароль, который вам неважен",
"replayGainClipping_description": "Предотвращение клиппинга, вызванного {{ReplayGain}}, путём автоматического снижения усиления",
"replayGainFallback_description": "усиление в db для применения, если у файла нет тегов {{ReplayGain}}",
@@ -791,5 +892,32 @@
"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": "начинается с"
}
}
+2 -3
View File
@@ -21,7 +21,8 @@
"openIn": {
"lastfm": "Otvoriť v Last.fm",
"musicbrainz": "Otvoriť v MusicBrainz"
}
},
"addOrRemoveFromSelection": "pridať či odstrániť z vybranie"
},
"common": {
"action_one": "akcia",
@@ -654,8 +655,6 @@
"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",
+80 -9
View File
@@ -33,7 +33,11 @@
"musicbrainz": "Öppna i MusicBrainz"
},
"createRadioStation": "skapa $t(entity.radioStation_one)",
"deleteRadioStation": "ta bort $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"
},
"common": {
"backward": "bakåt",
@@ -143,7 +147,8 @@
"clean": "städad",
"gridRows": "rutnätsrader",
"tableColumns": "tabellkolumner",
"itemsMore": "{{count}} fler"
"itemsMore": "{{count}} fler",
"countSelected": "{{count}} markerade"
},
"error": {
"remotePortWarning": "starta om servern för att tillämpa den nya porten",
@@ -166,7 +171,12 @@
"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"
"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"
},
"filter": {
"mostPlayed": "mest spelade",
@@ -209,7 +219,9 @@
"album": "$t(entity.album_one)",
"trackNumber": "spår",
"songCount": "sångräkning",
"criticRating": "kritikerbetyg"
"criticRating": "kritikerbetyg",
"albumCount": "$t(entity.album_other) antal",
"explicitStatus": "$t(common.explicitStatus)"
},
"form": {
"deletePlaylist": {
@@ -236,13 +248,17 @@
"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"
"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"
},
"addToPlaylist": {
"success": "tillade {{message}} $t(entity.track_other) til {{numOfPlaylists}} $t(entity.playlist_other)",
"success": "lade till $t(entity.trackWithCount, {\"count\": {{message}} }) till $t(entity.playlistWithCount, {\"count\": {{numOfPlaylists}} })",
"title": "lägg till i $t(entity.playlist_one)",
"input_skipDuplicates": "hoppa över dubbletter",
"input_playlists": "$t(entity.playlist_other)"
"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"
},
"updateServer": {
"title": "uppdatera server",
@@ -258,7 +274,19 @@
"title": "sångtext sök"
},
"editPlaylist": {
"title": "redigera $t(entity.playlist_one)"
"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"
}
},
"page": {
@@ -306,7 +334,17 @@
"addFavorite": "$t(action.addToFavorites)",
"play": "$t(player.play)",
"numberSelected": "{{count}} vald",
"removeFromQueue": "$t(action.removeFromQueue)"
"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"
},
"albumDetail": {
"moreFromArtist": "mer från $t(entity.artist_one)",
@@ -340,6 +378,12 @@
"searchFor": "sök efter {{query}}"
},
"title": "kommandon"
},
"manageServers": {
"url": "URL",
"username": "användarnamn",
"editServerDetailsTooltip": "redigera serverinställningar",
"removeServer": "ta bort server"
}
},
"entity": {
@@ -405,5 +449,32 @@
"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"
}
}
-2
View File
@@ -550,8 +550,6 @@
"playButtonBehavior_description": "வரிசையில் பாடல்களைச் சேர்க்கும்போது ப்ளே பொத்தானின் இயல்புநிலை நடத்தை அமைக்கிறது",
"playButtonBehavior_optionAddLast": "$t(player.addLast)",
"playButtonBehavior_optionAddNext": "$t(player.addNext)",
"playerAlbumArtResolution": "பிளேயர் ஆல்பம் கலைத் தீர்மானம்",
"playerAlbumArtResolution_description": "பெரிய வீரரின் ஆல்பம் கலை முன்னோட்டத்திற்கான தீர்மானம். பெரியது இது மிகவும் மிருதுவானதாக தோற்றமளிக்கிறது, ஆனால் மெதுவாக ஏற்றுவதை மெதுவாகக் கொண்டிருக்கலாம். இயல்புநிலை 0 க்கு, அதாவது ஆட்டோ",
"playerbarOpenDrawer": "பிளேயர்பார் முழுத்திரை மாற்று",
"playerbarOpenDrawer_description": "முழு திரை பிளேயரைத் திறக்க பிளேயர்பாரைக் சொடுக்கு செய்ய அனுமதிக்கிறது",
"remotePassword": "ரிமோட் கண்ட்ரோல் சர்வர் கடவுச்சொல்",
+11 -4
View File
@@ -21,7 +21,15 @@
"goToPage": "sayfaya git",
"moveToNext": "sonrakine geç",
"refresh": "$t(common.refresh)",
"toggleSmartPlaylistEditor": "$t(entity.smartPlaylist) düzenleyiciye geç"
"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"
},
"common": {
"action_one": "eylem",
@@ -120,7 +128,8 @@
"trackGain": "parça kazancı",
"trackPeak": "parça zirvesi",
"private": "gizli",
"clean": "temiz"
"clean": "temiz",
"countSelected": "{{count}} adet seçildi"
},
"entity": {
"album_one": "albüm",
@@ -604,8 +613,6 @@
"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",
+5 -1
View File
@@ -1 +1,5 @@
{}
{
"action": {
"addToFavorites": "додати до $t(entity.favorite_other)"
}
}
+264 -26
View File
@@ -31,7 +31,13 @@
"shuffle": "随机播放",
"shuffleAll": "随机播放全部",
"shuffleSelected": "随机播放选定的内容",
"viewMore": "查看更多"
"viewMore": "查看更多",
"addOrRemoveFromSelection": "在所选内容中添加或移除",
"selectRangeOfItems": "批量选择",
"selectAll": "全选",
"createRadioStation": "创建$t(entity.radioStation_one)",
"deleteRadioStation": "删除$t(entity.radioStation_one)",
"openApplicationDirectory": "打开应用程序目录"
},
"common": {
"increase": "增高",
@@ -142,7 +148,9 @@
"sort": "排序",
"gridRows": "网格行",
"tableColumns": "表格列",
"itemsMore": "{{count}} 更多"
"itemsMore": "{{count}} 更多",
"countSelected": "已选择{{count}}项",
"retry": "重试"
},
"entity": {
"albumArtist_other": "专辑艺术家",
@@ -176,10 +184,10 @@
"skip_back": "向后跳过",
"favorite": "收藏",
"next": "下一首",
"shuffle": "随机播放",
"shuffle": "播放(随机)",
"playbackFetchNoResults": "未找到歌曲",
"playbackFetchInProgress": "正在加载歌曲…",
"addNext": "添加为播放列表下一首",
"addNext": "下一首播放",
"playbackFetchCancel": "请稍等…关闭通知以取消操作",
"play": "播放",
"repeat_off": "循环关闭",
@@ -189,13 +197,16 @@
"queue_moveToTop": "将所选项移至底部",
"queue_moveToBottom": "将所选项移至顶部",
"shuffle_off": "禁用随机播放",
"addLast": "添加至播放列表末尾",
"addLast": "上一曲",
"mute": "静音",
"skip_forward": "向前跳过",
"playbackSpeed": "播放速度",
"pause": "暂停",
"playSimilarSongs": "播放类似的歌曲",
"viewQueue": "查看播放队列"
"viewQueue": "查看播放队列",
"saveQueueToServer": "将播放队列保存到服务器",
"restoreQueueFromServer": "从服务器恢复播放队列",
"lyrics": "歌词"
},
"setting": {
"crossfadeStyle_description": "选择用于音频播放器的淡入淡出风格",
@@ -367,8 +378,6 @@
"startMinimized_description": "在系统托盘中启动应用程序",
"passwordStore_description": "使用什么密码/密钥存储。如果您在存储密码时遇到问题,请更改此设置",
"clearCacheSuccess": "缓存清除成功",
"playerAlbumArtResolution": "播放器专辑封面分辨率",
"playerAlbumArtResolution_description": "大型播放器专辑封面预览的分辨率。较大使其看起来更清晰,但可能会减慢加载速度。默认为0,表示自动",
"homeConfiguration": "主页配置",
"homeConfiguration_description": "配置主页上显示的项目以及显示顺序",
"passwordStore": "密码/密钥存储",
@@ -457,7 +466,56 @@
"exportImportSettings_notValidJSON": "传递的文件不是有效的 JSON 文件",
"exportImportSettings_offendingKeyError": "\"{{offendingKey}}\" 不正确 - {{reason}}",
"enableAutoTranslation_description": "歌词加载时自动启用翻译",
"enableAutoTranslation": "启用自动翻译"
"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": "启用转码功能"
},
"error": {
"remotePortWarning": "重启服务器使新端口生效",
@@ -483,7 +541,12 @@
"networkError": "发生网络错误",
"openError": "无法打开文件",
"badValue": "无效的选项 \"{{value}}\". 此值不再存在",
"notificationDenied": "通知权限被拒绝。此设置无效"
"notificationDenied": "通知权限被拒绝。此设置无效",
"multipleServerSaveQueueError": "不支持此操作(播放列表中包含来自其他服务器的歌曲)",
"noNetwork": "服务器不可用",
"noNetworkDescription": "无法连接到该服务器",
"saveQueueFailed": "播放列表保存失败",
"settingsSyncError": "渲染器设置与主进程中存在差异,请重启程序以应用更改"
},
"filter": {
"mostPlayed": "最多播放过",
@@ -506,8 +569,8 @@
"songCount": "歌曲数量",
"random": "随机",
"lastPlayed": "上次播放过",
"toYear": "年份",
"fromYear": "年份",
"toYear": "截止年份",
"fromYear": "起始年份",
"criticRating": "评论家评分",
"trackNumber": "曲目",
"bpm": "bpm",
@@ -544,7 +607,9 @@
"artists": "$t(entity.artist_other)",
"albumArtists": "$t(entity.albumArtist_other)",
"shared": "共享$t(entity.playlist_other)",
"myLibrary": "我的媒体库"
"myLibrary": "我的媒体库",
"favorites": "$t(entity.favorite_other)",
"radio": "$t(entity.radioStation_other)"
},
"fullscreenPlayer": {
"config": {
@@ -581,7 +646,10 @@
"settings": "$t(common.setting_other)",
"quit": "$t(common.quit)",
"privateModeOff": "关闭私人模式",
"privateModeOn": "开启私人模式"
"privateModeOn": "开启私人模式",
"multipleMusicFolders": "已选择{{count}}个媒体库",
"noMusicFolder": "未选择任何音乐库",
"selectMusicFolder": "选择媒体库"
},
"home": {
"mostPlayed": "最多播放",
@@ -589,7 +657,8 @@
"explore": "从库中搜索",
"recentlyPlayed": "最近播放",
"title": "$t(common.home)",
"recentlyReleased": "最近发布"
"recentlyReleased": "最近发布",
"genres": "$t(entity.genre_other)"
},
"albumDetail": {
"moreFromArtist": "更多该$t(entity.artist_one)作品",
@@ -601,7 +670,24 @@
"generalTab": "通用",
"hotkeysTab": "快捷键",
"windowTab": "窗口",
"advanced": "高级"
"advanced": "高级",
"updates": "更新",
"cache": "缓存",
"analytics": "分析",
"application": "应用",
"theme": "主题",
"controls": "控制",
"sidebar": "侧边栏",
"remote": "远程服务",
"exportImport": "导入/导出",
"scrobble": "播放记录",
"audio": "音频",
"lyrics": "歌词",
"transcoding": "转码",
"discord": "Discord",
"logger": "日志记录器",
"queryBuilder": "查询构建器",
"lyricsDisplay": "歌词显示"
},
"globalSearch": {
"commands": {
@@ -635,7 +721,9 @@
"playShuffled": "$t(player.shuffle)",
"moveToNext": "$t(action.moveToNext)",
"goToAlbum": "转到 $t(entity.album_one)",
"goToAlbumArtist": "转到 $t(entity.albumArtist_one)"
"goToAlbumArtist": "转到 $t(entity.albumArtist_one)",
"moveItems": "$t(action.moveItems)",
"goTo": "前往"
},
"trackList": {
"title": "$t(entity.track_other)",
@@ -667,7 +755,8 @@
"viewAllTracks": "查看所有$t(entity.track_other)",
"about": "关于{{artist}}",
"appearsOn": "出现在",
"viewAll": "查看全部"
"viewAll": "查看全部",
"groupingTypeAll": "所有发行类型"
},
"itemDetail": {
"copyPath": "将路径复制到剪贴板",
@@ -684,6 +773,12 @@
"username": "用户名",
"editServerDetailsTooltip": "编辑服务器详细信息",
"removeServer": "移除服务器"
},
"favorites": {
"title": "$t(entity.favorite_other)"
},
"folderList": {
"title": "$t(entity.folder_other)"
}
},
"form": {
@@ -705,7 +800,10 @@
"error_savePassword": "保存密码时出现错误",
"input_url": "url",
"input_preferInstantMixDescription": "仅使用即时混音来获取类似的歌曲。如果您有修改此行为的插件,则很有用",
"input_preferInstantMix": "首选即时混音"
"input_preferInstantMix": "首选即时混音",
"input_preferRemoteUrl": "首选公共 URL",
"input_remoteUrl": "公共 URL",
"input_remoteUrlPlaceholder": "可选:对外功能的公共 URL"
},
"addToPlaylist": {
"success": "添加$t(entity.trackWithCount, {\"count\": {{message}} })到$t(entity.playlistWithCount, {\"count\": {{numOfPlaylists}} })",
@@ -730,12 +828,17 @@
"queryEditor": {
"input_optionMatchAll": "匹配全部",
"input_optionMatchAny": "匹配任何",
"title": "查询编辑器"
"title": "查询编辑器",
"resetToDefault": "恢复默认值",
"clearFilters": "清除筛选",
"addRuleGroup": "添加规则组",
"removeRuleGroup": "移除规则组"
},
"editPlaylist": {
"title": "编辑$t(entity.playlist_one)",
"publicJellyfinNote": "Jellyfin 出于某种原因不会显示播放列表是否公开。如果您希望保持公开,请选择以下输入",
"success": "$t(entity.playlist_one)更新成功"
"success": "$t(entity.playlist_one)更新成功",
"editNote": "不建议对大型播放列表进行手动编辑,你确定接受新播放列表覆盖已有播放列表可能导致的数据丢失风险吗?"
},
"lyricSearch": {
"title": "搜索歌词",
@@ -754,6 +857,32 @@
"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": {
@@ -766,7 +895,28 @@
"size": "$t(common.size)",
"itemGap": "项目间隙(px",
"itemSize": "项目大小 (px)",
"followCurrentSong": "关注当前播放的歌曲"
"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": "列边框"
},
"view": {
"table": "表格",
@@ -801,7 +951,12 @@
"albumArtist": "$t(entity.albumArtist_one)",
"titleCombined": "$t(common.title)(合并)",
"codec": "$t(common.codec)",
"songCount": "$t(entity.track_other)"
"songCount": "$t(entity.track_other)",
"albumCount": "$t(entity.album_other)",
"image": "图片",
"bitDepth": "$t(common.bitDepth)",
"sampleRate": "$t(common.sampleRate)",
"genreBadge": "$t(entity.genre_one)(徽章)"
}
},
"column": {
@@ -828,7 +983,10 @@
"channels": "$t(common.channel_other)",
"discNumber": "碟片",
"size": "$t(common.size)",
"codec": "$t(common.codec)"
"codec": "$t(common.codec)",
"owner": "所有者",
"bitDepth": "$t(common.bitDepth)",
"sampleRate": "$t(common.sampleRate)"
}
},
"dragDropZone": {
@@ -839,7 +997,21 @@
"releaseType": {
"primary": {
"album": "$t(entity.album_one)",
"broadcast": "播送"
"broadcast": "播送",
"ep": "迷你专辑(EP",
"single": "单曲",
"other": "其他"
},
"secondary": {
"audiobook": "有声读物",
"compilation": "合辑",
"demo": "样本唱片(Demo",
"interview": "访谈",
"live": "现场表演(Live",
"mixtape": "混音专辑",
"remix": "再混音(Remix",
"soundtrack": "原声带",
"audioDrama": "广播剧"
}
},
"filterOperator": {
@@ -847,6 +1019,72 @@
"afterDate": "晚于(日期)",
"before": "之前",
"beforeDate": "早于(日期)",
"contains": "包含"
"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": "杂项设置"
}
}
+153 -30
View File
@@ -106,7 +106,11 @@
"explicitStatus": "Explicit狀態",
"explicit": "Explicit",
"gridRows": "網格行",
"noFilters": "未設定任何過濾器"
"noFilters": "未設定任何過濾器",
"countSelected": "{{count}}個已選取",
"retry": "重試",
"example": "範例",
"mood": "情緒"
},
"error": {
"endpointNotImplementedError": "{{serverType}} 尚未實現端點 {{endpoint}}",
@@ -134,7 +138,10 @@
"notificationDenied": "通知權限被拒絕。此設定無效",
"openError": "無法開啟檔案",
"multipleServerSaveQueueError": "播放佇列中包含不是來自目前伺服器的歌曲,此操作不受支援",
"saveQueueFailed": "儲存播放佇列失敗"
"saveQueueFailed": "儲存播放佇列失敗",
"settingsSyncError": "偵測到渲染器與主程序之間的設定不一致,請重新啟動應用程式以套用變更",
"noNetwork": "伺服器無法連線",
"noNetworkDescription": "無法連接到此伺服器"
},
"page": {
"contextMenu": {
@@ -174,7 +181,7 @@
}
},
"home": {
"explore": "從資料庫中搜尋",
"explore": "從媒體庫中搜尋",
"recentlyPlayed": "最近播放",
"title": "$t(common.home)",
"mostPlayed": "最多播放",
@@ -248,7 +255,8 @@
"discord": "Discord",
"queryBuilder": "查詢建構器",
"playerFilters": "播放過濾器",
"logger": "日誌記錄器"
"logger": "日誌記錄器",
"lyricsDisplay": "歌詞顯示"
},
"albumArtistList": {
"title": "$t(entity.albumArtist_other)"
@@ -280,7 +288,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)"
@@ -299,7 +307,9 @@
"topSongs": "熱門歌曲",
"topSongsFrom": "{{title}} 的熱門歌曲",
"viewAll": "檢視所有",
"viewAllTracks": "檢視所有$t(entity.track_other)"
"viewAllTracks": "檢視所有$t(entity.track_other)",
"groupingTypeAll": "所有發佈類型",
"groupingTypePrimary": "主要發佈類型"
},
"manageServers": {
"title": "管理伺服器",
@@ -361,13 +371,12 @@
"viewQueue": "檢視佇列",
"addLastShuffled": "新增至尾端 (隨機)",
"addNextShuffled": "新增至下一首 (隨機)",
"queueType": "佇列類型",
"queueType_default": "預設",
"queueType_priority": "優先",
"holdToShuffle": "按住以隨機",
"lyrics": "歌詞",
"restoreQueueFromServer": "從伺服器還原播放佇列",
"saveQueueToServer": "將播放佇列儲存至伺服器"
"saveQueueToServer": "將播放佇列儲存至伺服器",
"artistRadio": "藝人電台",
"trackRadio": "曲目電台"
},
"setting": {
"audioPlayer_description": "選擇用於播放的音訊播放器",
@@ -403,7 +412,7 @@
"discordUpdateInterval_description": "更新間隔秒數(至少 15 秒)",
"enableRemote": "啟用遠端控制伺服器",
"enableRemote_description": "啟用遠端控制伺服器,以允許其他設備控制此應用程式",
"exitToTray": "退出時最小化到系統匣",
"exitToTray": "關閉時到將視窗最小化",
"followLyric": "跟隨目前歌詞",
"font_description": "設定應用程式使用的字體",
"fontType": "字體類型",
@@ -448,7 +457,7 @@
"lyricOffset": "歌詞偏移(毫秒)",
"lyricOffset_description": "將歌詞偏移指定的毫秒數",
"lyricFetchProvider_description": "選擇歌詞來源。 來源順序即為搜尋的順序",
"minimizeToTray": "最小化到匣",
"minimizeToTray": "最小化到系統匣",
"minimizeToTray_description": "將應用程式最小化到系統匣",
"minimumScrobbleSeconds": "最小紀錄時間(秒)",
"minimumScrobbleSeconds_description": "歌曲被記錄為已播放(scrobble)所需的最小播放時間",
@@ -534,8 +543,8 @@
"albumBackground_description": "為包含專輯封面的專輯頁面新增背景圖片",
"albumBackgroundBlur": "專輯背景圖片模糊大小",
"albumBackgroundBlur_description": "調整應用於專輯背景圖片的模糊量",
"artistConfiguration": "專輯藝術家頁面設定",
"artistConfiguration_description": "設定專輯藝術家頁面顯示的項目及其顯示順序",
"artistConfiguration": "專輯藝頁面設定",
"artistConfiguration_description": "設定專輯藝頁面顯示的項目及序",
"clearCacheSuccess": "成功清除快取",
"contextMenu": "右鍵選單配置",
"contextMenu_description": "允許您隱藏在右鍵選單項目時顯示的項目。未選取的項目將被隱藏",
@@ -551,7 +560,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": "首頁配置",
@@ -561,22 +570,20 @@
"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": "要轉碼的比特率",
@@ -616,7 +623,7 @@
"preventSleepOnPlayback": "防止播放時進入睡眠狀態",
"preventSleepOnPlayback_description": "在音樂播放時防止螢幕進入睡眠狀態",
"mediaSession": "啟用Media Session",
"mediaSession_description": "啟用 Windows Media Session 整合功能,於系統音量Overlay和鎖定畫面中顯示媒體資料與控制面板(僅限 Windows",
"mediaSession_description": "啟用 Media Session 整合功能,於系統音量Overlay和鎖定畫面中顯示媒體資料與控制面板",
"releaseChannel": "發佈通道",
"analyticsDisable": "選擇退出使用情況分析",
"analyticsDisable_description": "經過匿名處理的使用情況資料將傳送給開發者,以協助改進應用程式",
@@ -677,7 +684,29 @@
"logLevel_optionInfo": "Info",
"logLevel_optionWarn": "Warn",
"useThemeAccentColor": "使用主題強調色",
"useThemeAccentColor_description": "使用所選主題中定義的主要顏色,而非自訂的強調色"
"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": "增加前綴"
},
"table": {
"config": {
@@ -755,7 +784,7 @@
},
"column": {
"album": "專輯",
"albumArtist": "專輯藝術家",
"albumArtist": "專輯藝",
"albumCount": "$t(entity.album_other)",
"artist": "$t(entity.artist_one)",
"biography": "簡介",
@@ -817,14 +846,17 @@
"holdToMoveToTop": "按住以移動至頂部",
"holdToMoveToBottom": "按住以移動至底部",
"createRadioStation": "創建 $t(entity.radioStation_one)",
"deleteRadioStation": "刪除 $t(entity.radioStation_one)"
"deleteRadioStation": "刪除 $t(entity.radioStation_one)",
"openApplicationDirectory": "開啟應用程式目錄",
"addOrRemoveFromSelection": "新增或移除選取項目",
"selectAll": "全選"
},
"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}} 個資料夾",
@@ -900,7 +932,10 @@
"ignoreCors": "忽略 cors $t(common.restartRequired)",
"ignoreSsl": "忽略 ssl $t(common.restartRequired)",
"input_preferInstantMix": "偏好即時混音",
"input_preferInstantMixDescription": "僅使用即時混音功能來獲取相似歌曲。若您擁有能修改此行為的外掛,此功能將相當實用"
"input_preferInstantMixDescription": "僅使用即時混音功能來獲取相似歌曲。若您擁有能修改此行為的外掛,此功能將相當實用",
"input_preferRemoteUrl": "優先使用公開網址",
"input_remoteUrl": "公開網址",
"input_remoteUrlPlaceholder": "選用:對外功能的公開網址"
},
"addToPlaylist": {
"input_playlists": "$t(entity.playlist_other)",
@@ -984,6 +1019,11 @@
},
"saveQueue": {
"success": "已將播放佇列儲存至伺服器"
},
"lyricsExport": {
"export": "匯出歌詞",
"input_synced": "匯出同步歌詞",
"input_offset": "$t(setting.lyricOffset)"
}
},
"releaseType": {
@@ -1034,6 +1074,89 @@
"matchesRegex": "符合正規表達式",
"notContains": "不包含",
"notInPlaylist": "不在…之中",
"startsWith": "以…開頭"
"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": "圓形頻譜"
}
}
+4 -5
View File
@@ -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);
console.error('Genius lyrics request got an error!', (e as Error)?.message);
return null;
}
@@ -138,7 +138,7 @@ export async function getSearchResults(
},
});
} catch (e) {
console.error('Genius search request got an error!', e);
console.error('Genius search request got an error!', (e as Error)?.message);
return null;
}
@@ -150,6 +150,7 @@ export async function getSearchResults(
return {
artist: song.artist_names,
id: song.url,
isSync: null,
name: song.full_title,
source: LyricSource.GENIUS,
};
@@ -163,13 +164,11 @@ 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;
}
@@ -194,7 +193,7 @@ async function getSongId(
},
});
} catch (e) {
console.error('Genius search request got an error!', e);
console.error('Genius search request got an error!', (e as Error)?.message);
return null;
}
+77 -50
View File
@@ -1,21 +1,10 @@
import { ipcMain } from 'electron';
import { store } from '../settings';
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 { 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 { Song } from '/@/shared/types/domain-types';
@@ -42,6 +31,7 @@ export type InternetProviderLyricResponse = {
export type InternetProviderLyricSearchResponse = {
artist: string;
id: string;
isSync: boolean | null;
name: string;
score?: number;
source: LyricSource;
@@ -72,14 +62,6 @@ 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,
@@ -108,39 +90,84 @@ const getRemoteLyrics = async (song: Song) => {
}
}
let lyricsFromSource: InternetProviderLyricResponse | null = null;
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) {
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 (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);
}
try {
const searchResults = await SEARCH_FETCHERS[source](params);
if (searchResults) {
allSearchResults.push(...searchResults);
}
lyricCache.set(song.id.toString(), newResult);
lyricsFromSource = response;
break;
} 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);
}
if (lyricsFromSource) {
const newResult = cached
? {
...cached,
[lyricsFromSource.source]: lyricsFromSource,
}
: ({ [lyricsFromSource.source]: lyricsFromSource } as CachedLyrics);
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);
}
return lyricsFromSource;
};
+8 -4
View File
@@ -17,8 +17,12 @@ 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 {
@@ -42,7 +46,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);
console.error('LrcLib lyrics request got an error!', (e as Error)?.message);
return null;
}
@@ -65,7 +69,7 @@ export async function getSearchResults(
},
});
} catch (e) {
console.error('LrcLib search request got an error!', e);
console.error('LrcLib search request got an error!', (e as Error)?.message);
return null;
}
@@ -75,6 +79,7 @@ export async function getSearchResults(
return {
artist: song.artistName,
id: String(song.id),
isSync: song.syncedLyrics ? true : false,
name: song.name,
source: LyricSource.LRCLIB,
};
@@ -102,14 +107,13 @@ export async function query(
timeout: TIMEOUT_MS,
});
} catch (e) {
console.error('LrcLib search request got an error!', e);
console.error('LrcLib search request got an error!', (e as Error).message);
return null;
}
const lyrics = result.data.syncedLyrics || result.data.plainLyrics || null;
if (!lyrics) {
console.error(`Could not get lyrics on LrcLib!`);
return null;
}
+1 -2
View File
@@ -128,6 +128,7 @@ export async function getSearchResults(
return {
artist,
id: String(song.id),
isSync: null,
name: song.name,
source: LyricSource.NETEASE,
};
@@ -141,13 +142,11 @@ 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;
}
+69 -8
View File
@@ -1,4 +1,4 @@
import Fuse, { IFuseOptions } from 'fuse.js';
import Fuse, { FuseResult, IFuseOptions } from 'fuse.js';
import {
InternetProviderLyricSearchResponse,
@@ -15,20 +15,81 @@ export const orderSearchResults = (args: {
fieldNormWeight: 1,
includeScore: true,
keys: [
{ getFn: (song) => song.name, name: 'name', weight: 3 },
{ getFn: (song) => song.artist, name: 'artist' },
{ getFn: (song) => song.name, name: 'name', weight: 2 },
{ getFn: (song) => song.artist, name: 'artist', weight: 2 },
],
threshold: 1.0,
threshold: 0.6,
};
const fuse = new Fuse(results, options);
const searchResults = fuse.search<InternetProviderLyricSearchResponse>({
...(params.artist && { artist: params.artist }),
...(params.name && { name: params.name }),
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);
});
return searchResults.map((result) => ({
return sortedResults.map((result) => ({
...result.item,
score: result.score,
}));
+57
View File
@@ -525,6 +525,63 @@ 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,
+7 -1
View File
@@ -620,8 +620,11 @@ ipcMain.on('update-playback', (_event, status: PlayerStatus) => {
broadcast({ data: status, event: 'playback' });
});
ipcMain.on('update-song', (_event, song: QueueSong | undefined) => {
ipcMain.on('update-song', (_event, song: QueueSong | undefined, imageUrl?: null | string) => {
const songChanged = song?.id !== currentState.song?.id;
if (song) {
song.imageUrl = imageUrl || null;
}
currentState.song = song;
if (songChanged) {
@@ -657,6 +660,9 @@ if (mprisPlayer) {
}
currentState.volume = volume;
broadcast({ data: volume, event: 'volume' });
getMainWindow()?.webContents.send('request-volume', {
volume,
});
});
}
+49 -3
View File
@@ -1,16 +1,58 @@
import type { TitleTheme } from '/@/shared/types/types';
import { dialog, ipcMain, nativeTheme, OpenDialogOptions, safeStorage } from 'electron';
import { app, dialog, ipcMain, nativeTheme, OpenDialogOptions, safeStorage } from 'electron';
import Store from 'electron-store';
import path from 'path';
export const store = new Store({
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>({
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');
},
'>=1.0.0': (store) => {
store.clear();
},
},
});
@@ -19,7 +61,11 @@ ipcMain.handle('settings-get', (_event, data: { property: string }) => {
});
ipcMain.on('settings-set', (__event, data: { property: string; value: any }) => {
store.set(`${data.property}`, data.value);
if (data.value === undefined) {
store.delete(data.property);
} else {
store.set(data.property, data.value);
}
});
ipcMain.handle('password-get', (_event, server: string): null | string => {
+42 -42
View File
@@ -141,48 +141,48 @@ ipcMain.on('update-shuffle', (_event, shuffle: boolean) => {
mprisPlayer.shuffle = shuffle;
});
ipcMain.on('update-song', (_event, song: QueueSong | undefined) => {
try {
if (!song?.id) {
mprisPlayer.metadata = {};
return;
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);
}
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 };
+22 -10
View File
@@ -30,6 +30,7 @@ import MenuBuilder from './menu';
import {
autoUpdaterLogInterface,
createLog,
disableAutoUpdates,
hotkeyToElectronAccelerator,
isLinux,
isMacOS,
@@ -125,7 +126,9 @@ const installExtensions = async () => {
type: 'info',
});
})
.catch(console.error);
.catch(() => {
// Ignore
});
});
};
@@ -184,13 +187,11 @@ const createWinThumbarButtons = () => {
};
const createTray = () => {
if (isMacOS()) {
return;
}
tray =
isLinux() || isMacOS()
? new Tray(getAssetPath('icons/icon.png'))
: new Tray(getAssetPath('icons/icon.ico'));
tray = isLinux()
? new Tray(getAssetPath('icons/icon.png'))
: new Tray(getAssetPath('icons/icon.ico'));
const contextMenu = Menu.buildFromTemplate([
{
click: () => {
@@ -274,8 +275,8 @@ async function createWindow(first = true): Promise<void> {
autoHideMenuBar: true,
frame: false,
height: 900,
icon: getAssetPath('icons/icon.png'),
minHeight: 640,
icon: isWindows() ? getAssetPath('icons/icon.ico') : getAssetPath('icons/icon.png'),
minHeight: 120,
minWidth: 480,
show: false,
webPreferences: {
@@ -456,7 +457,7 @@ async function createWindow(first = true): Promise<void> {
return { action: 'deny' };
});
if (store.get('disable_auto_updates') !== true) {
if (!disableAutoUpdates() && store.get('disable_auto_updates') !== true) {
new AppUpdater();
}
@@ -496,6 +497,9 @@ 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',
@@ -702,3 +706,11 @@ if (!ipcMain.eventNames().includes('open-item')) {
});
});
}
// Register 'open-application-directory' handler globally, ensuring it is only registered once
if (!ipcMain.eventNames().includes('open-application-directory')) {
ipcMain.handle('open-application-directory', async () => {
const userDataPath = app.getPath('userData');
shell.openPath(userDataPath);
});
}
+4
View File
@@ -18,6 +18,10 @@ if (process.env.NODE_ENV === 'development') {
};
}
export const disableAutoUpdates = () => {
return process.env['DISABLE_AUTO_UPDATES'];
};
export const isMacOS = () => {
return process.platform === 'darwin';
};
+1
View File
@@ -6,6 +6,7 @@ declare global {
interface Window {
api: PreloadApi;
electron: ElectronAPI;
LEGACY_AUTHENTICATION?: boolean;
queryLocalFonts?: () => Promise<Font[]>;
SERVER_LOCK?: boolean;
SERVER_NAME?: string;
+12 -12
View File
@@ -1,24 +1,16 @@
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,
) => {
if (value === undefined) {
store.delete(property);
return;
}
store.set(`${property}`, value);
ipcRenderer.send('settings-set', { property, value });
};
const get = (property: string) => {
return store.get(`${property}`);
const get = async (property: string) => {
return ipcRenderer.invoke('settings-get', { property });
};
const restart = () => {
@@ -78,14 +70,22 @@ 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: store.get('maximized'),
START_MAXIMIZED: undefined as boolean | undefined,
};
get('maximized').then((value) => {
env.START_MAXIMIZED = value as boolean | undefined;
});
export const localSettings = {
disableMediaKeys,
enableMediaKeys,
+7 -2
View File
@@ -27,8 +27,8 @@ const updateShuffle = (shuffle: boolean) => {
ipcRenderer.send('update-shuffle', shuffle);
};
const updateSong = (song: QueueSong | undefined) => {
ipcRenderer.send('update-song', song);
const updateSong = (song: QueueSong | undefined, imageUrl?: null | string) => {
ipcRenderer.send('update-song', song, imageUrl);
};
const requestSeek = (cb: (event: IpcRendererEvent, data: { offset: number }) => void) => {
@@ -51,11 +51,16 @@ 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,
+5
View File
@@ -98,6 +98,10 @@ 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);
};
@@ -174,6 +178,7 @@ export const mpvPlayer = {
autoNext,
cleanup,
currentTime,
getAudioDevices,
getCurrentTime,
getMetadata,
getStreamMetadata,
+2 -2
View File
@@ -73,8 +73,8 @@ const updateShuffle = (shuffle: boolean) => {
ipcRenderer.send('update-shuffle', shuffle);
};
const updateSong = (args: QueueSong | undefined) => {
ipcRenderer.send('update-song', args);
const updateSong = (song: QueueSong | undefined, imageUrl?: null | string) => {
ipcRenderer.send('update-song', song, imageUrl);
};
const updateUsername = (username: string) => {
+27 -2
View File
@@ -1,11 +1,15 @@
import { ipcRenderer, IpcRendererEvent } from 'electron';
import { ipcRenderer, IpcRendererEvent, webFrame } from 'electron';
import { isLinux, isMacOS, isWindows } from '../main/utils';
import { disableAutoUpdates, isLinux, isMacOS, isWindows } from '../main/utils';
const openItem = async (path: string) => {
return ipcRenderer.invoke('open-item', path);
};
const openApplicationDirectory = async () => {
return ipcRenderer.invoke('open-application-directory');
};
const playerErrorListener = (cb: (event: IpcRendererEvent, data: { code: number }) => void) => {
ipcRenderer.on('player-error-listener', cb);
};
@@ -35,13 +39,34 @@ 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,
logger,
mainMessageListener,
openApplicationDirectory,
openItem,
playerErrorListener,
};
+178 -95
View File
@@ -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 } from '/@/renderer/store';
import { getServerById, useAuthStore, useSettingsStore } from '/@/renderer/store';
import { toast } from '/@/shared/components/toast/toast';
import {
AuthenticationResponse,
@@ -60,6 +60,22 @@ 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,
@@ -81,7 +97,7 @@ export const controller: GeneralController = {
return apiController(
'addToPlaylist',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
authenticate(url, body, type) {
return apiController('authenticate', type)(url, body);
@@ -98,7 +114,7 @@ export const controller: GeneralController = {
return apiController(
'createFavorite',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
createInternetRadioStation(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -112,7 +128,7 @@ export const controller: GeneralController = {
return apiController(
'createInternetRadioStation',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
createPlaylist(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -126,7 +142,7 @@ export const controller: GeneralController = {
return apiController(
'createPlaylist',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
deleteFavorite(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -140,7 +156,7 @@ export const controller: GeneralController = {
return apiController(
'deleteFavorite',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
deleteInternetRadioStation(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -154,7 +170,7 @@ export const controller: GeneralController = {
return apiController(
'deleteInternetRadioStation',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
deletePlaylist(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -168,7 +184,7 @@ export const controller: GeneralController = {
return apiController(
'deletePlaylist',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getAlbumArtistDetail(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -182,7 +198,7 @@ export const controller: GeneralController = {
return apiController(
'getAlbumArtistDetail',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getAlbumArtistList(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -196,11 +212,13 @@ export const controller: GeneralController = {
return apiController(
'getAlbumArtistList',
server.type,
)?.({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
});
)?.(
addContext({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
}),
);
},
getAlbumArtistListCount(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -214,11 +232,13 @@ export const controller: GeneralController = {
return apiController(
'getAlbumArtistListCount',
server.type,
)?.({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
});
)?.(
addContext({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
}),
);
},
getAlbumDetail(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -232,7 +252,7 @@ export const controller: GeneralController = {
return apiController(
'getAlbumDetail',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getAlbumInfo(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -246,7 +266,7 @@ export const controller: GeneralController = {
return apiController(
'getAlbumInfo',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getAlbumList(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -260,11 +280,13 @@ export const controller: GeneralController = {
return apiController(
'getAlbumList',
server.type,
)?.({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
});
)?.(
addContext({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
}),
);
},
getAlbumListCount(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -278,11 +300,13 @@ export const controller: GeneralController = {
return apiController(
'getAlbumListCount',
server.type,
)?.({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
});
)?.(
addContext({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
}),
);
},
getArtistList(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -296,11 +320,13 @@ export const controller: GeneralController = {
return apiController(
'getArtistList',
server.type,
)?.({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
});
)?.(
addContext({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
}),
);
},
getArtistListCount(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -314,11 +340,27 @@ export const controller: GeneralController = {
return apiController(
'getArtistListCount',
server.type,
)?.({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
});
)?.(
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 } }));
},
getDownloadUrl(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -332,7 +374,7 @@ export const controller: GeneralController = {
return apiController(
'getDownloadUrl',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getFolder(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -346,11 +388,13 @@ export const controller: GeneralController = {
return apiController(
'getFolder',
server.type,
)?.({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
});
)?.(
addContext({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
}),
);
},
getGenreList(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -364,11 +408,32 @@ export const controller: GeneralController = {
return apiController(
'getGenreList',
server.type,
)?.({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
});
)?.(
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
);
},
getInternetRadioStations(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -381,7 +446,7 @@ export const controller: GeneralController = {
return apiController(
'getInternetRadioStations',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getLyrics(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -395,7 +460,7 @@ export const controller: GeneralController = {
return apiController(
'getLyrics',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getMusicFolderList(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -409,7 +474,7 @@ export const controller: GeneralController = {
return apiController(
'getMusicFolderList',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getPlaylistDetail(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -423,7 +488,7 @@ export const controller: GeneralController = {
return apiController(
'getPlaylistDetail',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getPlaylistList(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -437,7 +502,7 @@ export const controller: GeneralController = {
return apiController(
'getPlaylistList',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getPlaylistListCount(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -451,7 +516,7 @@ export const controller: GeneralController = {
return apiController(
'getPlaylistListCount',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getPlaylistSongList(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -465,7 +530,7 @@ export const controller: GeneralController = {
return apiController(
'getPlaylistSongList',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getPlayQueue(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -479,7 +544,7 @@ export const controller: GeneralController = {
return apiController(
'getPlayQueue',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getRandomSongList(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -493,7 +558,13 @@ export const controller: GeneralController = {
return apiController(
'getRandomSongList',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(
addContext({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
}),
);
},
getRoles(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -507,7 +578,7 @@ export const controller: GeneralController = {
return apiController(
'getRoles',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getServerInfo(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -521,7 +592,7 @@ export const controller: GeneralController = {
return apiController(
'getServerInfo',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getSimilarSongs(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -535,7 +606,13 @@ export const controller: GeneralController = {
return apiController(
'getSimilarSongs',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(
addContext({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
}),
);
},
getSongDetail(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -549,7 +626,7 @@ export const controller: GeneralController = {
return apiController(
'getSongDetail',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getSongList(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -563,11 +640,13 @@ export const controller: GeneralController = {
return apiController(
'getSongList',
server.type,
)?.({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
});
)?.(
addContext({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
}),
);
},
getSongListCount(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -581,11 +660,13 @@ export const controller: GeneralController = {
return apiController(
'getSongListCount',
server.type,
)?.({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
});
)?.(
addContext({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
}),
);
},
getStreamUrl(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -597,7 +678,7 @@ export const controller: GeneralController = {
return apiController(
'getStreamUrl',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getStructuredLyrics(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -611,7 +692,7 @@ export const controller: GeneralController = {
return apiController(
'getStructuredLyrics',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getTagList(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -625,7 +706,7 @@ export const controller: GeneralController = {
return apiController(
'getTagList',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getTopSongs(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -639,7 +720,7 @@ export const controller: GeneralController = {
return apiController(
'getTopSongs',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getUserInfo(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -653,7 +734,7 @@ export const controller: GeneralController = {
return apiController(
'getUserInfo',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
getUserList(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -667,7 +748,7 @@ export const controller: GeneralController = {
return apiController(
'getUserList',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
movePlaylistItem(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -681,7 +762,7 @@ export const controller: GeneralController = {
return apiController(
'movePlaylistItem',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
removeFromPlaylist(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -695,7 +776,7 @@ export const controller: GeneralController = {
return apiController(
'removeFromPlaylist',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
replacePlaylist(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -709,7 +790,7 @@ export const controller: GeneralController = {
return apiController(
'replacePlaylist',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
savePlayQueue(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -723,7 +804,7 @@ export const controller: GeneralController = {
return apiController(
'savePlayQueue',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
scrobble(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -737,7 +818,7 @@ export const controller: GeneralController = {
return apiController(
'scrobble',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
search(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -751,11 +832,13 @@ export const controller: GeneralController = {
return apiController(
'search',
server.type,
)?.({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
});
)?.(
addContext({
...args,
apiClientProps: { ...args.apiClientProps, server },
query: mergeMusicFolderId(args.query, server),
}),
);
},
setRating(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -769,7 +852,7 @@ export const controller: GeneralController = {
return apiController(
'setRating',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
shareItem(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -783,7 +866,7 @@ export const controller: GeneralController = {
return apiController(
'shareItem',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
updateInternetRadioStation(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -797,7 +880,7 @@ export const controller: GeneralController = {
return apiController(
'updateInternetRadioStation',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
updatePlaylist(args) {
const server = getServerById(args.apiClientProps.serverId);
@@ -811,6 +894,6 @@ export const controller: GeneralController = {
return apiController(
'updatePlaylist',
server.type,
)?.({ ...args, apiClientProps: { ...args.apiClientProps, server } });
)?.(addContext({ ...args, apiClientProps: { ...args.apiClientProps, server } }));
},
};
+12 -1
View File
@@ -9,6 +9,7 @@ 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';
@@ -247,6 +248,15 @@ 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',
@@ -408,7 +418,8 @@ export const jfApiClient = (args: {
const { params, path: api } = parsePath(path);
if (server) {
baseUrl = `${server?.url}`;
const serverUrl = getServerUrl(server);
baseUrl = serverUrl;
token = server?.credential;
} else {
baseUrl = url;
+179 -41
View File
@@ -6,6 +6,7 @@ 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';
@@ -24,6 +25,7 @@ import {
songListSortMap,
SortOrder,
sortOrderMap,
Tag,
} from '/@/shared/types/domain-types';
import { ServerFeature } from '/@/shared/types/features-types';
@@ -217,24 +219,25 @@ export const JellyfinController: InternalControllerEndpoint = {
throw new Error('No userId found');
}
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,
},
});
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,
},
}),
]);
if (res.status !== 200 || similarArtistsRes.status !== 200) {
throw new Error('Failed to get album artist detail');
@@ -360,11 +363,11 @@ export const JellyfinController: InternalControllerEndpoint = {
},
query: {
...artistQuery,
Fields: 'People, Tags',
Fields: 'People, Tags, Studios',
GenreIds: query.genreIds ? query.genreIds.join(',') : undefined,
IncludeItemTypes: 'MusicAlbum',
IsFavorite: query.favorite,
Limit: query.limit,
Limit: query.limit === -1 ? undefined : query.limit,
ParentId: getLibraryId(query.musicFolderId),
Recursive: true,
SearchTerm: query.searchTerm,
@@ -426,10 +429,38 @@ 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?api_key=${apiClientProps.server?.credential}`;
return `${apiClientProps.server?.url}/items/${query.id}/download?apiKey=${apiClientProps.server?.credential}`;
},
getFolder: async ({ apiClientProps, query }) => {
const userId = apiClientProps.server?.userId;
@@ -670,6 +701,23 @@ 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;
@@ -818,7 +866,14 @@ export const JellyfinController: InternalControllerEndpoint = {
}
return {
items: res.body.Items.map((item) => jfNormalize.song(item, apiClientProps.server)),
items: res.body.Items.map((item) =>
jfNormalize.song(
item,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
),
startIndex: 0,
totalRecordCount: res.body.TotalRecordCount,
};
@@ -871,7 +926,14 @@ export const JellyfinController: InternalControllerEndpoint = {
}
return {
items: res.body.Items.map((item) => jfNormalize.song(item, apiClientProps.server)),
items: res.body.Items.map((item) =>
jfNormalize.song(
item,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
),
startIndex: 0,
totalRecordCount: res.body.Items.length || 0,
};
@@ -886,7 +948,12 @@ export const JellyfinController: InternalControllerEndpoint = {
throw new Error('Failed to get server info');
}
const features = getFeatures(VERSION_INFO, res.body.Version);
const defaultFeatures = {};
const features = {
...defaultFeatures,
...getFeatures(VERSION_INFO, res.body.Version),
};
return {
features,
@@ -916,7 +983,14 @@ 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));
acc.push(
jfNormalize.song(
song,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
);
}
return acc;
@@ -945,7 +1019,14 @@ export const JellyfinController: InternalControllerEndpoint = {
return mix.body.Items.reduce<Song[]>((acc, song) => {
if (song.Id !== query.songId) {
acc.push(jfNormalize.song(song, apiClientProps.server));
acc.push(
jfNormalize.song(
song,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
);
}
return acc;
@@ -965,7 +1046,12 @@ export const JellyfinController: InternalControllerEndpoint = {
throw new Error('Failed to get song detail');
}
return jfNormalize.song(res.body, apiClientProps.server);
return jfNormalize.song(
res.body,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
);
},
getSongList: async (args) => {
const { apiClientProps, query } = args;
@@ -1034,19 +1120,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: parentIdFilter,
ParentId: getLibraryId(query.musicFolderId),
Recursive: true,
SearchTerm: query.searchTerm,
SortBy: songListSortMap.jellyfin[query.sortBy] || 'Album,SortName',
@@ -1078,7 +1164,12 @@ export const JellyfinController: InternalControllerEndpoint = {
return {
items: items.map((item) =>
jfNormalize.song(item, apiClientProps.server, query.imageSize),
jfNormalize.song(
item,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
),
startIndex: query.startIndex,
totalRecordCount,
@@ -1093,7 +1184,7 @@ export const JellyfinController: InternalControllerEndpoint = {
const { bitrate, format, id, transcode } = query;
const deviceId = '';
let url = `${server?.url}/Items/${id}/Download?api_key=${server?.credential}&playSessionId=${deviceId}`;
let url = `${server?.url}/Items/${id}/Download?apiKey=${server?.credential}&playSessionId=${deviceId}`;
if (transcode) {
// Some format appears to be required. Fall back to trusty MP3 if not specified
@@ -1143,12 +1234,40 @@ export const JellyfinController: InternalControllerEndpoint = {
throw new Error('failed to get tags');
}
return {
boolTags: res.body.Tags?.sort((a, b) =>
a.toLocaleLowerCase().localeCompare(b.toLocaleLowerCase()),
),
excluded: { album: [], song: [] },
};
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 };
},
getTopSongs: async (args) => {
const { apiClientProps, query } = args;
@@ -1178,7 +1297,14 @@ export const JellyfinController: InternalControllerEndpoint = {
}
return {
items: res.body.Items.map((item) => jfNormalize.song(item, apiClientProps.server)),
items: res.body.Items.map((item) =>
jfNormalize.song(
item,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
),
startIndex: 0,
totalRecordCount: res.body.TotalRecordCount,
};
@@ -1263,7 +1389,12 @@ export const JellyfinController: InternalControllerEndpoint = {
}
const existingSongs = existingSongsRes.body.Items.map((item) =>
jfNormalize.song(item, apiClientProps.server),
jfNormalize.song(
item,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
);
// 2. Get playlist detail to get the name
@@ -1503,7 +1634,14 @@ 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)),
songs: songs.map((item) =>
jfNormalize.song(
item,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
),
};
},
updateInternetRadioStation: async (args) => {
+3 -1
View File
@@ -8,6 +8,7 @@ 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';
@@ -411,7 +412,8 @@ export const ndApiClient = (args: {
const { params, path: api } = parsePath(path);
if (server) {
baseUrl = `${server?.url}/api`;
const serverUrl = getServerUrl(server);
baseUrl = serverUrl ? `${serverUrl}/api` : undefined;
token = server?.ndCredential;
} else {
baseUrl = url;
@@ -59,19 +59,17 @@ 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>([]);
const EXCLUDED_SONG_TAGS = new Set<string>(['disctotal', 'tracktotal']);
// Tags that use IDs as values as opposed to the tag value
const ID_TAGS = new Set<string>(['albumversion', 'mood']);
@@ -184,18 +182,19 @@ export const NavidromeController: InternalControllerEndpoint = {
getAlbumArtistDetail: async (args) => {
const { apiClientProps, query } = args;
const res = await ndApiClient(apiClientProps).getAlbumArtistDetail({
params: {
id: query.id,
},
});
const artistInfoRes = await ssApiClient(apiClientProps).getArtistInfo({
query: {
count: 10,
id: query.id,
},
});
const [res, artistInfoRes] = await Promise.all([
ndApiClient(apiClientProps).getAlbumArtistDetail({
params: {
id: query.id,
},
}),
ssApiClient(apiClientProps).getArtistInfo({
query: {
count: 10,
id: query.id,
},
}),
]);
if (res.status !== 200) {
throw new Error('Failed to get album artist detail');
@@ -267,7 +266,7 @@ export const NavidromeController: InternalControllerEndpoint = {
query: { ...query, limit: 1, startIndex: 0 },
}).then((result) => result!.totalRecordCount!),
getAlbumDetail: async (args) => {
const { apiClientProps, query } = args;
const { apiClientProps, context, query } = args;
const albumRes = await ndApiClient(apiClientProps).getAlbumDetail({
params: {
@@ -293,6 +292,8 @@ export const NavidromeController: InternalControllerEndpoint = {
return ndNormalize.album(
{ ...albumRes.body.data, songs: songsData.body.data },
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
);
},
getAlbumInfo: async (args) => {
@@ -316,19 +317,23 @@ export const NavidromeController: InternalControllerEndpoint = {
};
},
getAlbumList: async (args) => {
const { apiClientProps, query } = args;
const { apiClientProps, context, 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: query.artistIds?.[0],
artist_id: artistIds,
compilation: query.compilation,
genre_id: genres,
has_rating: query.hasRating,
@@ -347,7 +352,14 @@ export const NavidromeController: InternalControllerEndpoint = {
}
return {
items: res.body.data.map((album) => ndNormalize.album(album, apiClientProps.server)),
items: res.body.data.map((album) =>
ndNormalize.album(
album,
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
),
),
startIndex: query?.startIndex || 0,
totalRecordCount: Number(res.body.headers.get('x-total-count') || 0),
};
@@ -401,6 +413,32 @@ 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) => {
@@ -461,6 +499,7 @@ 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,
@@ -528,7 +567,14 @@ export const NavidromeController: InternalControllerEndpoint = {
}
return {
items: res.body.data.map((item) => ndNormalize.song(item, apiClientProps.server)),
items: res.body.data.map((item) =>
ndNormalize.song(
item,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
),
startIndex: 0,
totalRecordCount: Number(res.body.headers.get('x-total-count') || 0),
};
@@ -545,7 +591,14 @@ export const NavidromeController: InternalControllerEndpoint = {
const { changedBy, current, items, position, updatedAt } = res.body.data;
const entries = items.map((song) => ndNormalize.song(song, apiClientProps.server));
const entries = items.map((song) =>
ndNormalize.song(
song,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
);
return {
changed: updatedAt,
@@ -636,7 +689,12 @@ export const NavidromeController: InternalControllerEndpoint = {
throw new Error('Failed to get song detail');
}
return ndNormalize.song(res.body.data, apiClientProps.server);
return ndNormalize.song(
res.body.data,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
);
},
getSongList: async (args) => {
const { apiClientProps, query } = args;
@@ -665,7 +723,12 @@ export const NavidromeController: InternalControllerEndpoint = {
return {
items: res.body.data.map((song) =>
ndNormalize.song(song, apiClientProps.server, query.imageSize),
ndNormalize.song(
song,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
),
startIndex: query?.startIndex || 0,
totalRecordCount: Number(res.body.headers.get('x-total-count') || 0),
@@ -682,7 +745,7 @@ export const NavidromeController: InternalControllerEndpoint = {
const { apiClientProps } = args;
if (!hasFeature(apiClientProps.server, ServerFeature.TAGS)) {
return { boolTags: undefined, enumTags: undefined, excluded: { album: [], song: [] } };
return { excluded: { album: [], song: [] } };
}
const res = await ndApiClient(apiClientProps).getTagList({
@@ -713,12 +776,16 @@ export const NavidromeController: InternalControllerEndpoint = {
}
}
const enumTags = Array.from(tagsToValues)
const tags = Array.from(tagsToValues)
.map((data) => ({
name: data[0],
options: data[1]
.sort((a, b) =>
a.name.toLocaleLowerCase().localeCompare(b.name.toLocaleLowerCase()),
a.name
.toLocaleLowerCase()
.localeCompare(b.name.toLocaleLowerCase(), undefined, {
numeric: true,
}),
)
.map((option) => ({ id: option.id, name: option.name })),
}))
@@ -728,12 +795,11 @@ 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,
@@ -817,7 +883,12 @@ export const NavidromeController: InternalControllerEndpoint = {
}
const existingSongs = existingSongsRes.body.data.map((item) =>
ndNormalize.song(item, apiClientProps.server),
ndNormalize.song(
item,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
);
// 2. Get playlist detail to get the name
+25
View File
@@ -4,6 +4,7 @@ import type {
AlbumDetailQuery,
AlbumListQuery,
ArtistListQuery,
ArtistRadioQuery,
FolderQuery,
GenreListQuery,
LyricSearchQuery,
@@ -340,6 +341,10 @@ 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) {
@@ -359,6 +364,18 @@ 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) {
@@ -386,7 +403,15 @@ 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;
+11 -1
View File
@@ -5,6 +5,7 @@ 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';
@@ -201,6 +202,14 @@ 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',
@@ -390,7 +399,8 @@ export const ssApiClient = (args: {
const { params, path: api } = parsePath(path);
if (server) {
baseUrl = `${server.url}/rest`;
const serverUrl = getServerUrl(server);
baseUrl = serverUrl ? `${serverUrl}/rest` : undefined;
const token = server.credential;
const params = token.split(/&?\w=/gm);
+333 -60
View File
@@ -9,6 +9,7 @@ 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,
@@ -155,7 +156,10 @@ 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.id : undefined,
artistId:
query.type === LibraryItem.ALBUM_ARTIST || query.type === LibraryItem.ARTIST
? query.id
: undefined,
id: query.type === LibraryItem.SONG ? query.id : undefined,
},
});
@@ -205,7 +209,10 @@ 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.id : undefined,
artistId:
query.type === LibraryItem.ALBUM_ARTIST || query.type === LibraryItem.ARTIST
? query.id
: undefined,
id: query.type === LibraryItem.SONG ? query.id : undefined,
},
});
@@ -249,17 +256,18 @@ export const SubsonicController: InternalControllerEndpoint = {
getAlbumArtistDetail: async (args) => {
const { apiClientProps, query } = args;
const artistInfoRes = await ssApiClient(apiClientProps).getArtistInfo({
query: {
id: query.id,
},
});
const res = await ssApiClient(apiClientProps).getArtist({
query: {
id: query.id,
},
});
const [artistInfoRes, res] = await Promise.all([
ssApiClient(apiClientProps).getArtistInfo({
query: {
id: query.id,
},
}),
ssApiClient(apiClientProps).getArtist({
query: {
id: query.id,
},
}),
]);
if (res.status !== 200) {
throw new Error('Failed to get album artist detail');
@@ -273,11 +281,18 @@ export const SubsonicController: InternalControllerEndpoint = {
}
return {
...ssNormalize.albumArtist(artist, apiClientProps.server, 300),
albums: artist.album?.map((album) => ssNormalize.album(album, apiClientProps.server)),
...ssNormalize.albumArtist(artist, apiClientProps.server),
albums: artist.album?.map((album) =>
ssNormalize.album(
album,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
),
similarArtists:
artistInfo?.similarArtist?.map((artist) =>
ssNormalize.albumArtist(artist, apiClientProps.server, 300),
ssNormalize.albumArtist(artist, apiClientProps.server),
) || null,
};
},
@@ -297,7 +312,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, 300),
ssNormalize.albumArtist(artist, apiClientProps.server),
);
if (query.searchTerm) {
@@ -308,19 +323,18 @@ export const SubsonicController: InternalControllerEndpoint = {
results = searchResults;
}
if (query.sortBy) {
results = sortAlbumArtistList(results, query.sortBy, query.sortOrder);
}
return {
items: results,
return sortAndPaginate(results, {
limit: query.limit,
sortBy: query.sortBy,
sortFn: query.sortBy ? sortAlbumArtistList : undefined,
sortOrder: query.sortOrder,
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) => {
@@ -336,7 +350,12 @@ export const SubsonicController: InternalControllerEndpoint = {
throw new Error('Failed to get album detail');
}
return ssNormalize.album(res.body.album, apiClientProps.server);
return ssNormalize.album(
res.body.album,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
);
},
getAlbumList: async (args) => {
const { apiClientProps, query } = args;
@@ -348,6 +367,7 @@ export const SubsonicController: InternalControllerEndpoint = {
albumOffset: query.startIndex,
artistCount: 0,
artistOffset: 0,
musicFolderId: getLibraryId(query.musicFolderId),
query: query.searchTerm || '',
songCount: 0,
songOffset: 0,
@@ -360,7 +380,12 @@ export const SubsonicController: InternalControllerEndpoint = {
const results =
res.body.searchResult3?.album?.map((album) =>
ssNormalize.album(album, apiClientProps.server),
ssNormalize.album(
album,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
) || [];
return {
@@ -395,7 +420,14 @@ export const SubsonicController: InternalControllerEndpoint = {
return artist.body.artist.album ?? [];
});
const items = albums.map((album) => ssNormalize.album(album, apiClientProps.server));
const items = albums.map((album) =>
ssNormalize.album(
album,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
);
return {
items: sortAlbumList(items, query.sortBy, query.sortOrder),
@@ -417,7 +449,12 @@ export const SubsonicController: InternalControllerEndpoint = {
const allResults =
res.body.starred?.album?.map((album) =>
ssNormalize.album(album, apiClientProps.server),
ssNormalize.album(
album,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
) || [];
return sortAndPaginate(allResults, {
@@ -482,7 +519,12 @@ export const SubsonicController: InternalControllerEndpoint = {
return {
items:
res.body.albumList2.album?.map((album) =>
ssNormalize.album(album, apiClientProps.server, 300),
ssNormalize.album(
album,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
) || [],
startIndex: query.startIndex,
totalRecordCount: null,
@@ -503,6 +545,7 @@ export const SubsonicController: InternalControllerEndpoint = {
albumOffset: startIndex,
artistCount: 0,
artistOffset: 0,
musicFolderId: getLibraryId(query.musicFolderId),
query: query.searchTerm || '',
songCount: 0,
songOffset: 0,
@@ -652,7 +695,7 @@ export const SubsonicController: InternalControllerEndpoint = {
}
let results = artists.map((artist) =>
ssNormalize.albumArtist(artist, apiClientProps.server, 300),
ssNormalize.albumArtist(artist, apiClientProps.server),
);
if (query.searchTerm) {
@@ -674,8 +717,36 @@ 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;
@@ -687,7 +758,7 @@ export const SubsonicController: InternalControllerEndpoint = {
'&c=Feishin'
);
},
getFolder: async ({ apiClientProps, query }) => {
getFolder: async ({ apiClientProps, context, query }) => {
const sortOrder = (query.sortOrder?.toLowerCase() ?? 'asc') as 'asc' | 'desc';
const isRootFolderId = /^\d+$/.test(query.id);
@@ -719,7 +790,14 @@ export const SubsonicController: InternalControllerEndpoint = {
});
}
let folders = items.map((item) => ssNormalize.folder(item, apiClientProps.server));
let folders = items.map((item) =>
ssNormalize.folder(
item,
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
),
);
folders = orderBy(folders, [(v) => v.name.toLowerCase()], [sortOrder]);
@@ -747,7 +825,12 @@ export const SubsonicController: InternalControllerEndpoint = {
throw new Error('Failed to get folder');
}
const folder = ssNormalize.folder(directoryRes.body.directory, apiClientProps.server);
const folder = ssNormalize.folder(
directoryRes.body.directory,
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
);
let filteredFolders = folder.children?.folders || [];
let filteredSongs = folder.children?.songs || [];
@@ -821,6 +904,29 @@ 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;
@@ -852,6 +958,7 @@ export const SubsonicController: InternalControllerEndpoint = {
totalRecordCount: res.body.musicFolders.musicFolder.length,
};
},
getPlaylistDetail: async (args) => {
const { apiClientProps, query } = args;
@@ -867,7 +974,6 @@ export const SubsonicController: InternalControllerEndpoint = {
return ssNormalize.playlist(res.body.playlist, apiClientProps.server);
},
getPlaylistList: async ({ apiClientProps, query }) => {
const sortOrder = query.sortOrder.toLowerCase() as 'asc' | 'desc';
@@ -938,7 +1044,7 @@ export const SubsonicController: InternalControllerEndpoint = {
return results.length;
},
getPlaylistSongList: async ({ apiClientProps, query }) => {
getPlaylistSongList: async ({ apiClientProps, context, query }) => {
const res = await ssApiClient(apiClientProps).getPlaylist({
query: {
id: query.id,
@@ -950,8 +1056,15 @@ export const SubsonicController: InternalControllerEndpoint = {
}
const items =
res.body.playlist.entry?.map((song) => ssNormalize.song(song, apiClientProps.server)) ||
[];
res.body.playlist.entry?.map((song, index) =>
ssNormalize.song(
song,
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
index,
),
) || [];
return {
items,
@@ -959,7 +1072,7 @@ export const SubsonicController: InternalControllerEndpoint = {
totalRecordCount: items.length,
};
},
getPlayQueue: async ({ apiClientProps }) => {
getPlayQueue: async ({ apiClientProps, context }) => {
if (hasFeature(apiClientProps.server, ServerFeature.SERVER_PLAY_QUEUE)) {
const res = await ssApiClient(apiClientProps).getPlayQueueByIndex();
@@ -974,7 +1087,15 @@ export const SubsonicController: InternalControllerEndpoint = {
changed,
changedBy,
currentIndex: currentIndex ?? 0,
entry: entry?.map((song) => ssNormalize.song(song, apiClientProps.server)) || [],
entry:
entry?.map((song) =>
ssNormalize.song(
song,
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
),
) || [],
positionMs: position ?? 0,
username,
};
@@ -991,14 +1112,22 @@ export const SubsonicController: InternalControllerEndpoint = {
changed,
changedBy,
currentIndex: current ? entry.findIndex((item) => item.id === current) : 0,
entry: entry?.map((song) => ssNormalize.song(song, apiClientProps.server)) || [],
entry:
entry?.map((song) =>
ssNormalize.song(
song,
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
),
) || [],
positionMs: position ?? 0,
username,
};
}
},
getRandomSongList: async (args) => {
const { apiClientProps, query } = args;
const { apiClientProps, context, query } = args;
const res = await ssApiClient(apiClientProps).getRandomSongList({
query: {
@@ -1016,7 +1145,12 @@ export const SubsonicController: InternalControllerEndpoint = {
const results = res.body.randomSongs?.song || [];
const normalizedResults = results.map((song) =>
ssNormalize.song(song, apiClientProps.server),
ssNormalize.song(
song,
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
),
);
return {
@@ -1094,7 +1228,7 @@ export const SubsonicController: InternalControllerEndpoint = {
return { features, id: apiClientProps.server?.id, version: ping.body.serverVersion };
},
getSimilarSongs: async (args) => {
const { apiClientProps, query } = args;
const { apiClientProps, context, query } = args;
const res = await ssApiClient(apiClientProps).getSimilarSongs({
query: {
@@ -1113,14 +1247,21 @@ 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));
acc.push(
ssNormalize.song(
song,
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
),
);
}
return acc;
}, []);
},
getSongDetail: async (args) => {
const { apiClientProps, query } = args;
const { apiClientProps, context, query } = args;
const res = await ssApiClient(apiClientProps).getSong({
query: {
@@ -1132,9 +1273,14 @@ export const SubsonicController: InternalControllerEndpoint = {
throw new Error('Failed to get song detail');
}
return ssNormalize.song(res.body.song, apiClientProps.server);
return ssNormalize.song(
res.body.song,
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
);
},
getSongList: async ({ apiClientProps, query }) => {
getSongList: async ({ apiClientProps, context, query }) => {
const fromAlbumPromises: Promise<ServerInferResponses<typeof contract.getAlbum>>[] = [];
const artistDetailPromises: Promise<ServerInferResponses<typeof contract.getArtist>>[] = [];
@@ -1145,6 +1291,7 @@ export const SubsonicController: InternalControllerEndpoint = {
albumOffset: 0,
artistCount: 0,
artistOffset: 0,
musicFolderId: getLibraryId(query.musicFolderId),
query: query.searchTerm || '',
songCount: query.limit,
songOffset: query.startIndex,
@@ -1158,7 +1305,12 @@ export const SubsonicController: InternalControllerEndpoint = {
return {
items:
res.body.searchResult3?.song?.map((song) =>
ssNormalize.song(song, apiClientProps.server),
ssNormalize.song(
song,
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
),
) || [],
startIndex: query.startIndex,
totalRecordCount: null,
@@ -1182,7 +1334,15 @@ export const SubsonicController: InternalControllerEndpoint = {
const results = res.body.songsByGenre?.song || [];
return {
items: results.map((song) => ssNormalize.song(song, apiClientProps.server)) || [],
items:
results.map((song) =>
ssNormalize.song(
song,
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
),
) || [],
startIndex: 0,
totalRecordCount: null,
};
@@ -1201,7 +1361,12 @@ export const SubsonicController: InternalControllerEndpoint = {
const allResults =
(res.body.starred?.song || []).map((song) =>
ssNormalize.song(song, apiClientProps.server),
ssNormalize.song(
song,
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
),
) || [];
return sortAndPaginate(allResults, {
@@ -1277,7 +1442,15 @@ export const SubsonicController: InternalControllerEndpoint = {
}
return {
items: results.map((song) => ssNormalize.song(song, apiClientProps.server)) || [],
items:
results.map((song) =>
ssNormalize.song(
song,
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
),
) || [],
startIndex: 0,
totalRecordCount: results.length,
};
@@ -1289,6 +1462,7 @@ export const SubsonicController: InternalControllerEndpoint = {
albumOffset: 0,
artistCount: 0,
artistOffset: 0,
musicFolderId: getLibraryId(query.musicFolderId),
query: query.searchTerm || '',
songCount: query.limit,
songOffset: query.startIndex,
@@ -1302,7 +1476,12 @@ export const SubsonicController: InternalControllerEndpoint = {
return {
items:
res.body.searchResult3?.song?.map((song) =>
ssNormalize.song(song, apiClientProps.server),
ssNormalize.song(
song,
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
),
) || [],
startIndex: 0,
totalRecordCount: null,
@@ -1329,6 +1508,7 @@ export const SubsonicController: InternalControllerEndpoint = {
albumOffset: 0,
artistCount: 0,
artistOffset: 0,
musicFolderId: getLibraryId(query.musicFolderId),
query: query.searchTerm || '',
songCount: MAX_SUBSONIC_ITEMS,
songOffset: startIndex,
@@ -1420,6 +1600,76 @@ 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
@@ -1432,6 +1682,7 @@ export const SubsonicController: InternalControllerEndpoint = {
albumOffset: 0,
artistCount: 0,
artistOffset: 0,
musicFolderId: getLibraryId(query.musicFolderId),
query: query.searchTerm || '',
songCount: 1,
songOffset: sectionIndex,
@@ -1460,6 +1711,7 @@ export const SubsonicController: InternalControllerEndpoint = {
albumOffset: 0,
artistCount: 0,
artistOffset: 0,
musicFolderId: getLibraryId(query.musicFolderId),
query: query.searchTerm || '',
songCount: MAX_SUBSONIC_ITEMS,
songOffset: startIndex,
@@ -1538,7 +1790,7 @@ export const SubsonicController: InternalControllerEndpoint = {
});
},
getTopSongs: async (args) => {
const { apiClientProps, query } = args;
const { apiClientProps, context, query } = args;
const res = await ssApiClient(apiClientProps).getTopSongsList({
query: {
@@ -1554,7 +1806,12 @@ export const SubsonicController: InternalControllerEndpoint = {
return {
items:
res.body.topSongs?.song?.map((song) =>
ssNormalize.song(song, apiClientProps.server),
ssNormalize.song(
song,
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
),
) || [],
startIndex: 0,
totalRecordCount: res.body.topSongs?.song?.length || 0,
@@ -1594,7 +1851,7 @@ export const SubsonicController: InternalControllerEndpoint = {
return null;
},
replacePlaylist: async (args) => {
const { apiClientProps, body, query } = args;
const { apiClientProps, body, context, query } = args;
// 1. Fetch existing songs from the playlist
const existingSongsRes = await ssApiClient(apiClientProps).getPlaylist({
@@ -1609,7 +1866,12 @@ export const SubsonicController: InternalControllerEndpoint = {
const existingSongs =
existingSongsRes.body.playlist.entry?.map((song) =>
ssNormalize.song(song, apiClientProps.server),
ssNormalize.song(
song,
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
),
) || [];
// 2. Get playlist detail to get the name
@@ -1721,7 +1983,7 @@ export const SubsonicController: InternalControllerEndpoint = {
return null;
},
search: async (args) => {
const { apiClientProps, query } = args;
const { apiClientProps, context, query } = args;
const res = await ssApiClient(apiClientProps).search3({
query: {
@@ -1729,6 +1991,7 @@ 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,
@@ -1744,10 +2007,20 @@ export const SubsonicController: InternalControllerEndpoint = {
ssNormalize.albumArtist(artist, apiClientProps.server),
),
albums: (res.body.searchResult3?.album || []).map((album) =>
ssNormalize.album(album, apiClientProps.server),
ssNormalize.album(
album,
apiClientProps.server,
args.context?.pathReplace,
args.context?.pathReplaceWith,
),
),
songs: (res.body.searchResult3?.song || []).map((song) =>
ssNormalize.song(song, apiClientProps.server),
ssNormalize.song(
song,
apiClientProps.server,
context?.pathReplace,
context?.pathReplaceWith,
),
),
};
},
+68
View File
@@ -0,0 +1,68 @@
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;
};
+22 -10
View File
@@ -7,14 +7,13 @@ import '@mantine/core/styles.css';
import '@mantine/dates/styles.css';
import '@mantine/notifications/styles.css';
import isElectron from 'is-electron';
import { useEffect, useMemo, useRef, useState } from 'react';
import { lazy, Suspense, 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, useSettingsStore } from '/@/renderer/store';
import { useCssSettings, useHotkeySettings, useLanguage } from '/@/renderer/store';
import { useAppTheme } from '/@/renderer/themes/use-app-theme';
import { sanitizeCss } from '/@/renderer/utils/sanitize';
import { WebAudio } from '/@/shared/types/types';
@@ -22,11 +21,17 @@ 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 = useSettingsStore((store) => store.general.language);
const language = useLanguage();
const { content, enabled } = useCssSettings();
const { bindings } = useHotkeySettings();
@@ -72,16 +77,21 @@ export const App = () => {
}
}, [language]);
const notificationStyles = useMemo(
() => ({
root: {
marginBottom: 90,
},
}),
[],
);
return (
<MantineProvider forceColorScheme={mode} theme={theme}>
<Notifications
containerWidth="300px"
position="bottom-center"
styles={{
root: {
marginBottom: 90,
},
}}
styles={notificationStyles}
zIndex={50000}
/>
<WebAudioContext.Provider value={webAudioProvider}>
@@ -90,7 +100,9 @@ export const App = () => {
<AppRouter />
</PlayerProvider>
</WebAudioContext.Provider>
<ReleaseNotesModal />
<Suspense fallback={null}>
<ReleaseNotesModal />
</Suspense>
</MantineProvider>
);
};
@@ -3,6 +3,7 @@ import { useTranslation } from 'react-i18next';
import styles from './drag-preview.module.css';
import { useItemImageUrl } from '/@/renderer/components/item-image/item-image';
import { Icon } from '/@/shared/components/icon/icon';
import { LibraryItem } from '/@/shared/types/domain-types';
import { DragData } from '/@/shared/types/drag-and-drop';
@@ -23,22 +24,19 @@ const getItemName = (item: unknown): string => {
return 'Item';
};
const getItemImage = (item: unknown): null | string => {
if (item && typeof item === 'object') {
if ('imageUrl' in item && typeof item.imageUrl === 'string') {
return item.imageUrl;
}
}
return null;
};
export const DragPreview = memo(({ data }: DragPreviewProps) => {
const items = data.item || [];
const { t } = useTranslation();
const itemCount = items.length;
const firstItem = items[0];
const itemName = firstItem ? getItemName(firstItem) : 'Item';
const itemImage = firstItem ? getItemImage(firstItem) : null;
const itemImage = useItemImageUrl({
id: (firstItem as { imageId: string })?.imageId,
itemType: data.itemType || LibraryItem.SONG,
type: 'table',
});
const isMultiple = itemCount > 1;
return (
@@ -27,6 +27,20 @@
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);
}
@@ -53,6 +67,13 @@
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;
@@ -77,6 +98,15 @@
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%;
@@ -106,6 +136,23 @@
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;
@@ -129,6 +176,11 @@
transition: filter 0.3s ease;
}
.single-carousel-container .album-image-container {
width: 200px;
max-width: 200px;
}
.album-image-container::before {
position: absolute;
top: 0;
@@ -149,7 +201,7 @@
.album-image {
width: 100%;
height: auto;
height: 100%;
object-fit: cover;
border-radius: var(--theme-radius-md);
}
@@ -159,6 +211,12 @@
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;
@@ -177,6 +235,7 @@
}
.artist {
width: 100%;
color: white;
text-shadow: 0 0 8px rgb(0 0 0 / 50%);
}
@@ -217,6 +276,21 @@
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,11 +1,12 @@
import type { MouseEvent } from 'react';
import { AnimatePresence, motion } from 'motion/react';
import { useEffect, useMemo, useRef, useState } from '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 { PlayButtonGroup } from '/@/renderer/features/shared/components/play-button-group';
@@ -15,7 +16,6 @@ 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,9 +78,15 @@ 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: album.imageUrl || null,
src: imageUrl || null,
srcLoaded: true,
});
@@ -110,10 +116,13 @@ const CarouselItem = ({ album }: CarouselItemProps) => {
</div>
<div className={styles.imageSection}>
<Image
<ItemImage
className={styles.albumImage}
containerClassName={styles.albumImageContainer}
src={album.imageUrl || undefined}
id={album.imageId}
itemType={LibraryItem.ALBUM}
src={imageUrl}
type="itemCard"
/>
<div className={styles.playButtonOverlay}>
<PlayButtonGroup onPlay={handlePlay} />
@@ -123,7 +132,13 @@ const CarouselItem = ({ album }: CarouselItemProps) => {
<div className={styles.metadataSection}>
<Stack gap="sm">
{album.albumArtists?.[0] && (
<Text className={styles.artist} fw={500} size="md">
<Text
className={styles.artist}
fw={500}
lineClamp={1}
size="md"
ta="center"
>
{album.albumArtists[0].name}
</Text>
)}
@@ -201,28 +216,70 @@ export const FeatureCarousel = ({ data, onNearEnd }: FeatureCarouselProps) => {
}
}, [data, startIndex, itemsPerRow, onNearEnd]);
const handleNext = (e?: MouseEvent<HTMLButtonElement>) => {
e?.preventDefault();
e?.stopPropagation();
if (!data) return;
directionRef.current = { isNext: true };
setStartIndex((prev) => (prev + itemsPerRow) % data.length);
};
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 handlePrevious = (e?: MouseEvent<HTMLButtonElement>) => {
e?.preventDefault();
e?.stopPropagation();
if (!data) return;
directionRef.current = { isNext: false };
setStartIndex((prev) => (prev - itemsPerRow + data.length) % 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],
);
if (!data || data.length === 0) {
return null;
}
return (
<div className={styles.carouselContainer} ref={containerRef}>
<div className={styles.carouselContainer} onWheel={handleWheel} ref={containerRef}>
<AnimatePresence initial={false} mode="popLayout">
<motion.div
animate="animate"
@@ -0,0 +1,349 @@
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,10 +6,24 @@ 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;
@@ -18,11 +32,16 @@ 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;
}
@@ -46,23 +65,22 @@ 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 { ref, ...cq } = useContainerQuery({
'2xl': 1280,
'3xl': 1440,
lg: 960,
md: 720,
sm: 520,
xl: 1152,
xs: 360,
});
const defaultContainerQuery = useGridCarouselContainerQuery();
const containerQuery = providedContainerQuery || defaultContainerQuery;
const { ref, ...cq } = containerQuery;
const [currentPage, setCurrentPage] = useState({
isNext: false,
@@ -95,11 +113,48 @@ function BaseGridCarousel(props: GridCarouselProps) {
});
const visibleCards = useMemo(() => {
return cards.slice(
currentPage.page * cardsToShow * rowCount,
(currentPage.page + 1) * cardsToShow * rowCount,
);
}, [cards, currentPage, cardsToShow, rowCount]);
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,
]);
const shouldLoadNextPage = visibleCards.length < cardsToShow * rowCount;
@@ -155,45 +210,65 @@ function BaseGridCarousel(props: GridCarouselProps) {
{cq.isCalculated && (
<>
<div className={styles.navigation}>
<Group gap="xs" justify="space-between" w="100%">
<Group gap="xs">
{typeof title === 'string' ? (
{typeof title === 'string' ? (
<Group gap="xs" justify="space-between" w="100%">
<Group gap="xs">
<TextTitle fw={700} isNoSelect order={3}>
{title}
</TextTitle>
) : (
title
)}
{onRefresh && (
{enableRefresh && onRefresh && (
<ActionIcon
icon="refresh"
iconProps={{ size: 'xs' }}
onClick={onRefresh}
size="xs"
tooltip={{ label: 'Refresh' }}
variant="transparent"
/>
)}
</Group>
<Group gap="xs" justify="end">
<ActionIcon
icon="refresh"
iconProps={{ size: 'md' }}
onClick={onRefresh}
disabled={isPrevDisabled}
icon="arrowLeftS"
iconProps={{ size: 'lg' }}
onClick={handlePrevPage}
size="xs"
tooltip={{ label: 'Refresh' }}
variant="transparent"
variant="subtle"
/>
)}
<ActionIcon
disabled={isNextDisabled}
icon="arrowRightS"
iconProps={{ size: 'lg' }}
onClick={handleNextPage}
size="xs"
variant="subtle"
/>
</Group>
</Group>
<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 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>
)}
</div>
<AnimatePresence custom={currentPage} initial={false} mode="wait">
<motion.div
@@ -227,6 +302,74 @@ 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,6 +14,19 @@
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,6 +32,7 @@ interface ItemCardControlsProps {
internalState?: ItemListStateActions;
item: Album | AlbumArtist | Artist | Playlist | Song | undefined;
itemType: LibraryItem;
showRating: boolean;
type?: 'compact' | 'default' | 'poster';
}
@@ -72,6 +73,29 @@ 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,
@@ -180,6 +204,7 @@ export const ItemCardControls = ({
internalState,
item,
itemType,
showRating,
type = 'default',
}: ItemCardControlsProps) => {
const playNowHandler = useMemo(
@@ -267,6 +292,7 @@ export const ItemCardControls = ({
<FavoriteButton isFavorite={isFavorite} onClick={favoriteHandler} />
)}
{controls?.onRating &&
showRating &&
(item?._serverType === ServerType.NAVIDROME ||
item?._serverType === ServerType.SUBSONIC) && (
<RatingButton
@@ -3,6 +3,7 @@
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
padding: var(--theme-spacing-md);
overflow: hidden;
user-select: none;
@@ -177,10 +178,10 @@
position: absolute;
bottom: 0;
left: 0;
gap: 0;
width: 100%;
padding: var(--theme-spacing-xs);
text-shadow: 0 1px 2px rgb(0 0 0 / 80%);
background-color: rgb(0 0 0 / 50%);
background-color: alpha(var(--theme-colors-background), 0.5);
backdrop-filter: blur(2px);
transform: translateY(0);
transition:
+282 -124
View File
@@ -1,12 +1,13 @@
import clsx from 'clsx';
import formatDuration from 'format-duration';
import { AnimatePresence } from 'motion/react';
import { Fragment, memo, ReactNode, useState } from 'react';
import { Fragment, memo, ReactNode, useCallback, useMemo, 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 {
@@ -15,10 +16,20 @@ 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 { formatDateAbsolute, formatDateRelative, formatRating } from '/@/renderer/utils/format';
import { Image } from '/@/shared/components/image/image';
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 { Separator } from '/@/shared/components/separator/separator';
import { Skeleton } from '/@/shared/components/skeleton/skeleton';
import { Text } from '/@/shared/components/text/text';
@@ -67,13 +78,14 @@ export const ItemCard = ({
type = 'poster',
withControls,
}: ItemCardProps) => {
const showRatings = useShowRatings();
const imageUrl = getImageUrl(data);
const rows = providedRows || [];
switch (type) {
case 'compact':
return (
<CompactItemCard
<MemoizedCompactItemCard
controls={controls}
data={data}
enableDrag={enableDrag}
@@ -84,12 +96,13 @@ export const ItemCard = ({
isRound={isRound}
itemType={itemType}
rows={rows}
showRating={showRatings}
withControls={withControls}
/>
);
case 'poster':
return (
<PosterItemCard
<MemoizedPosterItemCard
controls={controls}
data={data}
enableDrag={enableDrag}
@@ -100,13 +113,14 @@ export const ItemCard = ({
isRound={isRound}
itemType={itemType}
rows={rows}
showRating={showRatings}
withControls={withControls}
/>
);
case 'default':
default:
return (
<DefaultItemCard
<MemoizedDefaultItemCard
controls={controls}
data={data}
enableDrag={enableDrag}
@@ -117,6 +131,7 @@ export const ItemCard = ({
isRound={isRound}
itemType={itemType}
rows={rows}
showRating={showRatings}
withControls={withControls}
/>
);
@@ -130,18 +145,20 @@ 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);
@@ -151,6 +168,71 @@ 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) {
@@ -239,7 +321,7 @@ const CompactItemCard = ({
typeof (data as { userRating: null | number }).userRating === 'number'
? (data as { userRating: null | number }).userRating
: null;
const hasRating = userRating !== null && userRating > 0;
const hasRating = showRating && userRating !== null && userRating > 0;
const imageContainerClassName = clsx(styles.imageContainer, {
[styles.isRound]: isRound,
@@ -247,21 +329,26 @@ const CompactItemCard = ({
const imageContainerContent = (
<>
<Image
<ItemImage
className={clsx(styles.image, {
[styles.isRound]: isRound,
})}
src={imageUrl}
id={data?.imageId}
itemType={itemType}
src={(data as Album | AlbumArtist | Playlist | Song)?.imageUrl}
type="itemCard"
/>
{isFavorite && <div className={styles.favoriteBadge} />}
{hasRating && <div className={styles.ratingBadge}>{userRating}</div>}
<AnimatePresence>
{withControls && showControls && (
{withControls && showControls && data && (
<ItemCardControls
controls={controls}
enableExpansion={enableExpansion}
internalState={internalState}
item={data}
itemType={itemType}
showRating={showRating}
type="compact"
/>
)}
@@ -288,8 +375,10 @@ const CompactItemCard = ({
return (
<div
className={clsx(styles.container, styles.compact, {
[styles.dragging]: isDragging,
[styles.selected]: isSelected,
})}
ref={ref}
>
{enableNavigation && navigationPath && !internalState ? (
<Link
@@ -331,14 +420,15 @@ const CompactItemCard = ({
row !== null && row !== undefined,
)
.map((row, index) => (
<div
<Text
className={clsx(styles.row, {
[styles.muted]: index > 0,
})}
key={row.id}
size={index > 0 ? 'sm' : 'md'}
>
&nbsp;
</div>
</Text>
))}
</div>
</div>
@@ -351,11 +441,11 @@ const DefaultItemCard = ({
data,
enableExpansion,
enableNavigation,
imageUrl,
internalState,
isRound,
itemType,
rows,
showRating,
withControls,
}: ItemCardDerivativeProps) => {
const [showControls, setShowControls] = useState(false);
@@ -457,13 +547,16 @@ const DefaultItemCard = ({
typeof (data as { userRating: null | number }).userRating === 'number'
? (data as { userRating: null | number }).userRating
: null;
const hasRating = userRating !== null && userRating > 0;
const hasRating = showRating && userRating !== null && userRating > 0;
const imageContainerContent = (
<>
<Image
<ItemImage
className={clsx(styles.image, { [styles.isRound]: isRound })}
src={imageUrl}
id={data?.imageId}
itemType={itemType}
src={(data as Album | AlbumArtist | Playlist | Song)?.imageUrl}
type="itemCard"
/>
{isFavorite && <div className={styles.favoriteBadge} />}
{hasRating && <div className={styles.ratingBadge}>{userRating}</div>}
@@ -474,6 +567,7 @@ const DefaultItemCard = ({
enableExpansion={enableExpansion}
item={data}
itemType={itemType}
showRating={showRating}
type="default"
/>
)}
@@ -543,14 +637,15 @@ const DefaultItemCard = ({
(row): row is NonNullable<typeof row> => row !== null && row !== undefined,
)
.map((row, index) => (
<div
<Text
className={clsx(styles.row, {
[styles.muted]: index > 0,
})}
key={row.id}
size={index > 0 ? 'sm' : 'md'}
>
&nbsp;
</div>
</Text>
))}
</div>
</div>
@@ -563,11 +658,11 @@ const PosterItemCard = ({
enableDrag,
enableExpansion,
enableNavigation,
imageUrl,
internalState,
isRound,
itemType,
rows,
showRating,
withControls,
}: ItemCardDerivativeProps) => {
const [showControls, setShowControls] = useState(false);
@@ -577,46 +672,64 @@ const PosterItemCard = ({
: undefined;
const isSelected = useItemSelectionState(internalState, itemRowId || undefined);
const { isDragging: isDraggingLocal, ref } = useDragDrop<HTMLDivElement>({
drag: {
getId: () => {
if (!data) {
return [];
}
const getId = useCallback(() => {
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.map((item) => item.id);
}, [data, internalState]);
const draggedItems = getDraggedItems(data, internalState);
return draggedItems;
},
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: () => {
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],
onDragStart,
onDrop,
operation: dragOperation,
target: DragTarget.ALBUM,
},
}),
[getId, getItem, itemType, onDragStart, onDrop, dragOperation],
);
const { isDragging: isDraggingLocal, ref } = useDragDrop<HTMLDivElement>({
drag,
isEnabled: !!enableDrag && !!data,
});
@@ -716,13 +829,16 @@ const PosterItemCard = ({
typeof (data as { userRating: null | number }).userRating === 'number'
? (data as { userRating: null | number }).userRating
: null;
const hasRating = userRating !== null && userRating > 0;
const hasRating = showRating && userRating !== null && userRating > 0;
const imageContainerContent = (
<>
<Image
<ItemImage
className={clsx(styles.image, { [styles.isRound]: isRound })}
src={imageUrl}
id={(data as { imageId: string })?.imageId}
itemType={itemType}
src={(data as { imageUrl: string })?.imageUrl}
type="itemCard"
/>
{isFavorite && <div className={styles.favoriteBadge} />}
{hasRating && <div className={styles.ratingBadge}>{userRating}</div>}
@@ -734,6 +850,7 @@ const PosterItemCard = ({
internalState={internalState}
item={data}
itemType={itemType}
showRating={showRating}
type="poster"
/>
)}
@@ -807,21 +924,31 @@ const PosterItemCard = ({
(row): row is NonNullable<typeof row> => row !== null && row !== undefined,
)
.map((row, index) => (
<div
<Text
className={clsx(styles.row, {
[styles.muted]: index > 0,
})}
key={row.id}
size={index > 0 ? 'sm' : 'md'}
>
&nbsp;
</div>
</Text>
))}
</div>
</div>
);
};
export const getDataRows = (): DataRow[] => {
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[] => {
return [
{
format: (data) => {
@@ -879,21 +1006,18 @@ export const getDataRows = (): DataRow[] => {
{
format: (data) => {
if ('albumArtists' in data && Array.isArray(data.albumArtists)) {
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 (
<JoinedArtists
artistName={data.albumArtistName}
artists={data.albumArtists}
linkProps={{ fw: 400, isMuted: true }}
rootTextProps={{
fw: 400,
isMuted: type === 'compact' ? false : true,
size: 'sm',
}}
/>
);
}
return '';
},
@@ -925,7 +1049,7 @@ export const getDataRows = (): DataRow[] => {
{
format: (data) => {
if ('duration' in data && data.duration !== null) {
return formatDuration(data.duration * 1000);
return formatDurationString(data.duration);
}
return '';
},
@@ -934,7 +1058,17 @@ export const getDataRows = (): DataRow[] => {
{
format: (data) => {
if ('releaseYear' in data && data.releaseYear !== null) {
return String(data.releaseYear);
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 '';
},
@@ -943,7 +1077,15 @@ export const getDataRows = (): DataRow[] => {
{
format: (data) => {
if ('releaseDate' in data && data.releaseDate) {
return 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 '';
},
@@ -961,7 +1103,12 @@ export const getDataRows = (): DataRow[] => {
{
format: (data) => {
if ('lastPlayedAt' in data && data.lastPlayedAt) {
return formatDateRelative(data.lastPlayedAt);
return (
<Group align="center" gap="xs">
<Icon icon="lastPlayed" size="sm" />
{formatDateRelative(data.lastPlayedAt)}
</Group>
);
}
return '';
},
@@ -970,7 +1117,7 @@ export const getDataRows = (): DataRow[] => {
{
format: (data) => {
if ('playCount' in data && data.playCount !== null) {
return String(data.playCount);
return i18n.t('entity.play', { count: data.playCount });
}
return '';
},
@@ -1019,7 +1166,7 @@ export const getDataRows = (): DataRow[] => {
{
format: (data) => {
if ('songCount' in data && data.songCount !== null) {
return String(data.songCount);
return i18n.t('entity.trackWithCount', { count: data.songCount });
}
return '';
},
@@ -1028,7 +1175,7 @@ export const getDataRows = (): DataRow[] => {
{
format: (data) => {
if ('albumCount' in data && data.albumCount !== null) {
return String(data.albumCount);
return i18n.t('entity.albumWithCount', { count: data.albumCount });
}
return '';
},
@@ -1083,56 +1230,67 @@ const getItemNavigationPath = (
return getTitlePath(effectiveItemType, data.id);
};
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'];
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'];
// All rows except the first one (index 0) should be muted
const isMuted = index > 0 || row.isMuted;
// 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',
})}
>
&nbsp;
</div>
);
}
if (!data) {
return (
<div
<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'}
>
&nbsp;
</div>
{formattedContent}
</Text>
);
}
},
);
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>
);
};
ItemCardRow.displayName = 'ItemCardRow';
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;
// };
@@ -0,0 +1,141 @@
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 }: DefaultItemControlProps) => {
onDoubleClick: ({ internalState, item, itemType, meta }: DefaultItemControlProps) => {
if (!item || !internalState) {
return;
}
@@ -212,7 +212,7 @@ export const useDefaultItemListControls = (args?: UseDefaultItemListControlsArgs
}
}
if (itemType === LibraryItem.SONG) {
if (itemType === LibraryItem.SONG || itemType === LibraryItem.PLAYLIST_SONG) {
const data = internalState.getData();
const validSongs = data.filter((d): d is Song => {
if (!d || typeof d !== 'object') {
@@ -235,17 +235,31 @@ export const useDefaultItemListControls = (args?: UseDefaultItemListControlsArgs
return;
}
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);
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);
}
if (songsToAdd.length === 0) {
return;
}
player.addToQueueByData(songsToAdd, Play.NOW, item.id);
player.addToQueueByData(songsToAdd, playType, 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';
const getQueryKeyName = (itemType: LibraryItem): string => {
export const getListQueryKeyName = (itemType: LibraryItem): string => {
switch (itemType) {
case LibraryItem.ALBUM:
return 'albums';
@@ -32,6 +32,13 @@ const getQueryKeyName = (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;
@@ -43,10 +50,12 @@ interface UseItemListInfiniteLoaderProps {
serverId: string;
}
function getInitialData(itemCount: number) {
function getInitialData(): InfiniteLoaderCacheData {
return {
data: Array.from({ length: itemCount }, () => undefined),
dataMap: new Map(),
idToIndexMap: new Map(),
pagesLoaded: {},
version: 0,
};
}
@@ -85,7 +94,7 @@ export const useItemListInfiniteLoader = ({
const { setItemCount } = useListContext();
useEffect(() => {
if (!totalItemCount || !setItemCount) {
if (totalItemCount == null || !setItemCount) {
return;
}
@@ -115,31 +124,30 @@ export const useItemListInfiniteLoader = ({
return result;
},
queryKey: queryKeys[getQueryKeyName(itemType)].list(serverId, queryParams),
queryKey: queryKeys[getListQueryKeyName(itemType)].list(serverId, queryParams),
});
const endIndex = startIndex + itemsPerPage;
// Update the query data with the fetched page
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,
};
queryClient.setQueryData(dataQueryKey, (oldData: InfiniteLoaderCacheData) => {
const nextDataMap = new Map(oldData.dataMap);
const nextIdToIndexMap = new Map(oldData.idToIndexMap);
return {
data: newData,
pagesLoaded: newPagesLoaded,
};
},
);
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,
};
});
// Track the last fetched page
lastFetchedPageRef.current = Math.max(lastFetchedPageRef.current, pageNumber);
@@ -179,17 +187,19 @@ 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 (this will suspend via useSuspenseQuery)
await queryClient.refetchQueries({
// Invalidate and wait for count query to refetch
await queryClient.ensureQueryData({
queryKey: countQueryKey,
type: 'active',
});
// Fetch the first page after count is refetched
@@ -212,11 +222,11 @@ export const useItemListInfiniteLoader = ({
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [dataQueryKey, queryClient, fetchPage, itemsPerPage]);
const { data } = useQuery<{ data: unknown[]; pagesLoaded: Record<string, boolean> }>({
const { data } = useQuery<InfiniteLoaderCacheData>({
enabled: false,
initialData: getInitialData(totalItemCount),
initialData: getInitialData(),
queryFn: () => {
return getInitialData(totalItemCount);
return getInitialData();
},
queryKey: dataQueryKey,
});
@@ -234,7 +244,7 @@ export const useItemListInfiniteLoader = ({
const pageNumber = Math.floor(range.startIndex / itemsPerPage);
const currentData = queryClient.getQueryData<{
data: unknown[];
dataMap: Map<number, unknown>;
pagesLoaded: Record<string, boolean>;
}>(dataQueryKey);
@@ -290,18 +300,20 @@ export const useItemListInfiniteLoader = ({
// Reset the infinite list data
const currentData = queryClient.getQueryData<{
data: unknown[];
dataMap: Map<number, 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(totalItemCount);
if (!oldData) return getInitialData();
return {
...oldData,
data: Array.from({ length: totalItemCount }, () => undefined),
dataMap: new Map(),
idToIndexMap: new Map(),
pagesLoaded: {},
version: (oldData?.version ?? 0) + 1,
};
});
lastFetchedPageRef.current = -1;
@@ -337,28 +349,23 @@ export const useItemListInfiniteLoader = ({
const updateItems = useCallback(
(indexes: number[], value: object) => {
queryClient.setQueryData(
dataQueryKey,
(prev: { data: unknown[]; pagesLoaded: Record<string, boolean> }) => {
return {
...prev,
data: prev.data.map((item: any, index) => {
if (!item) {
return item;
}
queryClient.setQueryData(dataQueryKey, (prev: InfiniteLoaderCacheData) => {
const nextDataMap = new Map(prev.dataMap);
if (!indexes.includes(index)) {
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) });
});
return {
...item,
...value,
};
}),
};
},
);
return {
...prev,
dataMap: nextDataMap,
version: prev.version + 1,
};
});
},
[queryClient, dataQueryKey],
);
@@ -385,16 +392,9 @@ 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) => idToIndexMap[id])
.filter((idx) => idx !== undefined);
.map((id: string) => (data as any).idToIndexMap?.get(id))
.filter((idx): idx is number => typeof idx === 'number');
if (dataIndexes.length === 0) {
return;
@@ -408,16 +408,9 @@ 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) => idToIndexMap[id])
.filter((idx) => idx !== undefined);
.map((id: string) => (data as any).idToIndexMap?.get(id))
.filter((idx): idx is number => typeof idx === 'number');
if (dataIndexes.length === 0) {
return;
@@ -435,7 +428,40 @@ export const useItemListInfiniteLoader = ({
};
}, [data, eventKey, itemType, serverId, updateItems]);
return { data: data.data, onRangeChanged, refresh, 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,
};
};
export const parseListCountQuery = (query: any) => {
@@ -62,7 +62,7 @@ export const useItemListPaginatedLoader = ({
const { setItemCount } = useListContext();
useEffect(() => {
if (!totalItemCount || !setItemCount) {
if (totalItemCount == null || !setItemCount) {
return;
}
@@ -6,8 +6,11 @@ import { LibraryItem } from '/@/shared/types/domain-types';
import { TableColumn } from '/@/shared/types/types';
import { ItemListKey } from '/@/shared/types/types';
const getDefaultRowsForItemType = (itemType: LibraryItem): DataRow[] => {
const allRows = getDataRows();
const getDefaultRowsForItemType = (
itemType: LibraryItem,
type?: 'compact' | 'default' | 'poster',
): DataRow[] => {
const allRows = getDataRows(type);
const rowMap = new Map(allRows.map((row) => [row.id, row]));
switch (itemType) {
@@ -36,9 +39,7 @@ const getDefaultRowsForItemType = (itemType: LibraryItem): DataRow[] => {
}
};
// 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',
@@ -71,6 +72,7 @@ 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',
@@ -80,16 +82,22 @@ const getRowIdFromTableColumn = (tableColumn: TableColumn): null | string => {
return columnToRowIdMap[tableColumn] || null;
};
export const useGridRows = (itemType: LibraryItem, listKey?: ItemListKey) => {
export const useGridRows = (
itemType: LibraryItem,
listKey?: ItemListKey,
size?: 'compact' | 'default' | 'large',
) => {
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();
const allRows = getDataRows(type);
if (!listKey || !gridRowsConfig || gridRowsConfig.length === 0) {
const defaultRows = getDefaultRowsForItemType(itemType);
const defaultRows = getDefaultRowsForItemType(itemType, type);
return defaultRows.length > 0 ? defaultRows : allRows;
}
@@ -110,5 +118,5 @@ export const useGridRows = (itemType: LibraryItem, listKey?: ItemListKey) => {
.filter((row): row is NonNullable<typeof row> => row !== null && row !== undefined);
return configuredRows.length > 0 ? configuredRows : allRows;
}, [itemType, listKey, gridRowsConfig]);
}, [itemType, listKey, gridRowsConfig, type]);
};
@@ -0,0 +1,26 @@
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;
};
@@ -0,0 +1,123 @@
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,4 +1,5 @@
.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,14 +53,16 @@ interface VirtualizedGridListProps {
_tableMetaVersion: number; // Used to trigger rerenders via React.memo comparison
controls: ItemControls;
currentPage?: number;
data: unknown[];
dataVersion?: number;
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'];
@@ -68,6 +70,7 @@ interface VirtualizedGridListProps {
outerRef: RefObject<any>;
ref: RefObject<FixedSizeList<GridItemProps> | null>;
rows?: ItemCardProps['rows'];
size?: 'compact' | 'default' | 'large';
tableMetaRef: RefObject<null | {
columnCount: number;
itemHeight: number;
@@ -80,14 +83,16 @@ const VirtualizedGridList = React.memo(
({
controls,
currentPage,
data,
dataVersion,
enableDrag,
enableExpansion,
enableSelection,
gap,
getItem,
height,
initialTop,
internalState,
itemCount,
itemType,
onRangeChanged,
onScroll,
@@ -95,6 +100,7 @@ const VirtualizedGridList = React.memo(
outerRef,
ref,
rows,
size,
tableMetaRef,
width,
}: VirtualizedGridListProps) => {
@@ -105,27 +111,33 @@ const VirtualizedGridList = React.memo(
return {
columns: tableMeta?.columnCount || 0,
controls,
data,
dataVersion,
enableDrag,
enableExpansion,
enableSelection,
gap,
getItem,
internalState,
itemCount,
itemType,
rows,
size,
tableMeta,
};
}, [
tableMeta,
controls,
rows,
data,
getItem,
itemCount,
dataVersion,
enableDrag,
enableExpansion,
enableSelection,
gap,
internalState,
itemType,
size,
]);
const handleOnScroll = useCallback(
@@ -215,7 +227,11 @@ const VirtualizedGridList = React.memo(
VirtualizedGridList.displayName = 'VirtualizedGridList';
const createThrottledSetTableMeta = (itemsPerRow?: number, rowsCount?: number) => {
const createThrottledSetTableMeta = (
itemsPerRow?: number,
rowsCount?: number,
size?: 'compact' | 'default' | 'large',
) => {
return throttle((width: number, dataLength: number, setTableMeta: (meta: any) => void) => {
const isSm = width >= 600;
const isMd = width >= 768;
@@ -228,11 +244,11 @@ const createThrottledSetTableMeta = (itemsPerRow?: number, rowsCount?: number) =
let dynamicItemsPerRow = 2;
if (is4xl) {
dynamicItemsPerRow = 12;
} else if (is3xl) {
dynamicItemsPerRow = 10;
} else if (is2xl) {
} else if (is3xl) {
dynamicItemsPerRow = 8;
} else if (is2xl) {
dynamicItemsPerRow = 7;
} else if (isXl) {
dynamicItemsPerRow = 6;
} else if (isLg) {
@@ -245,10 +261,22 @@ const createThrottledSetTableMeta = (itemsPerRow?: number, rowsCount?: number) =
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;
const itemHeight = widthPerItem + (rowsCount || getDataRowsCount()) * 26;
// 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;
if (widthPerItem === 0) {
return;
@@ -265,14 +293,17 @@ const createThrottledSetTableMeta = (itemsPerRow?: number, rowsCount?: number) =
export interface GridItemProps {
columns: number;
controls: ItemCardProps['controls'];
data: any[];
dataVersion?: number;
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;
@@ -283,15 +314,21 @@ 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;
@@ -300,17 +337,23 @@ 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,
@@ -319,6 +362,7 @@ const BaseItemGridList = ({
overrideControls,
ref,
rows,
size = 'default',
}: ItemGridListProps) => {
const rootRef = useRef(null);
const outerRef = useRef(null);
@@ -328,6 +372,14 @@ 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]);
@@ -409,14 +461,14 @@ const BaseItemGridList = ({
}, [osInstance]);
const throttledSetTableMeta = useMemo(() => {
return createThrottledSetTableMeta(itemsPerRow, rows?.length);
}, [itemsPerRow, rows?.length]);
return createThrottledSetTableMeta(itemsPerRow, rows?.length, size);
}, [itemsPerRow, rows?.length, size]);
useLayoutEffect(() => {
const { current: container } = containerRef;
if (!container) return;
throttledSetTableMeta(containerWidth, data.length, (meta) => {
throttledSetTableMeta(containerWidth, resolvedItemCount, (meta) => {
if (!meta) return;
const current = tableMetaRef.current;
@@ -433,7 +485,7 @@ const BaseItemGridList = ({
setTableMetaVersion((v) => v + 1);
}
});
}, [containerWidth, data.length, throttledSetTableMeta, containerRef]);
}, [containerWidth, resolvedItemCount, throttledSetTableMeta, containerRef]);
const controls = useDefaultItemListControls({ overrides: overrideControls });
@@ -486,10 +538,12 @@ const BaseItemGridList = ({
const lastSelected = selected[selected.length - 1];
const lastRowId = internalState.extractRowId(lastSelected);
if (lastRowId) {
currentIndex = data.findIndex((d: any) => {
const rowId = internalState.extractRowId(d);
return rowId === lastRowId;
});
currentIndex =
getItemIndex?.(lastRowId) ??
data.findIndex((d: any) => {
const rowId = internalState.extractRowId(d);
return rowId === lastRowId;
});
}
}
@@ -500,7 +554,7 @@ const BaseItemGridList = ({
: 0;
const currentCol =
currentIndex !== -1 ? currentIndex % tableMetaRef.current.columnCount : 0;
const totalRows = Math.ceil(data.length / tableMetaRef.current.columnCount);
const totalRows = Math.ceil(resolvedItemCount / tableMetaRef.current.columnCount);
let newIndex = 0;
if (currentIndex !== -1) {
@@ -512,7 +566,7 @@ const BaseItemGridList = ({
const nextRowStart = nextRow * tableMetaRef.current.columnCount;
const nextRowEnd = Math.min(
nextRowStart + tableMetaRef.current.columnCount - 1,
data.length - 1,
resolvedItemCount - 1,
);
// Keep same column position, or use last item in row if column doesn't exist
newIndex = Math.min(nextRowStart + currentCol, nextRowEnd);
@@ -533,7 +587,7 @@ const BaseItemGridList = ({
1,
0,
);
newIndex = Math.min(newIndex, data.length - 1);
newIndex = Math.min(newIndex, resolvedItemCount - 1);
} else {
newIndex = currentIndex;
}
@@ -543,14 +597,14 @@ const BaseItemGridList = ({
// Move right, wrap to next row if at end of row
if (
currentCol < tableMetaRef.current.columnCount - 1 &&
currentIndex < data.length - 1
currentIndex < resolvedItemCount - 1
) {
newIndex = currentIndex + 1;
} else if (currentRow < totalRows - 1) {
// Wrap to start of next row
newIndex = Math.min(
(currentRow + 1) * tableMetaRef.current.columnCount,
data.length - 1,
resolvedItemCount - 1,
);
} else {
newIndex = currentIndex;
@@ -564,7 +618,7 @@ const BaseItemGridList = ({
const prevRowStart = prevRow * tableMetaRef.current.columnCount;
const prevRowEnd = Math.min(
prevRowStart + tableMetaRef.current.columnCount - 1,
data.length - 1,
resolvedItemCount - 1,
);
// Keep same column position, or use last item in row if column doesn't exist
newIndex = Math.min(prevRowStart + currentCol, prevRowEnd);
@@ -579,7 +633,7 @@ const BaseItemGridList = ({
newIndex = 0;
}
const newItem: any = data[newIndex];
const newItem: any = resolvedGetItem(newIndex);
if (!newItem) return;
// Handle Shift + Arrow for incremental range selection (matches shift+click behavior)
@@ -592,10 +646,12 @@ const BaseItemGridList = ({
const lastRowId = internalState.extractRowId(lastSelectedItem);
if (!lastRowId) return;
const lastIndex = data.findIndex((d: any) => {
const rowId = internalState.extractRowId(d);
return rowId === lastRowId;
});
const lastIndex =
getItemIndex?.(lastRowId) ??
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
@@ -604,7 +660,7 @@ const BaseItemGridList = ({
const rangeItems: ItemListStateItemWithRequiredProperties[] = [];
for (let i = startIndex; i <= stopIndex; i++) {
const rangeItem = data[i];
const rangeItem = resolvedGetItem(i);
if (
rangeItem &&
typeof rangeItem === 'object' &&
@@ -669,7 +725,15 @@ const BaseItemGridList = ({
scrollToIndex(newIndex);
},
[data, enableSelection, internalState, scrollToIndex],
[
data,
enableSelection,
getItemIndex,
internalState,
resolvedGetItem,
resolvedItemCount,
scrollToIndex,
],
);
const imperativeHandle: ItemListHandle = useMemo(() => {
@@ -690,20 +754,12 @@ const BaseItemGridList = ({
useImperativeHandle(ref, () => imperativeHandle, [imperativeHandle]);
useHotkeys([
[
'mod+a',
() => {
if (focused) {
if (internalState.isAllSelected()) {
internalState.deselectAll();
} else {
internalState.selectAll();
}
}
},
],
]);
useListHotkeys({
controls,
focused,
internalState,
itemType,
});
return (
<motion.div
@@ -714,7 +770,7 @@ const BaseItemGridList = ({
ref={mergedContainerRef}
tabIndex={0}
{...animationProps.fadeIn}
transition={{ duration: 1, ease: 'anticipate' }}
transition={{ duration: enableEntranceAnimation ? 1 : 0, ease: 'anticipate' }}
>
<AutoSizer>
{({ height, width }) => (
@@ -722,14 +778,16 @@ const BaseItemGridList = ({
_tableMetaVersion={tableMetaVersion}
controls={controls}
currentPage={currentPage}
data={data}
dataVersion={dataVersion}
enableDrag={enableDrag}
enableExpansion={enableExpansion}
enableSelection={enableSelection}
gap={gap}
getItem={resolvedGetItem}
height={height}
initialTop={initialTop}
internalState={internalState}
itemCount={resolvedItemCount}
itemType={itemType}
onRangeChanged={onRangeChanged}
onScroll={onScroll ?? (() => {})}
@@ -737,22 +795,26 @@ const BaseItemGridList = ({
outerRef={outerRef}
ref={listRef}
rows={rows}
size={size}
tableMetaRef={tableMetaRef}
width={width}
/>
)}
</AutoSizer>
<ExpandedContainer internalState={internalState} itemType={itemType} />
<AnimatePresence presenceAffectsLayout>
<ExpandedContainer internalState={internalState} itemType={itemType} />
{/* {enableSelectionDialog && <SelectionDialog internalState={internalState} />} */}
</AnimatePresence>
</motion.div>
);
};
const ListComponent = memo((props: ListChildComponentProps<GridItemProps>) => {
const { index, style } = props;
const { columns, controls, data, enableDrag, gap, itemType, rows } = props.data;
const { columns, controls, enableDrag, gap, getItem, itemCount, itemType, rows, size } =
props.data;
const items: ReactNode[] = [];
const itemCount = data.length;
const startIndex = index * columns;
const stopIndex = Math.min(itemCount - 1, startIndex + columns - 1);
@@ -765,7 +827,8 @@ const ListComponent = memo((props: ListChildComponentProps<GridItemProps>) => {
}
for (let i = startIndex; i <= stopIndex + columnCountToAdd; i += 1) {
if (i < data.length) {
if (i < itemCount) {
const item = getItem ? getItem(i) : undefined;
items.push(
<div
className={clsx(styles.itemRow, styles[`gap-${gap}`])}
@@ -774,12 +837,13 @@ const ListComponent = memo((props: ListChildComponentProps<GridItemProps>) => {
>
<ItemCard
controls={controls}
data={data[i]}
data={item}
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.data as (any | undefined)[])[props.rowIndex];
const row: any = props.getRowItem?.(props.rowIndex) ?? (props.data as any[])[props.rowIndex];
const handleActionClick = (event: React.MouseEvent<HTMLButtonElement>) => {
event.stopPropagation();
@@ -1,6 +1,5 @@
import clsx from 'clsx';
import { Fragment, memo, useMemo } from 'react';
import { generatePath, Link } from 'react-router';
import { memo } from 'react';
import styles from './album-artists-column.module.css';
@@ -10,24 +9,15 @@ import {
ItemTableListInnerColumn,
TableColumnContainer,
} from '/@/renderer/components/item-list/item-table-list/item-table-list-column';
import { AppRoute } from '/@/renderer/router/routes';
import { Text } from '/@/shared/components/text/text';
import { RelatedAlbumArtist } from '/@/shared/types/domain-types';
import { JoinedArtists } from '/@/renderer/features/albums/components/joined-artists';
import { Album, RelatedAlbumArtist, Song } from '/@/shared/types/domain-types';
const AlbumArtistsColumn = (props: ItemTableListInnerColumn) => {
const row: RelatedAlbumArtist[] | undefined = (
props.data as (RelatedAlbumArtist[] | undefined)[]
)[props.rowIndex]?.[props.columns[props.columnIndex].id];
const rowItem = props.getRowItem?.(props.rowIndex) ?? (props.data as any[])[props.rowIndex];
const row: RelatedAlbumArtist[] | undefined = rowItem?.[props.columns[props.columnIndex].id];
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]);
const item = rowItem as Album | Song | undefined;
const albumArtistString = item && 'albumArtistName' in item ? item.albumArtistName : '';
if (Array.isArray(row)) {
return (
@@ -38,21 +28,20 @@ const AlbumArtistsColumn = (props: ItemTableListInnerColumn) => {
[styles.large]: props.size === 'large',
})}
>
{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>
))}
<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',
}}
/>
</div>
</TableColumnContainer>
);
@@ -15,11 +15,10 @@ import { Text } from '/@/shared/components/text/text';
import { Song } from '/@/shared/types/domain-types';
const AlbumColumn = (props: ItemTableListInnerColumn) => {
const row: null | string | undefined = (props.data as (null | string | undefined)[])[
props.rowIndex
]?.[props.columns[props.columnIndex].id];
const rowItem = props.getRowItem?.(props.rowIndex) ?? (props.data as any[])[props.rowIndex];
const row: null | string | undefined = rowItem?.[props.columns[props.columnIndex].id];
const song = props.data[props.rowIndex] as Song | undefined;
const song = rowItem as Song | undefined;
const albumId = song?.albumId;
const albumPath = useMemo(() => {
@@ -10,14 +10,16 @@ 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 { RelatedAlbumArtist } from '/@/shared/types/domain-types';
import { LibraryItem, RelatedAlbumArtist, Song } from '/@/shared/types/domain-types';
const ArtistsColumn = (props: ItemTableListInnerColumn) => {
const row: RelatedAlbumArtist[] | undefined = (
props.data as (RelatedAlbumArtist[] | undefined)[]
)[props.rowIndex]?.[props.columns[props.columnIndex].id];
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 artists = useMemo(() => {
if (!row) return [];
@@ -65,6 +67,48 @@ const ArtistsColumn = (props: ItemTableListInnerColumn) => {
return <ColumnSkeletonVariable {...props} />;
};
export const ArtistsColumnMemo = memo(ArtistsColumn);
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 { ArtistsColumnMemo as ArtistsColumn };
@@ -0,0 +1,16 @@
.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;
}
@@ -0,0 +1,50 @@
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,9 +6,8 @@ import {
} from '/@/renderer/components/item-list/item-table-list/item-table-list-column';
export const CountColumn = (props: ItemTableListInnerColumn) => {
const row: number | undefined = (props.data as (any | undefined)[])[props.rowIndex]?.[
props.columns[props.columnIndex].id
];
const rowItem = props.getRowItem?.(props.rowIndex) ?? (props.data as any[])[props.rowIndex];
const row: number | undefined = (rowItem as any)?.[props.columns[props.columnIndex].id];
if (typeof row === 'number') {
return (
@@ -10,9 +10,11 @@ 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 (
@@ -28,9 +30,8 @@ const getDateTooltipLabel = (utcString: string) => {
};
export const DateColumn = (props: ItemTableListInnerColumn) => {
const row: string | undefined = (props.data as (any | undefined)[])[props.rowIndex]?.[
props.columns[props.columnIndex].id
];
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 (typeof row === 'string' && row) {
return (
@@ -50,9 +51,49 @@ export const DateColumn = (props: ItemTableListInnerColumn) => {
};
export const AbsoluteDateColumn = (props: ItemTableListInnerColumn) => {
const row: string | undefined = (props.data as (any | undefined)[])[props.rowIndex]?.[
props.columns[props.columnIndex].id
];
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} />;
}
if (typeof row === 'string' && row) {
return (
@@ -72,9 +113,8 @@ export const AbsoluteDateColumn = (props: ItemTableListInnerColumn) => {
};
export const RelativeDateColumn = (props: ItemTableListInnerColumn) => {
const row: string | undefined = (props.data as (any | undefined)[])[props.rowIndex]?.[
props.columns[props.columnIndex].id
];
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 (typeof row === 'string') {
return (

Some files were not shown because too many files have changed in this diff Show More