forked from encrypt/random
567 B
567 B
mumble-bot
prende l'audio del canale, ne fa stdout.
install
git clone https://github.com/azlux/pymumble # quest non sta su pypy
cd pymumble
pip3 install --user -r requirements.txt
python3 setup.py install --user
ascolta
con pulseaudio
python3 bot.py | paplay --raw --rate=48000 --format=s16le --channels=2
streama
python3 bot.py | ffmpeg -ac 2 -ar 48000 -f s16le -i pipe: -codec:a libvorbis -qscale:a 3 -content_type 'audio/ogg' -vn -f ogg icecast://username:passwordsicura@ice.cast:8000/test.ogg