Skip to content

Add Snapshot / Restore Services #163

@thlucas1

Description

@thlucas1

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 enhancement request (if you have multiple requests, open a new request for each enhancement).
  • This issue is not a duplicate enhancement request (search previous requests).

Describe the solution you'd like

Add a new snapshot_store service to take a current snapshot of the current player state, and store the information so that it can be restored later. Spotify play should be paused once the snapshot is complete.
Details to store are:

  • current source.
  • currently playing context.
  • currently playing track.
  • currently playing track position.
  • current player queue.
  • current volume.

Add a new snapshot_restore service to restore a previous snapshot of the current player state, and restore the information so Spotify play can be resumed. Spotify play should resume where it was paused by the snapshot.

Additional context

This would allow Spotify play to be resumed after playing a TTS message to the device that was currently playing Spotify via SpotifyPlus.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions