Skip to content

Feature - Create a event to track playback progress #194

@guidcruncher

Description

@guidcruncher

Feature - Create a event to track playback progress and have it emit an event on the Websocket connection

The event could be something like

progress

  • uri: The Track URI currently being played
  • position: Playback position in milliseconds
  • duration: Playback duration in milliseconds

I guess most ofthe work is still there with the "metadata" event - it just needs to be updated periodically and emitted as this new event

Reason:

There maybe a requirement for some applications to wait for playback progress to be pushed out to them rather than have to "Poll for it" on a regular basis (Say your implementing a playback progress bar) - Pushing out as a websockect event is generally more efficient than polling as you can have multiple clients "Listening" to a Websocket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions