Skip to content

Commit

Permalink
Merge pull request #1662 from ChisSoc/future3/pulseaudio
Browse files Browse the repository at this point in the history
Remove superseded configuration parameter
  • Loading branch information
Chris authored Dec 5, 2021
2 parents a3273e9 + 469094e commit 44528a1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/jukebox/run_configure_audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,12 @@ def configure_jukebox(filename, primary, secondary, toggle_on_connect):
key = 'primary'
cfg_jukebox.setn('pulse', 'outputs', key, 'alias', value='Speakers')
cfg_jukebox.setn('pulse', 'outputs', key, 'volume_limit', value=100)
cfg_jukebox.setn('pulse', 'outputs', key, 'soft_max_volume', value=100)
cfg_jukebox.setn('pulse', 'outputs', key, 'pulse_sink_name', value=primary)

if secondary is not None:
key = 'secondary'
cfg_jukebox.setn('pulse', 'outputs', key, 'alias', value='Bluetooth Headset')
cfg_jukebox.setn('pulse', 'outputs', key, 'volume_limit', value=100)
cfg_jukebox.setn('pulse', 'outputs', key, 'soft_max_volume', value=100)
cfg_jukebox.setn('pulse', 'outputs', key, 'pulse_sink_name', value=secondary)

cfg_jukebox.save()
Expand Down

0 comments on commit 44528a1

Please sign in to comment.