Skip to content

Commit

Permalink
Allo Digione and more
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jun 30, 2017
1 parent 1610e89 commit 635d405
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/libs/runeaudio.php
Original file line number Diff line number Diff line change
Expand Up @@ -2717,7 +2717,7 @@ function wrk_getHwPlatform()
case 'Freescale i.MX6 Quad/DualLite (Device Tree)':
$arch = '07';
break;
// RaspberryPi
// RaspberryPi2/3
case 'BCM2709':
case 'BCM2836':
case 'BCM2837':
Expand All @@ -2737,6 +2737,7 @@ function wrk_getHwPlatform()
}
}
}
$arch = '08';
if (!isset($arch)) {
$arch = '--';
}
Expand Down
3 changes: 3 additions & 0 deletions app/lyric_ctl.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
flush();

// --------------------- MPD ---------------------
if (FALSE === $redis->Get('lyric')) {
$redis->Set('lyric', 0);
}
if ($activePlayer === 'MPD' && $redis->Get('lyric')) {
//echo str_replace ( "</br>" , "\n" , sysCmd("sh /var/www/command/lyric.sh")[2]);
echo sysCmd("sh /var/www/command/lyric.sh")[2];
Expand Down
4 changes: 4 additions & 0 deletions app/templates/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
<option value="none" <?php if($this->i2smodule === 'none'): ?> selected <?php endif ?>>I&#178;S disabled (default)</option>
<option value="akkordion-iqdacplus" <?php if($this->i2smodule === 'akkordion-iqdacplus'): ?> selected <?php endif ?>>Digital Dreamtime Akkordion</option>
<option value="allo-boss-dac-pcm512x-audio" <?php if($this->i2smodule === 'allo-boss-dac-pcm512x-audio'): ?> selected <?php endif ?>>Allo Boss DAC</option>
<option value="allo-digione" <?php if($this->i2smodule === 'allo-digione'): ?> selected <?php endif ?>>Allo Digione</option>
<option value="allo-piano-dac-pcm512x-audio" <?php if($this->i2smodule === 'allo-piano-dac-pcm512x-audio'): ?> selected <?php endif ?>>Allo Piano DAC</option>
<option value="allo-piano-dac-plus-pcm512x-audio" <?php if($this->i2smodule === 'allo-piano-dac-plus-pcm512x-audio'): ?> selected <?php endif ?>>Allo Piano 2.1 DAC</option>
<option value="dionaudio-loco" <?php if($this->i2smodule === 'dionaudio-loco'): ?> selected <?php endif ?>>Dion Audio LOCO DAC-AMP</option>
Expand All @@ -150,6 +151,7 @@
<option value="raspidac3" <?php if($this->i2smodule === 'raspidac3'): ?> selected <?php endif ?>>RaspiDAC3</option>
<option value="rra-digidac1-wm8741-audio" <?php if($this->i2smodule === 'rra-digidac1-wm8741-audio'): ?> selected <?php endif ?>>Red Rocks Audio DigiDAC1 soundcard</option>
<option value="rpi-dac" <?php if($this->i2smodule === 'rpi-dac'): ?> selected <?php endif ?>>RPI DAC</option>
<option value="rpi-cirrus-wm5102" <?php if($this->i2smodule === 'rpi-cirrus-wm5102'): ?> selected <?php endif ?>>RPI cirrus wm5102</option>
</select>
<span class="help-block">Enable I&#178;S output selecting one of the available drivers, specific for each hardware. After rebooting the output interface will appear in the <a href="/mpd/">MPD configuration select menu</a>, and drivers will also auto-load from the next reboot.</span>
</div>
Expand Down Expand Up @@ -182,6 +184,7 @@
<option value="none" <?php if($this->i2smodule === 'none'): ?> selected <?php endif ?>>I&#178;S disabled (default)</option>
<option value="akkordion-iqdacplus" <?php if($this->i2smodule === 'akkordion-iqdacplus'): ?> selected <?php endif ?>>Digital Dreamtime Akkordion</option>
<option value="allo-boss-dac-pcm512x-audio" <?php if($this->i2smodule === 'allo-boss-dac-pcm512x-audio'): ?> selected <?php endif ?>>Allo Boss DAC</option>
<option value="allo-digione" <?php if($this->i2smodule === 'allo-digione'): ?> selected <?php endif ?>>Allo Digione</option>
<option value="allo-piano-dac-pcm512x-audio" <?php if($this->i2smodule === 'allo-piano-dac-pcm512x-audio'): ?> selected <?php endif ?>>Allo Piano DAC</option>
<option value="allo-piano-dac-plus-pcm512x-audio" <?php if($this->i2smodule === 'allo-piano-dac-plus-pcm512x-audio'): ?> selected <?php endif ?>>Allo Piano 2.1 DAC</option>
<option value="hifiberry-amp" <?php if($this->i2smodule === 'hifiberry-amp'): ?> selected <?php endif ?>>HiFiBerry AMP</option>
Expand All @@ -197,6 +200,7 @@
<option value="pisound" <?php if($this->i2smodule === 'pisound'): ?> selected <?php endif ?>>Pisound</option>
<option value="raspidac3" <?php if($this->i2smodule === 'raspidac3'): ?> selected <?php endif ?>>RaspiDAC3</option>
<option value="rpi-dac" <?php if($this->i2smodule === 'rpi-dac'): ?> selected <?php endif ?>>RPI DAC</option>
<option value="rpi-cirrus-wm5102" <?php if($this->i2smodule === 'rpi-cirrus-wm5102'): ?> selected <?php endif ?>>RPI cirrus wm5102</option>
</select>
<span class="help-block">Enable I&#178;S output selecting one of the available drivers, specific for each hardware. After rebooting the output interface will appear in the <a href="/mpd/">MPD configuration select menu</a>, and drivers will also auto-load from the next reboot.</span>
</div>
Expand Down

0 comments on commit 635d405

Please sign in to comment.