ysc3839 / AudioPlaybackConnector

Bluetooth audio playback (A2DP Sink) connector for Windows 10 2004+
MIT License
775 stars 64 forks source link

Auto-Connect" feature #6

Open mkanet opened 4 years ago

mkanet commented 4 years ago

Thank you for making such a useful tool. This is even nicer and more flexible than Bluetooth Audio Receiver. Would you please consider adding connect and disconnect command-line switches?

For example: AudioPlaybackConnector32.exe /Connect

AudioPlaybackConnector32.exe /Disconnect

Currently, I can execute AudioPlaybackConnector32.exe remotely from my phone (to start audio routing)... and kill the AudioPlaybackConnector32.exe process remotely from my phone (to stop audio routing). However it would be nicer to just execute command-line commands remotely from my phone.

PeggyFree commented 3 years ago

Hello, thank you for this smart app, it's working flawlessly. I agree whith @mkanet , it would be usefull to provide a command or a way for my automation system to trigger connecting and disconnecting, rather than having to close then open this app.

resom78 commented 3 years ago

Hi, This app works very well on my computer, but I would love to have the auto connect feature! Regards

ysc3839 commented 3 years ago

Maybe in the next version. Currently I use system's device picker ui, it's not easy to make "select a device for auto connect". I will rewrite whole ui in Windows 11 style, but I don't have much time now.

rp1231 commented 3 years ago

@mkanet how are you executing the .exe remotely from your phone? And killing it as well?

mkanet commented 3 years ago

@mkanet how are you executing the .exe remotely from your phone? And killing it as well?

I'm using an app called, Unified Remote. It's the best remote control app for Windows. It allows you to create Android Widgets that can execute remote Windows command line commands such as executing AudioPlaybackConnector64.exe or killing the the process. It was a little bit of effort to setup, but we'll worth it. I liked Unified Remote so much, I ended up purchasing the full version. I even added widgets for Wake On LAN my PC or shut it down. I also use Unified Remote's virtual mouse pad as well and can control a bunch of apps on my Windows PC such as Kodi.

rp1231 commented 3 years ago

@mkanet Thanks! I'll check it out.

Shihabus-Sakib-Rad commented 2 years ago

Would absolutely love the command line options ! @mkanet Also you can try KDE Connect for remotely executing commands.

mkanet commented 2 years ago

Would absolutely love the command line options ! @mkanet Also you can try KDE Connect for remotely executing commands.

@Shihabus-Sakib-Rad thanks for the tip. I actually prefer Unified Remote to control AudioPlaybackConnector from my Android devices with Android widgets; as well as several other things I remotely control on my Windows PC, remote mouse pad, volume control,.etc. I liked it so much I bought the full version.

OlivierMoser commented 1 year ago

Hi, did you make any change regarding this feature? Do you think it could be feasible?

iAvoe commented 1 year ago

Auto connect would be very useful for me, so I don't have to go to my PC to select "connect to this device" everytime, eventhough I just need to stream bluetooth audio from 1 device which is my phone.

This probably needs a listener process to detect device change first, then, create an "auto connect to this device" single-select (or multi-select) check box in the device list UI, which allows only 1 device be selected for auto connect by un-selecting the previous choice if the user selects the second one (or let the most recently connected device be the audio source).

This may introduce compatibility issues since people don't always really use a dedicated bluetooth chip, like the Realtek WiFi M.2 modules

I'm unable to do this as I don't have the programming skill & tools needed.