fix(library): improve Qobuz badge display and add artist debug logging

- Remove background/border from Qobuz badge, show icon at full 24px
- Keep background only for local badge (HardDrive icon)
- Add console logging when selecting artist to debug mismatch:
  - Shows selected artist name (original and normalized)
  - Shows which albums match
  - Shows artist data from the artists array
This commit is contained in:
vicrodh committed 2026-01-28 02:59:26 -06:00
1 parent d559832ffe
commit 7327a3d060
2 files changed
+33 -4

No files matched your search

+7 -4
View File
@@ -257,7 +257,7 @@
<!-- Source Badge (Local Library only) -->
{#if sourceBadge}
<div class="source-badge" title={sourceBadge === 'user' ? 'Local file' : 'Qobuz offline'}>
<div class="source-badge" class:local-badge={sourceBadge === 'user'} title={sourceBadge === 'user' ? 'Local file' : 'Qobuz offline'}>
{#if sourceBadge === 'user'}
<HardDrive size={14} />
{:else}
@@ -359,15 +359,18 @@
justify-content: center;
width: 24px;
height: 24px;
color: var(--text-secondary);
}
.source-badge.local-badge {
background: rgba(0, 0, 0, 0.7);
border-radius: 4px;
color: var(--text-secondary);
backdrop-filter: blur(4px);
}
.source-badge .qobuz-badge-icon {
width: 16px;
height: 16px;
width: 24px;
height: 24px;
}
.play-overlay {