!!! Still under transition from mopidy-ttsgpio to mopidy-VintageRadioJukebox !!!
Control mopidy without screen using GPIO and TTS
For example if you play "Rather Be - Clean Bandit" you will hear:
http://translate.google.com/translate_tts?tl=en&q=rather%20be%20by%20clean%20bandit
TTS changed to Festival. Install it before using TTSGPIO:
sudo apt-get install festival
- Next/Previous station by rotary encoder
- Select playlist by GPIO
- Hear the station name (Text To Speech)
- Shutdown
To use this extension you need an internet conection for the tts.
Install by running:
pip install Mopidy-VintageRadioJukebox (coming soon...)
To access the GPIO pins in the raspberry pi you have to run mopidy with sudo:
sudo mopidy
Before starting Mopidy, you must add configuration for Mopidy-VintageRadioJukebox to your Mopidy configuration file:
[VintageRadioJukebox] debug_gpio_simulate = false # Set true to emulate GPIO buttons with on screen buttons playlist_0 = pin, playlistName ... playlist_n = pin, playlistName nav_EncA = pin nav_EncB = pin shutdown = pin TODO: vol_EncA = pin vol_EncB = pin
You can set the pins you would like to use. The numbers are in BCM mode. You can check here to see the numbers for your board.
- TODO
TODO
- Fork from mopidy-ttsgpio