Skip to content

Commit

Permalink
Add "setDuration" to README
Browse files Browse the repository at this point in the history
  • Loading branch information
mjesun committed Apr 14, 2020
1 parent 707a5e5 commit 8a03e5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ supported:
URL is valid. This is not required, but covers are shown in multiple places
of the UI.

- `setDuration::<DURATION>`: sets the duration, in seconds, of the current song
being played.

- `setTime::<TIME>`: used to set internally the current time. This is not
required, but it helps to keep the time shown in the UI accurately synced
with the internal player time.
Expand Down

0 comments on commit 8a03e5b

Please sign in to comment.