You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 24, 2020. It is now read-only.
I found your script and have been messing around with it on an arch install which has hooks into mpv playback via ranger.
I was finding that although the "d" variable on the musicbrainz look up was coming back with valid XML that it was not correctly getting passed back to the coverart look up.
I finally tracked it down to the local scope on mbid with the string.match
local mbid = string.match(d or "",
"<%srelease%s+[^>]id%s=%s['"]%s*([0-9a-fA-F-]+)%s*['"]")
Removing the local scope fixed this :
mbid = string.match(d or "",
"<%srelease%s+[^>]id%s=%s['"]%s*([0-9a-fA-F-]+)%s*['"]")
I see this is no longer being supported.
I found your script and have been messing around with it on an arch install which has hooks into mpv playback via ranger.
I was finding that although the "d" variable on the musicbrainz look up was coming back with valid XML that it was not correctly getting passed back to the coverart look up.
I finally tracked it down to the local scope on mbid with the string.match
local mbid = string.match(d or "",
"<%srelease%s+[^>]id%s=%s['"]%s*([0-9a-fA-F-]+)%s*['"]")
Removing the local scope fixed this :
mbid = string.match(d or "",
"<%srelease%s+[^>]id%s=%s['"]%s*([0-9a-fA-F-]+)%s*['"]")
Based on other issues, I forked it over on gitlab with credit given :)
https://gitlab.com/geolaw/mpv-notify