Compare commits
2 Commits
c9201430ea
...
5b6911fd5c
Author | SHA1 | Date |
---|---|---|
|
5b6911fd5c | |
|
33cab26d3b |
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.226.6",
|
"version": "1.226.7",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.226.6",
|
"version": "1.226.7",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@casl/ability": "^5.2.2",
|
"@casl/ability": "^5.2.2",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.226.6",
|
"version": "1.226.7",
|
||||||
"description": "All the latest porn releases in one place",
|
"description": "All the latest porn releases in one place",
|
||||||
"main": "src/app.js",
|
"main": "src/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -415,7 +415,9 @@ async function transferMedia(media, target) {
|
||||||
const temp = path.join('media/temp', filepath);
|
const temp = path.join('media/temp', filepath);
|
||||||
const url = new URL(media[type], `${media.s3 ? config.media.transferSources.s3 : config.media.transferSources.local}/`).href;
|
const url = new URL(media[type], `${media.s3 ? config.media.transferSources.s3 : config.media.transferSources.local}/`).href;
|
||||||
|
|
||||||
console.log('Transferring media', url);
|
if (args.logLevel === 'debug') {
|
||||||
|
console.log('Transferring media', url);
|
||||||
|
}
|
||||||
|
|
||||||
const res = await bhttp.get(url, { stream: true });
|
const res = await bhttp.get(url, { stream: true });
|
||||||
|
|
||||||
|
@ -616,7 +618,7 @@ async function load() {
|
||||||
const acc = await chain;
|
const acc = await chain;
|
||||||
const movie = await addRelease(release, { batchId, tagIdsBySlug, studioIdsBySlug });
|
const movie = await addRelease(release, { batchId, tagIdsBySlug, studioIdsBySlug });
|
||||||
|
|
||||||
console.log(`Loaded ${index}/${array} '${movie.entityName}' movie "${movie.title}"`);
|
console.log(`Loaded ${index}/${array.length} '${movie.entityName}' movie "${movie.title}"`);
|
||||||
|
|
||||||
return acc.concat(movie);
|
return acc.concat(movie);
|
||||||
}, Promise.resolve([]));
|
}, Promise.resolve([]));
|
||||||
|
@ -625,7 +627,7 @@ async function load() {
|
||||||
const acc = await chain;
|
const acc = await chain;
|
||||||
const scene = await addRelease(release, { batchId, movies: addedMovies, tagIdsBySlug, studioIdsBySlug });
|
const scene = await addRelease(release, { batchId, movies: addedMovies, tagIdsBySlug, studioIdsBySlug });
|
||||||
|
|
||||||
console.log(`Loaded ${index}/${array} '${scene.entityName}' scene "${scene.title}"`);
|
console.log(`Loaded ${index}/${array.length} '${scene.entityName}' scene "${scene.title}"`);
|
||||||
|
|
||||||
return acc.concat(!!scene);
|
return acc.concat(!!scene);
|
||||||
}, Promise.resolve([]));
|
}, Promise.resolve([]));
|
||||||
|
|
Loading…
Reference in New Issue