MediaSession disables bluetooth output on inactive seat
Not really sure if this is supposed to be support or feature request.
I'm trying to turn my Raspberry Pi Zero W into MPD instance running in background, backed by PipeWire and with audio sink being Topping D50s over bluetooth. Everything works fine as long as I'm logged over SSH and keep logind session opened. The moment I logout audio stops to play and resumes when I relogin. Judging by the logs I suppose it is caused by:
pipewire-media-session[29922]: ms.mod.bluez5-monitor: seat not active, stopping bluetooth
https://gitlab.freedesktop.org/pipewire/media-session/-/blob/master/src/bluez-monitor.c#L699-712
Is there a way to disable it or perhaps there's a better way of running pipewire as "background/system" service?