Skip to content

Commit

Permalink
deploy: ff2e4ed
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowsink committed Oct 24, 2024
1 parent b00a03e commit a8e039b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lastfm/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@
await listenBrainzLookupAdditional(track);
let albumArtUrl = !track.additional_info?.release_mbid ? void 0 : `https://aart.yellows.ink/release/${track.additional_info.release_mbid}.webp`;
if (albumArtUrl) {
const testRes = await fetch(albumArtUrl);
if (!testRes.redirected)
const testRes = await fetch(albumArtUrl, { method: "HEAD" });
if (!testRes.ok)
albumArtUrl = void 0;
}
return {
Expand Down
2 changes: 1 addition & 1 deletion lastfm/plugin.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"Last.fm Presence","author":"Yellowsink","description":"Shows your Last.fm now listening as a presence","hash":"db6fbc700bd8bb37b1ea3b9caff53de9"}
{"name":"Last.fm Presence","author":"Yellowsink","description":"Shows your Last.fm now listening as a presence","hash":"371c6546e428ecf114e217129d15be1e"}

0 comments on commit a8e039b

Please sign in to comment.