Al, there is nothing connected. No dac, no amps, no hats...
I switch on/off the amps even if they aren't connected to the DAC/rasperry and once every 5/10 flicks of the switch, moode stops/starts playing.
And yes it's the amps it's not casual. Listened a whole afternoon, trying everything, even with remotes and stuff and everything works fine.
I usually use an HDMI sound card on this setup. But I unplugged that too. There's nothing on the pi that could physically connect to the amps.
There's not even a dac plugged/powered when it happens...
I even used different wall socket, nothing changed.
only thing left connected when it happens are the GPIO wires to the buttons. I disconnected everything as I was going crazy, and it still happens
If I disable the GPIO button script from moode UI it doesn't happen, even with wires and buttons wired. If I unplug the wires it doesn't happen.
So it's their fault somehow.
My only theory is that buttons wires (30cm long) are picking noise and somehow it triggers the toggle when the GPIO script is enabled, even if the "toggle" button is disabled on moode UI. How this happens? Don't know yet. Is there a bug somewhere e.g. python script or moode? don't know yet.
What scares me it's that logs clearly shows that mpd stopped. But can't find anywhere what made it stop exactly.
Ran monitor py from pigpio to see which gpio pin was being triggered, but it shows nothing.
I ran out of time and will double check my affirmations asap. I know it's too vague to find a solution put like that.
Will shield the wires and desolder the wires one by one and see why it's happening.
It happens even with the raspberry and wires and buttons inside a (thin ~= 1mm?) metal hifi case
I switch on/off the amps even if they aren't connected to the DAC/rasperry and once every 5/10 flicks of the switch, moode stops/starts playing.
And yes it's the amps it's not casual. Listened a whole afternoon, trying everything, even with remotes and stuff and everything works fine.
I usually use an HDMI sound card on this setup. But I unplugged that too. There's nothing on the pi that could physically connect to the amps.
There's not even a dac plugged/powered when it happens...
I even used different wall socket, nothing changed.
only thing left connected when it happens are the GPIO wires to the buttons. I disconnected everything as I was going crazy, and it still happens

If I disable the GPIO button script from moode UI it doesn't happen, even with wires and buttons wired. If I unplug the wires it doesn't happen.
So it's their fault somehow.
My only theory is that buttons wires (30cm long) are picking noise and somehow it triggers the toggle when the GPIO script is enabled, even if the "toggle" button is disabled on moode UI. How this happens? Don't know yet. Is there a bug somewhere e.g. python script or moode? don't know yet.
What scares me it's that logs clearly shows that mpd stopped. But can't find anywhere what made it stop exactly.
Ran monitor py from pigpio to see which gpio pin was being triggered, but it shows nothing.
I ran out of time and will double check my affirmations asap. I know it's too vague to find a solution put like that.
Will shield the wires and desolder the wires one by one and see why it's happening.
It happens even with the raspberry and wires and buttons inside a (thin ~= 1mm?) metal hifi case

Pi4 1gb - Moode 8.3.9 / 9.1.4
Suptronics X6000 7.1ch HDMI hat
Suptronics X6000 7.1ch HDMI hat