mpv-player / mpv-player/mpv

URLs: support timestamp anchors

Open
#11,366 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

meta:feature-request
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Expected behavior of the wanted feature

Browsers are able to recognize an URL like this and play it directly:
https://upload.wikimedia.org/wikipedia/commons/7/7f/Frances_Alda%2C_O_mio_babbino_caro_%28Gianni_Schicchi%29.ogg#t=30

Additionally, they interpret the #t=30 as anchor, i.e. timestamp to jump to.
For directly passing these URLs to mpv, it would be nice if mpv can interpret them, too.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by tracing how mpv parses URL fragments and converts input URLs into playback options, then check how timestamp seeks are represented. Done means a URL ending in #t=30 reaches mpv and begins playback at 30 seconds, with coverage for the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.