mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 23:02:43 +01:00
stop streaming iterables
add gonic to test servers setup gather artist image URLs on allArtists to remove weird Future<Uri> interface for artist images move source options around
This commit is contained in:
@@ -3,15 +3,14 @@ import 'models.dart';
|
||||
abstract class MusicSource {
|
||||
Future<void> ping();
|
||||
|
||||
Stream<Iterable<SourceAlbum>> allAlbums();
|
||||
Stream<Iterable<SourceArtist>> allArtists();
|
||||
Stream<Iterable<SourcePlaylist>> allPlaylists();
|
||||
Stream<Iterable<SourceSong>> allSongs();
|
||||
Stream<Iterable<SourcePlaylistSong>> allPlaylistSongs();
|
||||
Stream<SourceAlbum> allAlbums();
|
||||
Stream<SourceArtist> allArtists();
|
||||
Stream<SourcePlaylist> allPlaylists();
|
||||
Stream<SourceSong> allSongs();
|
||||
Stream<SourcePlaylistSong> allPlaylistSongs();
|
||||
|
||||
Uri streamUri(String songId);
|
||||
Uri downloadUri(String songId);
|
||||
|
||||
Uri coverArtUri(String coverArtId, {bool thumbnail = true});
|
||||
Future<Uri?> artistArtUri(String artistId, {bool thumbnail = true});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user