注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Package:Pianobar"

From Funtoo
Jump to navigation Jump to search
Line 22: Line 22:
user = user@email.com
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 ===
=== Other configuration options ===
Line 28: Line 31:
!Description
!Description
|-
|-
|audio_quality =
|audio_quality
|The quality of the audio. Can be set to: high, medium, or low.
|The quality of the audio. Can be set to: high, medium, or low.
|-
|-
|autostart_station =
|autostart_station
|Select a station ID that you would like to play when Pianobar starts.
|Select a station ID that you would like to play when Pianobar starts.
|-
|-
|proxy =
|proxy
|Use a http proxy.
|Use a http proxy.
|}
|}
{{EbuildFooter}}
{{EbuildFooter}}

Revision as of 15:31, August 4, 2014

Pianobar

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

To install Pianobar, emerge it:

root # emerge pianobar

Pianobar configuration

Easy login

After you have emerged Pianobar, you can run it with pianobar. If you dislike typing your username and password every time that you run pianobar, create the file ~/.config/pianobar/config and add the following lines to it:

   ~/.config/pianobar/config
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:

   ~/.config/pianobar/config
password_command = gpg --decrypt ~/.passwords/pianobar
user = user@email.com

Keybindings

TO configure keybindings, check out man pianobar. All keybindings can be added to ~/.config/pianobar/config. All the keybindings in the man page will begin with the line act_.

Other configuration options

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.