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
+7 -2
View File
@@ -29,9 +29,14 @@ export default function play(
break;
case playSources.album:
store = store as typeof album;
const a = store();
const a_store = store();
useQueue.playFromAlbum(a.info.title, a.info.artist, a.tracks);
useQueue.playFromAlbum(
a_store.info.title,
a_store.info.artist,
a_store.info.hash,
a_store.tracks
);
useQueue.play();
break;
case playSources.playlist: