mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
display albums from db
This commit is contained in:
@@ -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});
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user