Extended and improved transfer tool. Moved scenes up on movie page.

This commit is contained in:
DebaucheryLibrarian
2023-06-03 02:51:42 +02:00
parent 62617ec6bf
commit 4b9a0e6bab
10 changed files with 314 additions and 102 deletions

View File

@@ -272,9 +272,15 @@ const { argv } = yargs
})
.option('flush-orphaned-media', {
describe: 'Remove all orphaned media items from database and disk.',
type: 'array',
type: 'boolean',
alias: 'flush-media',
})
.option('flush-media-files', {
describe: 'Remove files from storage when flushing media.',
type: 'boolean',
alias: 'flush-files',
default: true,
})
.option('flush-channels', {
describe: 'Delete all scenes and movies from channels.',
type: 'array',
@@ -339,6 +345,11 @@ const { argv } = yargs
alias: ['timeout'],
default: 60000,
})
.option('media-source', {
describe: 'Traxxx host to use for media transfers.',
type: 'string',
default: config.media.transferSource,
})
.coerce('after', interpretAfter)
.coerce('actors-update', (after) => interpretAfter(after, true));