Skip to content

Commit

Permalink
Some final tweaks and cleanup to the Sonos S2 provider (#1733)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt authored Oct 21, 2024
1 parent 1941132 commit 6b30402
Show file tree
Hide file tree
Showing 6 changed files with 1,015 additions and 911 deletions.
7 changes: 0 additions & 7 deletions music_assistant/server/controllers/player_queues.py
Original file line number Diff line number Diff line change
Expand Up @@ -1262,13 +1262,6 @@ def signal_update(self, queue_id: str, items_changed: bool = False) -> None:
base_key=queue_id,
)
)
# signal preload of next item (to ensure the player loads the correct next item)
if queue.index_in_buffer is not None:
task_id = f"enqueue_next_{queue.queue_id}"
self.mass.call_later(
5, self._enqueue_next, queue, queue.index_in_buffer, task_id=task_id
)

# always send the base event
self.mass.signal_event(EventType.QUEUE_UPDATED, object_id=queue_id, data=queue)
# save state
Expand Down
Loading

0 comments on commit 6b30402

Please sign in to comment.