Hi,
I recently licensed Premium and stumbled over a bug regarding Bluetooth playback.
Setup:
Raspberry Pi4
Allo Kali + Allo Piano 2.1
Volumio 4.119, recently reset to factory defaults
iPhone 16 Pro
iOS 26.4.2
Behaviour:
When connecting my iPhone via Bluetooth to Volumio and initiating a playback no metadata is shown on the Volumio GUI. Music plays fine but no track information is displayed opposed to KB article: How to enable Bluetooth audio playback input? | Volumio
Only a Bluetooth icon is visible on the GUI as per below screenshot:
This was first hinted in thread OLED SSD1309 Plugin for Volumio (Experimental) by user tweed77 as the display plugin doesn’t seem to receive another pushState over Volumio’s web socket and hence doesn’t update the display. I was able to reproduce this behaviour.
Log report has been sent with title “Playback via Bluetooth shows no metadata”.
Volumio status during Bluetooth playback:
{
"status": "play",
"title": "",
"artist": "",
"album": "",
"albumart": "/albumart?cacheid=816&web=//large&path=%2Falbumart%3Fcacheid%3D816%26web%3D%2F%2Flarge%26path%3D%252Falbumart%253Fweb%253Ddefault%26icon%3D%26metadata%3Dfalse&icon=&metadata=false",
"uri": "",
"trackType": "bt",
"codec": "",
"seek": 0,
"duration": 0,
"samplerate": "",
"bitdepth": "",
"channels": 2,
"consume": false,
"volume": 25,
"dbVolume": null,
"mute": false,
"disableVolumeControl": false,
"stream": false,
"updatedb": false,
"volatile": true,
"disableUiControls": false,
"service": "bluetooth"
}
Live log captured when initiating playback:
Starting Live Log...
triggerhappy.service: Deactivated successfully.
Stopped triggerhappy.service - triggerhappy global hotkey daemon.
Starting triggerhappy.service - triggerhappy global hotkey daemon...
Unable to parse trigger line:
Unable to parse trigger line:
Started triggerhappy.service - triggerhappy global hotkey daemon.
Watching system buttons on /dev/input/event4 (iPhone Kevin (AVRCP))
info: CALLMETHOD: system_controller system enableLiveLog true
info: CoreCommandRouter::executeOnPlugin: system , enableLiveLog
info: Launching a new LiveLog session
bluez.c:1480: Signal: org.freedesktop.DBus.Properties.PropertiesChanged(): org.bluez.MediaTransport1: State
/org/bluez/hci0/dev_C8_1F_E8_52_3C_33/fd0: fd(28) ready
../src/ba-transport.c:319: New A2DP transport: 15
../src/ba-transport.c:320: A2DP socket MTU: 15: R:1021 W:1004
bluez.c:1480: Signal: org.freedesktop.DBus.Properties.PropertiesChanged(): org.bluez.MediaTransport1: State
../src/ba-transport.c:1075: Starting transport: A2DP Sink (SBC)
../src/ba-transport-pcm.c:294: Created BT socket duplicate: [15]: 16
../src/ba-transport-pcm.c:373: Created new IO thread [ba-a2dp-sbc]: A2DP Sink (SBC)
../src/a2dp-sbc.c:331: PCM IO loop: START: a2dp_sbc_dec_thread: A2DP Sink (SBC)
------------------------------------ BT MESSAGE: [dbus-next] Playback state changed: true from C8:1F:E8:52:3C:33
------------------------------------ BT MESSAGE: setWinningMac: C8:1F:E8:52:3C:33
------------------------------------ BT MESSAGE: Playback started, enabling output (party mode: last play wins)
info: CoreCommandRouter::volumioStop
info: CoreStateMachine::stop
info: CoreStateMachine::serviceStop
info: CoreCommandRouter::serviceStop
------------------------------------ BT MESSAGE: [FUNC] stop
------------------------------------ BT MESSAGE: [FUNC] btAudioOutput
------------------------------------ BT MESSAGE: [dbus-next] Disabling Bluetooth Audio Output
------------------------------------ BT MESSAGE: Bluetooth audio output stopped
------------------------------------ BT MESSAGE: [FUNC] btAudioOutput
------------------------------------ BT MESSAGE: [AAMP] Modular pipeline enabled - forcing ALSA route: volumioLocalPlayback
------------------------------------ BT MESSAGE: Party mode: using preferred BT MAC: C8:1F:E8:52:3C:33
------------------------------------ BT MESSAGE: Spawning bluealsa-aplay with args: --profile-a2dp --pcm=volumioLocalPlayback --pcm-buffer-time=500000 --pcm-period-time=100000 C8:1F:E8:52:3C:33
------------------------------------ BT MESSAGE: [metaCache] Failed to load cache file for C8:1F:E8:52:3C:33: Error: ENOENT: no such file or directory, open '/tmp/bluetooth-cache/meta-C8:1F:E8:52:3C:33.json'
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::volumioPushState
info: MRS: Pushing multiroomSync output update for this device
../src/dbus.c:47: Called: org.bluealsa.PCM1.Open() on /org/bluealsa/hci0/dev_C8_1F_E8_52_3C_33/a2dpsnk/source
../src/codec-sbc.c:278: SBC setup: 44100 Hz JointStereo allocation=Loudness blocks=16 sub-bands=8 bit-pool=53 => 327993 bps
info: MRS: Pushing multiroomSync output
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::volumioPushState
info: MRS: Pushing multiroomSync output update for this device
info: MRS: Pushing multiroomSync output
info: CoreCommandRouter::volumioGetState
------------------------------------ BT MESSAGE: bluealsa-aplay stderr: bluealsa-aplay: [4459] D: aplay.c:904: Creating IO worker C8:1F:E8:52:3C:33
bluealsa-aplay: [4459] D: aplay.c:1320: Starting main loop
bluealsa-aplay: [4460] D: aplay.c:577: Opening BlueALSA source PCM: /org/bluealsa/hci0/dev_C8_1F_E8_52_3C_33/a2dpsnk/source
bluealsa-aplay: [4460] D: aplay.c:603: Starting IO loop
bluealsa-aplay: [4460] D: aplay.c:732: Opening ALSA playback PCM: name=volumioLocalPlayback channels=2 rate=44100
------------------------------------ BT MESSAGE: bluealsa-aplay stderr: bluealsa-aplay: [4460] D: aplay.c:339: Opening ALSA mixer: name=default elem=Master index=0
------------------------------------ BT MESSAGE: bluealsa-aplay stderr: bluealsa-aplay: [4460] W: aplay.c:350: Couldn't open ALSA mixer: Mixer element not found
bluez.c:1480: Signal: org.freedesktop.DBus.Properties.PropertiesChanged(): org.bluez.MediaTransport1: State
../src/ba-transport-pcm.c:307: Closing BT socket duplicate [15]: 16
../src/ba-transport.c:381: Closing A2DP transport: 15
../src/ba-transport-pcm.c:257: Exiting IO thread [ba-a2dp-sbc]: A2DP Sink (SBC)
------------------------------------ BT MESSAGE: [dbus-next] Playback state changed: false from C8:1F:E8:52:3C:33
------------------------------------ BT MESSAGE: Received pause signal from winner, scheduling idle check
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::volumioPushState
info: MRS: Pushing multiroomSync output update for this device
info: MRS: Pushing multiroomSync output
info: CoreCommandRouter::volumioGetState
------------------------------------ BT MESSAGE: bluealsa-aplay stderr: bluealsa-aplay: [4460] D: aplay.c:643: BT device marked as inactive: C8:1F:E8:52:3C:33
bluez.c:1480: Signal: org.freedesktop.DBus.Properties.PropertiesChanged(): org.bluez.MediaTransport1: State
../src/ba-transport.c:319: New A2DP transport: 15
../src/ba-transport.c:320: A2DP socket MTU: 15: R:1021 W:1004
bluez.c:1480: Signal: org.freedesktop.DBus.Properties.PropertiesChanged(): org.bluez.MediaTransport1: State
../src/ba-transport.c:1075: Starting transport: A2DP Sink (SBC)
../src/ba-transport-pcm.c:294: Created BT socket duplicate: [15]: 16
../src/a2dp-sbc.c:331: PCM IO loop: START: a2dp_sbc_dec_thread: A2DP Sink (SBC)
../src/ba-transport-pcm.c:373: Created new IO thread [ba-a2dp-sbc]: A2DP Sink (SBC)
------------------------------------ BT MESSAGE: [dbus-next] Playback state changed: true from C8:1F:E8:52:3C:33
------------------------------------ BT MESSAGE: setWinningMac: C8:1F:E8:52:3C:33
------------------------------------ BT MESSAGE: Playback started, enabling output (party mode: last play wins)
------------------------------------ BT MESSAGE: [FUNC] btAudioOutput
------------------------------------ BT MESSAGE: [AAMP] Modular pipeline enabled - forcing ALSA route: volumioLocalPlayback
------------------------------------ BT MESSAGE: Party mode: using preferred BT MAC: C8:1F:E8:52:3C:33
------------------------------------ BT MESSAGE: bluealsa-aplay already running for C8:1F:E8:52:3C:33. Skipping.
------------------------------------ BT MESSAGE: [metaCache] Failed to load cache file for C8:1F:E8:52:3C:33: Error: ENOENT: no such file or directory, open '/tmp/bluetooth-cache/meta-C8:1F:E8:52:3C:33.json'
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::volumioPushState
info: MRS: Pushing multiroomSync output update for this device
info: MRS: Pushing multiroomSync output
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::volumioPushState
info: MRS: Pushing multiroomSync output update for this device
../src/codec-sbc.c:278: SBC setup: 44100 Hz JointStereo allocation=Loudness blocks=16 sub-bands=8 bit-pool=53 => 327993 bps
info: MRS: Pushing multiroomSync output
info: CoreCommandRouter::volumioGetState
------------------------------------ BT MESSAGE: bluealsa-aplay stderr: bluealsa-aplay: [4460] D: aplay.c:732: Opening ALSA playback PCM: name=volumioLocalPlayback channels=2 rate=44100
bluealsa-aplay: [4460] D: aplay.c:339: Opening ALSA mixer: name=default elem=Master index=0
bluealsa-aplay: [4460] W: aplay.c:350: Couldn't open ALSA mixer: Mixer element not found
------------------------------------ BT MESSAGE: Playback resumed before idle timeout
------------------------------------ BT MESSAGE: Fallback: pushing metadata after resume
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::volumioPushState
info: MRS: Pushing multiroomSync output update for this device
info: MRS: Pushing multiroomSync output
info: CoreCommandRouter::volumioGetState
volumio : PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig eth0
pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
pam_unix(sudo:session): session closed for user root
volumio : PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
pam_unix(sudo:session): session closed for user root
info: CoreCommandRouter::executeOnPlugin: my_volumio , getAutoUpdateCheckEnabled
info: CoreCommandRouter::volumioGetVisibleSources
info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::executeOnPlugin: metavolumio , getInfinityPlayback
info: CoreCommandRouter::executeOnPlugin: multiroom , getMultiroom
info: Error : CoreCommandRouter::executeOnPlugin: No method [getMultiroom] in plugin multiroom
info: Received Get System Info
info: CoreCommandRouter::executeOnPlugin: system , getSystemInfo
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , getThisDevice
info: Discovery: Getting this device information
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::executeOnPlugin: network , getCachedIPAddresses
info: CoreCommandRouter::volumioGetState
info: Listing playlists
info: CoreCommandRouter::executeOnPlugin: appearance , getUiSettings
info: CoreCommandRouter::executeOnPlugin: system , getPrivacySettings
info: CoreCommandRouter::executeOnPlugin: updater_comm , getUpdateMessageCache
volumio : PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig eth0
pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
pam_unix(sudo:session): session closed for user root
volumio : PWD=/ ; USER=root ; COMMAND=/sbin/ifconfig wlan0
pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
pam_unix(sudo:session): session closed for user root
info: CoreCommandRouter::executeOnPlugin: my_volumio , getAutoUpdateCheckEnabled
info: CoreCommandRouter::volumioGetVisibleSources
info: CoreCommandRouter::executeOnPlugin: my_music , getDisabledSources
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::executeOnPlugin: metavolumio , getInfinityPlayback
info: CoreCommandRouter::executeOnPlugin: multiroom , getMultiroom
info: Error : CoreCommandRouter::executeOnPlugin: No method [getMultiroom] in plugin multiroom
info: Received Get System Info
info: CoreCommandRouter::executeOnPlugin: system , getSystemInfo
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , getThisDevice
info: Discovery: Getting this device information
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::executeOnPlugin: network , getCachedIPAddresses
info: CoreCommandRouter::volumioGetState
info: Listing playlists
info: CoreCommandRouter::executeOnPlugin: appearance , getUiSettings
info: CoreCommandRouter::executeOnPlugin: system , getPrivacySettings
info: CoreCommandRouter::executeOnPlugin: updater_comm , getUpdateMessageCache
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::executeOnPlugin: wizard , getOnboardingWizard
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioStatus
info: Received Get System Info
info: CoreCommandRouter::executeOnPlugin: system , getSystemInfo
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , getThisDevice
info: Discovery: Getting this device information
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::executeOnPlugin: network , getCachedIPAddresses
info: CoreCommandRouter::executeOnPlugin: my_volumio , getMyVolumioStatus
info: Received Get System Info
info: CoreCommandRouter::executeOnPlugin: system , getSystemInfo
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , getThisDevice
info: Discovery: Getting this device information
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::executeOnPlugin: network , getCachedIPAddresses
bluez.c:1480: Signal: org.freedesktop.DBus.Properties.PropertiesChanged(): org.bluez.MediaTransport1: State
../src/ba-transport-pcm.c:307: Closing BT socket duplicate [15]: 16
../src/ba-transport.c:381: Closing A2DP transport: 15
../src/ba-transport-pcm.c:257: Exiting IO thread [ba-a2dp-sbc]: A2DP Sink (SBC)
------------------------------------ BT MESSAGE: [dbus-next] Playback state changed: false from C8:1F:E8:52:3C:33
------------------------------------ BT MESSAGE: Received pause signal from winner, scheduling idle check
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::volumioPushState
info: MRS: Pushing multiroomSync output update for this device
info: MRS: Pushing multiroomSync output
info: CoreCommandRouter::volumioGetState
------------------------------------ BT MESSAGE: bluealsa-aplay stderr: bluealsa-aplay: [4460] D: aplay.c:643: BT device marked as inactive: C8:1F:E8:52:3C:33
------------------------------------ BT MESSAGE: Idle timeout reached, detaching Bluetooth session
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
info: CoreCommandRouter::volumioPushState
info: MRS: Pushing multiroomSync output update for this device
info: MRS: Pushing multiroomSync output
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::executeOnPlugin: appearance , isLatestTOSAccepted
If there’s anything further I can do, please let me know!
Kevin
