PromyLOPh / pianobar

Console-based pandora.com player
http://6xq.net/pianobar/
Other
1.74k stars 321 forks source link

Documentation regarding REMOTE CONTROL #579

Closed chrisidefix closed 8 years ago

chrisidefix commented 8 years ago

I believe this line (and the other examples) in the man page regarding REMOTE CONTROL is a bit misleading:

echo -n 'n' > ~/.config/pianobar/ctl

What actually happened on my machine when calling this, is a ban of the current song, followed by next to play the next song. Maybe it's enough to call:

echo n > ~/.config/pianobar/ctl
PromyLOPh commented 8 years ago

Is the echo you’re using shell-builtin or something obscure? GNU coreutils’ echo and (as far as I see) FreeBSD’s echo both accept -n.

chrisidefix commented 8 years ago

Looks like this issue was specific to how I called echo (through subprocess from a python script) and generally it's alright.