mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-08-17 08:30:33 +02:00
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:
@@ -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 ??
|
||||
|
||||
Reference in New Issue
Block a user