mirror of
https://github.com/janishutz/MusicPlayer.git
synced 2026-09-10 14:25:24 +02:00
feat: redesign main page, get player working (mostly) with Apple Music source
This commit is contained in:
+5
-2
@@ -1,3 +1,6 @@
|
||||
import type {
|
||||
Ref
|
||||
} from 'vue';
|
||||
import type {
|
||||
Song
|
||||
} from '@/ts/dtype/playlist';
|
||||
@@ -91,9 +94,9 @@ export interface PlayerSourcePlugin {
|
||||
'getDuration': () => number;
|
||||
|
||||
/**
|
||||
* Check if source is available for playback
|
||||
* Check if source is authorized
|
||||
*/
|
||||
'available': () => boolean;
|
||||
'authorized': Ref<boolean>;
|
||||
|
||||
/**
|
||||
* Called when user adds another song to the playlist via this source.
|
||||
|
||||
Reference in New Issue
Block a user