mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user