Python API
- class tmdb_async_movies.main.TmdbAsyncMovies(tmdb_api_key: str | None = None, include_adult: bool = True, language: str = 'en_US', naming_convention: int = 0, backup_call: bool = True)[source]
TMDB Async Movies.
- generic_parse(queries: List[str]) None[source]
For a list of given queries, their TMDB IDs will be searched and used to lookup movie details and cast.
- Parameters:
queries – list of strings
- async get_metadata(metadata: str, tmdb_ids: Set[int]) None[source]
For a given set of TMDB IDs movie details or credits are searched and stored.
- Parameters:
metadata – either ‘movie_details’ or ‘credits’
tmdb_ids – a set of TMDB IDs
- Raises:
KeyError – if metadata is not specified correctly
- parse_movie_dirs(input_path: Path) None[source]
For a given input path, subfolders will be used for quering the TMDB for metadata.
- Parameters:
queries – list of strings
- Raises:
FileNotFoundError – if input_path doesn’t exist.