From dfa733c50bc02210b5a9df1411d6c2959e06274a Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 5 Jul 2008 11:39:43 +0000 Subject: Add disc ID to -identify output. patch by Mathieu Schroeter, mathieu.schroeter gamesover ch git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27206 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream_cddb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stream/stream_cddb.c b/stream/stream_cddb.c index b2c455d5d9..2f177eb7bd 100644 --- a/stream/stream_cddb.c +++ b/stream/stream_cddb.c @@ -719,6 +719,8 @@ cddb_resolve(const char *dev, char **xmcd_file) { 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 ) { -- cgit v1.2.3