Ensemble icon indicating copy to clipboard operation
Ensemble copied to clipboard

[BUG] Ensemble shows DLNA players as playing when external source is active

Open ghost opened this issue 11 months ago • 19 comments

Background info

I am using the DLNA integration for my speakers since all other available providers or speaker integrations have critical issues after the latest MA updates. DLNA behaves differently and this issue seems to only affect the DLNA integration. I believe this is also mentioned in point 4 of issue #26.

The problem

If anything is playing on my speaker outside of Music Assistant such as optical in, Spotify, webradio stream, etc, the speaker is still shown as actively playing in Music Assistant but with the info External Provider Active. For example, when I watch TV via my WiiM Amp using the optical input, MA shows the speaker state as playing.

Because of this, Ensemble also shows the speaker as playing, but with the metadata from Music Assistant if anything was previously playing on that speaker. In this situation it looks like the speaker is playing a song in MA while it is actually playing an external source.

These screenshots show how this looks in both MA and Ensemble:

Image Image

As an example, these are the Music Assistant player attributes when the external source optical is active:

volume_level: 0.28
is_volume_muted: false
media_content_id: optical
media_content_type: music
media_position: 5145
media_position_updated_at: "2025-12-25T21:26:06.631337+00:00"
app_id: http
entity_picture_local: null
mass_player_type: player
active_queue: null
device_class: speaker
icon: mdi:speaker
friendly_name: Wohnzimmer
supported_features: 7796287

Proposed solution

Ensemble needs a way to detect when an external source is active on a player, possibly via the attributes or the get queue action.

In my opinion it does not make sense to show the player state as playing in this case since MA is not actually playing anything. It also defeats the purpose of having a separate Music Assistant player entity and results in many other issues (media control not working in that state, automations not working correctly and so on), but I was told in my issue (in the MA github project) that this is by design.

My ideal solution would be to show that the speaker is playing something externally via a small badge or info text and not mark it as playing in Ensemble. Media controls do not work in this situation anyway and it is confusing in the UI. I am just not sure what the cleanest way to implement this would be.

ghost avatar Dec 27 '25 12:12 ghost

Hi @shpongledsummer. I have included a fix for this in the latest release, although, I can't test this on my setup. I'm be interested to hear if it works

CollotsSpot avatar Dec 28 '25 09:12 CollotsSpot

Hi there, I just tested this. I'm not seeing any changes and the player still shows as playing in ensemble. Do you need any logs or additional info?

ghost avatar Dec 28 '25 14:12 ghost

Yes please as much as you can

CollotsSpot avatar Dec 28 '25 14:12 CollotsSpot

I just compared how my DLNA speakers look in Home Assistant when Music Assistant is actually playing versus when they are using an external source. I was trying to figure out how to reliably detect if MA is really active on a speaker.

Here is a speaker while Music Assistant is playing something:

volume_level: 0
is_volume_muted: false
media_content_id: library://track/8917
media_content_type: music
media_duration: 498
media_position: 176
media_position_updated_at: "2025-12-28T20:31:08.068924+00:00"
media_title: Dance in the Circle
media_artist: Anturage; Saccao/Saccao
media_album_name: My Melodic Tech House
media_album_artist: Various Artists
app_id: music_assistant
source: Music Assistant Queue
shuffle: true
repeat: "off"
entity_picture_local: /api/media_player_proxy/media_player.gandalf_mass?token=7201cb8a4ad1302c81c8367284ba9f481e26c369dd48f249f315a9c482ecd2b3&cache=3b119234a25a5ca6
mass_player_type: player
active_queue: uuid:FF280012-DE5C-9785-F656-E236FF280012
device_class: speaker
entity_picture: http://192.168.178.90:8095/imageproxy?path=al-4TqPvBnlvaOjaev2p1Dnrj_68fb99d0&provider=opensubsonic--aY4HZxFT&size=0
icon: mdi:speaker
friendly_name: Gandalf
supported_features: 7796287

And here is the same type of speaker while it is playing audio from an external source, in my case TV via optical. MA is not involved at all here.

volume_level: 0.42
is_volume_muted: false
media_content_id: optical
media_content_type: music
media_position: 0
app_id: http
entity_picture_local: null
mass_player_type: player
active_queue: null
device_class: speaker
icon: mdi:speaker
friendly_name: Wohnzimmer
supported_features: 7796287

From what I can tell, the key difference is the app_id.

If app_id is music_assistant, then MA is actually playing something on the device. If it is anything else like http, then the speaker is using some external source and MA is not active on it.

Here is the log:

═══════════════════════════════════════ ENSEMBLE BUG REPORT Generated: 2025-12-28T22:02:56.593953 ═══════════════════════════════════════

APP INFO: Version: 2.7.0-beta (30) Package: com.musicassistant.music_assistant

DEVICE INFO: Model: Nothing A059 Android: 16 (SDK 36) Device: Asteroids

LOG SUMMARY: Total entries: 1000 Errors: 0 Warnings: 0

═══════════════════════════════════════ LOGS (newest first): ═══════════════════════════════════════

[22:02:56.594] INFO 💾 Persisted 500 queue items to database [22:02:56.494] INFO Sendspin: Sending message: client/state [22:02:56.393] INFO 💾 Persisted 337 queue items to database [22:02:56.216] INFO 💾 Persisted 14 queue items to database [22:02:56.194] INFO 💾 Persisted 16 queue items to database [22:02:56.167] INFO Received message: (message_id, result, partial) [22:02:56.166] INFO 🔄 Connection verified, players and state refreshed [22:02:56.164] INFO Received message: (message_id, result, partial) [22:02:56.164] INFO Received message: (message_id, result, partial) [22:02:56.162] INFO 🖼️ Preloading complete [22:02:56.162] INFO 🔍 Preload Mandalotsen: CACHED track "Floating" [22:02:56.162] INFO 🔍 Preload Mandalotsen: queue=true, currentItem=true [22:02:56.150] INFO 🔍 Preload Gandalf: CACHED track "Dance in the Circle" [22:02:56.150] INFO 🔍 Preload Gandalf: queue=true, currentItem=true [22:02:56.130] INFO 🔍 Preload Mandaloffice: NO TRACK - queue empty [22:02:56.130] INFO 🔍 Preload Mandaloffice: queue=false, currentItem=false [22:02:56.130] INFO ⚠️ Queue is empty or all items failed to parse [22:02:56.130] INFO 🔍 Preload Ben's Phone: CACHED track "Breezeblocks" [22:02:56.130] INFO 🔍 Preload Ben's Phone: queue=true, currentItem=true [22:02:56.129] INFO 🔍 Preload Hisense VIDAA TV: NO TRACK - queue empty [22:02:56.129] INFO 🔍 Preload Hisense VIDAA TV: queue=false, currentItem=false [22:02:56.129] INFO ⚠️ Queue is empty or all items failed to parse [22:02:56.128] INFO 🔍 Preload Potterbox: CACHED track "Living with Harry Potter • None (10/12/05)" [22:02:56.128] INFO 🔍 Preload Potterbox: queue=true, currentItem=true [22:02:56.128] INFO 🔍 Preload Hedwig: CACHED track "Come as You Are" [22:02:56.128] INFO 🔍 Preload Hedwig: queue=true, currentItem=true [22:02:56.108] INFO Received message: (message_id, result, partial) [22:02:56.036] INFO Received message: (message_id, result, partial) [22:02:56.019] INFO Received message: (message_id, result, partial) [22:02:56.019] INFO Received message: (message_id, result, partial) [22:02:56.018] INFO Received message: (message_id, result, partial) [22:02:56.018] INFO Received message: (message_id, result, partial) [22:02:56.018] INFO Received message: (message_id, result, partial) [22:02:56.018] INFO Received message: (message_id, result, partial) [22:02:56.018] INFO Received message: (message_id, result, partial) [22:02:56.017] INFO Received message: (message_id, result, partial) [22:02:55.978] INFO 🔍 Preload Gandalf: CACHED track "Dance in the Circle" [22:02:55.978] INFO 🔍 Preload Gandalf: queue=true, currentItem=true [22:02:55.955] INFO Received message: (message_id, result, partial) [22:02:55.842] INFO 🔍 Preload Ben's Phone: CACHED track "Breezeblocks" [22:02:55.842] INFO 🔍 Preload Ben's Phone: queue=true, currentItem=true [22:02:55.841] INFO Received message: (message_id, result, partial) [22:02:55.811] INFO 🔍 Preload Wohnzimmer: CACHED track "Everything" [22:02:55.811] INFO 🔍 Preload Wohnzimmer: queue=true, currentItem=true [22:02:55.810] INFO Received message: (message_id, result, partial) [22:02:55.799] INFO 💾 Persisted 8 players to database [22:02:55.783] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:02:55.782] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:02:55.781] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:02:55.780] INFO Received message: (message_id, result, partial) [22:02:55.780] INFO Received message: (message_id, result, partial) [22:02:55.780] INFO Received message: (message_id, result, partial) [22:02:55.780] INFO Received message: (message_id, result, partial) [22:02:55.780] INFO Received message: (message_id, result, partial) [22:02:55.779] INFO Received message: (message_id, result, partial) [22:02:55.779] INFO Received message: (message_id, result, partial) [22:02:55.779] INFO Received message: (message_id, result, partial) [22:02:55.779] INFO Received message: (message_id, result, partial) [22:02:55.773] INFO Received message: (message_id, result, partial) [22:02:55.773] INFO Received message: (message_id, result, partial) [22:02:55.772] INFO Received message: (message_id, result, partial) [22:02:55.772] INFO Received message: (message_id, result, partial) [22:02:55.767] INFO 🔍 Preload Gandalf: state=idle, available=true [22:02:55.767] INFO 🔍 Preload Ben's Phone: state=idle, available=true [22:02:55.766] INFO 🔍 Preload Potterbox: state=idle, available=true [22:02:55.766] INFO 🔍 Preload Mandalotsen: state=idle, available=true [22:02:55.766] INFO 🔍 Preload Mandaloffice: state=paused, available=true [22:02:55.766] INFO 🔍 Preload Hisense VIDAA TV: state=idle, available=true [22:02:55.765] INFO 🔍 Preload Hedwig: state=idle, available=true [22:02:55.765] INFO 🔍 Preload Gandalf: state=idle, available=true [22:02:55.765] INFO 🔍 Preload Wohnzimmer: state=playing, available=true [22:02:55.764] INFO 🔍 Preload Ben's Phone: state=idle, available=true [22:02:55.764] INFO 🖼️ Preloading track info for all 8 players... [22:02:55.764] INFO 🎛️ After filtering: 8 players available [22:02:55.764] INFO 🎛️ getPlayers returned 8 players: [22:02:55.764] INFO Received message: (message_id, result, partial) [22:02:55.748] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:55.733] INFO 🔄 Already connected, verifying connection... [22:02:55.733] INFO 🔄 checkAndReconnect called - state: MAConnectionState.authenticated [22:02:55.733] INFO 📱 App resumed - checking WebSocket connection... [22:02:55.249] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:54.749] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:54.249] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:53.749] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:53.249] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:52.797] INFO 💾 Persisted 16 queue items to database [22:02:52.745] INFO Received message: (message_id, result, partial) [22:02:52.728] INFO Received message: (message_id, result, partial) [22:02:52.719] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:02:52.718] INFO Received message: (message_id, result, partial) [22:02:52.240] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:51.740] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:51.494] INFO Sendspin: Sending message: client/state [22:02:51.240] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:50.740] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:50.239] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:49.740] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:49.240] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:48.740] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:48.240] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:47.767] INFO 💾 Persisted 16 queue items to database [22:02:47.736] INFO Received message: (message_id, result, partial) [22:02:47.730] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:47.720] INFO Received message: (message_id, result, partial) [22:02:47.712] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:02:47.711] INFO Received message: (message_id, result, partial) [22:02:47.230] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:46.730] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:46.494] INFO Sendspin: Sending message: client/state [22:02:46.230] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:45.730] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:45.230] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:44.730] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:44.230] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:43.730] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:43.230] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:42.755] INFO 💾 Persisted 16 queue items to database [22:02:42.725] INFO Received message: (message_id, result, partial) [22:02:42.709] INFO Received message: (message_id, result, partial) [22:02:42.701] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:02:42.700] INFO Received message: (message_id, result, partial) [22:02:42.234] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:41.734] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:41.494] INFO Sendspin: Sending message: client/state [22:02:41.234] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:40.734] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:40.234] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:39.734] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:39.234] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:38.735] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:38.234] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:37.773] INFO 💾 Persisted 16 queue items to database [22:02:37.729] INFO Received message: (message_id, result, partial) [22:02:37.710] INFO Received message: (message_id, result, partial) [22:02:37.702] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:02:37.702] INFO Received message: (message_id, result, partial) [22:02:37.232] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:36.732] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:36.519] INFO Sendspin: Received server/time response [22:02:36.518] INFO Sendspin: Received message type: server/time [22:02:36.496] INFO Sendspin: Sending message: client/state [22:02:36.494] INFO Sendspin: Sending message: client/time [22:02:36.232] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:35.806] INFO Received message: (message_id, result, partial) [22:02:35.732] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:35.231] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:34.732] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:34.232] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:33.732] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:33.232] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:32.775] INFO 💾 Persisted 16 queue items to database [22:02:32.727] INFO Received message: (message_id, result, partial) [22:02:32.711] INFO Received message: (message_id, result, partial) [22:02:32.711] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:32.702] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:02:32.702] INFO Received message: (message_id, result, partial) [22:02:32.211] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:31.711] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:31.494] INFO Sendspin: Sending message: client/state [22:02:31.211] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:30.711] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:30.211] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:29.711] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:29.211] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:28.711] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:28.211] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:27.749] INFO 💾 Persisted 16 queue items to database [22:02:27.707] INFO Received message: (message_id, result, partial) [22:02:27.700] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:27.691] INFO Received message: (message_id, result, partial) [22:02:27.684] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:02:27.683] INFO Received message: (message_id, result, partial) [22:02:27.200] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:26.700] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:26.494] INFO Sendspin: Sending message: client/state [22:02:26.200] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:25.701] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:25.200] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:24.700] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:24.200] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:23.701] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:23.200] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:22.737] INFO 💾 Persisted 16 queue items to database [22:02:22.698] INFO Received message: (message_id, result, partial) [22:02:22.687] INFO Received message: (message_id, result, partial) [22:02:22.681] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:02:22.681] INFO Received message: (message_id, result, partial) [22:02:22.219] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:21.719] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:21.494] INFO Sendspin: Sending message: client/state [22:02:21.219] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:20.719] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:20.219] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:19.719] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:19.219] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:18.719] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:18.219] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:17.752] INFO 💾 Persisted 16 queue items to database [22:02:17.715] INFO Received message: (message_id, result, partial) [22:02:17.699] INFO Received message: (message_id, result, partial) [22:02:17.690] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:02:17.690] INFO Received message: (message_id, result, partial) [22:02:17.243] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:16.744] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:16.494] INFO Sendspin: Sending message: client/state [22:02:16.244] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:15.743] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:15.243] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:14.743] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:14.244] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:13.744] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:13.245] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:12.790] INFO 💾 Persisted 16 queue items to database [22:02:12.739] INFO Received message: (message_id, result, partial) [22:02:12.714] INFO Received message: (message_id, result, partial) [22:02:12.706] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:02:12.705] INFO Received message: (message_id, result, partial) [22:02:12.265] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:11.766] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:11.494] INFO Sendspin: Sending message: client/state [22:02:11.265] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:10.765] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:10.265] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:09.765] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:09.265] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:08.766] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:08.266] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:07.796] INFO 💾 Persisted 16 queue items to database [22:02:07.755] INFO Received message: (message_id, result, partial) [22:02:07.729] INFO Received message: (message_id, result, partial) [22:02:07.718] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:02:07.718] INFO Received message: (message_id, result, partial) [22:02:07.247] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:06.747] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:06.533] INFO Sendspin: Received server/time response [22:02:06.533] INFO Sendspin: Received message type: server/time [22:02:06.497] INFO Sendspin: Sending message: client/state [22:02:06.494] INFO Sendspin: Sending message: client/time [22:02:06.247] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:05.814] INFO Received message: (message_id, result, partial) [22:02:05.747] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:05.247] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:04.747] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:04.247] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:03.747] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:03.248] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:02.793] INFO 💾 Persisted 16 queue items to database [22:02:02.740] INFO Received message: (message_id, result, partial) [22:02:02.716] INFO Received message: (message_id, result, partial) [22:02:02.706] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:02:02.706] INFO Received message: (message_id, result, partial) [22:02:02.282] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:01.782] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:01.495] INFO Sendspin: Sending message: client/state [22:02:01.282] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:00.781] INFO PositionTracker: Track appears to have ended (position >= duration) [22:02:00.282] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:59.782] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:59.281] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:58.782] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:58.283] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:57.818] INFO 💾 Persisted 16 queue items to database [22:01:57.772] INFO Received message: (message_id, result, partial) [22:01:57.745] INFO Received message: (message_id, result, partial) [22:01:57.736] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:01:57.736] INFO Received message: (message_id, result, partial) [22:01:57.282] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:56.782] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:56.494] INFO Sendspin: Sending message: client/state [22:01:56.282] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:55.783] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:55.282] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:54.782] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:54.283] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:53.782] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:53.282] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:52.839] INFO 💾 Persisted 16 queue items to database [22:01:52.772] INFO Received message: (message_id, result, partial) [22:01:52.745] INFO Received message: (message_id, result, partial) [22:01:52.736] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:01:52.735] INFO Received message: (message_id, result, partial) [22:01:52.283] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:51.783] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:51.494] INFO Sendspin: Sending message: client/state [22:01:51.283] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:50.783] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:50.283] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:49.783] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:49.283] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:48.783] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:48.284] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:47.832] INFO 💾 Persisted 16 queue items to database [22:01:47.774] INFO Received message: (message_id, result, partial) [22:01:47.738] INFO Received message: (message_id, result, partial) [22:01:47.726] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:01:47.725] INFO Received message: (message_id, result, partial) [22:01:47.262] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:46.762] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:46.494] INFO Sendspin: Sending message: client/state [22:01:46.262] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:45.762] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:45.262] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:44.762] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:44.262] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:43.762] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:43.263] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:42.805] INFO 💾 Persisted 16 queue items to database [22:01:42.755] INFO Received message: (message_id, result, partial) [22:01:42.725] INFO Received message: (message_id, result, partial) [22:01:42.721] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:42.714] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:01:42.713] INFO Received message: (message_id, result, partial) [22:01:42.221] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:41.721] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:41.494] INFO Sendspin: Sending message: client/state [22:01:41.221] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:40.728] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:40.221] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:39.721] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:39.221] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:38.721] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:38.221] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:37.760] INFO 💾 Persisted 16 queue items to database [22:01:37.715] INFO Received message: (message_id, result, partial) [22:01:37.693] INFO Received message: (message_id, result, partial) [22:01:37.687] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:01:37.686] INFO Received message: (message_id, result, partial) [22:01:37.237] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:36.736] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:36.503] INFO Sendspin: Received server/time response [22:01:36.502] INFO Sendspin: Received message type: server/time [22:01:36.497] INFO Sendspin: Sending message: client/state [22:01:36.495] INFO Sendspin: Sending message: client/time [22:01:36.236] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:35.794] INFO Received message: (message_id, result, partial) [22:01:35.736] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:35.236] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:34.735] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:34.237] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:33.736] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:33.236] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:32.780] INFO 💾 Persisted 16 queue items to database [22:01:32.733] INFO Received message: (message_id, result, partial) [22:01:32.717] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:32.716] INFO Received message: (message_id, result, partial) [22:01:32.706] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:01:32.705] INFO Received message: (message_id, result, partial) [22:01:32.218] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:31.718] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:31.494] INFO Sendspin: Sending message: client/state [22:01:31.218] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:30.718] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:30.218] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:29.718] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:29.218] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:28.718] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:28.218] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:27.754] INFO 💾 Persisted 16 queue items to database [22:01:27.712] INFO Received message: (message_id, result, partial) [22:01:27.694] INFO Received message: (message_id, result, partial) [22:01:27.687] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:01:27.686] INFO Received message: (message_id, result, partial) [22:01:27.275] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:26.776] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:26.494] INFO Sendspin: Sending message: client/state [22:01:26.276] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:25.776] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:25.276] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:24.776] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:24.276] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:23.775] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:23.289] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:22.985] INFO 💾 Persisted 16 queue items to database [22:01:22.766] INFO Received message: (message_id, result, partial) [22:01:22.750] INFO Received message: (message_id, result, partial) [22:01:22.739] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:22.735] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:01:22.735] INFO Received message: (message_id, result, partial) [22:01:22.232] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:21.732] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:21.495] INFO Sendspin: Sending message: client/state [22:01:21.232] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:20.732] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:20.232] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:19.732] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:19.232] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:18.731] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:18.232] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:17.772] INFO 💾 Persisted 16 queue items to database [22:01:17.727] INFO Received message: (message_id, result, partial) [22:01:17.711] INFO Received message: (message_id, result, partial) [22:01:17.704] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:01:17.703] INFO Received message: (message_id, result, partial) [22:01:17.231] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:16.731] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:16.494] INFO Sendspin: Sending message: client/state [22:01:16.231] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:15.731] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:15.230] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:14.730] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:14.231] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:13.732] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:13.231] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:12.767] INFO 💾 Persisted 16 queue items to database [22:01:12.726] INFO Received message: (message_id, result, partial) [22:01:12.710] INFO Received message: (message_id, result, partial) [22:01:12.703] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:01:12.702] INFO Received message: (message_id, result, partial) [22:01:12.236] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:11.735] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:11.494] INFO Sendspin: Sending message: client/state [22:01:11.236] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:10.736] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:10.236] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:09.736] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:09.235] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:08.736] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:08.236] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:07.771] INFO 💾 Persisted 16 queue items to database [22:01:07.732] INFO Received message: (message_id, result, partial) [22:01:07.714] INFO Received message: (message_id, result, partial) [22:01:07.707] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:01:07.707] INFO Received message: (message_id, result, partial) [22:01:07.230] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:06.730] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:06.500] INFO Sendspin: Received server/time response [22:01:06.500] INFO Sendspin: Received message type: server/time [22:01:06.495] INFO Sendspin: Sending message: client/state [22:01:06.494] INFO Sendspin: Sending message: client/time [22:01:06.230] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:05.809] INFO Received message: (message_id, result, partial) [22:01:05.730] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:05.230] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:04.730] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:04.230] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:03.730] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:03.230] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:02.762] INFO 💾 Persisted 16 queue items to database [22:01:02.725] INFO Received message: (message_id, result, partial) [22:01:02.708] INFO Received message: (message_id, result, partial) [22:01:02.702] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:01:02.702] INFO Received message: (message_id, result, partial) [22:01:02.227] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:01.727] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:01.494] INFO Sendspin: Sending message: client/state [22:01:01.227] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:00.727] INFO PositionTracker: Track appears to have ended (position >= duration) [22:01:00.227] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:59.727] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:59.227] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:58.727] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:58.227] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:57.762] INFO 💾 Persisted 16 queue items to database [22:00:57.722] INFO Received message: (message_id, result, partial) [22:00:57.708] INFO Received message: (message_id, result, partial) [22:00:57.702] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:00:57.702] INFO Received message: (message_id, result, partial) [22:00:57.228] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:56.728] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:56.494] INFO Sendspin: Sending message: client/state [22:00:56.228] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:55.727] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:55.228] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:54.728] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:54.228] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:53.728] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:53.228] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:52.752] INFO 💾 Persisted 16 queue items to database [22:00:52.722] INFO Received message: (message_id, result, partial) [22:00:52.708] INFO Received message: (message_id, result, partial) [22:00:52.703] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:00:52.702] INFO Received message: (message_id, result, partial) [22:00:52.222] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:51.723] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:51.495] INFO Sendspin: Sending message: client/state [22:00:51.223] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:50.723] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:50.223] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:49.723] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:49.223] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:48.723] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:48.223] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:47.901] INFO 💾 Persisted 16 queue items to database [22:00:47.718] INFO Received message: (message_id, result, partial) [22:00:47.702] INFO Received message: (message_id, result, partial) [22:00:47.696] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:00:47.696] INFO Received message: (message_id, result, partial) [22:00:47.216] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:46.717] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:46.494] INFO Sendspin: Sending message: client/state [22:00:46.217] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:45.717] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:45.216] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:44.717] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:44.216] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:43.716] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:43.217] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:42.792] INFO 💾 Persisted 16 queue items to database [22:00:42.712] INFO Received message: (message_id, result, partial) [22:00:42.691] INFO Received message: (message_id, result, partial) [22:00:42.683] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:00:42.683] INFO Received message: (message_id, result, partial) [22:00:42.235] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:41.735] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:41.494] INFO Sendspin: Sending message: client/state [22:00:41.235] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:40.735] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:40.235] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:39.735] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:39.235] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:38.735] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:38.235] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:37.768] INFO 💾 Persisted 16 queue items to database [22:00:37.730] INFO Received message: (message_id, result, partial) [22:00:37.711] INFO Received message: (message_id, result, partial) [22:00:37.703] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:00:37.703] INFO Received message: (message_id, result, partial) [22:00:37.229] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:36.729] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:36.511] INFO Sendspin: Received server/time response [22:00:36.511] INFO Sendspin: Received message type: server/time [22:00:36.494] INFO Sendspin: Sending message: client/state [22:00:36.493] INFO Sendspin: Sending message: client/time [22:00:36.229] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:35.810] INFO Received message: (message_id, result, partial) [22:00:35.728] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:35.229] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:34.729] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:34.229] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:33.728] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:33.229] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:32.763] INFO 💾 Persisted 16 queue items to database [22:00:32.726] INFO Received message: (message_id, result, partial) [22:00:32.716] INFO Received message: (message_id, result, partial) [22:00:32.709] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:00:32.708] INFO Received message: (message_id, result, partial) [22:00:32.512] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:32.012] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:31.512] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:31.494] INFO Sendspin: Sending message: client/state [22:00:31.011] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:30.511] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:30.011] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:29.546] INFO 📱 App paused (backgrounded) [22:00:29.511] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:29.024] INFO 💾 Persisted 16 queue items to database [22:00:29.014] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:29.005] INFO 💾 Persisted 16 queue items to database [22:00:28.985] INFO 💾 Persisted 16 queue items to database [22:00:28.967] INFO 💾 Persisted 500 queue items to database [22:00:28.514] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:28.478] INFO 💾 Persisted 337 queue items to database [22:00:28.370] INFO 💾 Persisted 14 queue items to database [22:00:28.358] INFO 💾 Persisted 1 queue items to database [22:00:28.350] INFO 💾 Persisted 500 queue items to database [22:00:28.191] INFO 💾 Persisted 337 queue items to database [22:00:28.068] INFO 💾 Persisted 16 queue items to database [22:00:28.046] INFO 💾 Persisted 14 queue items to database [22:00:28.011] INFO 🔄 Connection verified, players and state refreshed [22:00:28.006] INFO Received message: (message_id, result, partial) [22:00:28.005] INFO Received message: (message_id, result, partial) [22:00:28.003] INFO Received message: (message_id, result, partial) [22:00:28.001] INFO 🖼️ Preloading complete [22:00:28.001] INFO 🔍 Preload Mandalotsen: CACHED track "Floating" [22:00:28.001] INFO 🔍 Preload Mandalotsen: queue=true, currentItem=true [22:00:27.983] INFO 🔍 Preload Gandalf: CACHED track "Dance in the Circle" [22:00:27.983] INFO 🔍 Preload Gandalf: queue=true, currentItem=true [22:00:27.975] INFO 🔍 Preload Mandaloffice: NO TRACK - queue empty [22:00:27.975] INFO 🔍 Preload Mandaloffice: queue=false, currentItem=false [22:00:27.975] INFO ⚠️ Queue is empty or all items failed to parse [22:00:27.975] INFO 🔍 Preload Ben's Phone: CACHED track "Breezeblocks" [22:00:27.975] INFO 🔍 Preload Ben's Phone: queue=true, currentItem=true [22:00:27.974] INFO 🔍 Preload Potterbox: CACHED track "Living with Harry Potter • None (10/12/05)" [22:00:27.974] INFO 🔍 Preload Potterbox: queue=true, currentItem=true [22:00:27.974] INFO 🔍 Preload Hedwig: CACHED track "Come as You Are" [22:00:27.974] INFO 🔍 Preload Hedwig: queue=true, currentItem=true [22:00:27.950] INFO Received message: (message_id, result, partial) [22:00:27.907] INFO Received message: (message_id, result, partial) [22:00:27.860] INFO Received message: (message_id, result, partial) [22:00:27.860] INFO Received message: (message_id, result, partial) [22:00:27.860] INFO Received message: (message_id, result, partial) [22:00:27.860] INFO Received message: (message_id, result, partial) [22:00:27.859] INFO Received message: (message_id, result, partial) [22:00:27.859] INFO Received message: (message_id, result, partial) [22:00:27.859] INFO Received message: (message_id, result, partial) [22:00:27.822] INFO 🔍 Preload Gandalf: CACHED track "Dance in the Circle" [22:00:27.822] INFO 🔍 Preload Gandalf: queue=true, currentItem=true [22:00:27.813] INFO Received message: (message_id, result, partial) [22:00:27.756] INFO 🔍 Preload Hisense VIDAA TV: NO TRACK - queue empty [22:00:27.756] INFO 🔍 Preload Hisense VIDAA TV: queue=false, currentItem=false [22:00:27.756] INFO ⚠️ Queue is empty or all items failed to parse [22:00:27.756] INFO 🔍 Preload Wohnzimmer: CACHED track "Everything" [22:00:27.756] INFO 🔍 Preload Wohnzimmer: queue=true, currentItem=true [22:00:27.755] INFO Received message: (message_id, result, partial) [22:00:27.755] INFO Received message: (message_id, result, partial) [22:00:27.753] INFO 🔍 Preload Ben's Phone: CACHED track "Breezeblocks" [22:00:27.753] INFO 🔍 Preload Ben's Phone: queue=true, currentItem=true [22:00:27.752] INFO Received message: (message_id, result, partial) [22:00:27.696] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:00:27.695] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:00:27.695] INFO Received message: (message_id, result, partial) [22:00:27.695] INFO Received message: (message_id, result, partial) [22:00:27.695] INFO Received message: (message_id, result, partial) [22:00:27.693] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:00:27.693] INFO Received message: (message_id, result, partial) [22:00:27.693] INFO Received message: (message_id, result, partial) [22:00:27.693] INFO Received message: (message_id, result, partial) [22:00:27.692] INFO Received message: (message_id, result, partial) [22:00:27.691] INFO Received message: (message_id, result, partial) [22:00:27.684] INFO Received message: (message_id, result, partial) [22:00:27.684] INFO Received message: (message_id, result, partial) [22:00:27.684] INFO Received message: (message_id, result, partial) [22:00:27.684] INFO Received message: (message_id, result, partial) [22:00:27.683] INFO Received message: (message_id, result, partial) [22:00:27.680] INFO 💾 Persisted 8 players to database [22:00:27.672] INFO 🔍 Preload Gandalf: state=idle, available=true [22:00:27.672] INFO 🔍 Preload Ben's Phone: state=idle, available=true [22:00:27.672] INFO 🔍 Preload Potterbox: state=idle, available=true [22:00:27.672] INFO 🔍 Preload Mandalotsen: state=idle, available=true [22:00:27.671] INFO 🔍 Preload Mandaloffice: state=paused, available=true [22:00:27.671] INFO 🔍 Preload Hisense VIDAA TV: state=idle, available=true [22:00:27.671] INFO 🔍 Preload Hedwig: state=idle, available=true [22:00:27.671] INFO 🔍 Preload Gandalf: state=idle, available=true [22:00:27.671] INFO 🔍 Preload Wohnzimmer: state=playing, available=true [22:00:27.670] INFO 🔍 Preload Ben's Phone: state=idle, available=true [22:00:27.670] INFO 🖼️ Preloading track info for all 8 players... [22:00:27.670] INFO 🎛️ After filtering: 8 players available [22:00:27.670] INFO 🎛️ getPlayers returned 8 players: [22:00:27.670] INFO Received message: (message_id, result, partial) [22:00:27.643] INFO 🔄 Already connected, verifying connection... [22:00:27.643] INFO 🔄 checkAndReconnect called - state: MAConnectionState.authenticated [22:00:27.642] INFO 📱 App resumed - checking WebSocket connection... [22:00:27.338] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:26.838] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:26.494] INFO Sendspin: Sending message: client/state [22:00:26.379] INFO 💾 Persisted 16 queue items to database [22:00:26.333] INFO Received message: (message_id, result, partial) [22:00:26.315] INFO Received message: (message_id, result, partial) [22:00:26.302] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:00:26.302] INFO Received message: (message_id, result, partial) [22:00:26.183] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:25.683] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:25.183] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:24.682] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:24.183] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:23.683] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:23.183] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:22.682] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:22.553] INFO 💾 Persisted 16 queue items to database [22:00:22.532] INFO 💾 Persisted 16 queue items to database [22:00:22.511] INFO 💾 Persisted 16 queue items to database [22:00:22.491] INFO 💾 Persisted 337 queue items to database [22:00:22.218] INFO 💾 Persisted 1 queue items to database [22:00:22.211] INFO 💾 Persisted 14 queue items to database [22:00:22.200] INFO 💾 Persisted 500 queue items to database [22:00:22.183] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:21.941] INFO 💾 Persisted 500 queue items to database [22:00:21.793] INFO 💾 Persisted 337 queue items to database [22:00:21.681] INFO Received message: (message_id, result, partial) [22:00:21.679] INFO Received message: (message_id, result, partial) [22:00:21.678] INFO 🔄 Connection verified, players and state refreshed [22:00:21.677] INFO Received message: (message_id, result, partial) [22:00:21.660] INFO 💾 Persisted 14 queue items to database [22:00:21.655] INFO Sendspin: Sending message: client/state [22:00:21.654] INFO 🔍 Preload Gandalf: CACHED track "Dance in the Circle" [22:00:21.654] INFO 🔍 Preload Gandalf: queue=true, currentItem=true [22:00:21.646] INFO 🖼️ Preloading complete [22:00:21.646] INFO 🔍 Preload Mandaloffice: NO TRACK - queue empty [22:00:21.646] INFO 🔍 Preload Mandaloffice: queue=false, currentItem=false [22:00:21.646] INFO ⚠️ Queue is empty or all items failed to parse [22:00:21.646] INFO 🔍 Preload Potterbox: CACHED track "Living with Harry Potter • None (10/12/05)" [22:00:21.646] INFO 🔍 Preload Potterbox: queue=true, currentItem=true [22:00:21.645] INFO 🔍 Preload Ben's Phone: CACHED track "Breezeblocks" [22:00:21.645] INFO 🔍 Preload Ben's Phone: queue=true, currentItem=true [22:00:21.645] INFO 🔍 Preload Hedwig: CACHED track "Come as You Are" [22:00:21.645] INFO 🔍 Preload Hedwig: queue=true, currentItem=true [22:00:21.633] INFO 🔍 Preload Mandalotsen: CACHED track "Floating" [22:00:21.632] INFO 🔍 Preload Mandalotsen: queue=true, currentItem=true [22:00:21.606] INFO Received message: (message_id, result, partial) [22:00:21.575] INFO Received message: (message_id, result, partial) [22:00:21.575] INFO Received message: (message_id, result, partial) [22:00:21.575] INFO Received message: (message_id, result, partial) [22:00:21.575] INFO Received message: (message_id, result, partial) [22:00:21.575] INFO Received message: (message_id, result, partial) [22:00:21.575] INFO Received message: (message_id, result, partial) [22:00:21.574] INFO Received message: (message_id, result, partial) [22:00:21.532] INFO Received message: (message_id, result, partial) [22:00:21.497] INFO 🔍 Preload Gandalf: CACHED track "Dance in the Circle" [22:00:21.497] INFO 🔍 Preload Gandalf: queue=true, currentItem=true [22:00:21.456] INFO Received message: (message_id, result, partial) [22:00:21.354] INFO 💾 Persisted 16 queue items to database [22:00:21.354] INFO 🔍 Preload Hisense VIDAA TV: NO TRACK - queue empty [22:00:21.354] INFO 🔍 Preload Hisense VIDAA TV: queue=false, currentItem=false [22:00:21.354] INFO ⚠️ Queue is empty or all items failed to parse [22:00:21.354] INFO Received message: (message_id, result, partial) [22:00:21.353] INFO 🔍 Preload Ben's Phone: CACHED track "Breezeblocks" [22:00:21.353] INFO 🔍 Preload Ben's Phone: queue=true, currentItem=true [22:00:21.352] INFO Received message: (message_id, result, partial) [22:00:21.341] INFO 🔍 Preload Wohnzimmer: CACHED track "Everything" [22:00:21.341] INFO 🔍 Preload Wohnzimmer: queue=true, currentItem=true [22:00:21.340] INFO Received message: (message_id, result, partial) [22:00:21.294] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:00:21.293] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:00:21.292] INFO Received message: (message_id, result, partial) [22:00:21.292] INFO Received message: (message_id, result, partial) [22:00:21.292] INFO Received message: (message_id, result, partial) [22:00:21.291] INFO Received message: (message_id, result, partial) [22:00:21.291] INFO Received message: (message_id, result, partial) [22:00:21.290] INFO Received message: (message_id, result, partial) [22:00:21.289] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:00:21.289] INFO Received message: (message_id, result, partial) [22:00:21.287] INFO 💾 Persisted 8 players to database [22:00:21.286] INFO Received message: (message_id, result, partial) [22:00:21.285] INFO Received message: (message_id, result, partial) [22:00:21.285] INFO Received message: (message_id, result, partial) [22:00:21.282] INFO Received message: (message_id, result, partial) [22:00:21.280] INFO Received message: (message_id, result, partial) [22:00:21.279] INFO Received message: (message_id, result, partial) [22:00:21.269] INFO 🔍 Preload Gandalf: state=idle, available=true [22:00:21.269] INFO 🔍 Preload Ben's Phone: state=idle, available=true [22:00:21.268] INFO 🔍 Preload Potterbox: state=idle, available=true [22:00:21.268] INFO 🔍 Preload Mandalotsen: state=idle, available=true [22:00:21.268] INFO 🔍 Preload Mandaloffice: state=paused, available=true [22:00:21.267] INFO 🔍 Preload Hisense VIDAA TV: state=idle, available=true [22:00:21.267] INFO 🔍 Preload Hedwig: state=idle, available=true [22:00:21.267] INFO 🔍 Preload Gandalf: state=idle, available=true [22:00:21.267] INFO 🔍 Preload Wohnzimmer: state=playing, available=true [22:00:21.266] INFO 🔍 Preload Ben's Phone: state=idle, available=true [22:00:21.266] INFO 🖼️ Preloading track info for all 8 players... [22:00:21.266] INFO 🎛️ After filtering: 8 players available [22:00:21.266] INFO 🎛️ getPlayers returned 8 players: [22:00:21.266] INFO Received message: (message_id, result, partial) [22:00:21.239] INFO 🔄 Already connected, verifying connection... [22:00:21.239] INFO 🔄 checkAndReconnect called - state: MAConnectionState.authenticated [22:00:21.239] INFO 📱 App resumed - checking WebSocket connection... [22:00:21.170] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:20.662] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:20.162] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:19.661] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:19.162] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:18.661] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:18.162] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:17.698] INFO 💾 Persisted 16 queue items to database [22:00:17.658] INFO Received message: (message_id, result, partial) [22:00:17.643] INFO Received message: (message_id, result, partial) [22:00:17.636] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:00:17.635] INFO Received message: (message_id, result, partial) [22:00:17.164] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:16.665] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:16.494] INFO Sendspin: Sending message: client/state [22:00:16.165] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:15.665] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:15.164] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:14.664] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:14.165] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:13.664] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:13.165] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:12.703] INFO 💾 Persisted 16 queue items to database [22:00:12.660] INFO Received message: (message_id, result, partial) [22:00:12.649] INFO Received message: (message_id, result, partial) [22:00:12.644] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:00:12.643] INFO Received message: (message_id, result, partial) [22:00:12.166] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:11.667] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:11.494] INFO Sendspin: Sending message: client/state [22:00:11.167] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:10.668] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:10.166] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:09.667] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:09.167] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:08.667] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:08.167] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:07.793] INFO 💾 Persisted 16 queue items to database [22:00:07.663] INFO Received message: (message_id, result, partial) [22:00:07.647] INFO Received message: (message_id, result, partial) [22:00:07.634] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:00:07.634] INFO Received message: (message_id, result, partial) [22:00:07.169] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:06.669] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:06.519] INFO Sendspin: Received server/time response [22:00:06.519] INFO Sendspin: Received message type: server/time [22:00:06.496] INFO Sendspin: Sending message: client/state [22:00:06.494] INFO Sendspin: Sending message: client/time [22:00:06.169] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:05.820] INFO Received message: (message_id, result, partial) [22:00:05.669] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:05.169] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:04.668] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:04.169] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:03.669] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:03.169] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:02.701] INFO 💾 Persisted 16 queue items to database [22:00:02.667] INFO Received message: (message_id, result, partial) [22:00:02.657] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:02.653] INFO Received message: (message_id, result, partial) [22:00:02.643] INFO ⚠️ Player Wohnzimmer has null elapsedTime [22:00:02.643] INFO Received message: (message_id, result, partial) [22:00:02.157] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:01.658] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:01.494] INFO Sendspin: Sending message: client/state [22:00:01.158] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:00.658] INFO PositionTracker: Track appears to have ended (position >= duration) [22:00:00.158] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:59.658] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:59.158] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:58.658] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:58.158] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:57.700] INFO 💾 Persisted 16 queue items to database [21:59:57.654] INFO Received message: (message_id, result, partial) [21:59:57.640] INFO Received message: (message_id, result, partial) [21:59:57.640] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:57.634] INFO ⚠️ Player Wohnzimmer has null elapsedTime [21:59:57.634] INFO Received message: (message_id, result, partial) [21:59:57.140] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:56.640] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:56.495] INFO Sendspin: Sending message: client/state [21:59:56.140] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:55.639] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:55.140] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:54.640] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:54.140] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:53.640] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:53.139] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:52.672] INFO 💾 Persisted 16 queue items to database [21:59:52.635] INFO Received message: (message_id, result, partial) [21:59:52.623] INFO Received message: (message_id, result, partial) [21:59:52.617] INFO ⚠️ Player Wohnzimmer has null elapsedTime [21:59:52.617] INFO Received message: (message_id, result, partial) [21:59:52.164] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:51.664] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:51.494] INFO Sendspin: Sending message: client/state [21:59:51.164] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:50.664] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:50.164] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:49.664] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:49.165] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:48.664] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:48.163] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:47.711] INFO 💾 Persisted 16 queue items to database [21:59:47.659] INFO Received message: (message_id, result, partial) [21:59:47.651] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:47.645] INFO Received message: (message_id, result, partial) [21:59:47.639] INFO ⚠️ Player Wohnzimmer has null elapsedTime [21:59:47.638] INFO Received message: (message_id, result, partial) [21:59:47.151] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:46.651] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:46.494] INFO Sendspin: Sending message: client/state [21:59:46.151] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:45.651] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:45.151] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:44.652] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:44.151] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:43.651] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:43.150] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:42.703] INFO 💾 Persisted 16 queue items to database [21:59:42.649] INFO Received message: (message_id, result, partial) [21:59:42.638] INFO Received message: (message_id, result, partial) [21:59:42.631] INFO ⚠️ Player Wohnzimmer has null elapsedTime [21:59:42.631] INFO Received message: (message_id, result, partial) [21:59:42.162] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:41.663] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:41.494] INFO Sendspin: Sending message: client/state [21:59:41.163] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:40.663] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:40.163] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:39.663] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:39.163] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:38.663] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:38.163] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:37.704] INFO 💾 Persisted 16 queue items to database [21:59:37.659] INFO Received message: (message_id, result, partial) [21:59:37.642] INFO Received message: (message_id, result, partial) [21:59:37.635] INFO ⚠️ Player Wohnzimmer has null elapsedTime [21:59:37.634] INFO Received message: (message_id, result, partial) [21:59:37.156] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:36.656] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:36.519] INFO Sendspin: Received server/time response [21:59:36.519] INFO Sendspin: Received message type: server/time [21:59:36.495] INFO Sendspin: Sending message: client/state [21:59:36.494] INFO Sendspin: Sending message: client/time [21:59:36.156] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:35.816] INFO Received message: (message_id, result, partial) [21:59:35.656] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:35.156] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:34.656] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:34.156] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:33.655] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:33.156] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:32.680] INFO 💾 Persisted 16 queue items to database [21:59:32.653] INFO Received message: (message_id, result, partial) [21:59:32.643] INFO Received message: (message_id, result, partial) [21:59:32.633] INFO ⚠️ Player Wohnzimmer has null elapsedTime [21:59:32.632] INFO Received message: (message_id, result, partial) [21:59:32.166] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:31.667] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:31.494] INFO Sendspin: Sending message: client/state [21:59:31.166] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:30.666] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:30.166] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:29.666] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:29.165] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:28.666] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:28.167] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:27.712] INFO 💾 Persisted 16 queue items to database [21:59:27.662] INFO Received message: (message_id, result, partial) [21:59:27.646] INFO Received message: (message_id, result, partial) [21:59:27.639] INFO ⚠️ Player Wohnzimmer has null elapsedTime [21:59:27.638] INFO Received message: (message_id, result, partial) [21:59:27.158] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:26.658] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:26.494] INFO Sendspin: Sending message: client/state [21:59:26.157] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:25.658] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:25.158] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:24.658] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:24.158] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:23.658] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:23.158] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:22.694] INFO 💾 Persisted 16 queue items to database [21:59:22.653] INFO Received message: (message_id, result, partial) [21:59:22.640] INFO Received message: (message_id, result, partial) [21:59:22.633] INFO ⚠️ Player Wohnzimmer has null elapsedTime [21:59:22.633] INFO Received message: (message_id, result, partial) [21:59:22.191] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:21.691] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:21.494] INFO Sendspin: Sending message: client/state [21:59:21.191] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:20.691] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:20.191] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:19.692] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:19.191] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:18.691] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:18.191] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:17.730] INFO 💾 Persisted 16 queue items to database [21:59:17.687] INFO Received message: (message_id, result, partial) [21:59:17.669] INFO Received message: (message_id, result, partial) [21:59:17.664] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:17.658] INFO ⚠️ Player Wohnzimmer has null elapsedTime [21:59:17.658] INFO Received message: (message_id, result, partial) [21:59:17.163] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:16.663] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:16.494] INFO Sendspin: Sending message: client/state [21:59:16.163] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:15.663] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:15.164] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:14.663] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:14.163] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:13.663] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:13.163] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:12.699] INFO 💾 Persisted 16 queue items to database [21:59:12.659] INFO Received message: (message_id, result, partial) [21:59:12.652] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:12.643] INFO Received message: (message_id, result, partial) [21:59:12.636] INFO ⚠️ Player Wohnzimmer has null elapsedTime [21:59:12.636] INFO Received message: (message_id, result, partial) [21:59:12.152] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:11.652] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:11.494] INFO Sendspin: Sending message: client/state [21:59:11.152] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:10.652] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:10.152] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:09.652] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:09.152] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:08.652] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:08.151] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:07.683] INFO 💾 Persisted 16 queue items to database [21:59:07.650] INFO Received message: (message_id, result, partial) [21:59:07.638] INFO Received message: (message_id, result, partial) [21:59:07.631] INFO ⚠️ Player Wohnzimmer has null elapsedTime [21:59:07.631] INFO Received message: (message_id, result, partial) [21:59:07.171] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:06.671] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:06.550] INFO Sendspin: Received server/time response [21:59:06.550] INFO Sendspin: Received message type: server/time [21:59:06.496] INFO Sendspin: Sending message: client/state [21:59:06.494] INFO Sendspin: Sending message: client/time [21:59:06.171] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:05.808] INFO Received message: (message_id, result, partial) [21:59:05.671] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:05.171] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:04.671] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:04.171] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:03.671] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:03.171] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:02.709] INFO 💾 Persisted 16 queue items to database [21:59:02.667] INFO Received message: (message_id, result, partial) [21:59:02.662] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:02.650] INFO Received message: (message_id, result, partial) [21:59:02.635] INFO ⚠️ Player Wohnzimmer has null elapsedTime [21:59:02.635] INFO Received message: (message_id, result, partial) [21:59:02.162] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:01.662] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:01.494] INFO Sendspin: Sending message: client/state [21:59:01.162] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:00.661] INFO PositionTracker: Track appears to have ended (position >= duration) [21:59:00.161] INFO PositionTracker: Track appears to have ended (position >= duration) [21:58:59.662] INFO PositionTracker: Track appears to have ended (position >= duration) [21:58:59.162] INFO PositionTracker: Track appears to have ended (position >= duration) [21:58:58.662] INFO PositionTracker: Track appears to have ended (position >= duration) [21:58:58.162] INFO PositionTracker: Track appears to have ended (position >= duration)

ghost avatar Dec 28 '25 21:12 ghost

Try the new build and let me know. Hopefully fixed now

CollotsSpot avatar Dec 29 '25 18:12 CollotsSpot

I would like to give some information about this issue. When playing a song using the Spotify Connect provider, the app shows that a song is playing, but it shows the wrong track info. The track that shows is the one that the player had on queue before the Spotify Connect provider started playing music through that player.

This is the song I am playing from Spotify using the Spotify Connect provider: Screenshot_20251229-133206_1_1.png

This is what the app shows it's playing: Screenshot_20251229-133211_1_1.png

This is the log when I open the app and the player is playing the song from Spotify Connect provider:

═══════════════════════════════════════
ENSEMBLE BUG REPORT
Generated: 2025-12-29T13:31:50.634111
═══════════════════════════════════════

APP INFO:
  Version: 2.7.2-beta (31)
  Package: com.musicassistant.music_assistant

DEVICE INFO:
  Model: Google Pixel 7a
  Android: 16 (SDK 36)
  Device: lynx

LOG SUMMARY:
  Total entries: 260
  Errors: 0
  Warnings: 0

═══════════════════════════════════════
LOGS (newest first):
═══════════════════════════════════════

[13:31:49.291] INFO  💾 Persisted 342 queue items to database
[13:31:49.175] INFO  💾 Persisted 342 queue items to database
[13:31:49.162] INFO  Received message: (message_id, result, partial)
[13:31:49.011] INFO  Received message: (message_id, result, partial)
[13:31:48.956] INFO  💾 Persisted 342 queue items to database
[13:31:48.822] INFO  💾 Persisted 38 queue items to database
[13:31:48.821] INFO  🔄 Connection verified, players and state refreshed
[13:31:48.805] INFO  Received message: (message_id, result, partial)
[13:31:48.764] INFO  💾 Persisted 342 queue items to database
[13:31:48.629] INFO  🔍 Preload Santiago's Phone: CACHED track "Twenty One Pilots - Trees"
[13:31:48.629] INFO  🔍 Preload Santiago's Phone: queue=true, currentItem=true
[13:31:48.629] INFO  Received message: (message_id, result, partial)
[13:31:48.626] INFO  Received message: (message_id, result, partial)
[13:31:48.624] INFO  🖼️ Preloading complete
[13:31:48.624] INFO  🔍 Preload Bocina de la Cocina: CACHED track "Drawn to the Blood"
[13:31:48.624] INFO  🔍 Preload Bocina de la Cocina: queue=true, currentItem=true
[13:31:48.611] INFO  Received message: (message_id, result, partial)
[13:31:48.398] INFO  Received message: (message_id, result, partial)
[13:31:48.365] INFO  Received message: (message_id, result, partial)
[13:31:48.349] INFO  💾 Persisted 38 queue items to database
[13:31:48.334] INFO  🔍 Preload Santiago's Phone: CACHED track "Twenty One Pilots - Trees"
[13:31:48.334] INFO  🔍 Preload Santiago's Phone: queue=true, currentItem=true
[13:31:48.334] INFO  Received message: (message_id, result, partial)
[13:31:48.324] INFO  Received message: (message_id, result, partial)
[13:31:48.322] INFO  Received message: (message_id, result, partial)
[13:31:48.316] INFO  Received message: (message_id, result, partial)
[13:31:48.299] INFO  Received message: (message_id, result, partial)
[13:31:48.298] INFO  Received message: (message_id, result, partial)
[13:31:48.295] INFO  Received message: (message_id, result, partial)
[13:31:48.294] INFO  💾 Persisted 6 players to database
[13:31:48.285] INFO  🔍 Preload Bocina Baño del Cuarto: SKIPPED - not available or powered
[13:31:48.285] INFO  🔍 Preload Bocina Baño del Cuarto: state=idle, available=true
[13:31:48.285] INFO  🔍 Preload Santiago's Phone: state=idle, available=true
[13:31:48.282] INFO  🔍 Preload Bocinas del Cuarto: SKIPPED - not available or powered
[13:31:48.282] INFO  🔍 Preload Bocinas del Cuarto: state=idle, available=true
[13:31:48.282] INFO  🔍 Preload Bocinas de la Casa: SKIPPED - not available or powered
[13:31:48.282] INFO  🔍 Preload Bocinas de la Casa: state=idle, available=true
[13:31:48.282] INFO  🔍 Preload Bocina del Cuarto: SKIPPED - not available or powered
[13:31:48.282] INFO  🔍 Preload Bocina del Cuarto: state=idle, available=true
[13:31:48.282] INFO  🔍 Preload Bocina Baño del Cuarto: SKIPPED - not available or powered
[13:31:48.282] INFO  🔍 Preload Bocina Baño del Cuarto: state=idle, available=true
[13:31:48.282] INFO  🔍 Preload Bocina de la Cocina: state=playing, available=true
[13:31:48.281] INFO  🔍 Preload Santiago's Phone: state=idle, available=true
[13:31:48.281] INFO  🖼️ Preloading track info for all 6 players...
[13:31:48.281] INFO  🎛️ After filtering: 6 players available
[13:31:48.281] INFO  🎛️ getPlayers returned 6 players:
[13:31:48.280] INFO  Received message: (message_id, result, partial)
[13:31:48.252] INFO  🔄 Already connected, verifying connection...
[13:31:48.252] INFO  🔄 checkAndReconnect called - state: MAConnectionState.authenticated
[13:31:48.252] INFO  📱 App resumed - checking WebSocket connection...
[13:31:48.060] INFO  Sendspin: Sending message: client/state
[13:31:44.306] INFO  💾 Persisted 342 queue items to database
[13:31:44.003] INFO  Received message: (message_id, result, partial)
[13:31:43.407] INFO  Received message: (message_id, result, partial)
[13:31:43.325] INFO  Received message: (message_id, result, partial)
[13:31:43.106] INFO  Sendspin: Received server/time response
[13:31:43.106] INFO  Sendspin: Received message type: server/time
[13:31:43.068] INFO  Sendspin: Sending message: client/state
[13:31:43.063] INFO  Sendspin: Sending message: client/time
[13:31:42.584] INFO  Received message: (message_id, result, partial)
[13:31:39.463] INFO  💾 Persisted 342 queue items to database
[13:31:39.148] INFO  Received message: (message_id, result, partial)
[13:31:38.431] INFO  Received message: (message_id, result, partial)
[13:31:38.332] INFO  Received message: (message_id, result, partial)
[13:31:38.063] INFO  Sendspin: Sending message: client/state
[13:31:33.854] INFO  💾 Persisted 342 queue items to database
[13:31:33.650] INFO  Received message: (message_id, result, partial)
[13:31:33.378] INFO  Received message: (message_id, result, partial)
[13:31:33.324] INFO  Received message: (message_id, result, partial)
[13:31:33.063] INFO  Sendspin: Sending message: client/state
[13:31:28.709] INFO  💾 Persisted 342 queue items to database
[13:31:28.574] INFO  Received message: (message_id, result, partial)
[13:31:28.395] INFO  Received message: (message_id, result, partial)
[13:31:28.302] INFO  Received message: (message_id, result, partial)
[13:31:28.062] INFO  Sendspin: Sending message: client/state
[13:31:23.898] INFO  💾 Persisted 342 queue items to database
[13:31:23.658] INFO  Received message: (message_id, result, partial)
[13:31:23.335] INFO  Received message: (message_id, result, partial)
[13:31:23.296] INFO  Received message: (message_id, result, partial)
[13:31:23.060] INFO  Sendspin: Sending message: client/state
[13:31:18.716] INFO  💾 Persisted 342 queue items to database
[13:31:18.525] INFO  Received message: (message_id, result, partial)
[13:31:18.373] INFO  Received message: (message_id, result, partial)
[13:31:18.313] INFO  Received message: (message_id, result, partial)
[13:31:18.060] INFO  Sendspin: Sending message: client/state
[13:31:13.665] INFO  💾 Persisted 342 queue items to database
[13:31:13.450] INFO  Received message: (message_id, result, partial)
[13:31:13.338] INFO  Received message: (message_id, result, partial)
[13:31:13.306] INFO  Received message: (message_id, result, partial)
[13:31:13.080] INFO  Sendspin: Received server/time response
[13:31:13.080] INFO  Sendspin: Received message type: server/time
[13:31:13.061] INFO  Sendspin: Sending message: client/state
[13:31:13.060] INFO  Sendspin: Sending message: client/time
[13:31:12.571] INFO  Received message: (message_id, result, partial)
[13:31:08.652] INFO  💾 Persisted 342 queue items to database
[13:31:08.461] INFO  Received message: (message_id, result, partial)
[13:31:08.349] INFO  Received message: (message_id, result, partial)
[13:31:08.313] INFO  Received message: (message_id, result, partial)
[13:31:08.060] INFO  Sendspin: Sending message: client/state
[13:31:03.653] INFO  💾 Persisted 342 queue items to database
[13:31:03.444] INFO  Received message: (message_id, result, partial)
[13:31:03.331] INFO  Received message: (message_id, result, partial)
[13:31:03.297] INFO  Received message: (message_id, result, partial)
[13:31:03.060] INFO  Sendspin: Sending message: client/state
[13:30:59.064] INFO  💾 Persisted 342 queue items to database
[13:30:58.861] INFO  Received message: (message_id, result, partial)
[13:30:58.490] INFO  Received message: (message_id, result, partial)
[13:30:58.310] INFO  Received message: (message_id, result, partial)
[13:30:58.060] INFO  Sendspin: Sending message: client/state
[13:30:54.270] INFO  💾 Persisted 342 queue items to database
[13:30:54.075] INFO  Received message: (message_id, result, partial)
[13:30:53.463] INFO  Received message: (message_id, result, partial)
[13:30:53.323] INFO  Received message: (message_id, result, partial)
[13:30:53.060] INFO  Sendspin: Sending message: client/state
[13:30:48.589] INFO  💾 Persisted 342 queue items to database
[13:30:48.419] INFO  Received message: (message_id, result, partial)
[13:30:48.320] INFO  Received message: (message_id, result, partial)
[13:30:48.294] INFO  Received message: (message_id, result, partial)
[13:30:48.061] INFO  Sendspin: Sending message: client/state
[13:30:43.871] INFO  💾 Persisted 342 queue items to database
[13:30:43.563] INFO  Received message: (message_id, result, partial)
[13:30:43.381] INFO  Received message: (message_id, result, partial)
[13:30:43.314] INFO  Received message: (message_id, result, partial)
[13:30:43.086] INFO  Sendspin: Received server/time response
[13:30:43.085] INFO  Sendspin: Received message type: server/time
[13:30:43.063] INFO  Sendspin: Sending message: client/state
[13:30:43.060] INFO  Sendspin: Sending message: client/time
[13:30:42.578] INFO  Received message: (message_id, result, partial)
[13:30:38.644] INFO  💾 Persisted 342 queue items to database
[13:30:38.463] INFO  Received message: (message_id, result, partial)
[13:30:38.357] INFO  Received message: (message_id, result, partial)
[13:30:38.310] INFO  Received message: (message_id, result, partial)
[13:30:38.060] INFO  Sendspin: Sending message: client/state
[13:30:33.621] INFO  💾 Persisted 342 queue items to database
[13:30:33.436] INFO  Received message: (message_id, result, partial)
[13:30:33.324] INFO  Received message: (message_id, result, partial)
[13:30:33.298] INFO  Received message: (message_id, result, partial)
[13:30:33.060] INFO  Sendspin: Sending message: client/state
[13:30:28.750] INFO  💾 Persisted 342 queue items to database
[13:30:28.514] INFO  Received message: (message_id, result, partial)
[13:30:28.369] INFO  Received message: (message_id, result, partial)
[13:30:28.307] INFO  Received message: (message_id, result, partial)
[13:30:28.060] INFO  Sendspin: Sending message: client/state
[13:30:23.687] INFO  💾 Persisted 342 queue items to database
[13:30:23.514] INFO  Received message: (message_id, result, partial)
[13:30:23.394] INFO  Received message: (message_id, result, partial)
[13:30:23.313] INFO  Received message: (message_id, result, partial)
[13:30:23.068] INFO  Sendspin: Sending message: client/state
[13:30:18.654] INFO  💾 Persisted 342 queue items to database
[13:30:18.457] INFO  Received message: (message_id, result, partial)
[13:30:18.361] INFO  Received message: (message_id, result, partial)
[13:30:18.322] INFO  Received message: (message_id, result, partial)
[13:30:18.060] INFO  Sendspin: Sending message: client/state
[13:30:14.819] INFO  💾 Persisted 342 queue items to database
[13:30:14.713] INFO  💾 Persisted 342 queue items to database
[13:30:14.585] INFO  💾 Persisted 342 queue items to database
[13:30:14.416] INFO  💾 Persisted 38 queue items to database
[13:30:14.386] INFO  💾 Persisted 342 queue items to database
[13:30:14.149] INFO  💾 Persisted 38 queue items to database
[13:30:14.129] INFO  💾 Persisted 342 queue items to database
[13:30:14.005] INFO  💾 Persisted 342 queue items to database
[13:30:13.883] INFO  💾 Persisted 342 queue items to database
[13:30:13.807] INFO  Received message: (message_id, result, partial)
[13:30:13.739] INFO  🔄 Connection verified, players and state refreshed
[13:30:13.732] INFO  Received message: (message_id, result, partial)
[13:30:13.691] INFO  💾 Persisted 6 players to database
[13:30:13.686] INFO  💾 Persisted 38 queue items to database
[13:30:13.667] INFO  💾 Persisted 342 queue items to database
[13:30:13.643] INFO  Received message: (message_id, result, partial)
[13:30:13.575] INFO  🔍 Preload Santiago's Phone: CACHED track "Twenty One Pilots - Trees"
[13:30:13.575] INFO  🔍 Preload Santiago's Phone: queue=true, currentItem=true
[13:30:13.575] INFO  Received message: (message_id, result, partial)
[13:30:13.575] INFO  Received message: (message_id, result, partial)
[13:30:13.573] INFO  Received message: (message_id, result, partial)
[13:30:13.571] INFO  🖼️ Preloading complete
[13:30:13.570] INFO  🔍 Preload Bocina de la Cocina: CACHED track "Drawn to the Blood"
[13:30:13.570] INFO  🔍 Preload Bocina de la Cocina: queue=true, currentItem=true
[13:30:13.563] INFO  Received message: (message_id, result, partial)
[13:30:13.503] INFO  Received message: (message_id, result, partial)
[13:30:13.495] INFO  🔍 Preload Santiago's Phone: CACHED track "Twenty One Pilots - Trees"
[13:30:13.495] INFO  🔍 Preload Santiago's Phone: queue=true, currentItem=true
[13:30:13.494] INFO  Received message: (message_id, result, partial)
[13:30:13.485] INFO  Received message: (message_id, result, partial)
[13:30:13.484] INFO  Received message: (message_id, result, partial)
[13:30:13.484] INFO  Received message: (message_id, result, partial)
[13:30:13.484] INFO  Received message: (message_id, result, partial)
[13:30:13.484] INFO  Received message: (message_id, result, partial)
[13:30:13.473] INFO  Received message: (message_id, result, partial)
[13:30:13.473] INFO  Received message: (message_id, result, partial)
[13:30:13.416] INFO  Received message: (message_id, result, partial)
[13:30:13.359] INFO  🔄 Connection verified, players and state refreshed
[13:30:13.352] INFO  Received message: (message_id, result, partial)
[13:30:13.283] INFO  🔍 Preload Bocina Baño del Cuarto: SKIPPED - not available or powered
[13:30:13.283] INFO  🔍 Preload Bocina Baño del Cuarto: state=idle, available=true
[13:30:13.283] INFO  🔍 Preload Santiago's Phone: state=idle, available=true
[13:30:13.283] INFO  🔍 Preload Bocinas del Cuarto: SKIPPED - not available or powered
[13:30:13.283] INFO  🔍 Preload Bocinas del Cuarto: state=idle, available=true
[13:30:13.283] INFO  🔍 Preload Bocinas de la Casa: SKIPPED - not available or powered
[13:30:13.283] INFO  🔍 Preload Bocinas de la Casa: state=idle, available=true
[13:30:13.283] INFO  🔍 Preload Bocina del Cuarto: SKIPPED - not available or powered
[13:30:13.283] INFO  🔍 Preload Bocina del Cuarto: state=idle, available=true
[13:30:13.283] INFO  🔍 Preload Bocina Baño del Cuarto: SKIPPED - not available or powered
[13:30:13.282] INFO  🔍 Preload Bocina Baño del Cuarto: state=idle, available=true
[13:30:13.282] INFO  🔍 Preload Bocina de la Cocina: state=playing, available=true
[13:30:13.282] INFO  🔍 Preload Santiago's Phone: state=idle, available=true
[13:30:13.282] INFO  🖼️ Preloading track info for all 6 players...
[13:30:13.282] INFO  🎛️ After filtering: 6 players available
[13:30:13.282] INFO  🎛️ getPlayers returned 6 players:
[13:30:13.282] INFO  🔍 Preload Santiago's Phone: CACHED track "Twenty One Pilots - Trees"
[13:30:13.282] INFO  🔍 Preload Santiago's Phone: queue=true, currentItem=true
[13:30:13.282] INFO  Received message: (message_id, result, partial)
[13:30:13.281] INFO  Received message: (message_id, result, partial)
[13:30:13.281] INFO  🖼️ Preloading complete
[13:30:13.281] INFO  🔍 Preload Bocina de la Cocina: CACHED track "Drawn to the Blood"
[13:30:13.280] INFO  🔍 Preload Bocina de la Cocina: queue=true, currentItem=true
[13:30:13.269] INFO  Received message: (message_id, result, partial)
[13:30:13.183] INFO  💾 Persisted 38 queue items to database
[13:30:13.162] INFO  Received message: (message_id, result, partial)
[13:30:13.159] INFO  Received message: (message_id, result, partial)
[13:30:13.155] INFO  🔄 Already connected, verifying connection...
[13:30:13.155] INFO  🔄 checkAndReconnect called - state: MAConnectionState.authenticated
[13:30:13.155] INFO  📱 App resumed - checking WebSocket connection...
[13:30:13.150] INFO  🔍 Preload Santiago's Phone: CACHED track "Twenty One Pilots - Trees"
[13:30:13.150] INFO  🔍 Preload Santiago's Phone: queue=true, currentItem=true
[13:30:13.150] INFO  Received message: (message_id, result, partial)
[13:30:13.149] INFO  Received message: (message_id, result, partial)
[13:30:13.136] INFO  Received message: (message_id, result, partial)
[13:30:13.136] INFO  Received message: (message_id, result, partial)
[13:30:13.136] INFO  Received message: (message_id, result, partial)
[13:30:13.135] INFO  Received message: (message_id, result, partial)
[13:30:13.105] INFO  💾 Persisted 6 players to database
[13:30:13.089] INFO  Sendspin: Received server/time response
[13:30:13.089] INFO  Sendspin: Received message type: server/time
[13:30:13.088] INFO  Received message: (message_id, result, partial)
[13:30:13.087] INFO  Received message: (message_id, result, partial)
[13:30:13.064] INFO  Sendspin: Sending message: client/state
[13:30:13.062] INFO  Sendspin: Sending message: client/time
[13:30:13.060] INFO  🔍 Preload Bocina Baño del Cuarto: SKIPPED - not available or powered
[13:30:13.060] INFO  🔍 Preload Bocina Baño del Cuarto: state=idle, available=true
[13:30:13.060] INFO  🔍 Preload Santiago's Phone: state=idle, available=true
[13:30:13.060] INFO  🔍 Preload Bocinas del Cuarto: SKIPPED - not available or powered
[13:30:13.060] INFO  🔍 Preload Bocinas del Cuarto: state=idle, available=true
[13:30:13.060] INFO  🔍 Preload Bocinas de la Casa: SKIPPED - not available or powered
[13:30:13.060] INFO  🔍 Preload Bocinas de la Casa: state=idle, available=true
[13:30:13.059] INFO  🔍 Preload Bocina del Cuarto: SKIPPED - not available or powered
[13:30:13.059] INFO  🔍 Preload Bocina del Cuarto: state=idle, available=true
[13:30:13.059] INFO  🔍 Preload Bocina Baño del Cuarto: SKIPPED - not available or powered
[13:30:13.059] INFO  🔍 Preload Bocina Baño del Cuarto: state=idle, available=true
[13:30:13.059] INFO  🔍 Preload Bocina de la Cocina: state=playing, available=true
[13:30:13.059] INFO  🔍 Preload Santiago's Phone: state=idle, available=true
[13:30:13.059] INFO  🖼️ Preloading track info for all 6 players...
[13:30:13.058] INFO  🎛️ After filtering: 6 players available
[13:30:13.058] INFO  🎛️ getPlayers returned 6 players:
[13:30:13.058] INFO  Received message: (message_id, result, partial)
[13:30:13.048] INFO  🔄 Already connected, verifying connection...
[13:30:13.048] INFO  🔄 checkAndReconnect called - state: MAConnectionState.authenticated
[13:30:13.048] INFO  📱 App resumed - checking WebSocket connection...
[13:30:12.570] INFO  Received message: (message_id, result, partial)
[13:30:11.665] INFO  📱 App detached (being destroyed)
[13:30:11.663] INFO  📱 App paused (backgrounded)

swever826 avatar Dec 29 '25 19:12 swever826

Just tested the newest release. The external source detection logic works now if playback is via my TV (app_id: http), the player isn't showing up as active anymore. Nice!

However, there are a few edge cases/issues:

Notification State: The player correctly shows "idle" in Ensemble, but still shows "playing" in the Android media control notification.

Auto-Select: The logic that automatically selects the active speaker still triggers and grabs this speaker, even though it is inactive.

Badge Count: The badge showing the number of active speakers still shows "1", so it seems to still be counting it as active in the background.

Other external Sources (tested only Spotify): I don't use Spotify myself normally, but I used it to test what happens with another external source. In that case, the player still shows as actively playing, but it displays the metadata of the previous MA song. I'm not sure how other integrations handle this, but with DLNA, all media controls except volume are basically useless if any external source is active (e.g., skip buttons won't do anything, can't pause, etc).

ghost avatar Dec 29 '25 23:12 ghost

Hoping this if finally fixed in the new release. not sure about spotify though might need logs if possible

CollotsSpot avatar Dec 30 '25 10:12 CollotsSpot

It detects Spotify now, so this is working now. Nice! While all works correctly with external source "Spotify", the issues for external source "http" (like the media control notification still showing playing etc) are still there it seems.

I integrated the amp now via another integration as workaround. I guess this is a bit tricky to solve, since there are still quite a few issues with MA and DLNA in general since the last updates and maybe it's best to wait until it's a bit more stable

I'm going to keep testing, but for my use case this is kind of working now. Feel free to close this and I reopen if needed, whatever works best for you

ghost avatar Jan 03 '26 01:01 ghost

Well my workaround from yesterday failed because I hit another new bug in MA :/ I guess I have to finally accept that DLNA is the only way which works 100% with my WiiM amp currently. Really sorry for the ping-pong here🙄So... It would be amazing if you could fix this last issue with the notification.

The Bug: The media notification appears when an external source is active (currently "http"). It also gets stuck in a "Loading..." state, see here:

Image

Logs: Looking at the logs, the app correctly detects the external source and skips fetching metadata, but the notification still initializes.

[19:48:11.757] INFO 🔍 Preload Wohnzimmer: SKIPPED - external source (app_id=null) [19:48:11.757] INFO 🔍 Preload Wohnzimmer: state=playing, app_id=null, isExternalSource=true [19:48:04.258] INFO 🔍 Preload Wohnzimmer: SKIPPED - external source (app_id=null) [19:48:04.258] INFO 🔍 Preload Wohnzimmer: state=playing, app_id=null, isExternalSource=true

Suggestion: Maybe the check for isExternalSource needs to happen before the notification is created? If it's active, the notification ideally shouldn't show up at all.

ghost avatar Jan 03 '26 19:01 ghost

For anyone else struggling with this issue, this is how I finally solved it:

  1. create an universal media player
  2. Use a state template to filter out any unwanted state mappings
  3. Integrate that player into Music Assistant

ghost avatar Jan 09 '26 23:01 ghost

Sorry to comment on this closed issue, but the app is not detecting the Spotify external source correctly. I started playing music using Music Assistant and the track playing is from Spotify, but the player is not being controlled by an external source.

The log indicates:

[07:47:32.124] INFO External source detected for Bocina de la Cocina (uri: spotify://track/ 4VmXptczY501myH5ZmTUN1) - skipping metadata cache

Which is wrong. The track is in fact coming from Spotify, but Spotify is not controlling the player so it should show the music that is playing (that worked correctly before).

Here is Music Assistant indicating that the player is being controlled by Music Assistant, just that the track comes from Spotify: Screenshot_20260112-075528.png

The original issue was that if we used the Spotify Connect provider and the player was controlled externally by Spotify, the app player showed the wrong track information. Right now it just assumes that the Spotify Connect provider is being used because the track comes from Spotify, which is not always the case.

swever826 avatar Jan 12 '26 14:01 swever826

Sorry, but in the meantime this is being fixed, would it be possible to revert the change that detects a Spotify external provider? My only music provider for Music Assistant is Spotify and I can't see what any speaker in my house is playing with the app. That makes the app usable only for my own phone :(

swever826 avatar Jan 22 '26 14:01 swever826

I'm deep on remote connection at the moment. I'll get to it when I can 👍🏼

CollotsSpot avatar Jan 22 '26 14:01 CollotsSpot

Is this because you use Spotify connect? And add your players individually with Spotify connect provider? So you use the Spotify app to cast music and then ensemble doesn't detect it?

I find it much easier if I can replicate other users scenarios and test myself

CollotsSpot avatar Jan 24 '26 20:01 CollotsSpot

I am using Spotify as a music provider. When using the Spotify Connect external player it detects it correctly and my speaker shows like its not playing anything in the app.

Ok I apologize, I investigated more the issue and seems like I've misunderstood the situation, but still looks like a possible bug.

When I start playing music through Music Assistant, I don't get the information of what's playing in the app. I get this message in the logs: INFO 🔍 Preload Bocinas del Cuarto: SKIPPED - external source (app_id=null)

Maybe null shouldn't be defined as external source? Since the latest changes I am no longer able to see what my house's speakers are playing, unless I start playing the music from the app.

It is very often that we start music from Music Assistant since we use the voice assistant of Home Assistant to ask it to start playing music.

swever826 avatar Jan 24 '26 21:01 swever826

Ok now after doing what I indicated in my previous comment, when I start playing music to that same speaker using the Spotify Connect external source, the app shows that the speaker is playing and shows the wrong track information. Seems to not detect correctly that the track is coming from an external source when there's a queue in cache, but I am just guessing.

Also, now the logs say:

INFO  🔍 Preload Bocina de la Cocina: state=playing, app_id=null, isExternalSource=false
...
INFO  🔍 Preload Bocina de la Cocina: queue=true, currentItem=true
INFO  🔍 Preload Bocina de la Cocina: CACHED track "Baila Mi Corazón"

Hope that helps! Let me know if you need anything else. Thanks for your support!

Edit: After stopping the music and disconnecting the Spotify Connect external source from the speaker, I clicked "Play" button on the app that showed the "Baila Mi Corazón" track information (wrong track info because that was the last song Music Assistant was playing in that speaker before changing to the Spotify Connect external source) and that song started playing in the speaker and in the app, the speaker appeared as not playing anything. Now the logs show:

INFO  🔍 Preload Bocina de la Cocina: state=playing, app_id=null, isExternalSource=true
INFO  🔍 Preload Bocina de la Cocina: SKIPPED - external source (app_id=null)
INFO  📡 External source detected for Bocina de la Cocina (uri: spotify://track/0GB4zJkbXdXBbdJPgudwDx

Which that Spotify track ID "0GB4zJkbXdXBbdJPgudwDx" seems to be the one for that song "Baila Mi Corazón". But that song is playing with the Music Assistant player, which is not an external source.

swever826 avatar Jan 24 '26 21:01 swever826

Hi @swever826, try this build:

https://github.com/CollotsSpot/Ensemble/actions/runs/21328005720/artifacts/5247389129

CollotsSpot avatar Jan 25 '26 06:01 CollotsSpot

Thank you!! OK here is the test I am doing:

Test:

Step 1:

  • Play a song from Music Assistant and then open the Ensemble app.

Step 2:

  • Stop playing the song, go to the Spotify app and start playing a song from there. Then open the Ensemble app.

Step 3:

  • Stop playing the song from the Spotify app and disconnect the speaker from the Spotify app. Then open the Ensemble app and press the Play button.

Results:

Step 1:

  • The Ensemble app shows the correct track information that is playing and I can control the music 🥳

Step 2:

  • The Ensemble app shows the same song that was playing before in Music Assistant instead of the one playing in the Spotify app. I think the correct behavior here was for the speaker to not show that its playing something 😟

Step 3:

  • The music that was playing before on Music Assistant continues to play where it left off and I can control the music 🥳

My Conclusion:

  • For me this is good enough. I can now see what the speakers are playing and thanks to your app we don't need to use the Spotify Connect external source anymore.
  • Still, I'll gladly help to continue testing if you want to continue working on this.

Thanks again!!

swever826 avatar Jan 25 '26 07:01 swever826