vicrodh
5be437dd4e
refactor: extract Qobuz adapters and unify DisplayTrack type
- Create $lib/adapters/qobuzAdapters.ts with:
- formatDuration/formatDurationMinutes (removed duplicates)
- getQobuzImage helper
- formatQuality/formatAlbumQuality helpers
- convertQobuzAlbum converter
- convertQobuzArtist converter
- Add unified DisplayTrack type to $lib/types/index.ts
- Update +page.svelte:
- Import adapters instead of inline functions
- Remove duplicate converter functions (−57 lines)
- Add handleDisplayTrackPlay for view components
- Fix TypeScript type narrowing in view closures
2026-01-10 05:51:48 -06:00
..
2026-01-10 05:51:48 -06:00
2026-01-10 05:51:48 -06:00
2026-01-09 08:47:53 -06:00
2026-01-10 05:16:32 -06:00
2026-01-10 04:53:00 -06:00
2026-01-10 05:51:48 -06:00