|
|
Line 1: |
Line 1: |
| {{Ebuild
| | [[Category:Kernel]] |
| |Summary=Pianobar is a console client for the personalized web radio Pandora.
| |
| |CatPkg=media-sound/pianobar
| |
| |Maintainer=
| |
| |Homepage=https://github.com/PromyLOPh/pianobar
| |
| }}
| |
| To install Pianobar, emerge it:
| |
| <console>
| |
| ###i## emerge pianobar
| |
| </console>
| |
| | |
| == Pianobar configuration ==
| |
| === Easy login ===
| |
| After you have emerged Pianobar, you can run it with <code>pianobar</code>. If you dislike typing your username and password every time that you run pianobar, create the file <code>~/.config/pianobar/config</code> and add the following lines to it:
| |
| {{file|name= ~/.config/pianobar/config|desc= |body=
| |
| password = YOURPASSWORD
| |
| user = user@email.com
| |
| }}
| |
| | |
| === Easy login (with encryption) ===
| |
| If leaving a plaintext password for your Pandora account somewhere on your filesystem makes you nervous, you can use gpg to decrypt a file that contains your password. Change your configuration to reflect the one below if you would like to encrypt your password:
| |
| {{file|name=~/.config/pianobar/config|desc= |body=
| |
| password_command = gpg --decrypt ~/.passwords/pianobar
| |
| user = user@email.com
| |
| }}
| |
| | |
| === Keybindings ===
| |
| To configure keybindings, check out <code>man pianobar</code>. All keybindings can be added to <code>~/.config/pianobar/config</code>. All the keybindings in the man page will begin with the line <code>act_</code>.
| |
| | |
| === Other configuration options ===
| |
| {| {{table}}
| |
| !Option
| |
| !Description
| |
| |-
| |
| |audio_quality
| |
| |The quality of the audio. Can be set to: high, medium, or low.
| |
| |-
| |
| |autostart_station
| |
| |Select a station ID that you would like to play when Pianobar starts.
| |
| |-
| |
| |proxy
| |
| |Use a http proxy.
| |
| |}
| |
| | |
| == Troubleshooting ==
| |
| === Not compiled with threads support ===
| |
| If you recieve the following warning message (<code>[aac @ 0x7faccc003cd0] Warning: not compiled with thread support, using thread emulation</code>) while running Pianobar, add threads support to ffmpeg, then rebuild it:
| |
| <console>
| |
| ###i## echo "media-video/ffmpeg threads" > /etc/portage/package.use/ffmpeg
| |
| ###i## emerge ffmpeg
| |
| </console>
| |
| {{fancynote| As of [https://bugs.funtoo.org/browse/FL-1437 FL-1437], threads support should be enabled on ffmpeg by default.}}
| |
| {{EbuildFooter}}
| |