From 5eab366732a79d3572e7a5a2c940cff9882ef24b Mon Sep 17 00:00:00 2001 From: jcorporation Date: Fri, 4 Oct 2024 21:29:38 +0200 Subject: [PATCH] Upd --- last.fm/lastfm.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/last.fm/lastfm.lua b/last.fm/lastfm.lua index bc49b06..979e287 100644 --- a/last.fm/lastfm.lua +++ b/last.fm/lastfm.lua @@ -37,11 +37,8 @@ end -- main mympd.init() -local play_state = mympd_state.play_state -local elapsed_time = mympd_state.elapsed_time - if mympd_arguments.trigger == "player" then - if play_state ~= 2 or elapsed_time > 5 then + if mympd_state.play_state ~= 2 or mympd_state.elapsed_time > 5 then return "Now Playing: Not Playing" end