feat: add discography download with album selection support

- Download entire artist discography, albums only, or singles only
- Album selection mode with multi-select and batch download
- Progress dialog while fetching tracks from albums
- Skip already downloaded tracks (checks history)
- Works with Spotify, Deezer, and Extensions
- Add 18 localization strings for discography feature
This commit is contained in:
zarzet
2026-01-21 10:26:35 +07:00
parent b899b54bb8
commit ac3d51e2cd
18 changed files with 1730 additions and 12 deletions
+2 -3
View File
@@ -19,7 +19,6 @@ class PaletteService {
return null;
}
// Check cache first
if (_colorCache.containsKey(imageUrl)) {
return _colorCache[imageUrl];
}
@@ -27,8 +26,8 @@ class PaletteService {
try {
final paletteGenerator = await PaletteGenerator.fromImageProvider(
CachedNetworkImageProvider(imageUrl),
size: const Size(64, 64), // Small size for speed
maximumColorCount: 8, // Fewer colors for speed
size: const Size(64, 64),
maximumColorCount: 8,
);
final color = paletteGenerator.dominantColor?.color ??