PromyLOPh / pianobar

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

Detect the Current Volume Level? #568

Closed reidcooper closed 4 years ago

reidcooper commented 8 years ago

Is there a way to detect the current volume level so I can set that as default?

PromyLOPh commented 8 years ago

pianobar saves the current volume to ~/.config/pianobar/state on exit.

emmiegit commented 8 years ago

I feel like there should be an option to display the volume when a song is playing. Do you think that's a worthwhile feature?

PromyLOPh commented 8 years ago

The patch below adds a config option format_time, whose default is %r/%t. A statusline with volume would be something like %r/%t (%vdB). I don’t want to show it by default, because the absolute value does not matter imho.

https://gist.github.com/anonymous/b98f367211959ac3c189