Skip to content

Terminate mpv on main process quit #7

Description

@notpushkin

The process is stored in player.mpvPlayer attribute:

>>> _backend.player.mpvPlayer
ChildProcess {domain: null, _events: EventHandlers, _eventsCount: 2,}
>>> _backend.player.mpvPlayer.kill("SIGTERM")
true

However, sometimes .kill() doesn't work for some reason.

There's also the quit mpv command.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions