Upgrade with history search

This commit is contained in:
Torben Pi Jensen
2026-05-09 13:12:37 +02:00
parent 9b4103a8b2
commit 8b2ab7958f
13 changed files with 262 additions and 286 deletions
+6 -1
View File
@@ -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[]) {
}