feat(settings): refine plex integration ux and labels
cx
This commit is contained in:
1 parent
0c62e43a56
commit
28020f0efa
5 files changed
+166
-172
No files matched your search
@@ -5,7 +5,7 @@
|
||||
import { getCurrentWebview } from '@tauri-apps/api/webview';
|
||||
import { writeText as copyToClipboard } from '@tauri-apps/plugin-clipboard-manager';
|
||||
import { ask } from '@tauri-apps/plugin-dialog';
|
||||
import { ArrowLeft, ChevronRight, ChevronDown, ChevronUp, Loader2, Sun, Moon, SunMoon, HelpCircle, Ban, Copy } from 'lucide-svelte';
|
||||
import { ArrowLeft, ChevronRight, ChevronDown, ChevronUp, Loader2, Sun, Moon, SunMoon, HelpCircle, Ban } from 'lucide-svelte';
|
||||
import Toggle from '../Toggle.svelte';
|
||||
import Dropdown from '../Dropdown.svelte';
|
||||
import DeviceDropdown from '../DeviceDropdown.svelte';
|
||||
@@ -741,10 +741,9 @@
|
||||
|
||||
// Plex LAN POC state
|
||||
let plexEnabled = $state(getUserItem('qbz-plex-enabled') === 'true');
|
||||
let plexConnectCollapsed = $state(getUserItem('qbz-plex-connect-collapsed') !== 'false');
|
||||
let plexUiCollapsed = $state(getUserItem('qbz-plex-ui-collapsed') === 'true');
|
||||
let plexManualTokenMode = $state(false);
|
||||
let plexServerUrl = $state('http://127.0.0.1');
|
||||
let plexServerPort = $state('32400');
|
||||
let plexBaseUrl = $state(getUserItem('qbz-plex-poc-base-url') || 'http://127.0.0.1:32400');
|
||||
let plexToken = $state(getUserItem('qbz-plex-poc-token') || '');
|
||||
let plexMetadataWriteEnabled = $state(getUserItem('qbz-plex-poc-metadata-write-enabled') === 'true');
|
||||
@@ -764,7 +763,7 @@
|
||||
let plexAuthPollTimer: ReturnType<typeof setInterval> | null = null;
|
||||
|
||||
const PLEX_ENABLED_KEY = 'qbz-plex-enabled';
|
||||
const PLEX_CONNECT_COLLAPSED_KEY = 'qbz-plex-connect-collapsed';
|
||||
const PLEX_UI_COLLAPSED_KEY = 'qbz-plex-ui-collapsed';
|
||||
const PLEX_CACHE_SELECTED_SECTIONS_KEY = 'qbz-plex-poc-selected-sections';
|
||||
const PLEX_CACHE_SELECTED_SECTION_KEY = 'qbz-plex-poc-selected-section';
|
||||
const PLEX_CACHE_SERVER_ID_KEY = 'qbz-plex-poc-machine-id';
|
||||
@@ -1142,17 +1141,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
function sanitizePlexPort(value: string): string {
|
||||
const digits = value.replace(/\D+/g, '');
|
||||
if (!digits) return '32400';
|
||||
const num = Math.max(1, Math.min(65535, Number(digits)));
|
||||
return String(num);
|
||||
}
|
||||
|
||||
function isValidPlexPort(value: string): boolean {
|
||||
return /^\d+$/.test(value) && Number(value) >= 1 && Number(value) <= 65535;
|
||||
}
|
||||
|
||||
function normalizePlexServerUrl(value: string): string {
|
||||
const trimmed = value.trim();
|
||||
if (!trimmed) return '';
|
||||
@@ -1191,7 +1179,9 @@
|
||||
try {
|
||||
const parsed = new URL(normalizedUrl);
|
||||
if (!['http:', 'https:'].includes(parsed.protocol)) return '';
|
||||
parsed.port = sanitizePlexPort(plexServerPort);
|
||||
if (!parsed.port) {
|
||||
parsed.port = '32400';
|
||||
}
|
||||
return `${parsed.protocol}//${parsed.host}`;
|
||||
} catch {
|
||||
return '';
|
||||
@@ -1201,20 +1191,17 @@
|
||||
function hydratePlexAddressFieldsFromBaseUrl() {
|
||||
try {
|
||||
const parsed = new URL(plexBaseUrl || 'http://127.0.0.1:32400');
|
||||
plexServerUrl = `${parsed.protocol}//${parsed.hostname}`;
|
||||
plexServerPort = parsed.port || '32400';
|
||||
plexServerUrl = `${parsed.protocol}//${parsed.host}`;
|
||||
} catch {
|
||||
plexServerUrl = 'http://127.0.0.1';
|
||||
plexServerPort = '32400';
|
||||
}
|
||||
}
|
||||
|
||||
function canUsePlexRequests(): boolean {
|
||||
return plexEnabled && isLocalPlexAddress(plexServerUrl) && isValidPlexPort(plexServerPort) && !!plexToken.trim();
|
||||
return plexEnabled && isLocalPlexAddress(plexServerUrl) && !!resolvePlexBaseUrl() && !!plexToken.trim();
|
||||
}
|
||||
|
||||
function persistPlexConfig() {
|
||||
plexServerPort = sanitizePlexPort(plexServerPort);
|
||||
plexBaseUrl = resolvePlexBaseUrl();
|
||||
setUserItem('qbz-plex-poc-base-url', plexBaseUrl);
|
||||
setUserItem('qbz-plex-poc-token', plexToken.trim());
|
||||
@@ -1245,11 +1232,6 @@
|
||||
return legacySingle ? [legacySingle] : [];
|
||||
}
|
||||
|
||||
function togglePlexConnectionBlock() {
|
||||
plexConnectCollapsed = !plexConnectCollapsed;
|
||||
setUserItem(PLEX_CONNECT_COLLAPSED_KEY, plexConnectCollapsed ? 'true' : 'false');
|
||||
}
|
||||
|
||||
function handlePlexEnabledToggle(enabled: boolean) {
|
||||
plexEnabled = enabled;
|
||||
setUserItem(PLEX_ENABLED_KEY, enabled ? 'true' : 'false');
|
||||
@@ -1264,6 +1246,11 @@
|
||||
void refreshPlexInBackground();
|
||||
}
|
||||
|
||||
function togglePlexUiCollapsed() {
|
||||
plexUiCollapsed = !plexUiCollapsed;
|
||||
setUserItem(PLEX_UI_COLLAPSED_KEY, plexUiCollapsed ? 'true' : 'false');
|
||||
}
|
||||
|
||||
function handlePlexMetadataWriteToggle(enabled: boolean) {
|
||||
plexMetadataWriteEnabled = enabled;
|
||||
setUserItem(PLEX_METADATA_WRITE_KEY, enabled ? 'true' : 'false');
|
||||
@@ -1280,7 +1267,7 @@
|
||||
}
|
||||
|
||||
async function handlePlexConnectEasy() {
|
||||
if (!plexEnabled || plexAuthBusy || !isLocalPlexAddress(plexServerUrl) || !isValidPlexPort(plexServerPort)) return;
|
||||
if (!plexEnabled || plexAuthBusy || !isLocalPlexAddress(plexServerUrl) || !resolvePlexBaseUrl()) return;
|
||||
plexAuthBusy = true;
|
||||
plexLastError = '';
|
||||
persistPlexConfig();
|
||||
@@ -3494,112 +3481,101 @@
|
||||
<div class="setting-row">
|
||||
<div class="setting-info">
|
||||
<span class="setting-label">{$t('settings.integrations.plexConnection')}</span>
|
||||
</div>
|
||||
<Toggle enabled={plexEnabled} onchange={handlePlexEnabledToggle} />
|
||||
</div>
|
||||
|
||||
{#if plexEnabled}
|
||||
<div class="setting-row">
|
||||
<small class="setting-note">{$t('settings.integrations.plexConnectionLore')}</small>
|
||||
</div>
|
||||
|
||||
<div class="setting-row plex-server-row">
|
||||
<div class="plex-server-field">
|
||||
<label for="plex-server-url">{$t('settings.integrations.plexServerUrl')}</label>
|
||||
<input
|
||||
id="plex-server-url"
|
||||
type="text"
|
||||
bind:value={plexServerUrl}
|
||||
placeholder={$t('settings.integrations.plexServerUrlPlaceholder')}
|
||||
onblur={() => persistPlexConfig()}
|
||||
/>
|
||||
</div>
|
||||
<div class="plex-port-field">
|
||||
<label for="plex-server-port">{$t('settings.integrations.plexServerPort')}</label>
|
||||
<input
|
||||
id="plex-server-port"
|
||||
class="remote-control-input plex-port-input"
|
||||
type="number"
|
||||
min="1"
|
||||
max="65535"
|
||||
bind:value={plexServerPort}
|
||||
oninput={() => plexServerPort = sanitizePlexPort(plexServerPort)}
|
||||
onblur={() => persistPlexConfig()}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{#if !isLocalPlexAddress(plexServerUrl)}
|
||||
<small class="setting-note plex-error-note">{$t('settings.integrations.plexLocalAddressRequired')}</small>
|
||||
{/if}
|
||||
|
||||
<div class="setting-row">
|
||||
<button class="setting-link-button plex-collapse-trigger" onclick={togglePlexConnectionBlock}>
|
||||
<span class="setting-label">{$t('settings.integrations.plexAuthorizeSectionTitle')}</span>
|
||||
{#if plexConnectCollapsed}
|
||||
<div class="setting-row-controls">
|
||||
<Toggle enabled={plexEnabled} onchange={handlePlexEnabledToggle} />
|
||||
<button
|
||||
class="setting-link-button section-collapse-btn"
|
||||
onclick={togglePlexUiCollapsed}
|
||||
title={$t('settings.integrations.plexCollapseHint')}
|
||||
>
|
||||
{#if plexUiCollapsed}
|
||||
<ChevronDown size={16} />
|
||||
{:else}
|
||||
<ChevronUp size={16} />
|
||||
{/if}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{#if !plexConnectCollapsed}
|
||||
<div class="setting-row">
|
||||
<small class="setting-note">{$t('settings.integrations.plexAuthorizeSectionLore')}</small>
|
||||
</div>
|
||||
<div class="setting-row">
|
||||
<small class="setting-note">{$t('settings.integrations.plexAuthorizeHelp')}</small>
|
||||
</div>
|
||||
{#if plexEnabled && !plexUiCollapsed}
|
||||
<div class="setting-row plex-two-column-row">
|
||||
<div class="setting-info">
|
||||
<span class="setting-label">{$t('settings.integrations.plexServerUrl')}:</span>
|
||||
<small class="setting-note">{$t('settings.integrations.plexServerUrlHelp')}</small>
|
||||
</div>
|
||||
<input
|
||||
id="plex-server-url"
|
||||
class="remote-control-input plex-server-url-input"
|
||||
type="text"
|
||||
bind:value={plexServerUrl}
|
||||
placeholder={$t('settings.integrations.plexServerUrlPlaceholder')}
|
||||
oninput={() => persistPlexConfig()}
|
||||
onblur={() => persistPlexConfig()}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="setting-row plex-two-column-row">
|
||||
<div class="setting-info">
|
||||
<span class="setting-label">{$t('settings.integrations.plexAuthorizeLabel')}</span>
|
||||
<small class="setting-note">{$t('settings.integrations.plexAuthorizeGenerateHelp')}</small>
|
||||
</div>
|
||||
<button
|
||||
class="connect-btn"
|
||||
class="connect-btn plex-action-btn"
|
||||
onclick={handlePlexConnectEasy}
|
||||
disabled={plexBusy || plexAuthBusy || !isLocalPlexAddress(plexServerUrl) || !isValidPlexPort(plexServerPort)}
|
||||
disabled={plexBusy || plexAuthBusy || !isLocalPlexAddress(plexServerUrl) || !resolvePlexBaseUrl()}
|
||||
>
|
||||
{plexAuthBusy ? $t('actions.loading') : $t('settings.integrations.plexActionEasyConnect')}
|
||||
{plexAuthBusy ? $t('actions.loading') : $t('settings.integrations.plexActionGenerateCode')}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{#if plexAuthCode}
|
||||
<div class="plex-divider"></div>
|
||||
|
||||
<div class="setting-row plex-code-row">
|
||||
<div class="setting-row plex-two-column-row">
|
||||
<div class="setting-info">
|
||||
<span class="setting-label">{$t('settings.integrations.plexLinkWithPlex')}</span>
|
||||
<small class="setting-note">{$t('settings.integrations.plexLinkWithPlexHelp')}</small>
|
||||
</div>
|
||||
<div class="plex-code-row">
|
||||
<input
|
||||
class="remote-control-input plex-code-input"
|
||||
type="text"
|
||||
readonly
|
||||
value={plexAuthCode || $t('settings.integrations.plexCodeEmpty')}
|
||||
title={plexAuthCode ? $t('settings.integrations.plexCodeTooltip') : $t('settings.integrations.plexCodeEmpty')}
|
||||
value={plexAuthCode}
|
||||
title={$t('settings.integrations.plexCodeTooltip')}
|
||||
/>
|
||||
<button
|
||||
class="copy-icon-btn"
|
||||
class="connect-btn plex-action-btn"
|
||||
onclick={handleCopyPlexCode}
|
||||
disabled={!plexAuthCode}
|
||||
title={$t('settings.integrations.plexCodeTooltip')}
|
||||
>
|
||||
<Copy size={16} />
|
||||
{$t('settings.integrations.plexActionCopyCode')}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="setting-row plex-two-column-row">
|
||||
<span class="setting-label"></span>
|
||||
<div class="setting-info">
|
||||
<span class="setting-label">{$t('settings.integrations.plexAuthorizeUsingCode')}</span>
|
||||
<small class="setting-note">{$t('settings.integrations.plexAuthorizeHelp')}</small>
|
||||
</div>
|
||||
<button
|
||||
class="connect-btn"
|
||||
class="connect-btn plex-action-btn"
|
||||
onclick={handleOpenPlexAuthUrl}
|
||||
disabled={!plexAuthUrl}
|
||||
>
|
||||
{$t('settings.integrations.plexActionOpenAuth')}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="plex-divider"></div>
|
||||
{/if}
|
||||
|
||||
<div class="setting-row">
|
||||
<label class="setting-label plex-manual-toggle">
|
||||
<input type="checkbox" bind:checked={plexManualTokenMode} />
|
||||
<span>{$t('settings.integrations.plexManualTokenToggle')}</span>
|
||||
</label>
|
||||
<div class="setting-info">
|
||||
<span class="setting-label">{$t('settings.integrations.plexManualTokenToggle')}</span>
|
||||
<small class="setting-note">{$t('settings.integrations.plexManualTokenHelp')}</small>
|
||||
</div>
|
||||
<Toggle enabled={plexManualTokenMode} onchange={(enabled) => plexManualTokenMode = enabled} />
|
||||
</div>
|
||||
|
||||
{#if plexManualTokenMode}
|
||||
@@ -3614,7 +3590,6 @@
|
||||
/>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
<div class="setting-row plex-two-column-row">
|
||||
<div class="setting-info">
|
||||
@@ -3626,7 +3601,7 @@
|
||||
{/if}
|
||||
</div>
|
||||
<button
|
||||
class="connect-btn"
|
||||
class="connect-btn plex-action-btn"
|
||||
onclick={() => handlePlexPing()}
|
||||
disabled={plexBusy || !canUsePlexRequests()}
|
||||
>
|
||||
@@ -3640,7 +3615,7 @@
|
||||
<small class="setting-note">{$t('settings.integrations.plexGetLibrariesHelp')}</small>
|
||||
</div>
|
||||
<button
|
||||
class="connect-btn"
|
||||
class="connect-btn plex-action-btn"
|
||||
onclick={() => handlePlexLoadSections({ autoSyncSelected: true })}
|
||||
disabled={plexBusy || !canUsePlexRequests()}
|
||||
>
|
||||
@@ -3674,7 +3649,7 @@
|
||||
<div class="setting-row plex-two-column-row">
|
||||
<span class="setting-label">{$t('settings.integrations.plexDisconnectRowLabel')}</span>
|
||||
<button
|
||||
class="connect-btn danger-btn"
|
||||
class="connect-btn plex-action-btn"
|
||||
onclick={handlePlexDisconnect}
|
||||
disabled={plexBusy || plexAuthBusy || !plexToken.trim()}
|
||||
>
|
||||
@@ -3688,7 +3663,7 @@
|
||||
<small class="setting-note">{$t('settings.integrations.plexClearCacheRowHelp')}</small>
|
||||
</div>
|
||||
<button
|
||||
class="connect-btn danger-btn"
|
||||
class="connect-btn plex-action-btn"
|
||||
onclick={handlePlexClearCache}
|
||||
disabled={plexBusy || plexAuthBusy}
|
||||
>
|
||||
@@ -5367,38 +5342,27 @@ flatpak override --user --filesystem=/home/USUARIO/Música com.blitzfc.qbz</pre>
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.plex-server-row {
|
||||
align-items: end;
|
||||
gap: 10px;
|
||||
.setting-row-controls {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.plex-server-field {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
.section-collapse-btn {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.plex-port-field {
|
||||
width: 130px;
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.plex-port-input::-webkit-outer-spin-button,
|
||||
.plex-port-input::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.plex-port-input {
|
||||
-moz-appearance: textfield;
|
||||
appearance: textfield;
|
||||
}
|
||||
|
||||
.plex-collapse-trigger {
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
.plex-server-url-input {
|
||||
width: 210px;
|
||||
max-width: 210px;
|
||||
}
|
||||
|
||||
.plex-two-column-row {
|
||||
@@ -5416,6 +5380,7 @@ flatpak override --user --filesystem=/home/USUARIO/Música com.blitzfc.qbz</pre>
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.plex-code-input {
|
||||
@@ -5424,41 +5389,34 @@ flatpak override --user --filesystem=/home/USUARIO/Música com.blitzfc.qbz</pre>
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
|
||||
.copy-icon-btn {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
.plex-action-btn {
|
||||
min-width: 170px;
|
||||
background: none;
|
||||
border: 1px solid var(--border-subtle);
|
||||
border-radius: 8px;
|
||||
background: var(--bg-tertiary);
|
||||
color: var(--text-secondary);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s ease;
|
||||
}
|
||||
|
||||
.copy-icon-btn:hover:not(:disabled) {
|
||||
.plex-action-btn:hover:not(:disabled) {
|
||||
color: var(--text-primary);
|
||||
border-color: var(--border-default);
|
||||
}
|
||||
|
||||
.copy-icon-btn:disabled {
|
||||
opacity: 0.45;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.plex-manual-toggle {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
cursor: pointer;
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.plex-libraries-block {
|
||||
display: grid;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
align-items: start;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
min-height: unset;
|
||||
}
|
||||
|
||||
.setting-row.plex-libraries-block {
|
||||
height: auto;
|
||||
min-height: 48px;
|
||||
align-items: stretch;
|
||||
padding-bottom: 14px;
|
||||
}
|
||||
|
||||
.plex-libraries-grid {
|
||||
@@ -5469,6 +5427,8 @@ flatpak override --user --filesystem=/home/USUARIO/Música com.blitzfc.qbz</pre>
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 8px 16px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
max-height: 130px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
@@ -629,7 +629,7 @@
|
||||
"fetchArtistImagesDesc": "Künstlerfotos von Qobuz™ in der lokalen Bibliothek anzeigen"
|
||||
},
|
||||
"contentFiltering": {
|
||||
"title": "Inhaltsfilterung",
|
||||
"title": "Blacklist",
|
||||
"artistBlacklist": "Künstler-Blacklist",
|
||||
"artistsBlocked": "{count} Künstler blockiert",
|
||||
"manage": "Verwalten",
|
||||
@@ -660,6 +660,8 @@
|
||||
"musicbrainzCache": "MusicBrainz-Cache",
|
||||
"listenbrainz": "ListenBrainz",
|
||||
"plexActionEasyConnect": "Mit Plex verbinden",
|
||||
"plexActionGenerateCode": "Code erzeugen",
|
||||
"plexActionLoadSections": "Bereiche synchronisieren",
|
||||
"plexActionOpenAuth": "Plex-Anmeldung öffnen",
|
||||
"plexActionDisconnect": "Plex trennen",
|
||||
"plexActionClearCache": "Lokalen Plex-Cache leeren",
|
||||
@@ -688,7 +690,7 @@
|
||||
"plexClearCacheConfirmOk": "Cache leeren",
|
||||
"plexLibraryIntegrationNote": "Plex-Musik wird in die Local Library integriert (gleicher Queue-/Player-Flow, keine separate Registerkarte).",
|
||||
"plexLocalOnlyDirectPlayNote": "Nur Plex-Bibliotheken mit lokalen Dateien werden unterstützt, um Direct Play zu garantieren.",
|
||||
"remoteControl": "Fernsteuerung",
|
||||
"remoteControl": "Remote",
|
||||
"remoteControlDesc": "Steuere QBZ von einem anderen Gerät im selben Netzwerk.",
|
||||
"remoteControlEnable": "Fernsteuerung aktivieren",
|
||||
"remoteControlPort": "Port",
|
||||
@@ -713,17 +715,24 @@
|
||||
"remoteControlQrAlt": "QR-Code zur Kopplung",
|
||||
"plexConnection": "Plex-Verbindung",
|
||||
"plexConnectionLore": "Greife direkt aus der QBZ Local Library auf deine Plex-Bibliothek zu. Diese Integration unterstützt nur lokale und LAN-Plex-Server, um Direct Play zu garantieren.",
|
||||
"plexCollapseHint": "Dies blendet nur den Block aus. Deine Einstellungen bleiben unverändert.",
|
||||
"plexServerUrl": "Plex-Server-URL",
|
||||
"plexServerUrlPlaceholder": "http://lokale-ip-adresse",
|
||||
"plexServerUrlPlaceholder": "http://lokale-ip-adresse:32400",
|
||||
"plexServerUrlHelp": "Muss eine lokale oder lokale LAN-URL sein.",
|
||||
"plexServerPort": "Port",
|
||||
"plexLocalAddressRequired": "Verwende eine lokale oder LAN-Plex-Adresse. Remote-Endpunkte werden in diesem Modus nicht unterstützt.",
|
||||
"plexAuthorizeSectionTitle": "QBZ autorisieren",
|
||||
"plexAuthorizeSectionLore": "Autorisiere QBZ, um sich mit deinem Plex-Server zu verbinden.",
|
||||
"plexAuthorizeHelp": "Prüfe deinen externen Browser, um die Autorisierung abzuschließen.",
|
||||
"plexAuthorizeLabel": "QBZ für die Verbindung mit deinem Plex-Server autorisieren",
|
||||
"plexAuthorizeHelp": "Falls es sich nicht automatisch öffnet, besuche https://plex.tv/link.",
|
||||
"plexAuthorizeLabel": "QBZ autorisieren",
|
||||
"plexAuthorizeGenerateHelp": "Dadurch wird ein 4-stelliger Code erzeugt.",
|
||||
"plexCodeEmpty": "Noch kein Code erzeugt",
|
||||
"plexCodeTooltip": "Code kopieren",
|
||||
"plexLinkWithPlex": "Mit Plex verknüpfen",
|
||||
"plexLinkWithPlexHelp": "Notiere dir diesen Einmalcode.",
|
||||
"plexManualTokenToggle": "Oder gib dein Plex X-Token direkt ein",
|
||||
"plexManualTokenHelp": "Optional. Nicht erforderlich, wenn der Code-Flow oben funktioniert hat.",
|
||||
"plexAuthorizeUsingCode": "QBZ mit dem vorherigen Code autorisieren",
|
||||
"plexConnectionCheckLabel": "Plex-Verbindung prüfen",
|
||||
"plexGetLibrariesLabel": "Plex-Musikbibliotheken laden",
|
||||
"plexGetLibrariesHelp": "Neu synchronisieren, wenn auf dem Plex-Server neue Bibliotheken hinzugefügt wurden.",
|
||||
|
||||
@@ -647,7 +647,7 @@
|
||||
"fetchArtistImagesDesc": "Show artist photos from Qobuz™ in local library"
|
||||
},
|
||||
"contentFiltering": {
|
||||
"title": "Content Filtering",
|
||||
"title": "Blacklist",
|
||||
"artistBlacklist": "Artist Blacklist",
|
||||
"artistsBlocked": "{count} artists blocked",
|
||||
"manage": "Manage",
|
||||
@@ -677,7 +677,7 @@
|
||||
"musicbrainzDesc": "Enable artist relationships and enhanced metadata from MusicBrainz.",
|
||||
"musicbrainzCache": "MusicBrainz Cache",
|
||||
"listenbrainz": "ListenBrainz",
|
||||
"remoteControl": "Remote Control",
|
||||
"remoteControl": "Remote",
|
||||
"remoteControlExperimental": "Experimental",
|
||||
"remoteControlDesc": "Control QBZ from another device on the same network.",
|
||||
"remoteControlSetupGuide": "Setup Guide",
|
||||
@@ -704,17 +704,24 @@
|
||||
"remoteControlQrAlt": "Pairing QR code",
|
||||
"plexConnection": "Plex Connection",
|
||||
"plexConnectionLore": "Access your Plex library directly from QBZ Local Library. This integration supports only local and LAN Plex servers to guarantee direct play.",
|
||||
"plexCollapseHint": "This only hides the block. Your settings stay unchanged.",
|
||||
"plexServerUrl": "Plex Server URL",
|
||||
"plexServerUrlPlaceholder": "http://local-ip-address",
|
||||
"plexServerUrlPlaceholder": "http://local-ip-address:32400",
|
||||
"plexServerUrlHelp": "Must be a local or local-LAN URL.",
|
||||
"plexServerPort": "Port",
|
||||
"plexLocalAddressRequired": "Use a local or LAN Plex address. Remote Plex endpoints are not supported for this mode.",
|
||||
"plexAuthorizeSectionTitle": "Authorize QBZ",
|
||||
"plexAuthorizeSectionLore": "Authorize QBZ to connect with your Plex server.",
|
||||
"plexAuthorizeHelp": "Check your external web browser to complete authorization.",
|
||||
"plexAuthorizeLabel": "Authorize QBZ to connect with your Plex server",
|
||||
"plexAuthorizeHelp": "If it does not open automatically, visit https://plex.tv/link.",
|
||||
"plexAuthorizeLabel": "Authorize QBZ",
|
||||
"plexAuthorizeGenerateHelp": "This will generate a 4-character code.",
|
||||
"plexCodeEmpty": "No code generated yet",
|
||||
"plexCodeTooltip": "Copy code",
|
||||
"plexLinkWithPlex": "Link with Plex",
|
||||
"plexLinkWithPlexHelp": "Take note of this one-time code.",
|
||||
"plexManualTokenToggle": "Or enter your Plex X-Token directly",
|
||||
"plexManualTokenHelp": "Optional. Not required if the code flow above worked.",
|
||||
"plexAuthorizeUsingCode": "Authorize QBZ using previous code",
|
||||
"plexConnectionCheckLabel": "Check Plex connection",
|
||||
"plexGetLibrariesLabel": "Get Plex music libraries",
|
||||
"plexGetLibrariesHelp": "Re-sync if new libraries were added on your Plex server.",
|
||||
@@ -737,11 +744,12 @@
|
||||
"plexTokenPlaceholder": "Paste your X-Plex-Token",
|
||||
"plexActionPing": "Ping Plex",
|
||||
"plexActionEasyConnect": "Connect with Plex",
|
||||
"plexActionGenerateCode": "Generate Code",
|
||||
"plexActionOpenAuth": "Open Plex Sign-In",
|
||||
"plexActionDisconnect": "Disconnect Plex",
|
||||
"plexActionClearCache": "Clear Local Plex Cache",
|
||||
"plexActionCopyCode": "Copy Code",
|
||||
"plexActionLoadSections": "Load Music Sections",
|
||||
"plexActionLoadSections": "Sync Sections",
|
||||
"plexActionLoadTracks": "Load Tracks",
|
||||
"plexActionPlay": "Play",
|
||||
"plexActionPlaying": "Playing...",
|
||||
|
||||
@@ -647,7 +647,7 @@
|
||||
"fetchArtistImagesDesc": "Mostrar fotos de artistas de Qobuz™ en la biblioteca local"
|
||||
},
|
||||
"contentFiltering": {
|
||||
"title": "Filtrado de Contenido",
|
||||
"title": "Lista negra",
|
||||
"artistBlacklist": "Lista negra de artistas",
|
||||
"artistsBlocked": "{count} artistas bloqueados",
|
||||
"manage": "Administrar",
|
||||
@@ -677,7 +677,7 @@
|
||||
"musicbrainzDesc": "Habilita relaciones de artistas y metadatos mejorados de MusicBrainz.",
|
||||
"musicbrainzCache": "Caché de MusicBrainz",
|
||||
"listenbrainz": "ListenBrainz",
|
||||
"remoteControl": "Control Remoto",
|
||||
"remoteControl": "Remoto",
|
||||
"remoteControlExperimental": "Experimental",
|
||||
"remoteControlDesc": "Controla QBZ desde otro dispositivo en la misma red.",
|
||||
"remoteControlSetupGuide": "Guía de configuración",
|
||||
@@ -704,17 +704,24 @@
|
||||
"remoteControlQrAlt": "Código QR de emparejamiento",
|
||||
"plexConnection": "Conexión Plex",
|
||||
"plexConnectionLore": "Accede a tu biblioteca de Plex desde QBZ Local Library. Esta integración solo soporta servidores Plex locales o en LAN para garantizar direct play.",
|
||||
"plexCollapseHint": "Esto solo oculta el bloque. Tu configuración no cambia.",
|
||||
"plexServerUrl": "URL del servidor Plex",
|
||||
"plexServerUrlPlaceholder": "http://ip-local",
|
||||
"plexServerUrlPlaceholder": "http://ip-local:32400",
|
||||
"plexServerUrlHelp": "Debe ser una URL local o local-LAN.",
|
||||
"plexServerPort": "Puerto",
|
||||
"plexLocalAddressRequired": "Usa una dirección Plex local o LAN. Los endpoints remotos no están soportados en este modo.",
|
||||
"plexAuthorizeSectionTitle": "Autorizar QBZ",
|
||||
"plexAuthorizeSectionLore": "Autoriza QBZ para conectarse con tu servidor Plex.",
|
||||
"plexAuthorizeHelp": "Revisa tu navegador externo para completar la autorización.",
|
||||
"plexAuthorizeLabel": "Autorizar QBZ para conectarse con tu servidor Plex",
|
||||
"plexAuthorizeHelp": "Si no se abre automáticamente, visita https://plex.tv/link.",
|
||||
"plexAuthorizeLabel": "Autorizar QBZ",
|
||||
"plexAuthorizeGenerateHelp": "Esto generará un código de 4 caracteres.",
|
||||
"plexCodeEmpty": "Aún no se generó código",
|
||||
"plexCodeTooltip": "Copiar código",
|
||||
"plexLinkWithPlex": "Vincular con Plex",
|
||||
"plexLinkWithPlexHelp": "Toma nota de este código de un solo uso.",
|
||||
"plexManualTokenToggle": "O ingresa tu Plex X-Token manualmente",
|
||||
"plexManualTokenHelp": "Opcional. No es necesario si el flujo de código funcionó.",
|
||||
"plexAuthorizeUsingCode": "Autoriza QBZ con el código anterior",
|
||||
"plexConnectionCheckLabel": "Comprobar conexión con Plex",
|
||||
"plexGetLibrariesLabel": "Obtener bibliotecas de música de Plex",
|
||||
"plexGetLibrariesHelp": "Re-sincroniza si agregaste bibliotecas nuevas en tu servidor Plex.",
|
||||
@@ -737,11 +744,12 @@
|
||||
"plexTokenPlaceholder": "Pega tu X-Plex-Token",
|
||||
"plexActionPing": "Probar Plex",
|
||||
"plexActionEasyConnect": "Conectar con Plex",
|
||||
"plexActionGenerateCode": "Generar código",
|
||||
"plexActionOpenAuth": "Abrir inicio de sesión de Plex",
|
||||
"plexActionDisconnect": "Desconectar Plex",
|
||||
"plexActionClearCache": "Limpiar caché local de Plex",
|
||||
"plexActionCopyCode": "Copiar código",
|
||||
"plexActionLoadSections": "Cargar secciones de música",
|
||||
"plexActionLoadSections": "Sincronizar secciones",
|
||||
"plexActionLoadTracks": "Cargar pistas",
|
||||
"plexActionPlay": "Reproducir",
|
||||
"plexActionPlaying": "Reproduciendo...",
|
||||
|
||||
@@ -629,7 +629,7 @@
|
||||
"fetchArtistImagesDesc": "Afficher les photos d'artistes de Qobuz™ dans la bibliothèque locale"
|
||||
},
|
||||
"contentFiltering": {
|
||||
"title": "Filtrage du contenu",
|
||||
"title": "Liste noire",
|
||||
"artistBlacklist": "Liste noire des artistes",
|
||||
"artistsBlocked": "{count} artistes bloqués",
|
||||
"manage": "Gérer",
|
||||
@@ -660,6 +660,8 @@
|
||||
"musicbrainzCache": "Cache MusicBrainz",
|
||||
"listenbrainz": "ListenBrainz",
|
||||
"plexActionEasyConnect": "Se connecter avec Plex",
|
||||
"plexActionGenerateCode": "Générer le code",
|
||||
"plexActionLoadSections": "Synchroniser les sections",
|
||||
"plexActionOpenAuth": "Ouvrir la connexion Plex",
|
||||
"plexActionDisconnect": "Déconnecter Plex",
|
||||
"plexActionClearCache": "Effacer le cache Plex local",
|
||||
@@ -688,7 +690,7 @@
|
||||
"plexClearCacheConfirmOk": "Effacer le cache",
|
||||
"plexLibraryIntegrationNote": "La musique Plex est intégrée dans la Local Library (même flux file d'attente/lecteur, sans onglet séparé).",
|
||||
"plexLocalOnlyDirectPlayNote": "Seules les bibliothèques Plex pointant vers des fichiers locaux sont prises en charge pour garantir le direct play.",
|
||||
"remoteControl": "Contrôle à distance",
|
||||
"remoteControl": "Remote",
|
||||
"remoteControlDesc": "Contrôlez QBZ depuis un autre appareil sur le même réseau.",
|
||||
"remoteControlEnable": "Activer le contrôle à distance",
|
||||
"remoteControlPort": "Port",
|
||||
@@ -713,17 +715,24 @@
|
||||
"remoteControlQrAlt": "Code QR d'appairage",
|
||||
"plexConnection": "Connexion Plex",
|
||||
"plexConnectionLore": "Accédez à votre bibliothèque Plex depuis la Local Library de QBZ. Cette intégration prend uniquement en charge les serveurs Plex locaux et LAN pour garantir le direct play.",
|
||||
"plexCollapseHint": "Cela masque seulement le bloc. Vos réglages restent inchangés.",
|
||||
"plexServerUrl": "URL du serveur Plex",
|
||||
"plexServerUrlPlaceholder": "http://adresse-ip-locale",
|
||||
"plexServerUrlPlaceholder": "http://adresse-ip-locale:32400",
|
||||
"plexServerUrlHelp": "Doit être une URL locale ou locale-LAN.",
|
||||
"plexServerPort": "Port",
|
||||
"plexLocalAddressRequired": "Utilisez une adresse Plex locale ou LAN. Les endpoints distants ne sont pas pris en charge dans ce mode.",
|
||||
"plexAuthorizeSectionTitle": "Autoriser QBZ",
|
||||
"plexAuthorizeSectionLore": "Autorisez QBZ à se connecter à votre serveur Plex.",
|
||||
"plexAuthorizeHelp": "Vérifiez votre navigateur externe pour terminer l'autorisation.",
|
||||
"plexAuthorizeLabel": "Autoriser QBZ à se connecter à votre serveur Plex",
|
||||
"plexAuthorizeHelp": "Si cela ne s'ouvre pas automatiquement, visitez https://plex.tv/link.",
|
||||
"plexAuthorizeLabel": "Autoriser QBZ",
|
||||
"plexAuthorizeGenerateHelp": "Cela générera un code de 4 caractères.",
|
||||
"plexCodeEmpty": "Aucun code généré pour le moment",
|
||||
"plexCodeTooltip": "Copier le code",
|
||||
"plexLinkWithPlex": "Associer avec Plex",
|
||||
"plexLinkWithPlexHelp": "Notez ce code à usage unique.",
|
||||
"plexManualTokenToggle": "Ou saisissez directement votre Plex X-Token",
|
||||
"plexManualTokenHelp": "Optionnel. Pas nécessaire si le flux de code ci-dessus a fonctionné.",
|
||||
"plexAuthorizeUsingCode": "Autoriser QBZ avec le code précédent",
|
||||
"plexConnectionCheckLabel": "Vérifier la connexion Plex",
|
||||
"plexGetLibrariesLabel": "Récupérer les bibliothèques musicales Plex",
|
||||
"plexGetLibrariesHelp": "Re-synchronisez si de nouvelles bibliothèques ont été ajoutées sur votre serveur Plex.",
|
||||
|
||||
Reference in new issue
Block a user