mirror of
https://github.com/austinried/subtracks.git
synced 2025-12-27 09:09:29 +01:00
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
17 lines
404 B
Dart
17 lines
404 B
Dart
import 'models.dart';
|
|
|
|
abstract class MusicSource {
|
|
Future<void> ping();
|
|
|
|
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});
|
|
}
|