Reduced stash load verbosity.

This commit is contained in:
DebaucheryLibrarian 2023-06-08 03:48:29 +02:00
parent a16ca716da
commit 1fc441670b
1 changed files with 6 additions and 2 deletions

View File

@ -63,7 +63,9 @@ async function importReleases(type, stash, user, filename) {
.onConflict(['stash_id', `${curatedType}_id`])
.ignore();
console.log(`Imported ${stash.username} stash ${release.entity_name} ${curatedType} "${scene.title}"`);
if (args.logLevel === 'verbose') {
console.log(`Imported ${stash.username} stash ${release.entity_name} ${curatedType} "${scene.title}"`);
}
}, Promise.resolve());
}
@ -98,7 +100,9 @@ async function importActors(stash, user, filename) {
.onConflict(['stash_id', 'actor_id'])
.ignore();
console.log(`Imported ${stash.username} stash actor "${actorEntry.name}"`);
if (args.logLevel === 'verbose') {
console.log(`Imported ${stash.username} stash actor "${actorEntry.name}"`);
}
}, Promise.resolve());
}