Creation automatique des dossiers tmdbintegral/* au premier run
This commit is contained in:
@@ -139,6 +139,8 @@ function removeOrphans(type, sortedIds) {
|
||||
}
|
||||
|
||||
export async function syncType(type) {
|
||||
const baseDir = type === 'movie' ? MOVIE_DIR : TV_DIR;
|
||||
await mkdir(baseDir, { recursive: true });
|
||||
const updates = await findChanges(type);
|
||||
const ids = await readMasterIds(type);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user