]> git.sesse.net Git - vlc/commitdiff
CDDB: display CDDB ID in the right format
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 5 Jan 2015 16:36:15 +0000 (17:36 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 5 Jan 2015 16:36:15 +0000 (17:36 +0100)
Aka a 8 digit hexa number, as used in search engines like
http://www.freedb.org/freedb_discid_check.php

Ref #4370

modules/access/cdda.c

index ad1cb076ab09b36d7658d549359b5df0003a9a82..34623fc246bd89b79dc681c43bb3f87277348476 100644 (file)
@@ -397,7 +397,7 @@ static int GetTracks( access_t *p_access, input_item_t *p_current )
     cddb_disc_t *p_disc = GetCDDBInfo( p_access, i_titles, p_sys->p_sectors );
     if( p_disc )
     {
-        msg_Dbg( p_access, "Disc ID: %u", cddb_disc_get_discid( p_disc ) );
+        msg_Dbg( p_access, "Disc ID: %08x", cddb_disc_get_discid( p_disc ) );
         psz_album = cddb_disc_get_title( p_disc );
         psz_genre = cddb_disc_get_genre( p_disc );