CLI

Examples

Looking up a movie from standard input:

tmdbasyncmovies from_input "1999 The Matrix"

Looking up multiple movies from standard input:

tmdbasyncmovies from_input "1999 The Matrix" "2003 The Matrix Revolutions"

Looking up movies from a parent directory looks like this - note that both items are folders, not video files!

ls /my/movie/dir
.
..
1999 The Matrix
2003 The Matrix Reloaded
tmdbasyncmovies from_dir /my/movie/dir

Commands and Options

tmdbasyncmovies

Tmdbasync CLI.

tmdbasyncmovies [OPTIONS] COMMAND [ARGS]...

Options

-t, --tmdb-api-key <tmdb_api_key>

TMDB API Key. Falls back to environment variable TMDB_API_KEY if not specified.

-o, --output_dir <output_dir>

Output directory where metadata get written to.

-a, --include_adult

Whether to include adult results.

Default:

True

-l, --language <language>

ISO-639-1 shortcode for getting locale information.

Default:

en_US

-n, --naming_convention <naming_convention>

Define naming convention used for extracting title and year.

Default:

0

-b, --backup_call

Whether to submit another query using title only if title + year yields no result.

Default:

False

from_dir

Use MOVIE_DIRs subfolders as queries.

tmdbasyncmovies from_dir [OPTIONS] MOVIE_DIR

Arguments

MOVIE_DIR

Required argument

from_input

Pass one or multiple queries.

tmdbasyncmovies from_input [OPTIONS] QUERIES...

Arguments

QUERIES

Required argument(s)