diff --git a/src/js/services/mopidy/middleware.js b/src/js/services/mopidy/middleware.js index 978fc67e..99923e32 100755 --- a/src/js/services/mopidy/middleware.js +++ b/src/js/services/mopidy/middleware.js @@ -265,14 +265,14 @@ const MopidyMiddleware = (function () { store.dispatch(uiActions.updateProcess( processKey, - i18n( - 'services.mopidy.searching', - { - provider: titleCase(uri_scheme.replace(':', '')), - type: requestType, - }, - ), { + content: i18n( + 'services.mopidy.searching', + { + provider: titleCase(uri_scheme.replace(':', '')), + type: requestType, + }, + ), remaining: queue.length, }, )); @@ -1141,9 +1141,9 @@ const MopidyMiddleware = (function () { if (queue.length) { store.dispatch(uiActions.startProcess( - 'MOPIDY_GET_SEARCH_RESULTS', - i18n('services.mopidy.searching'), + action.type, { + content: i18n('services.mopidy.searching'), total: queue.length, remaining: queue.length, }, @@ -1734,7 +1734,7 @@ const MopidyMiddleware = (function () { store.dispatch( uiActions.updateProcess( - 'MOPIDY_GET_LIBRARY_PLAYLISTS', + action.type, { total: playlist_uris.length, remaining: playlist_uris.length, diff --git a/src/js/services/pusher/middleware.js b/src/js/services/pusher/middleware.js index 4d7ab67b..052301eb 100755 --- a/src/js/services/pusher/middleware.js +++ b/src/js/services/pusher/middleware.js @@ -628,7 +628,7 @@ const PusherMiddleware = (function () { const notification_key = `command_${action.id}`; if (action.notify) { - store.dispatch(uiActions.startProcess(notification_key, 'Running command')); + store.dispatch(uiActions.startProcess(notification_key, { content: 'Running command' })); } request(store, 'run_command', { id: action.id }) diff --git a/src/js/services/spotify/actions.js b/src/js/services/spotify/actions.js index 1031cea6..6386798f 100755 --- a/src/js/services/spotify/actions.js +++ b/src/js/services/spotify/actions.js @@ -558,7 +558,7 @@ export function getMore(url, core_action = null, custom_action = null, extra_dat export function getSearchResults({ type, term }, limit = 50, offset = 0) { const processKey = 'SPOTIFY_GET_SEARCH_RESULTS'; return (dispatch, getState) => { - dispatch(uiActions.startProcess(processKey, 'Searching Spotify')); + dispatch(uiActions.startProcess(processKey, { content: 'Searching Spotify' })); let typeString = type.replace(/s+$/, ''); if (typeString === 'all') {