Added unidentified actors and actor count filters.
This commit is contained in:
@@ -2,6 +2,7 @@ import argv from '../src/argv.js';
|
||||
|
||||
import { knexOwner as knex } from '../src/knex.js';
|
||||
import { utilsApi } from '../src/manticore.js';
|
||||
import redis from '../src/redis.js';
|
||||
import { syncManticoreActors } from '../src/sync.js';
|
||||
|
||||
async function init() {
|
||||
@@ -34,12 +35,14 @@ async function init() {
|
||||
|
||||
console.log('data', data);
|
||||
|
||||
knex.destroy();
|
||||
await knex.destroy();
|
||||
await redis.quit(); // sync imports connect to redis, which keeps the process alive
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
knex.destroy();
|
||||
await knex.destroy();
|
||||
await redis.quit(); // sync imports connect to redis, which keeps the process alive
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import argv from '../src/argv.js';
|
||||
import { knexOwner as knex } from '../src/knex.js';
|
||||
import { utilsApi } from '../src/manticore.js';
|
||||
import redis from '../src/redis.js';
|
||||
import { syncManticoreMovies } from '../src/sync.js';
|
||||
|
||||
async function init() {
|
||||
@@ -39,7 +40,8 @@ async function init() {
|
||||
console.log('data', data);
|
||||
}
|
||||
|
||||
knex.destroy();
|
||||
await knex.destroy();
|
||||
await redis.quit(); // sync imports connect to redis, which keeps the process alive
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import argv from '../src/argv.js';
|
||||
import { knexOwner as knex } from '../src/knex.js';
|
||||
import { utilsApi } from '../src/manticore.js';
|
||||
import redis from '../src/redis.js';
|
||||
import { syncManticoreScenes } from '../src/sync.js';
|
||||
|
||||
async function init() {
|
||||
@@ -24,6 +25,11 @@ async function init() {
|
||||
entity_ids multi,
|
||||
actor_ids multi,
|
||||
actors text,
|
||||
actor_count int,
|
||||
female_count int,
|
||||
male_count int,
|
||||
trans_count int,
|
||||
unidentified_count int,
|
||||
tag_ids multi,
|
||||
assigned_tag_ids multi64,
|
||||
tags text,
|
||||
@@ -57,7 +63,8 @@ async function init() {
|
||||
await syncManticoreScenes();
|
||||
}
|
||||
|
||||
knex.destroy();
|
||||
await knex.destroy();
|
||||
await redis.quit(); // sync imports connect to redis, which keeps the process alive
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { knexOwner as knex } from '../src/knex.js';
|
||||
import { utilsApi } from '../src/manticore.js';
|
||||
import redis from '../src/redis.js';
|
||||
import { syncStashes } from '../src/sync.js';
|
||||
|
||||
async function init() {
|
||||
@@ -36,7 +37,8 @@ async function init() {
|
||||
await syncStashes('actor');
|
||||
await syncStashes('movie');
|
||||
|
||||
knex.destroy();
|
||||
await knex.destroy();
|
||||
await redis.quit(); // sync imports connect to redis, which keeps the process alive
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
Reference in New Issue
Block a user