-
Notifications
You must be signed in to change notification settings - Fork 19
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 Calendar methods: sonarr & readarr #71
Conversation
} | ||
|
||
// BookAuthor of a Book. | ||
type BookAuthor struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was removed and replaced by Book
.
Images []*starr.Image `json:"images"` // this is dumb too | ||
ForeignEditionID string `json:"foreignEditionId"` // GRID ID | ||
Monitored bool `json:"monitored"` // true | ||
ManualAdd bool `json:"manualAdd"` // true | ||
} | ||
|
||
// AddBookOutput is returned when a book is added. | ||
type AddBookOutput struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was removed and replaced by Book
.
HasFile bool `json:"hasFile"` | ||
Monitored bool `json:"monitored"` | ||
Images []*starr.Image `json:"images"` | ||
Series *Series `json:"series"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how this was ever missed... maybe it was added later?
Tested this more and found that the pointers were pointless. Removed them. Merged master. Caught a mistake in the last PR and fixed that. Good to go now. |
Closes half of #66. I'm only going to do Sonarr and Readarr in this 1 PR to keep it smaller. Will make another one for the other two apps.
Cleans up
Book
,Author
, andEpisode
types. Probably easier to look at without white-space changes: https://github.com/golift/starr/pull/71/files?w=1