Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing fields to get rid of errors about new fields #260

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions varken/structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,13 @@ class SonarrTVShow(NamedTuple):
id: int = None
images: list = None
imdbId: str = None
lastAired: str = None
languageProfileId: int = None
monitored: bool = None
monitorNewItems: str = None
nextAiring: str = None
network: str = None
originalLanguage: dict = None
overview: str = None
path: str = None
previousAiring: str = None
Expand Down Expand Up @@ -255,6 +258,7 @@ class SonarrEpisode(NamedTuple):
airDateUtc: str = None
episodeFileId: int = None
episodeNumber: int = None
finaleType: str = None
grabbed: bool = None
hasFile: bool = None
id: int = None
Expand All @@ -273,14 +277,21 @@ class SonarrEpisode(NamedTuple):


class SonarrQueue(NamedTuple):
added: str = None
customFormats: list = None
customFormatScore: int = None
downloadClient: str = None
downloadClientHasPostImportCategory: bool = None
downloadId: str = None
episodeHasFile: bool = None
episodeId: int = None
id: int = None
indexer: str = None
language: dict = None
languages: list = None
protocol: str = None
quality: dict = None
seasonNumber: int = None
size: float = None
sizeleft: float = None
status: str = None
Expand Down Expand Up @@ -322,11 +333,13 @@ class RadarrMovie(NamedTuple):
physicalRelease: str = None
qualityProfileId: int = None
ratings: dict = None
rootFolderPath: str = None
runtime: int = None
secondaryYear: int = None
secondaryYearSourceId: int = None
sizeOnDisk: float = None
sortTitle: str = None
statistics: dict = None
status: str = None
studio: str = None
tags: list = None
Expand All @@ -343,8 +356,11 @@ class RadarrMovie(NamedTuple):

# Radarr Queue
class RadarrQueue(NamedTuple):
added: str = None
customFormats: list = None
customFormatScore: int = None
downloadClient: str = None
downloadClientHasPostImportCategory: bool = None
downloadId: str = None
id: int = None
indexer: str = None
Expand Down