Upgrade with history search
This commit is contained in:
+6
-1
@@ -17,11 +17,16 @@ export class QueuedSong extends Song {
|
||||
}
|
||||
|
||||
export class PlayingSong extends QueuedSong {
|
||||
constructor(type: SongType, title: string, songId: string, image: string, tags: string[], listener: string, public length: number, public position: number, public inAutoPlay: boolean) {
|
||||
constructor(type: SongType, title: string, songId: string, image: string, tags: string[], listener: string, public inAutoPlay: boolean) {
|
||||
super(type, title, songId, image, tags, listener, inAutoPlay);
|
||||
}
|
||||
}
|
||||
|
||||
export class PlayerControl {
|
||||
constructor(public type: SongType, public songId: string, public position: number, public length: number) {
|
||||
}
|
||||
}
|
||||
|
||||
export class Playlist {
|
||||
constructor(public title: string, public listener: string, public type: SongType, public songs: Song[]) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user