[vlc-commits] CDDA: more debug on CDDB failures

Jean-Baptiste Kempf git at videolan.org
Sun Apr 27 18:23:22 CEST 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Apr 27 18:15:38 2014 +0200| [0af6ed59563ddf8efda702e7bd3a5181311c6c1d] | committer: Jean-Baptiste Kempf

CDDA: more debug on CDDB failures

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0af6ed59563ddf8efda702e7bd3a5181311c6c1d
---

 modules/access/cdda.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/access/cdda.c b/modules/access/cdda.c
index 7581e78..e5e7d2a 100644
--- a/modules/access/cdda.c
+++ b/modules/access/cdda.c
@@ -414,6 +414,8 @@ static int GetTracks( access_t *p_access, input_item_t *p_current )
             psz_artist = psz_track_artist;
         }
     }
+    else
+        msg_Dbg( p_access, "GetCDDBInfo failed" );
 #endif
 
     /* CD-Text */
@@ -586,7 +588,10 @@ static int GetTracks( access_t *p_access, input_item_t *p_current )
 static cddb_disc_t *GetCDDBInfo( access_t *p_access, int i_titles, int *p_sectors )
 {
     if( var_InheritInteger( p_access, "album-art" ) == ALBUM_ART_WHEN_ASKED )
+    {
+        msg_Dbg( p_access, "Album art policy set to manual; no automatic fetching" );
         return NULL;
+    }
 
     /* */
     cddb_conn_t *p_cddb = cddb_new();



More information about the vlc-commits mailing list