darkhz / invidtui

A TUI based Invidious client
MIT License
191 stars 6 forks source link

Parse and seek to timestamps from YouTube URIs #39

Closed darkhz closed 6 months ago

darkhz commented 6 months ago

While adding Youtube URIs to be played, if a certain timestamp parameter is present within the URI, it should be parsed and seeked to during playback.

darkhz commented 6 months ago

https://github.com/darkhz/invidtui/assets/44058754/47e61876-46db-4a14-99f3-5ad0d21d9fb9

This is how the timestamp parsing is implemented.

darkhz commented 6 months ago

This is now implemented. Assuming that the default keybindings are set, press b/B to show the URI input, paste the input with the timestamp and press Enter.