[Pianod] r149 & dealing with boot-time issues

Perette Barella perette at barella.org
Sat Jul 27 15:41:52 PDT 2013


> Perhaps this explains why I haven't noticed the problem; I don't usually try to play a station from pianod right when the system boots, although I have the pianod process set to start at boot.
> 
> The command buffer seems like a good idea, although maybe complicated to implement.  Maybe easiest to save the commands as strings?  Offline event also seems reasonable.

r149 is up.

PANDORA USER "foo at bar.com" "password"
WAIT FOR AUTHENTICATION
# the rest of this won't try to run while the authentication is still pending
SELECT STATION "jazz fusion" 

For scripty goodness, there's also WAIT FOR NEXT SONG and WAIT FOR END OF SONG.

There's also a new TEST AUDIO OUTPUT, which generates a brief annoying tone.

> Separate question: it looks like libwaitress is designed not to give many error messages?  It would be nice if it returned the actual getaddrinfo error instead of just "getaddr failed".

Agreed, but that's in the library code, which I'm trying not to diverge from.  You could try submitting a change to Pianobar.

Perette




More information about the Pianod mailing list