mirror of
https://github.com/austinried/subtracks.git
synced 2025-12-27 17:19:27 +01:00
17 lines
373 B
Dart
17 lines
373 B
Dart
import 'models.dart';
|
|
|
|
abstract class MusicSource {
|
|
Future<void> ping();
|
|
|
|
Stream<Album> allAlbums();
|
|
Stream<Artist> allArtists();
|
|
Stream<Playlist> allPlaylists();
|
|
Stream<Song> allSongs();
|
|
Stream<PlaylistSong> allPlaylistSongs();
|
|
|
|
Uri streamUri(String songId);
|
|
Uri downloadUri(String songId);
|
|
|
|
Uri coverArtUri(String coverArt, {bool thumbnail = false});
|
|
}
|