th-ch / youtube-music

YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
https://th-ch.github.io/youtube-music/
MIT License
9.09k stars 515 forks source link

[Feature Request]: Absolute seek endpoint for API server #2582

Open franz-dc opened 3 weeks ago

franz-dc commented 3 weeks ago

Preflight Checklist

Problem Description

I am currently creating a remote control app using the new API server. Is it possible to also have an API for seeking to the exact desired time? Currently, there is only /go-back and /go-forward, which is relative, and is not ideal when scrubbing/dragging through the seek bar.

Proposed Solution

Add a new API for seeking / setting the exact seconds to jump to.

Alternatives Considered

Use the existing APIs, but it would not be good for the use case.

Additional Information

No response

franz-dc commented 2 weeks ago

Solution can be found here #2567

#2567 (comment)

The comment you mentioned is for showing all available APIs. What I am requesting is for a new API though.

LeonDProto commented 2 weeks ago

Solution can be found here #2567 #2567 (comment)

The comment you mentioned is for showing all available APIs. What I am requesting is for a new API though.

Sorry I replied to the wrong thread

franz-dc commented 2 weeks ago

Sorry I replied to the wrong thread

No worries!