Bringing all tracks into core index; Need to refactor loading all assets

This commit is contained in:
James Barnsley
2017-11-08 08:44:56 +13:00
parent 7739a16504
commit 5063cc095c
6 changed files with 183 additions and 65 deletions

View File

@ -32,15 +32,6 @@ const LastfmMiddleware = (function(){
next(action);
break;
case 'MOPIDY_CURRENTTLTRACK':
if (action.data && action.data.track){
if (state.lastfm.session){
store.dispatch(lastfmActions.scrobble(action.data.track));
}
}
next(action);
break;
// This action is irrelevant to us, pass it on to the next middleware
default: