[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[abcde] Bug#111500: abcde: enable CDDB uploading



Package: abcde
Version: 2.0-1
Severity: wishlist

If you correct the minor bug in cddb-tool send (bug #111478) then you
can enable CDDB uploading by uncommenting the code in /usr/bin/abcde
and giving a value to CDDBSUBMIT.

It worked for me. I submitted this record with it:

cddb-tool read http://freedb.freedb.org/~cddb/cddb.cgi ege rano classical c312a10d


--- abcde.orig	Wed Aug 15 23:35:25 2001
+++ abcde	Thu Sep  6 20:07:17 2001
@@ -793,28 +793,21 @@
 		esac
 	fi
 	
-	#	This is temporarily commented out until I have a chance to mess with it a
-	#	little more. --rcw 8/31/1999
-	#
-	#	In the meantime if someone else wants to fiddle with it be my guest.
-	#	Please report all issues with the submission code to abcde@whimsica.lly.org.
-	#	--rcw 12/31/1999
-	#
-	#	# submit the modified file, if they want
-	#	if [ "$NOSUBMIT" != "y" ]; then
-	#		echo -n "Do you want to submit this entry to $CDDBSUBMIT? [y|N] "
-	#		read YESNO
-	#		while [ "$YESNO" != "y" ] && [ "$YESNO" != "n" ] && [ "$YESNO" != "Y" ] && [ "$YESNO" != "N" ]
-	#		do
-	#			echo -n 'Invalid selection. Please answer "y" or "n": '
-	#			read YESNO
-	#		done
-	#		if [ "$YESNO" = "y" ] || [ "$YESNO" = "Y" ]; then
-	#			echo -n "Sending..."
-	#			$CDDBTOOL send "$CDDBDATA" $CDDBSUBMIT
-	#			echo "done."
-	#		fi
-	#	fi
+	# submit the modified file, if they want
+	if [ "$NOSUBMIT" != "y" ]; then
+	    echo -n "Do you want to submit this entry to $CDDBSUBMIT? [y|N] "
+	    read YESNO
+	    while [ "$YESNO" != "y" ] && [ "$YESNO" != "n" ] && [ "$YESNO" != "Y" ] && [ "$YESNO" != "N" ]
+	    do
+		echo -n 'Invalid selection. Please answer "y" or "n": '
+		read YESNO
+	    done
+	    if [ "$YESNO" = "y" ] || [ "$YESNO" = "Y" ]; then
+    		echo -n "Sending..."
+		$CDDBTOOL send "$CDDBDATA" $CDDBSUBMIT
+		echo "done."
+	    fi
+	fi
 
 	echo "cddb-edit" >> "$ABCDETEMPDIR/status"
 }
@@ -846,6 +839,7 @@
 
 # Builtin defaults
 CDDBURL="http://freedb.freedb.org/~cddb/cddb.cgi"
+CDDBSUBMIT=freedb-submit@freedb.org
 HELLOINFO="$(whoami)@$(hostname)"
 INTERACTIVE=y
 CDROMREADERSYNTAX=cdparanoia


-- System Information
Debian Release: testing/unstable
Kernel Version: Linux dueto.rano1.org 2.4.8 #9 SMP dim Aŭg 12 10:26:03 BST 2001 i686 unknown

Versions of the packages abcde depends on:
ii  cd-discid      0.7-1          CDDB DiscID utility
ii  cdparanoia     3a9.8-4        An audio extraction tool for sampling CDs.
ii  vorbis-tools   1.0rc1-1       Several Ogg Vorbis Tools
ii  wget           1.6-2          utility to retrieve files from the WWW via H
cdda2wav	Not installed or no info

To unsubscribe: echo unsubscribe | mail abcde-request@whimsica.lly.org