fix playing from album bug when there's inconsistent discs

~ eg. when there's no disc 1, but there's disc 2, or 3
This commit is contained in:
geoffrey45
2022-12-24 17:26:03 +03:00
committed by Mungai Njoroge
parent 7f0fe88c43
commit c52390117e
6 changed files with 17 additions and 49 deletions
+4 -2
View File
@@ -16,15 +16,17 @@ export interface Track extends AlbumDisc {
filepath?: string;
duration?: number;
bitrate: number;
genre?: string;
image: string;
track: number;
disc: number;
index: number;
trackhash: string;
copyright?: string;
filetype: string;
is_favorite: boolean;
genre?: string;
copyright?: string;
master_index?: number;
}
export interface Folder {