MusicBrainz library enrichment with real-time status monitoring and manual control. Features: - Status icon button in dashboard header with glassmorphic design - Animated loading spinner during active enrichment - Hover tooltip showing: - Worker status (Running/Paused/Idle) - Currently processing item - Artist matching progress with percentage - Click-to-toggle pause/resume functionality - Auto-polling every 2 seconds for live updates Backend Changes: - Added GET /api/musicbrainz/status endpoint - Added POST /api/musicbrainz/pause endpoint - Added POST /api/musicbrainz/resume endpoint - Worker tracks current_item for UI display - get_stats() returns enhanced status data Frontend Changes: - New MusicBrainz button component with tooltip - Premium CSS styling with animations - JavaScript polling and state management - Positioned tooltip below button with centered arrow Files Modified: - web_server.py: API endpoints and worker initialization - core/musicbrainz_worker.py: current_item tracking - webui/index.html: Button and tooltip structure - webui/static/style.css: Complete styling (240 lines) - webui/static/script.js: Polling and interaction logic (115 lines) |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| music_database.py | ||
| music_library.db | ||