playSound is not playing notification through squeezebox sink

  • Platform information:

    • Hardware: RPI4/4GB/64GB SD Card
    • OS: Linux openhabian 5.10.63-v7l+ #1496 SMP Wed Dec 1 15:58:56 GMT 2021 armv7l
    • openHAB version: 3.1
  • Issue of the topic: playSound with files in sounds folders (e.g. doorbell.mp3) are not played through squeezebox sink.

What works:

  • OH is playing doorbell.mp3 fine on System Speaker
  • LMS is playing doorbell.mp3 on sink when manually selecting file
  • OH is playing streams fine on sink started from rule
playStream("squeezebox:squeezeboxplayer:00734770e3:aaaab0d001cd", "", new PercentType(30))

Squeezebox Binding Logs

2021-12-15 20:23:18.172 [DEBUG] [eezebox.internal.SqueezeBoxAudioSink] - Processing audioStream of format AudioFormat [codec=MP3, container=NONE, ]
2021-12-15 20:23:18.174 [DEBUG] [rnal.handler.SqueezeBoxPlayerHandler] - Play notification sound on player aa:aa:b0:d0:01:cd at URI
2021-12-15 20:23:18.175 [DEBUG] [ternal.handler.SqueezeBoxPlayerState] - Cur State: vol=19, mut=NOT MUTED, pwr=ON, stp=STOPPED, ctl=PAUSED, shf=OFF, rpt=OFF, tix=0, tnm=0, tim=0
2021-12-15 20:23:18.176 [DEBUG] [handler.SqueezeBoxNotificationPlayer] - Setting up player for notification
2021-12-15 20:23:18.177 [DEBUG] [rnal.handler.SqueezeBoxServerHandler] - Sending command: aa:aa:b0:d0:01:cd mixer volume 20
2021-12-15 20:23:18.279 [DEBUG] [handler.SqueezeBoxNotificationPlayer] - Adding notification message to playlist
2021-12-15 20:23:18.281 [DEBUG] [rnal.handler.SqueezeBoxServerHandler] - Sending command: aa:aa:b0:d0:01:cd playlist add Notification
2021-12-15 20:23:18.683 [DEBUG] [handler.SqueezeBoxNotificationPlayer] - Playlist updated
2021-12-15 20:23:18.685 [DEBUG] [handler.SqueezeBoxNotificationPlayer] - Playing notification
2021-12-15 20:23:18.687 [DEBUG] [rnal.handler.SqueezeBoxServerHandler] - Sending command: aa:aa:b0:d0:01:cd playlist index 0

lms server.log
[21-12-15 20:40:29.9669] Slim::Utils::Scanner::Remote::ANON (236) Error: Can’t connect to remote server to retrieve playlist for, 404 Not Found.

Hello community,

I am pretty new to OH and stuck in my investigations as I don’t know how to further debug why the file is not found. How is the audio file passed from OH to LMS. Any further help to continue debugging is highly appreciated.


Finally found the issue:

Callback URL in Binding Config was not set to OpenHAB URL