TPA3116D2 based board that prioritises aux over BT

I have several problems to solve but I’ll start with the amp I have:

I have a HIFIDIY power amplifier A502S TPA3116D2 w/ Bluetooth and Line in https://www.aliexpress.com/item/4001194120212.html. Unfortunately it favours BT over the line-in and auto switches to it when anything is connected.

What I need is the same item but one that favours the 3.5mm aux line in. Right now if BT is connected the line in is disabled.

I’ve read here of boards that do the opposite and when line in is connected, the BT is disabled. Anyone know how I locate such a board or suggest a vendor who might help?

The one I have is perfect other then this issue, it’s powered normally from a 12v Li Ion battery 9Ah battery and BMS but can be switched to 19v PSU when more volume is required. The requirements are:

-variable voltage input 10-24v
-2 channel output
-BT input
-Aux line in input

My goal is:
- Portable battery based audio (Sony Boombox Style) (done)
- Ability to play Bluetooth music from phone (done)
- Secondary ability to add wireless microphone and mux with the bluetooth audio.

Other things I need help with
- locate a amp board that could mux (BT and line in) the two then I’d be ecstatic but I don’t think such an item exists
- locate a pre amp that could mux BT and Microphone and send to an amp (needs to operate efficiently from 10v to 19v but I can settle for one that requires a seperate PSU)
 
Last edited: