[Abcde-users] coverartarchive.org no longer accepts http connections
josh
poddmo at gmail.com
Sat Oct 26 09:21:32 BST 2024
It was reported on my github repo [1] that cover art retrieval was
hanging. It turns out that coverartarchive.org no longer accepts http
connections.
The solution is to use https:
user at host:/usr/bin$ diff -u abcde-2.10.1-RC1 abcde
--- abcde-2.10.1-RC1 2024-10-26 18:51:19.176778235 +1100
+++ abcde 2024-10-26 18:53:03.634392543 +1100
@@ -3363,7 +3363,7 @@
if [ -s "${ABCDETEMPDIR}/mbid.$(checkstatus cddb-choice)" ]; then
MBID=$(cat "${ABCDETEMPDIR}/mbid.$(checkstatus cddb-choice)")
vecho "trying to get cover from coverartarchive.org with musicbrainz
mbid $MBID" >&2
- ALBUMARTURL="http://coverartarchive.org/release/$MBID/front"
+ ALBUMARTURL="https://coverartarchive.org/release/$MBID/front"
vecho "cover URL: $ALBUMARTURL" >&2
$HTTPGET "$ALBUMARTURL" > "${ABCDETEMPDIR}/$ALBUMARTFILE"
if [ $? -ne 0 ]; then
It also doesn't seem to hurt to add some timeout options to abcde.conf:
HTTPGETOPTS="-q -nv --timeout=30 --tries=2 -e timestamping=off -O -"
[1] https://github.com/poddmo/abcde/issues/1
More information about the Abcde-users
mailing list