Shuffle even when loading from index, follow on from #391

This commit is contained in:
James Barnsley
2020-01-10 09:49:44 +13:00
parent 6fe0525bd0
commit 040153f482
6 changed files with 15 additions and 5 deletions

View File

@ -857,6 +857,10 @@ const MopidyMiddleware = (function () {
break;
}
if (action.shuffle) {
action.uris = helpers.shuffle(action.uris);
}
// Stop the radio
if (store.getState().core.radio && store.getState().core.radio.enabled) {
store.dispatch(pusherActions.stopRadio());