INNER CODE UNIT · Python

_import

Casvt/Plex-scripts · library_management/poster_exporter_importer.py:492

def _import(
    ssn: 'Session', media: Dict[str, Any],
    process: List[str],
    poster_name: str, background_name: str
) -> None:
    """Import the poster for the media from a file.

    Args:
        ssn (Session): The plex requests session to fetch with.
        media (Dict[str, Any]): The media to import for.
        process (List[str]): The image types to import.
        poster_name (str): The default poster name.
        background_name (str): The default background name.
    """
    poster_path, bg_path = _get_poster_bg_paths(
        media,
        poster_name,
        background_name

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…