Skip to content

New option to set how much item to play in the playlist #18294

Description

@whoamitty

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions