Keyword "default" for cycle-values
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
Using mpv 0.21.0
I would like to be able when using cycle-values to specify a keyword that would set the property as it was at startup.
For instance, running mpv --scale bilinear file, cycle-values scale bicubic default would cycle between bilinear and bicubic.
In general, I don't think it is currently possible to reset a value altered with cycle-values, a "default" keyword (or maybe that particular name would clash with property values) could allow that.
Also, as there is a !reverse flag, maybe a !with-default flag would do.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported cycle-values behavior with --scale bilinear and the cycle-values scale bicubic default command, then review how the existing !reverse flag is handled. Done means a cycle can restore the property's startup value, with the keyword or flag behavior clearly defined and covered by verification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100