Skip to content

actions ¤

list_shows_as_table ¤

list_shows_as_table(
    show_index=False,
) -> Tuple[List[str], int]

List all shows in base directory as a table

Parameters:

  • show_index (bool, default: False ) –

    Whether to print the row index as the first column, useful for selection. Defaults to False.

Returns:

  • Tuple[List[str], int]

    Tuple[List[str], int]: List of shows and number of shows

search_media_and_download ¤

search_media_and_download(
    query: str, specials_only: bool = False
) -> None

Search for media and download

This function searches for media based on the given query string and downloads it. It first checks if the base path is mounted and exits if it is not. Then it searches for the given query and finds the show. Finally, it starts a guided download of the chosen show.

Parameters:

  • query (str) –

    query string

  • specials_only (bool, default: False ) –

    Download only specials episode. Defaults to False.