Moving snapcast to debug (as beta)

This commit is contained in:
James Barnsley
2018-03-25 10:20:17 +13:00
parent e7abde42f8
commit 8db6e15e3e
11 changed files with 716 additions and 666 deletions

View File

@ -287,9 +287,11 @@ const MopidyMiddleware = (function(){
store.dispatch(pusherActions.deliverBroadcast(
'notification',
{
type: 'info',
content: store.getState().pusher.username +' paused playback',
icon: (store.getState().core.current_track ? helpers.getTrackIcon(store.getState().core.current_track, store.getState().core) : false)
notification: {
type: 'info',
content: store.getState().pusher.username +' paused playback',
icon: (store.getState().core.current_track ? helpers.getTrackIcon(store.getState().core.current_track, store.getState().core) : false)
}
}
));
break
@ -786,6 +788,19 @@ const MopidyMiddleware = (function(){
)
break;
case 'MOPIDY_CLEAR_TRACKLIST':
instruct(socket, store, 'tracklist.clear');
store.dispatch(pusherActions.deliverBroadcast(
'notification',
{
notification: {
type: 'info',
content: store.getState().pusher.username +' cleared queue'
}
}
));
break;
/**
* =============================================================== SEARCHING ============