Skip to content

Conversation

Moroshima
Copy link

When using keep-session.lua with mpv.app, mpv will first start with idle mode and then load the file via something like the openFile: method of NSApplicationDelegate, same as theopen -a mpv.app some_video.mkv command.
So observe playlist-count maybe a better choice for campability?

@CogentRedTester
Copy link
Owner

If mpv.app is initially launching mpv in idle and loading a file afterwards, then won't it also be launching mpv with an empty playlist?

@Moroshima
Copy link
Author

If mpv.app is initially launching mpv in idle and loading a file afterwards, then won't it also be launching mpv with an empty playlist?

Yes, but the playlist will always be empty due to the load function checks the playlist-count too early (at idle), the mpv.app gets the playlist after idle.

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

Successfully merging this pull request may close these issues.

2 participants