Skip to content

Commit

Permalink
Upd
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorporation committed Oct 4, 2024
1 parent b0e12a8 commit 5eab366
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions last.fm/lastfm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5eab366

Please sign in to comment.