Showing non-showcased batches in latest and upcoming, only meant to be excluded from new.

This commit is contained in:
2026-11-13 22:56:51 +01:00
parent 121d31d325
commit 3645c2a0e6
9 changed files with 37 additions and 10 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import { utilsApi } from '../src/manticore.js';
import { syncStashes } from '../src/sync.js';
import runTool from './run-tool.js';
import runTool, { isMain } from './run-tool.js';
export async function rebuildStashes() {
await utilsApi.sql('drop table if exists scenes_stashed');
@@ -37,6 +37,6 @@ export async function rebuildStashes() {
await syncStashes('movie');
}
if (import.meta.main) {
if (isMain(import.meta.url)) {
runTool(rebuildStashes);
}