From 5db53647d5d95d0b7753785cdbbda919f448ca72 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Tue, 24 Oct 2006 05:21:04 +0000 Subject: [PATCH] Tune down 'short read' errors, closing #207 --- src/scan-mp3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scan-mp3.c b/src/scan-mp3.c index ed40717e..6b928f6b 100644 --- a/src/scan-mp3.c +++ b/src/scan-mp3.c @@ -827,7 +827,7 @@ int scan_mp3_get_mp3fileinfo(char *file, MP3FILE *pmp3) { if(ferror(infile)) { DPRINTF(E_LOG,L_SCAN,"Error reading: %s\n",strerror(errno)); } else { - DPRINTF(E_LOG,L_SCAN,"Short file: %s\n",file); + DPRINTF(E_INF,L_SCAN,"Bad mp3 file? (short read): %s\n",file); } fclose(infile); return FALSE; @@ -858,7 +858,7 @@ int scan_mp3_get_mp3fileinfo(char *file, MP3FILE *pmp3) { fseek(infile,fp_size,SEEK_SET); DPRINTF(E_DBG,L_SCAN,"Reading in new block at %d\n",(int)fp_size); if(fread(buffer,1,sizeof(buffer),infile) < sizeof(buffer)) { - DPRINTF(E_LOG,L_SCAN,"Short read: %s\n",file); + DPRINTF(E_INF,L_SCAN,"Bad mp3 file? (Short read): %s\n",file); fclose(infile); return TRUE; }