Difference between revisions of "Pianobar"

From ArchWiki
Jump to: navigation, search
(Created page for Pianobar)
 
(Troubleshooting)
(One intermediate revision by one other user not shown)
Line 16: Line 16:
  
 
If you are experiencing sound/quality issues when running pianobar, and you are
 
If you are experiencing sound/quality issues when running pianobar, and you are
currently using the [[Advanced Linux Sound Architecture|ALSA]] as your sound driver, the following fix may be useful:
+
currently using [[Advanced Linux Sound Architecture|ALSA]] as your sound driver, the following fix may be useful:
  
 
* Install {{Pkg|alsa-oss}}. See the [[Advanced Linux Sound Architecture|ALSA]] page for more information.
 
* Install {{Pkg|alsa-oss}}. See the [[Advanced Linux Sound Architecture|ALSA]] page for more information.
Line 23: Line 23:
 
* Now to run pianobar:
 
* Now to run pianobar:
 
  $ aoss pianobar
 
  $ aoss pianobar
 +
* Alternatively, you can use pulseaudio.
 +
{{hc|/etc/libao.conf|2=default_driver=pulse}}
 +
Be sure to remove the dev=default option of the alsa driver or adjust it to specify a specific Pulse sink name or number.
  
 
{{Note|The provided fix may affect other applications that use audio since the default driver is being changed. Switch back to the normal configuration at anytime by editing /etc/libao.conf}}
 
{{Note|The provided fix may affect other applications that use audio since the default driver is being changed. Switch back to the normal configuration at anytime by editing /etc/libao.conf}}

Revision as of 21:44, 19 February 2013

Pianobar is a free/open-source, console-based client for the personalized online radio Pandora.

http://6xq.net/projects/pianobar/

Installation

Sync and install with pacman:

# pacman -S pianobar

Troubleshooting

If you are experiencing sound/quality issues when running pianobar, and you are currently using ALSA as your sound driver, the following fix may be useful:

  • Install alsa-oss. See the ALSA page for more information.
  • Change the default libao driver from alsa to oss.
/etc/libao.conf
default_driver=oss
  • Now to run pianobar:
$ aoss pianobar
  • Alternatively, you can use pulseaudio.
/etc/libao.conf
default_driver=pulse

Be sure to remove the dev=default option of the alsa driver or adjust it to specify a specific Pulse sink name or number.

Note: The provided fix may affect other applications that use audio since the default driver is being changed. Switch back to the normal configuration at anytime by editing /etc/libao.conf