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", "https://streams.fluxfm.de/live/mp3-128/audio/", new PercentType(30))

Squeezebox Binding Logs

2021-12-15 20:23:18.172 [DEBUG] [eezebox.internal.SqueezeBoxAudioSink] - Processing audioStream http://192.168.2.7:9000//audio/c9e983a7-a465-4f06-a657-f45fc26679c0.mp3 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 http://192.168.2.7:9000//audio/c9e983a7-a465-4f06-a657-f45fc26679c0.mp3
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 http://192.168.2.7:9000//audio/c9e983a7-a465-4f06-a657-f45fc26679c0.mp3 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, http://192.168.2.7:9000/audio/df80181a-d435-4f9c-89b7-c4fb24aa3f6d.mp3: 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.

Regards
Jochen

Finally found the issue:

Callback URL in Binding Config was not set to OpenHAB URL