Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

umpv - force playback of the first added file #8603

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

andreym333
Copy link

If mpv is already running, the files passed to umpv are appended
to mpv's internal playlist and the first file added starts playing.
Old playlist entries are retained.

If mpv is already running, the files passed to umpv are appended
to mpv's internal playlist and the first file added starts playing.
Old playlist entries are retained.
@sfan5
Copy link
Member

sfan5 commented Mar 2, 2021

I can see append-play being useful if you have idle enabled, but I'd say that stopping the current playback (playlist-play-index none) is an unwelcome behavior chance for many umpv users.

If option "-s" or "--skip-old-entries" is specified, mpv will skip
old playlist entries and start playback from the first new playlist
entry. Otherwise, playback of the current file continues.
@andreym333
Copy link
Author

I added the "--skip-old-entries" option which will activate the behavior that I need.

@jimman2003
Copy link
Contributor

jimman2003 commented Mar 3, 2021

@andreym333 please sync your PR as to obtain my changes..

Copy link
Contributor

@jimman2003 jimman2003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants