Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Automation scripts?
#4
The code that accomplishes the switch between MPD -> Local and MPD => Bluetooth is in /var/www/blu-config.php. Look for the comment // Change MPD audio output.

You might be able to make a PHP script containing this code and call it from /usr/local/bin/a2dp-autoconnect but I have no idea whether this would actually work.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Automation scripts? - by jeromeof - 12-25-2021, 10:23 PM
RE: Automation scripts? - by Tim Curtis - 12-26-2021, 01:23 AM
RE: Automation scripts? - by jeromeof - 12-27-2021, 10:41 AM
RE: Automation scripts? - by Tim Curtis - 12-27-2021, 01:21 PM

Forum Jump: