mpv-player / mpv-player/mpv

Option to set --ab-loop-a to the beginning of file if unset, and --ab-loop-b to the end of file if unset (old behavior)

Open
#11,521 7 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

Hello,

Could it be possible to add an option to restore an old ab-loop behavior please?
I mean: unset --ab-loop-a implies the start of the file while unset --ab-loop-b implies the end of the file.

Let's wait the end of media file to set the implied missing a/b. Of course, do nothing is neither a nor b exists.

NB : I think an option/setting here would be adequate since everyone doesn't want it necessarily.

Thanks in advance :)

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

Start by locating the handling of --ab-loop-a and --ab-loop-b in the mpv source and check whether related option tests or documentation exist. Trace how unset loop points are handled when media reaches its end. Done means an explicit setting restores the requested defaults without changing behavior when neither point is provided.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.