Creation automatique des dossiers tmdbintegral/* au premier run
This commit is contained in:
@@ -68,6 +68,8 @@ function removeOrphans(type, ids) {
|
||||
}
|
||||
|
||||
export async function syncType(type) {
|
||||
const baseDir = type === 'movie' ? JUSTWATCH_MOVIE_DIR : JUSTWATCH_TV_DIR;
|
||||
await mkdir(baseDir, { recursive: true });
|
||||
const ids = await readMasterIds(type);
|
||||
const limiter = new Limiter(DOWNLOAD_CONCURRENCY);
|
||||
const tasks = [];
|
||||
|
||||
Reference in New Issue
Block a user