display albums from db

This commit is contained in:
austinried
2025-11-08 18:27:37 +09:00
parent 0c80dbdba5
commit ee2a276f2f
18 changed files with 316 additions and 127 deletions

View File

@@ -12,5 +12,5 @@ abstract class MusicSource {
Uri streamUri(String songId);
Uri downloadUri(String songId);
Uri coverArtUri(String coverArtId, {bool thumbnail = true});
Uri coverArtUri(String coverArt, {bool thumbnail = false});
}

View File

@@ -151,8 +151,8 @@ class SubsonicSource implements MusicSource {
}
@override
Uri coverArtUri(String id, {bool thumbnail = true}) {
final opts = {'id': id};
Uri coverArtUri(String coverArt, {bool thumbnail = false}) {
final opts = {'id': coverArt};
if (thumbnail) {
opts['size'] = 256.toString();
}