Compare commits

..

No commits in common. "0e804db1307600434dcfb2766ec0d654ba53cc90" and "7e3e0d8f30b9ef84c5bf14d9dccf1a25d54abddb" have entirely different histories.

4 changed files with 9 additions and 8 deletions

View File

@ -86,12 +86,9 @@ To generate thumbnails for new logos and tag photos, install ImageMagick and run
#### Developers #### Developers
* `--no-save`: Do not store retrieved information in local database, forcing re-fetch. * `--no-save`: Do not store retrieved information in local database, forcing re-fetch.
* `--level`: Change log level to `silly`, `verbose`, `info`, `warn` or `error`. * `--level`: Change log level to `silly`, `verbose`, `info`, `warn` or `error`.
* `--delete-scenes`: Delete scenes and assets by ID. * `--flush-network`: Delete all scenes and movies from all network channels
* `--delete-movies`: Delete movies and assets by ID. * `--flush-channel`: Delete all scenes and movies from a channel
* `--flush-network`: Delete all scenes and movies with assets from all network channels * `--flush-batch`: Delete all scenes and movies from a batch ID
* `--flush-channel`: Delete all scenes and movies with assets from a channel
* `--flush-batch`: Delete all scenes and movies with assets from a batch ID
* `--flush-media`: Delete temporary media directory and all unassociated media entries and files
### API ### API
A GraphQL API is available at `/graphql`, and a REST API is available at the following `GET` endpoints: A GraphQL API is available at `/graphql`, and a REST API is available at the following `GET` endpoints:

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.138.1", "version": "1.138.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.138.1", "version": "1.138.0",
"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": {

View File

@ -41,6 +41,10 @@ async function init() {
await deleteMovies(argv.deleteMovies); await deleteMovies(argv.deleteMovies);
} }
if (argv.delete) {
await deleteScenes(argv.delete);
}
if (argv.flushOrphanedMedia) { if (argv.flushOrphanedMedia) {
await flushOrphanedMedia(); await flushOrphanedMedia();
} }