Closed parkererickson closed 9 years ago
Each program handles its own output; Pidora itself doesn't do anything with the audio. So to do your weather forecasts, you'll need to use your text-to-speech program to either play it over the speakers itself or generate a mp3/wav/ogg file and use your favorite command-line program to play that.
Ok. Thank you. How would I pause the music to do this?
I would take a look at the code in bar-update.py
. It pauses* the music to play NPR radio and then restarts it.
*Or rather it doesn't let pianobar continue playing.
Thanks for the help! Still working on the TTS portion.
No problem! Looking forward to seeing what you come up with!
I am fairly new to python and this project really interested me. I was wondering where in the program it outputted the songs/NPR/other. I would like to add weather forecasts(already have a parser and text-to-speech program) and other podcasts that I can play as a "station" and not on a regular time basis. Thanks in advance!