Auto select eq profile didn't work

Issue description:

Logs:

Upload description: ULJgN

Additional information:

 
I’m using the profile thing just to be able to display the current output device. It looks like what happened is the connected device had a different unique id than the one I’d connected the profile to, since the display string was the same and there were two of them in the list (SYNC).

Adding a display string of the current connected device would be more robust in cases like this because I don’t care about the equalizer profile, I just want to see the output audio device, even if it’s slightly different than what I set up in the profile
 

Reproduction steps:

 
Profile switcher baseyou on audio device didn’t update automatically
 

Media provider:

Subsonic

Screenshots:

 

    

It seems like the code that gets the list of audio devices should be really similar to the code needed to get the current audio device

I need logs that shows the addition of the new device to see why they are not seen as the same.

Hmm ok I’ll try to remember to start logging next time I use this device. I don’t use it very often, this happened after connecting again after a few weeks of not, with phone updates and another person connecting to it in between, but I didn’t have to add a new connection, it still connected automatically

Ok it happened again, I uploaded the logs under ULJgN-profile-load @Tolriq

Well no reasons, there’s nothing special here. Are you sure it was duplicated at that moment?

Are you doing anything special?

I’m not sure it was duplicated again, but I did have to select a different version of the SYNC device for the profile than the one that was selected (I did that while recording logs)

The thing is that in theory it’s not possible to have a different profile so need the moment it’s duplicated to workaround that.

I can’t see a reason it’s duplicated as in theory there are filtered by name.

Ah I see. I’ll delete the one that’s not selected and try again next time