Skip to content

Commit

Permalink
Fix: Add mympd.init()
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorporation committed Sep 6, 2024
1 parent c31f3f2 commit a370a26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ListenBrainz/ListenBrainzScrobbler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ local uri = "https://api.listenbrainz.org/1/submit-listens"
local extra_headers = "Content-type: application/json\r\n"..
"Authorization: Token " .. mympd_env.var_listenbrainz_token .. "\r\n"

mympd.init()

if mympd_state.current_song == nil then
return
end
Expand Down

0 comments on commit a370a26

Please sign in to comment.