changeset 27174:ee63b09aedc9

Add disc ID to -identify output. patch by Mathieu Schroeter, mathieu.schroeter gamesover ch
author diego
date Sat, 05 Jul 2008 11:39:43 +0000
parents 5c6b0b2b67b3
children 663103eea455
files stream/stream_cddb.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_cddb.c	Sat Jul 05 09:08:22 2008 +0000
+++ b/stream/stream_cddb.c	Sat Jul 05 11:39:43 2008 +0000
@@ -719,6 +719,8 @@
 	cddb_data.disc_id = cddb_discid(cddb_data.tracks);
 	cddb_data.anonymous = 1;	// Don't send user info by default
 
+	mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_CDDB_DISCID=%08lx\n", cddb_data.disc_id);
+
 	// Check if there is a CD in the drive
 	// FIXME: That's not really a good way to check
 	if( cddb_data.disc_id==0 ) {