Difference between pages "Package:Pianobar" and "Template:F"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
m
 
 
Line 1: Line 1:
{{Ebuild
<includeonly><code>{{{1}}}</code>{{#set:Mentions File={{#explode:{{{1}}}|/|-1}}}}</includeonly>
|Summary=Pianobar is a console client for the personalized web radio Pandora.
|CatPkg=media-sound/pianobar
|Maintainer=
|Homepage=https://github.com/PromyLOPh/pianobar
}}
 
Pianobar is a console client for the personalized web radio Pandora.
It features the following abilities:
 
* Play and manage (create, add more music, delete, rename, etc.) your stations
* Rate played songs and let Pandora explain why they have been selected
* Show upcoming songs and song history
* Configure keybindings
* Last.fm scrobbling support (with the help of an external application)
* Proxy support for listeners outside of the USA
([https://github.com/PromyLOPh/pianobar Homepage])
 
== Install ==
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}}

Revision as of 06:59, January 4, 2015