mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2025-12-23 22:18:19 -05:00
17 lines
475 B
Python
17 lines
475 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
|