[GH-ISSUE #105] Apple Music without MA - Build in Bridge stops playing / several issues #54

Closed
opened 2026-02-27 19:28:08 +03:00 by kerem · 5 comments
Owner

Originally created by @simon2207 on GitHub (Jan 3, 2026).
Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/105

After getting the Apple Music internal Bridge Feature up and running: I found some issues...

I m able to start playing one song from a playlist, but the song will not finish successfully at the end of the track... the song starts fading around the end of the song and quits playing appropriately - 5-10second before the official end of the title.

[2026-01-03T19:25:41.862Z][INFO][Zones|Manager]
[hasParentContext=true
normalizedTarget=spotify@bridge-applemusic:
resolvedTarget=spotify@bridge-applemusic:
station=spotify@bridge-applemusic:
type=serviceplay
uri=spotify@bridge-applemusic:track:/parentpath/spotify@bridge-applemusic:/4
zoneId=14] playContent

[2026-01-03T19:25:42.869Z][INFO][Content|AppleMusicStream]
[catalogId= trackId= zoneId=14]
apple music library using catalog playback for drm

[2026-01-03T19:25:43.989Z][INFO][Content|AppleMusicStream]
[isLibrary=false keyUri=REDACTED trackId=]
Apple Music DRM: starting key extraction (new format)

[2026-01-03T19:25:44.353Z][INFO][Content|AppleMusicStream]
[keyPreview=REDACTED]
DRM key extracted successfully

[2026-01-03T19:25:44.353Z][INFO][Content|AppleMusicStream]
[keyPreview=REDACTED]
DRM key ready, streaming with decryption

[2026-01-03T19:25:44.372Z][INFO][Audio|Manager]
[hasStream=false label=applemusic sourceKind=url zoneId=14]
startWithResolvedSource

[2026-01-03T19:25:44.372Z][INFO][Audio|Manager]
[handoff=false kind=url profiles=["aac"] zoneId=14]
starting audio engine

[2026-01-03T19:25:44.373Z][INFO][Audio|Session]
[maxBufferBytes=262144 outputBitDepth=16 outputChannels=2
outputSampleRate=44100 profile=aac targetLeadMs=1000 zoneId=14]
audio session buffer config

[2026-01-03T19:25:44.376Z][INFO][Audio|Engine]
[profile=aac source=url zoneId=14]
audio session started

[2026-01-03T19:25:44.376Z][INFO][Audio|Manager]
[source=applemusic stream= title="" zoneId=14]
playback started

[2026-01-03T19:25:44.574Z][INFO][Transport|Sonos]
[action=SetVolume service=RenderingControl zoneId=14]
Sonos action succeeded

[2026-01-03T19:25:44.574Z][INFO][Transport|Sonos]
[volume=30 zoneId=14]
Sonos volume set

[2026-01-03T19:25:44.585Z][INFO][Transport|Sonos]
[uri=http://:/streams/14/current.aac zoneId=14]
sending playback command

[2026-01-03T19:25:44.593Z][INFO][Transport|Sonos]
[action=Stop service=AVTransport zoneId=14]
Sonos action succeeded

[2026-01-03T19:25:44.604Z][INFO][Transport|Sonos]
[action=SetAVTransportURI service=AVTransport zoneId=14]
Sonos action succeeded

[2026-01-03T19:25:44.775Z][INFO][Audio|Session]
[bytes=28 profile=aac zoneId=14]
ffmpeg first chunk

[2026-01-03T19:25:44.867Z][INFO][Transport|Sonos]
[action=Play service=AVTransport zoneId=14]
Sonos action succeeded

[2026-01-03T19:25:44.867Z][INFO][Transport|Sonos]
[uri=http://:/streams/14/current.aac zoneId=14]
Sonos playback started

[2026-01-03T19:25:56.403Z][INFO][Audio|Session]
[bufferedBytes=262144 code=0 earlyExit=false runMs=12030
subscribers=1 totalBytes= zoneId=14]
ffmpeg exited

[2026-01-03T19:25:56.404Z][WARN][Audio|Manager]
[source=applemusic zoneId=14]
playback session terminated by engine

The Loxone App Player shows ... "still Playing" and didn't switch forward to the next song in the playlist.

Image

in addition to that - I m only able to play song by song manually - no playback of one complete playlist possible:

[2026-01-03T19:40:13.164Z][INFO][Zones|Manager] [hasParentContext=false normalizedTarget=spotify@bridge-applemusic-09rj5h:playlist:b64_cGwucG0tMjBlOWYzNzM5MTlkYTA4MDI2NzZiMmUxMWI1N2I4MWQ= resolvedTarget=spotify@bridge-applemusic-09rj5h:playlist:b64_cGwucG0tMjBlOWYzNzM5MTlkYTA4MDI2NzZiMmUxMWI1N2I4MWQ= station="" type=serviceplay uri=spotify@bridge-applemusic-09rj5h:playlist:b64_cGwucG0tMjBlOWYzNzM5MTlkYTA4MDI2NzZiMmUxMWI1N2I4MWQ= zoneId=14] playContent
[2026-01-03T19:40:13.165Z][WARN][Content|AppleMusicStream] [audiopath=spotify@bridge-applemusic-09rj5h:playlist:b64_cGwucG0tMjBlOWYzNzM5MTlkYTA4MDI2NzZiMmUxMWI1N2I4MWQ= zoneId=14] apple music stream request unresolved
[2026-01-03T19:40:13.165Z][WARN][Zones|Manager] [reason="apple music invalid request" source=transport zoneId=14] playback error
[2026-01-03T19:40:13.165Z][WARN][Zones|Manager] [reason="apple music stream unavailable" source=transport zoneId=14] playback error
[2026-01-03T19:40:13.165Z][WARN][Zones|Manager] [zoneId=14] apple music stream not ready; skipping playback
[2026-01-03T19:40:13.166Z][WARN][Zones|Manager] [audiopath=spotify@bridge-applemusic-09rj5h:playlist:b64_cGwucG0tMjBlOWYzNzM5MTlkYTA4MDI2NzZiMmUxMWI1N2I4MWQ= zoneId=14] playback skipped; no playable source resolved

Originally created by @simon2207 on GitHub (Jan 3, 2026). Original GitHub issue: https://github.com/lox-audioserver/lox-audioserver/issues/105 After getting the Apple Music internal Bridge Feature up and running: I found some issues... I m able to start playing one song from a playlist, but the song will not finish successfully at the end of the track... the song starts fading around the end of the song and quits playing appropriately - 5-10second before the official end of the title. [2026-01-03T19:25:41.862Z][INFO][Zones|Manager] [hasParentContext=true normalizedTarget=spotify@bridge-applemusic:<playlist> resolvedTarget=spotify@bridge-applemusic:<playlist> station=spotify@bridge-applemusic:<playlist> type=serviceplay uri=spotify@bridge-applemusic:track:<track>/parentpath/spotify@bridge-applemusic:<playlist>/4 zoneId=14] playContent [2026-01-03T19:25:42.869Z][INFO][Content|AppleMusicStream] [catalogId=<redacted> trackId=<redacted> zoneId=14] apple music library using catalog playback for drm [2026-01-03T19:25:43.989Z][INFO][Content|AppleMusicStream] [isLibrary=false keyUri=REDACTED trackId=<redacted>] Apple Music DRM: starting key extraction (new format) [2026-01-03T19:25:44.353Z][INFO][Content|AppleMusicStream] [keyPreview=REDACTED] DRM key extracted successfully [2026-01-03T19:25:44.353Z][INFO][Content|AppleMusicStream] [keyPreview=REDACTED] DRM key ready, streaming with decryption [2026-01-03T19:25:44.372Z][INFO][Audio|Manager] [hasStream=false label=applemusic sourceKind=url zoneId=14] startWithResolvedSource [2026-01-03T19:25:44.372Z][INFO][Audio|Manager] [handoff=false kind=url profiles=["aac"] zoneId=14] starting audio engine [2026-01-03T19:25:44.373Z][INFO][Audio|Session] [maxBufferBytes=262144 outputBitDepth=16 outputChannels=2 outputSampleRate=44100 profile=aac targetLeadMs=1000 zoneId=14] audio session buffer config [2026-01-03T19:25:44.376Z][INFO][Audio|Engine] [profile=aac source=url zoneId=14] audio session started [2026-01-03T19:25:44.376Z][INFO][Audio|Manager] [source=applemusic stream=<stream-id> title="<track-title>" zoneId=14] playback started [2026-01-03T19:25:44.574Z][INFO][Transport|Sonos] [action=SetVolume service=RenderingControl zoneId=14] Sonos action succeeded [2026-01-03T19:25:44.574Z][INFO][Transport|Sonos] [volume=30 zoneId=14] Sonos volume set [2026-01-03T19:25:44.585Z][INFO][Transport|Sonos] [uri=http://<local-ip>:<port>/streams/14/current.aac zoneId=14] sending playback command [2026-01-03T19:25:44.593Z][INFO][Transport|Sonos] [action=Stop service=AVTransport zoneId=14] Sonos action succeeded [2026-01-03T19:25:44.604Z][INFO][Transport|Sonos] [action=SetAVTransportURI service=AVTransport zoneId=14] Sonos action succeeded [2026-01-03T19:25:44.775Z][INFO][Audio|Session] [bytes=28 profile=aac zoneId=14] ffmpeg first chunk [2026-01-03T19:25:44.867Z][INFO][Transport|Sonos] [action=Play service=AVTransport zoneId=14] Sonos action succeeded [2026-01-03T19:25:44.867Z][INFO][Transport|Sonos] [uri=http://<local-ip>:<port>/streams/14/current.aac zoneId=14] Sonos playback started [2026-01-03T19:25:56.403Z][INFO][Audio|Session] [bufferedBytes=262144 code=0 earlyExit=false runMs=12030 subscribers=1 totalBytes=<redacted> zoneId=14] ffmpeg exited [2026-01-03T19:25:56.404Z][WARN][Audio|Manager] [source=applemusic zoneId=14] playback session terminated by engine The Loxone App Player shows ... "still Playing" and didn't switch forward to the next song in the playlist. <img width="625" height="812" alt="Image" src="https://github.com/user-attachments/assets/3a668e57-8a8d-4c7e-bd74-ccd2e5df2626" /> in addition to that - I m only able to play song by song manually - no playback of one complete playlist possible: [2026-01-03T19:40:13.164Z][INFO][Zones|Manager] [hasParentContext=false normalizedTarget=spotify@bridge-applemusic-09rj5h:playlist:b64_cGwucG0tMjBlOWYzNzM5MTlkYTA4MDI2NzZiMmUxMWI1N2I4MWQ= resolvedTarget=spotify@bridge-applemusic-09rj5h:playlist:b64_cGwucG0tMjBlOWYzNzM5MTlkYTA4MDI2NzZiMmUxMWI1N2I4MWQ= station="" type=serviceplay uri=spotify@bridge-applemusic-09rj5h:playlist:b64_cGwucG0tMjBlOWYzNzM5MTlkYTA4MDI2NzZiMmUxMWI1N2I4MWQ= zoneId=14] playContent [2026-01-03T19:40:13.165Z][WARN][Content|AppleMusicStream] [audiopath=spotify@bridge-applemusic-09rj5h:playlist:b64_cGwucG0tMjBlOWYzNzM5MTlkYTA4MDI2NzZiMmUxMWI1N2I4MWQ= zoneId=14] apple music stream request unresolved [2026-01-03T19:40:13.165Z][WARN][Zones|Manager] [reason="apple music invalid request" source=transport zoneId=14] playback error [2026-01-03T19:40:13.165Z][WARN][Zones|Manager] [reason="apple music stream unavailable" source=transport zoneId=14] playback error [2026-01-03T19:40:13.165Z][WARN][Zones|Manager] [zoneId=14] apple music stream not ready; skipping playback [2026-01-03T19:40:13.166Z][WARN][Zones|Manager] [audiopath=spotify@bridge-applemusic-09rj5h:playlist:b64_cGwucG0tMjBlOWYzNzM5MTlkYTA4MDI2NzZiMmUxMWI1N2I4MWQ= zoneId=14] playback skipped; no playable source resolved
kerem closed this issue 2026-02-27 19:28:08 +03:00
Author
Owner

@hansklement commented on GitHub (Jan 3, 2026):

i have the same on spotify

<!-- gh-comment-id:3707406194 --> @hansklement commented on GitHub (Jan 3, 2026): i have the same on spotify
Author
Owner

@rudyberends commented on GitHub (Jan 4, 2026):

Please try again withe the latest version

<!-- gh-comment-id:3707981868 --> @rudyberends commented on GitHub (Jan 4, 2026): Please try again withe the latest version
Author
Owner

@simon2207 commented on GitHub (Jan 4, 2026):

@rudyberends great - thank you for the update. But but some issues persists - even funny, every song is shown with 4.25min length.

Like the one in the Screenshot from Notorious BIG - this Song ends at minute 3.50... but it runs till the end of 4.25...

Playlists could not be triggered for playback - songs could only be startet on a manuel basis. - BUT there is a positive change as well - songs are now playing through the playlist on its own.

Logs after trying to play a playlist:

[2026-01-04T14:03:02.113Z][INFO][Zones|Manager] [hasParentContext=false normalizedTarget=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== resolvedTarget=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== station="" type=serviceplay uri=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== zoneId=14] playContent
[2026-01-04T14:03:02.117Z][WARN][Content|AppleMusicStream] [audiopath=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== zoneId=14] apple music stream request unresolved
[2026-01-04T14:03:02.118Z][INFO][Audio|Engine] [zoneId=14] audio session stopped
[2026-01-04T14:03:02.119Z][WARN][Zones|Manager] [reason="apple music invalid request" source=transport zoneId=14] playback error
[2026-01-04T14:03:02.123Z][WARN][Zones|Manager] [reason="apple music stream unavailable" source=transport zoneId=14] playback error
[2026-01-04T14:03:02.123Z][WARN][Zones|Manager] [zoneId=14] apple music stream not ready; skipping playback
[2026-01-04T14:03:02.123Z][WARN][Zones|Manager] [audiopath=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== zoneId=14] playback skipped; no playable source resolved
[2026-01-04T14:03:02.308Z][INFO][Audio|Session] [bufferedBytes=262144 code=255 earlyExit=false runMs=158231 signal=null stderr=undefined stderrAt=undefined subscribers=0 totalBytes=5495738 zoneId=14] ffmpeg exited
[2026-01-04T14:03:02.317Z][INFO][Transport|Sonos] [action=Stop service=AVTransport zoneId=14] Sonos action succeeded
[2026-01-04T14:03:02.330Z][INFO][Audio|Session] [bufferedBytes=261642 code=255 earlyExit=false runMs=158249 signal=null stderr=undefined stderrAt=undefined subscribers=0 totalBytes=5059958 zoneId=14] ffmpeg exited
[2026-01-04T14:03:02.333Z][INFO][Audio|Session] [bufferedBytes=262144 code=255 earlyExit=false runMs=158248 signal=null stderr=undefined stderrAt=undefined subscribers=0 totalBytes=27885568 zoneId=14] ffmpeg exited

Logs after choosing one song:

[2026-01-04T14:04:13.910Z][INFO][Zones|Manager] [hasParentContext=true normalizedTarget=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== resolvedTarget=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== station=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== type=serviceplay uri=spotify@bridge-applemusic-09rj5h:track:b64_aS40bHpXeFQyZTdPcGw=/parentpath/spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA==/2 zoneId=14] playContent
[2026-01-04T14:04:14.066Z][INFO][Zones|Manager] [hasParentContext=true normalizedTarget=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== resolvedTarget=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== station=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== type=serviceplay uri=spotify@bridge-applemusic-09rj5h:track:b64_aS40bHpXeFQyZTdPcGw=/parentpath/spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA==/2 zoneId=14] playContent
[2026-01-04T14:04:14.723Z][INFO][Content|AppleMusicStream] [catalogId=204669559 trackId=i.4lzWxT2e7Opl zoneId=14] apple music library using catalog playback for drm
[2026-01-04T14:04:14.780Z][INFO][Content|AppleMusicStream] [isLibrary=false keyUri=data:;base64,AAAAAAwzAncAHZhiNwtqJA== trackId=204669559] Apple Music DRM: starting key extraction (new format)
[2026-01-04T14:04:15.124Z][INFO][Content|AppleMusicStream] [keyPreview=f1490d98c8021e89...] DRM key extracted successfully
[2026-01-04T14:04:15.124Z][INFO][Content|AppleMusicStream] [keyPreview=f1490d98c8021e89...] DRM key ready, streaming with decryption
[2026-01-04T14:04:15.144Z][INFO][Audio|Manager] [hasStream=false label=applemusic sourceKind=url zoneId=14] startWithResolvedSource
[2026-01-04T14:04:15.144Z][INFO][Audio|Manager] [handoff=true kind=url profiles=["aac"] zoneId=14] starting audio engine
[2026-01-04T14:04:15.144Z][INFO][Audio|Session] [maxBufferBytes=262144 outputBitDepth=16 outputChannels=2 outputSampleRate=44100 profile=aac targetLeadMs=1000 zoneId=14] audio session buffer config
[2026-01-04T14:04:15.149Z][INFO][Audio|Engine] [profile=aac source=url zoneId=14] audio session started (handoff)
[2026-01-04T14:04:15.150Z][INFO][Audio|Manager] [source=applemusic stream=14-3c4ee0d9-19fd-4fa4-94d2-8d14671ac243 title="Juicy (2005 Remaster)" zoneId=14] playback started
[2026-01-04T14:04:15.152Z][INFO][Transport|Sonos] [uri=http://192.168.1.13:7090/streams/14/current.aac zoneId=14] sending playback command
[2026-01-04T14:04:15.167Z][INFO][Transport|Sonos] [action=SetVolume service=RenderingControl zoneId=14] Sonos action succeeded
[2026-01-04T14:04:15.167Z][INFO][Transport|Sonos] [volume=30 zoneId=14] Sonos volume set
[2026-01-04T14:04:15.370Z][INFO][Content|AppleMusicStream] [catalogId=204669559 trackId=i.4lzWxT2e7Opl zoneId=14] apple music library using catalog playback for drm
[2026-01-04T14:04:15.408Z][INFO][Content|AppleMusicStream] [isLibrary=false keyUri=data:;base64,AAAAAAwzAncAHZhiNwtqJA== trackId=204669559] Apple Music DRM: starting key extraction (new format)
[2026-01-04T14:04:15.811Z][INFO][Content|AppleMusicStream] [keyPreview=f1490d98c8021e89...] DRM key extracted successfully
[2026-01-04T14:04:15.811Z][INFO][Content|AppleMusicStream] [keyPreview=f1490d98c8021e89...] DRM key ready, streaming with decryption
[2026-01-04T14:04:15.829Z][INFO][Audio|Manager] [hasStream=false label=applemusic sourceKind=url zoneId=14] startWithResolvedSource
[2026-01-04T14:04:15.831Z][INFO][Transport|Sonos] [uri=http://192.168.1.13:7090/streams/14/current.aac zoneId=14] sending playback command
[2026-01-04T14:04:15.842Z][INFO][Transport|Sonos] [action=SetVolume service=RenderingControl zoneId=14] Sonos action succeeded
[2026-01-04T14:04:15.842Z][INFO][Transport|Sonos] [volume=30 zoneId=14] Sonos volume set
[2026-01-04T14:04:15.891Z][INFO][Audio|Session] [bytes=167 profile=aac zoneId=14] ffmpeg first chunk
[2026-01-04T14:04:15.892Z][INFO][Audio|Engine] [zoneId=14] audio handoff complete
[2026-01-04T14:04:15.922Z][INFO][Transport|Sonos] [action=Stop service=AVTransport zoneId=14] Sonos action succeeded
[2026-01-04T14:04:15.928Z][INFO][Transport|Sonos] [action=Stop service=AVTransport zoneId=14] Sonos action succeeded
[2026-01-04T14:04:15.939Z][INFO][Transport|Sonos] [action=SetAVTransportURI service=AVTransport zoneId=14] Sonos action succeeded
[2026-01-04T14:04:15.943Z][INFO][Transport|Sonos] [action=SetAVTransportURI service=AVTransport zoneId=14] Sonos action succeeded
[2026-01-04T14:04:16.201Z][INFO][Transport|Sonos] [action=Play service=AVTransport zoneId=14] Sonos action succeeded
[2026-01-04T14:04:16.201Z][INFO][Transport|Sonos] [uri=http://192.168.1.13:7090/streams/14/current.aac zoneId=14] Sonos playback started
[2026-01-04T14:04:16.203Z][INFO][Transport|Sonos] [action=Play service=AVTransport zoneId=14] Sonos action succeeded
[2026-01-04T14:04:16.203Z][INFO][Transport|Sonos] [uri=http://192.168.1.13:7090/streams/14/current.aac zoneId=14] Sonos playback started
[2026-01-04T14:04:16.221Z][INFO][Audio|Session] [bufferedBytes=262144 code=255 earlyExit=false runMs=20411 signal=null stderr=undefined stderrAt=undefined subscribers=0 totalBytes=700049 zoneId=14] ffmpeg exited

Image Image
<!-- gh-comment-id:3708115390 --> @simon2207 commented on GitHub (Jan 4, 2026): @rudyberends great - thank you for the update. But but some issues persists - even funny, every song is shown with 4.25min length. Like the one in the Screenshot from Notorious BIG - this Song ends at minute 3.50... but it runs till the end of 4.25... Playlists could not be triggered for playback - songs could only be startet on a manuel basis. - BUT there is a positive change as well - songs are now playing through the playlist on its own. Logs after trying to play a playlist: [2026-01-04T14:03:02.113Z][INFO][Zones|Manager] [hasParentContext=false normalizedTarget=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== resolvedTarget=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== station="" type=serviceplay uri=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== zoneId=14] playContent [2026-01-04T14:03:02.117Z][WARN][Content|AppleMusicStream] [audiopath=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== zoneId=14] apple music stream request unresolved [2026-01-04T14:03:02.118Z][INFO][Audio|Engine] [zoneId=14] audio session stopped [2026-01-04T14:03:02.119Z][WARN][Zones|Manager] [reason="apple music invalid request" source=transport zoneId=14] playback error [2026-01-04T14:03:02.123Z][WARN][Zones|Manager] [reason="apple music stream unavailable" source=transport zoneId=14] playback error [2026-01-04T14:03:02.123Z][WARN][Zones|Manager] [zoneId=14] apple music stream not ready; skipping playback [2026-01-04T14:03:02.123Z][WARN][Zones|Manager] [audiopath=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== zoneId=14] playback skipped; no playable source resolved [2026-01-04T14:03:02.308Z][INFO][Audio|Session] [bufferedBytes=262144 code=255 earlyExit=false runMs=158231 signal=null stderr=undefined stderrAt=undefined subscribers=0 totalBytes=5495738 zoneId=14] ffmpeg exited [2026-01-04T14:03:02.317Z][INFO][Transport|Sonos] [action=Stop service=AVTransport zoneId=14] Sonos action succeeded [2026-01-04T14:03:02.330Z][INFO][Audio|Session] [bufferedBytes=261642 code=255 earlyExit=false runMs=158249 signal=null stderr=undefined stderrAt=undefined subscribers=0 totalBytes=5059958 zoneId=14] ffmpeg exited [2026-01-04T14:03:02.333Z][INFO][Audio|Session] [bufferedBytes=262144 code=255 earlyExit=false runMs=158248 signal=null stderr=undefined stderrAt=undefined subscribers=0 totalBytes=27885568 zoneId=14] ffmpeg exited Logs after choosing one song: [2026-01-04T14:04:13.910Z][INFO][Zones|Manager] [hasParentContext=true normalizedTarget=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== resolvedTarget=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== station=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== type=serviceplay uri=spotify@bridge-applemusic-09rj5h:track:b64_aS40bHpXeFQyZTdPcGw=/parentpath/spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA==/2 zoneId=14] playContent [2026-01-04T14:04:14.066Z][INFO][Zones|Manager] [hasParentContext=true normalizedTarget=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== resolvedTarget=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== station=spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA== type=serviceplay uri=spotify@bridge-applemusic-09rj5h:track:b64_aS40bHpXeFQyZTdPcGw=/parentpath/spotify@bridge-applemusic-09rj5h:library-playlist:b64_cC5kTkdraTY4M29wTA==/2 zoneId=14] playContent [2026-01-04T14:04:14.723Z][INFO][Content|AppleMusicStream] [catalogId=204669559 trackId=i.4lzWxT2e7Opl zoneId=14] apple music library using catalog playback for drm [2026-01-04T14:04:14.780Z][INFO][Content|AppleMusicStream] [isLibrary=false keyUri=data:;base64,AAAAAAwzAncAHZhiNwtqJA== trackId=204669559] Apple Music DRM: starting key extraction (new format) [2026-01-04T14:04:15.124Z][INFO][Content|AppleMusicStream] [keyPreview=f1490d98c8021e89...] DRM key extracted successfully [2026-01-04T14:04:15.124Z][INFO][Content|AppleMusicStream] [keyPreview=f1490d98c8021e89...] DRM key ready, streaming with decryption [2026-01-04T14:04:15.144Z][INFO][Audio|Manager] [hasStream=false label=applemusic sourceKind=url zoneId=14] startWithResolvedSource [2026-01-04T14:04:15.144Z][INFO][Audio|Manager] [handoff=true kind=url profiles=["aac"] zoneId=14] starting audio engine [2026-01-04T14:04:15.144Z][INFO][Audio|Session] [maxBufferBytes=262144 outputBitDepth=16 outputChannels=2 outputSampleRate=44100 profile=aac targetLeadMs=1000 zoneId=14] audio session buffer config [2026-01-04T14:04:15.149Z][INFO][Audio|Engine] [profile=aac source=url zoneId=14] audio session started (handoff) [2026-01-04T14:04:15.150Z][INFO][Audio|Manager] [source=applemusic stream=14-3c4ee0d9-19fd-4fa4-94d2-8d14671ac243 title="Juicy (2005 Remaster)" zoneId=14] playback started [2026-01-04T14:04:15.152Z][INFO][Transport|Sonos] [uri=http://192.168.1.13:7090/streams/14/current.aac zoneId=14] sending playback command [2026-01-04T14:04:15.167Z][INFO][Transport|Sonos] [action=SetVolume service=RenderingControl zoneId=14] Sonos action succeeded [2026-01-04T14:04:15.167Z][INFO][Transport|Sonos] [volume=30 zoneId=14] Sonos volume set [2026-01-04T14:04:15.370Z][INFO][Content|AppleMusicStream] [catalogId=204669559 trackId=i.4lzWxT2e7Opl zoneId=14] apple music library using catalog playback for drm [2026-01-04T14:04:15.408Z][INFO][Content|AppleMusicStream] [isLibrary=false keyUri=data:;base64,AAAAAAwzAncAHZhiNwtqJA== trackId=204669559] Apple Music DRM: starting key extraction (new format) [2026-01-04T14:04:15.811Z][INFO][Content|AppleMusicStream] [keyPreview=f1490d98c8021e89...] DRM key extracted successfully [2026-01-04T14:04:15.811Z][INFO][Content|AppleMusicStream] [keyPreview=f1490d98c8021e89...] DRM key ready, streaming with decryption [2026-01-04T14:04:15.829Z][INFO][Audio|Manager] [hasStream=false label=applemusic sourceKind=url zoneId=14] startWithResolvedSource [2026-01-04T14:04:15.831Z][INFO][Transport|Sonos] [uri=http://192.168.1.13:7090/streams/14/current.aac zoneId=14] sending playback command [2026-01-04T14:04:15.842Z][INFO][Transport|Sonos] [action=SetVolume service=RenderingControl zoneId=14] Sonos action succeeded [2026-01-04T14:04:15.842Z][INFO][Transport|Sonos] [volume=30 zoneId=14] Sonos volume set [2026-01-04T14:04:15.891Z][INFO][Audio|Session] [bytes=167 profile=aac zoneId=14] ffmpeg first chunk [2026-01-04T14:04:15.892Z][INFO][Audio|Engine] [zoneId=14] audio handoff complete [2026-01-04T14:04:15.922Z][INFO][Transport|Sonos] [action=Stop service=AVTransport zoneId=14] Sonos action succeeded [2026-01-04T14:04:15.928Z][INFO][Transport|Sonos] [action=Stop service=AVTransport zoneId=14] Sonos action succeeded [2026-01-04T14:04:15.939Z][INFO][Transport|Sonos] [action=SetAVTransportURI service=AVTransport zoneId=14] Sonos action succeeded [2026-01-04T14:04:15.943Z][INFO][Transport|Sonos] [action=SetAVTransportURI service=AVTransport zoneId=14] Sonos action succeeded [2026-01-04T14:04:16.201Z][INFO][Transport|Sonos] [action=Play service=AVTransport zoneId=14] Sonos action succeeded [2026-01-04T14:04:16.201Z][INFO][Transport|Sonos] [uri=http://192.168.1.13:7090/streams/14/current.aac zoneId=14] Sonos playback started [2026-01-04T14:04:16.203Z][INFO][Transport|Sonos] [action=Play service=AVTransport zoneId=14] Sonos action succeeded [2026-01-04T14:04:16.203Z][INFO][Transport|Sonos] [uri=http://192.168.1.13:7090/streams/14/current.aac zoneId=14] Sonos playback started [2026-01-04T14:04:16.221Z][INFO][Audio|Session] [bufferedBytes=262144 code=255 earlyExit=false runMs=20411 signal=null stderr=undefined stderrAt=undefined subscribers=0 totalBytes=700049 zoneId=14] ffmpeg exited <img width="628" height="814" alt="Image" src="https://github.com/user-attachments/assets/db8b3796-f9cc-419a-829e-e902146041d7" /> <img width="630" height="813" alt="Image" src="https://github.com/user-attachments/assets/55f18308-7b6e-4e98-9b16-b6f8825b1485" />
Author
Owner

@rudyberends commented on GitHub (Jan 4, 2026):

Just to be clear, the build you are currently running addresses two issues:
• Tracks ending prematurely — fixed by starting the ticker at the first audio byte.
• Queue not playing / stopping after one item — fixed by setting the queue authority to local, so lox-audioserver controls the queue for these services.

There is now a new build available that also fixes the playlist and album playback issue you reported.

The duration issue is a bit more complex. I believe it is fixed, but it may still require some additional work.

I have also tagged the test build with a unique timestamp, so there can be no confusion about which version is being tested.

<!-- gh-comment-id:3708206637 --> @rudyberends commented on GitHub (Jan 4, 2026): Just to be clear, the build you are currently running addresses two issues: • Tracks ending prematurely — fixed by starting the ticker at the first audio byte. • Queue not playing / stopping after one item — fixed by setting the queue authority to local, so lox-audioserver controls the queue for these services. There is now a new build available that also fixes the playlist and album playback issue you reported. The duration issue is a bit more complex. I believe it is fixed, but it may still require some additional work. I have also tagged the test build with a unique timestamp, so there can be no confusion about which version is being tested.
Author
Owner

@simon2207 commented on GitHub (Jan 4, 2026):

@rudyberends Amazing Work... many many thanks

• Tracks ending prematurely — fixed by starting the ticker at the first audio byte. CONFIRMED
• Queue not playing / stopping after one item — fixed by setting the queue authority to local, so lox-audioserver controls the queue for these services. - CONFIRMED

There is now a new build available that also fixes the playlist and album playback issue you reported. CONFIRMED

The duration issue is a bit more complex. I believe it is fixed, but it may still require some additional work. - ITS BEEN RUNNING NOW.

FROM MY POINT OF VIEW. - THIS TOPPIC SHOULD BE SWITCHED TO A CLOSED STATE.

<!-- gh-comment-id:3708240086 --> @simon2207 commented on GitHub (Jan 4, 2026): @rudyberends Amazing Work... many many thanks • Tracks ending prematurely — fixed by starting the ticker at the first audio byte. CONFIRMED • Queue not playing / stopping after one item — fixed by setting the queue authority to local, so lox-audioserver controls the queue for these services. - CONFIRMED There is now a new build available that also fixes the playlist and album playback issue you reported. CONFIRMED The duration issue is a bit more complex. I believe it is fixed, but it may still require some additional work. - ITS BEEN RUNNING NOW. FROM MY POINT OF VIEW. - THIS TOPPIC SHOULD BE SWITCHED TO A CLOSED STATE.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lox-audioserver#54
No description provided.