Skip to content

Commit

Permalink
Force Volume Option Visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
volumio committed Dec 22, 2021
1 parent 5b1a841 commit 281c83b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ ALWAYS_ON_INPUT_STREAMING=false
TIDAL_CLOUD=true
QOBUZ_CLOUD=true
UPNP_192_CAP=false
FORCE_VOLUME_OPTIONS_VISIBILITY=false
2 changes: 1 addition & 1 deletion app/plugins/audio_interface/alsa_controller/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ ControllerAlsa.prototype.getUIConfig = function () {

self.configManager.setUIConfigParam(uiconf, 'sections[3].content[0].element', 'select');
self.configManager.setUIConfigParam(uiconf, 'sections[3].content[0].label', self.commandRouter.getI18nString('PLAYBACK_OPTIONS.MIXER_TYPE'));
if (activemixer_type == 'None') {
if (activemixer_type == 'None' && process.env.FORCE_VOLUME_OPTIONS_VISIBILITY !== 'true') {
var activemixer_type_lang = self.commandRouter.getI18nString('COMMON.NONE');
self.configManager.setUIConfigParam(uiconf, 'sections[3].content[1].hidden', true);
self.configManager.setUIConfigParam(uiconf, 'sections[3].content[2].hidden', true);
Expand Down

0 comments on commit 281c83b

Please sign in to comment.