User Tools

Site Tools


pianobar

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
pianobar [2016/07/13 17:17]
k2patel
pianobar [2020/08/10 02:35] (current)
Line 1: Line 1:
 +====== PianoBAR ======
 +
 +Command line client for pandora.
 +
 +[[ https://​6xq.net/​pianobar/​ | Project Home ]]
 +
 +
 +[[ https://​github.com/​PromyLOPh/​pianobar | Get Source from ]]
 +
 +Requirement Specification :
 +
 +<code text>
 +libmad-devel
 +libfaad2-devel
 +gmake
 +libao
 +git
 +</​code>​
 +
 +You can find devel rpm @ rpmfusion
 +
 +To install simply run
 +
 +<code bash>
 +git clone git://​github.com/​PromyLOPh/​pianobar.git
 +cd pianobar
 +gmake clean && gmake install
 +</​code>​
 +
 +NOTE : you can disabled specific audio library, then how you are going to play your stream ? **so don't do it**
 +
 +To automate login and station play you can setup your .config file.\\
 +Please check the following sample config available.
 +
 +<code bash | ~/​.config/​pianobar/​config>​
 +# This is an example configuration file for pianobar. You may remove the # from
 +# lines you need and copy/move this file to ~/​.config/​pianobar/​config
 +# See manpage for a description of the config keys
 +#
 +# User
 +#user = your@user.name
 +#password = password
 +
 +# Proxy (for those who are not living in the USA)
 +#​control_proxy = http://​127.0.0.1:​9090/​
 +
 +# Keybindings
 +#act_help = ?
 +#​act_songlove = +
 +#​act_songban = -
 +#​act_stationaddmusic = a
 +#​act_stationcreate = c
 +#​act_stationdelete = d
 +#​act_songexplain = e
 +#​act_stationaddbygenre = g
 +#​act_songinfo = i
 +#​act_addshared = j
 +#​act_songmove = m
 +#​act_songnext = n
 +#​act_songpause = p
 +#act_quit = q
 +#​act_stationrename = r
 +#​act_stationchange = s
 +#​act_songtired = t
 +#​act_upcoming = u
 +#​act_stationselectquickmix = x
 +#​act_voldown = (
 +#act_volup = )
 +
 +# Misc
 +# mp3, mp3-hifi or aacplus
 +#​audio_format = mp3
 +#​autostart_station = 123456
 +#​event_command = /​home/​user/​.config/​pianobar/​eventcmd
 +#fifo = /​tmp/​pianobar
 +#sort = quickmix_10_name_az
 +#love_icon = [+]
 +#ban_icon = [-]
 +#volume = 0
 +
 +# Format strings
 +#​format_nowplaying_song = %t by %a on %l%r%@%s
 +#​format_nowplaying_station = Station %n
 +#​format_list_song = %i) %a - %t%r
 +</​code>​
 +