Skip to content

Add playback position seek function #1

Description

@pushback

You can only play from the beginning of a song.
Add playback position seek function.

Implementation method:

  • Get total time and current position from "mpc" result
  • Display seek bar from total time and current position (use <input type = "range"> or UI liblary)
  • Get position with onchange event and calculate time of moving position
  • Execute "mpc seek HH: MM: SS" using the calculated time

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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