Thank you for your donation!


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


Automation scripts?
#3
(12-26-2021, 01:23 AM)Tim Curtis Wrote: The event scripts for Spotify, Airplay and Squeezelite are located in /var/local/www/commandw/
The event script for incoming Bluetooth connections is /usr/local/bin/a2dp-autoconnect

MPD can be controlled via a simple command API thats described in the Setup Guide
https://github.com/moode-player/moode/bl.../setup.txt

Thanks for this - Is there a full list of commands that can be executed? I can see the stop / start, refresh the playlist but specifically I am looking at using Moode as a Bluetooth music 'server' - basically instead of a bluetooth rendered (I would always using Airplay on iOS and either Chromecast or UPNP on Android) - so what I was thinking of doing was when one of my Bluetooth speakers connects that it would send the output to the speaker (rather than sent to the local output). I can see this option under the Bluez configuration- but changing it manually stop all the output going to the normal connected speakers so I would like to have a bluetooth join script would would change this configuration of the bluetooth output, start a playlist, maybe set the volume etc and therefore automatically play the given playlist on the speaker. When the speaker disconnects I would like to restore the settings back to the normal.

I can mostly how to do this but not the switch of Bluetooth output away from local only when a bluetooth device connects?
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: