Roland0 wrote: > Try the 'Event Trigger ' > (https://www.nexus0.net/pub/sw/lmseventtrigger/)plugin.
Aha! This seems to work. I've set it to run a script on all playlist events, and it checks for the player id, and the player mode, and it runs "bluetoothctl connect ..." if it's not already connected and the player mode is "play". I need to experiment a bit to see if I want it to also disconnect when the player mode is "paused" - probably not, otherwise the connect/disconnect noise will be annoying every time you pause, and the TV will presumably take precedence over bluetooth when it's switched on anyway. It would be more elegant to have this handled at the pulseaudio level, but this solution gets me a working system. Thanks! ------------------------------------------------------------------------ hbq269's Profile: http://forums.slimdevices.com/member.php?userid=71113 View this thread: http://forums.slimdevices.com/showthread.php?t=113542 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
