Don't add $CDDBHOST to the datasource file
authorSteve McIntyre <steve@einval.com>
Sun, 25 Feb 2018 00:27:31 +0000 (00:27 +0000)
committerSteve McIntyre <steve@einval.com>
Sun, 25 Feb 2018 00:27:31 +0000 (00:27 +0000)
It's the local machine name, not the remote cddb host. Not all that
useful!

abcde

diff --git a/abcde b/abcde
index 9e4e1fa..ea3c0ed 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -2730,7 +2730,7 @@ do_cddb_read ()
                                        if checkstatus cddb-read-${NUM_CDDB_MATCHES}-complete; then :; else
                                                $CDDBTOOL read $CDDBURL $CDDBPROTO $CDDBUSER $CDDBHOST $(echo $DISCINFO | cut -f1,2 -d' ') > "${SOURCE_WORKDIR}/cddbread.${NUM_CDDB_MATCHES}"
                                                echo "$DISCINFO" > ${SOURCE_WORKDIR}/cddbquery.${NUM_CDDB_MATCHES}
-                                               echo "cddb/$CDDBHOST" > ${SOURCE_WORKDIR}/datasource.${NUM_CDDB_MATCHES}
+                                               echo "cddb" > ${SOURCE_WORKDIR}/datasource.${NUM_CDDB_MATCHES}
                                                echo cddb-read-${NUM_CDDB_MATCHES}-complete >> "$ABCDETEMPDIR/status"
                                        fi
                                done )