Upgrade to mixer.getVolume; Move version to core for simplicity

This commit is contained in:
James Barnsley
2019-12-27 14:48:12 +13:00
parent e59cd5a253
commit 636d37dcc4
7 changed files with 10 additions and 14 deletions

View File

@ -70908,7 +70908,7 @@ var MopidyMiddleware = function () {
break;
case 'MOPIDY_GET_VOLUME':
request(socket, store, 'playback.getVolume').then(function (response) {
request(socket, store, 'mixer.getVolume').then(function (response) {
store.dispatch({
type: 'MOPIDY_VOLUME',
volume: response
@ -70917,7 +70917,7 @@ var MopidyMiddleware = function () {
break;
case 'MOPIDY_SET_VOLUME':
request(socket, store, 'playback.setVolume', { volume: action.volume }).then(function (response) {
request(socket, store, 'mixer.setVolume', { volume: action.volume }).then(function (response) {
store.dispatch({
type: 'MOPIDY_VOLUME',
volume: action.volume

File diff suppressed because one or more lines are too long

View File

@ -100,7 +100,7 @@
// Release details
// These are automatically injected to built HTML
var build = "1577407399";
var build = "1577409783";
var version = "3.43.0";
// Construct the script tag