aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-06-30 18:07:23 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-06-30 18:09:46 +0200
commit133494f37ae2f07d992bbb63b134aac4875c80c6 (patch)
treee350f5a4814f15c4f5282698b19e66399e7c2d41
parent6173e6227f4af0ce43baab074070a2d5df2c8a98 (diff)
downloadWRMS-133494f37ae2f07d992bbb63b134aac4875c80c6.tar.gz
WRMS-133494f37ae2f07d992bbb63b134aac4875c80c6.zip
add debug message when terminating mpv subprocess
-rw-r--r--player.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/player.go b/player.go
index 0d4da86..a330412 100644
--- a/player.go
+++ b/player.go
@@ -208,6 +208,7 @@ func (player *Player) _stop() {
// mpv is actually running.
if mpv.Process != nil {
+ llog.Debug("Send SIGTERM to mpv subprocess")
mpv.Process.Signal(syscall.SIGTERM)
} else {
llog.Fatal("mpv process is not running yet")