From cc5247b997751ec767141804bcac4c6aec91c3f6 Mon Sep 17 00:00:00 2001 From: Keegan Carruthers-Smith Date: Fri, 20 Jan 2023 09:50:51 +0200 Subject: [PATCH] Use 1s tick time for mpv This is consistent with every other backends tick time. I noticed that even when my machine is idle emacs was using a fair amount of CPU. After some debugging it seemed to come from bongo-mpv-player-tick. --- bongo.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bongo.el b/bongo.el index 95d20a8..7a35bc9 100644 --- a/bongo.el +++ b/bongo.el @@ -6421,7 +6421,7 @@ Also fetch metadata and length of track if not fetched already." "Start tick timer for PLAYER." (bongo-mpv-player-stop-timer player) (let ((timer (run-with-timer bongo-mpv-initialization-period - 0.1 + 1 'bongo-mpv-player-tick player))) (bongo-player-put player 'timer timer)))