Difference between pages "Package:Pianobar" and "Form:Organization"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
{{Ebuild
<noinclude>
|Summary=Pianobar is a console client for the personalized web radio Pandora.
__NOTOC__
|CatPkg=media-sound/pianobar
|Maintainer=
|Homepage=https://github.com/PromyLOPh/pianobar
}}


Pianobar is a console client for the personalized web radio Pandora.
== Add a New Organization ==
It features the following abilities:


* Play and manage (create, add more music, delete, rename, etc.) your stations
{{#forminput:form=Organization|query string=namespace=Organization}}
* Rate played songs and let Pandora explain why they have been selected
</noinclude><includeonly>
* Show upcoming songs and song history
{{{for template|Organization}}}
* Configure keybindings
{{TableStart}}
* Last.fm scrobbling support (with the help of an external application)
<tr><th class="active">Homepage</th><td> {{{field|Homepage|property=Homepage|input type=text|placeholder=Specify your organization's Web site URL.}}} </td></tr>
* Proxy support for listeners outside of the USA
<tr><th class="active">Summary</th><td> {{{field|Summary|property=Summary|input type=textarea|placeholder=Summary of your organization.}}} </td></tr>
([https://github.com/PromyLOPh/pianobar Homepage])
<tr><th class="active">Funtoo-related Services</th><td> {{{field|Funtoo services|property=Funtoo services|input type=textarea|placeholder=What Funtoo-related services do you offer?}}} </td></tr>
<tr><th class="active">Services</th><td> {{{field|Services|property=Services|input type=textarea|placeholder=What is a general summary of your full service offerings?}}} </td></tr>
{{TableEnd}}


== Install ==
== Location ==
To install Pianobar, emerge it:
<console>
###i## emerge pianobar
</console>


{{TableStart}}
<tr><th class="active">Geographic Coordinates</th><td>
This section can be used to identify your geographic location. Enter the name of the location (either as an address or in City, State format) into the ''second field'', and click '''Look up Coordinates'''. Geographic Coordinates will then be automatically be placed in the first field.


== Pianobar configuration ==
{{{field
=== Easy login ===
| Geoloc
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:
| input type=googlemaps
{{file|name= ~/.config/pianobar/config|desc= |body=
| height=300
password = YOURPASSWORD
| width=100%
user = user@email.com
| autozoom=off
}}
| zoom=2
}}} </td></tr>
<tr><th class="active">Location name</th><td>{{{field|Location name|list}}}</td></tr>
{{TableEnd}}


=== Easy login (with encryption) ===
{{{end template}}}
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 ===
== Documentation ==
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 ===
Enter documentation or extended information for the organization below. If you need to add more complex wikitext, use the "Edit" button after saving this page, and enter your wiki text at the bottom. This allows you to provide rich documentation content for the repository.
{| {{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 ==
{{{standard input|free text|rows=30}}}
=== 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:
{{{for template|OrganizationFooter}}}
<console>
{{{end template}}}
###i## echo "media-video/ffmpeg threads" > /etc/portage/package.use/ffmpeg
 
###i## emerge ffmpeg
{{{standard input|summary}}}
</console>
 
{{fancynote| As of [https://bugs.funtoo.org/browse/FL-1437 FL-1437], threads support should be enabled on ffmpeg by default.}}
{{{standard input|minor edit}}} {{{standard input|watch}}}
{{EbuildFooter}}
 
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}

Revision as of 21:57, January 7, 2015


Add a New Organization