More debug options; Queue metadata changed handler

This commit is contained in:
James Barnsley
2017-02-22 08:54:47 +13:00
parent 218c4b1bad
commit 83d7f95284
4 changed files with 27 additions and 4 deletions

View File

@ -14,6 +14,10 @@ const MopidyMiddleware = (function(){
// handle all manner of socket messages
const handleMessage = (ws, store, type, data) => {
// if debug enabled
if (store.getState().ui.log_mopidy) console.log('Mopidy', type, data)
switch( type ){
case 'state:online':