configure watchdog to accept a list of dirs to watch

- fix PlayingFrom component not working with album
- fix types issues on PlayingFrom component
This commit is contained in:
geoffrey45
2022-07-15 15:40:11 +03:00
parent 97b61970c5
commit 3882317cb6
11 changed files with 73 additions and 41 deletions
+5 -4
View File
@@ -74,23 +74,24 @@ export interface Notif {
}
export interface fromFolder {
type: FromOptions;
type: FromOptions.folder;
path: string;
name: string;
}
export interface fromAlbum {
type: FromOptions;
type: FromOptions.album;
name: string;
hash: string;
albumartist: string;
}
export interface fromPlaylist {
type: FromOptions;
type: FromOptions.playlist;
name: string;
playlistid: string;
}
export interface fromSearch {
type: FromOptions;
type: FromOptions.search;
query: string;
}