Disable 'media already scanned' logs
This commit is contained in:
parent
bdef67fffc
commit
e509124510
|
@ -101,7 +101,7 @@ func ScanMedia(tx *gorm.DB, mediaPath string, albumId int, cache *scanner_cache.
|
||||||
}
|
}
|
||||||
|
|
||||||
if result.RowsAffected > 0 {
|
if result.RowsAffected > 0 {
|
||||||
log.Printf("Media already scanned: %s\n", mediaPath)
|
// log.Printf("Media already scanned: %s\n", mediaPath)
|
||||||
return media[0], false, nil
|
return media[0], false, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue