mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-02-20 07:59:50 -05:00
18 lines
476 B
Python
18 lines
476 B
Python
from pydantic import BaseModel
|
|
|
|
from media_manager.movies.schemas import MovieId
|
|
from media_manager.tv.schemas import ShowId
|
|
|
|
|
|
class MetaDataProviderSearchResult(BaseModel):
|
|
poster_path: str | None
|
|
overview: str | None
|
|
name: str
|
|
external_id: int
|
|
year: int | None
|
|
metadata_provider: str
|
|
added: bool
|
|
vote_average: float | None = None
|
|
original_language: str | None = None
|
|
id: MovieId | ShowId | None = None # Internal ID if already added
|