community/pianobar: Unable to play sound on pinephone
I'm running postmarketOS 21.06 phosh and am trying to set up pianobar (pandora command line app). When it tries to play audio I get the following errors:
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front ao_alsa WARNING: Unable to open surround playback. Trying default device... ao_alsa ERROR: Unable to open ALSA device 'default' for playback => Invalid argument /|\ Cannot open audio device
Looking around online I tried creating a file at /etc/libao.conf and entering the following into it, but this hasn't made a difference.