New option to set how much item to play in the playlist
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
Expected behavior of the wanted feature
Requesting tow new option like --playlist-length to limit how many items are played from a playlist.
And --playlist-end to
This would be some great addition to --playlist-start.
We already have --start --length --end for seeking/playing a duration within a single file.
This would be the equivalent, but for playlist items instead of time.
Example
mpv --playlist-start=2 --playlist-length=10 playlist.m3u
This would start at item 2 and play 10 items total, then stop.
Example
mpv --playlist-length=10 playlist.m3u
Thanks resuming playback this would start from the last item played and play 10 items total, then stop.
Motivation
I come more I need particularly --playlist-during
Currently the only way to do this is to manually stop mpv.
This option would make it much easier to manage.
Thanks for taking the time to consider this feature request.
Alternative behavior of the wanted feature
No response
Log File
No response
Sample Files
No response
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 locating the existing --playlist-start option and the --start, --length, and --end handling for a single file. Trace how playlist position and resumed playback are tracked, then determine the intended semantics for --playlist-length and the unfinished --playlist-end request. Done means the selected number or range of playlist items is played and playback stops as described.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100