diff --git a/core/traxsource.py b/core/traxsource.py index f49af28..0fd82e2 100644 --- a/core/traxsource.py +++ b/core/traxsource.py @@ -14,30 +14,24 @@ from dataclasses import dataclass # Generi musicali Traxsource (slug -> (id, display_name)). # Aggiornato via scripts/refresh_traxsource_genres.py. Esclusi "sounds/samples/loops", # "acapella", "beats", "efx-dj-tools", "stems" (non generi ma tipi di prodotto). +# NOTA (ago 2026): Traxsource ha rimosso la "Top 100 " per 10 generi minori +# (broken-beat-nu-jazz, classic-house, drum-and-bass, electro-house, electronica, +# leftfield, lounge-chill-out, pop-dance, r-and-b-hip-hop, world). Rimossi dal +# dropdown finchΓ© non ripristinano la playlist canonica. GENRES: dict = { "afro-house": (27, "Afro House"), "afro-latin-brazilian": (23, "Afro / Latin / Brazilian"), - "broken-beat-nu-jazz": (2, "Broken Beat / Nu Jazz"), - "classic-house": (12, "Classic House"), "deep-house": (13, "Deep House"), - "drum-and-bass": (31, "Drum & Bass"), - "electro-house": (11, "Electro House"), - "electronica": (5, "Electronica"), "garage": (29, "Garage"), "house": (4, "House"), "jackin-house": (15, "Jackin House"), - "leftfield": (14, "Leftfield"), - "lounge-chill-out": (1, "Lounge / Chill Out"), "melodic-progressive-house": (19, "Melodic / Progressive House"), "minimal-deep-tech": (16, "Minimal / Deep Tech"), "nu-disco-indie-dance": (17, "Nu Disco / Indie Dance"), - "pop-dance": (32, "Pop Dance"), - "r-and-b-hip-hop": (6, "R&B / Hip Hop"), "soul-funk-disco": (3, "Soul / Funk / Disco"), "soulful-house": (24, "Soulful House"), "tech-house": (18, "Tech House"), "techno": (20, "Techno"), - "world": (30, "World"), } diff --git a/webui/css/style.css b/webui/css/style.css index b009ab3..f4a5052 100644 --- a/webui/css/style.css +++ b/webui/css/style.css @@ -207,6 +207,17 @@ button, input, select, textarea { font-family: inherit; font-size: inherit; } } .nav::-webkit-scrollbar-thumb:hover { background: var(--bg-input-hover); } +.nav-section-label { + padding: 12px 14px 6px; + font-size: 10px; + font-weight: 800; + letter-spacing: 1.2px; + text-transform: uppercase; + color: var(--text-3); + user-select: none; +} +.nav-section-label:first-child { padding-top: 4px; } + .nav-item { display: flex; align-items: center; @@ -2162,6 +2173,7 @@ input[type="number"]::-webkit-inner-spin-button { align-items: flex-start; margin-top: 8px; } +.charts-filters[hidden] { display: none !important; } .charts-actions-row { display: flex; diff --git a/webui/index.html b/webui/index.html index 48a273f..d44bd39 100644 --- a/webui/index.html +++ b/webui/index.html @@ -21,6 +21,7 @@