tune down the stat errors
This commit is contained in:
parent
c5ef4021a3
commit
c594cb1ab2
|
@ -366,7 +366,7 @@ int scan_path(char *path) {
|
||||||
realpath(relative_path,mp3_path);
|
realpath(relative_path,mp3_path);
|
||||||
DPRINTF(E_DBG,L_SCAN,"Found %s\n",relative_path);
|
DPRINTF(E_DBG,L_SCAN,"Found %s\n",relative_path);
|
||||||
if(os_stat(mp3_path,&sb)) {
|
if(os_stat(mp3_path,&sb)) {
|
||||||
DPRINTF(E_WARN,L_SCAN,"Error statting %s: %s\n",mp3_path,strerror(errno));
|
DPRINTF(E_INF,L_SCAN,"Error statting %s: %s\n",mp3_path,strerror(errno));
|
||||||
} else {
|
} else {
|
||||||
if(sb.st_mode & S_IFDIR) { /* dir -- recurse */
|
if(sb.st_mode & S_IFDIR) { /* dir -- recurse */
|
||||||
if(conf_get_int("scanning","ignore_appledouble",1) &&
|
if(conf_get_int("scanning","ignore_appledouble",1) &&
|
||||||
|
@ -413,7 +413,7 @@ int scan_static_playlist(char *path) {
|
||||||
|
|
||||||
DPRINTF(E_WARN,L_SCAN|L_PL,"Processing static playlist: %s\n",path);
|
DPRINTF(E_WARN,L_SCAN|L_PL,"Processing static playlist: %s\n",path);
|
||||||
if(os_stat(path,&sb)) {
|
if(os_stat(path,&sb)) {
|
||||||
DPRINTF(E_WARN,L_SCAN,"Error statting %s: %s\n",path,strerror(errno));
|
DPRINTF(E_INF,L_SCAN,"Error statting %s: %s\n",path,strerror(errno));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -569,7 +569,7 @@ void scan_filename(char *path, int compdir, char *extensions) {
|
||||||
|
|
||||||
|
|
||||||
if(os_stat(mp3_path,&sb)) {
|
if(os_stat(mp3_path,&sb)) {
|
||||||
DPRINTF(E_WARN,L_SCAN,"Error statting: %s\n",strerror(errno));
|
DPRINTF(E_INF,L_SCAN,"Error statting: %s\n",strerror(errno));
|
||||||
} else {
|
} else {
|
||||||
/* we assume this is regular file */
|
/* we assume this is regular file */
|
||||||
if(strlen(fname) > 2) {
|
if(strlen(fname) > 2) {
|
||||||
|
|
|
@ -451,7 +451,7 @@ void xml_browse_path(WS_CONNINFO *pwsc) {
|
||||||
realpath(full_path,resolved_path);
|
realpath(full_path,resolved_path);
|
||||||
|
|
||||||
if(os_stat(resolved_path,&sb)) {
|
if(os_stat(resolved_path,&sb)) {
|
||||||
DPRINTF(E_WARN,L_XML,"Eror statting %s: %s\n",
|
DPRINTF(E_INF,L_XML,"Error statting %s: %s\n",
|
||||||
resolved_path,strerror(errno));
|
resolved_path,strerror(errno));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue