Skip to content

Commit

Permalink
Update Sonarr & Lidarr Structs to match latest API changes (Boerderij…
Browse files Browse the repository at this point in the history
…#231)

* Add support for estimatedCompletionTime in LidarrQueue

* Add support for tvdbId in SonarrEpisode struct
  • Loading branch information
Cajs authored and MDHMatt committed May 12, 2023
1 parent 1edb53b commit 1c89c84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions varken/structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ class SonarrEpisode(NamedTuple):
sceneEpisodeNumber: int = None
sceneSeasonNumber: int = None
series: SonarrTVShow = None
tvdbId: int = None


class SonarrQueue(NamedTuple):
Expand Down Expand Up @@ -606,6 +607,7 @@ class LidarrQueue(NamedTuple):
outputPath: str = None
downloadForced: bool = None
id: int = None
estimatedCompletionTime: str = None


class LidarrAlbum(NamedTuple):
Expand Down

0 comments on commit 1c89c84

Please sign in to comment.