Rotary Encoder: What are the possibilities? - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: Rotary Encoder: What are the possibilities? (/showthread.php?tid=1229) Pages:
1
2
|
RE: Rotary Encoder: What are the possibilities? - chbla - 03-31-2019 @Tim Curtis I solved it, the pins I used are I2C pins which caused the problems. Just two followup questions: - How can I determine (python) if the squeezeplayer is running or moode itself? (To change either the local volume or squeeze volume) - How can I start a particular station (favourites) in the moode player programmatically? Thank you very much! RE: Rotary Encoder: What are the possibilities? - Tim Curtis - 03-31-2019 Nice :-) Prolly something like below to determine whether squeezelite is active. The variable squeezelite_active will have the value '1' if squeezelite is active and '0' if it's not. Code: import time To load and play individual radio stations or playlists its something like below Code: mpc clear RE: Rotary Encoder: What are the possibilities? - chbla - 04-01-2019 That's great, thanks! |