feat(network): Support for toggling the monitoring status of an episode in Sonarr

This commit is contained in:
2024-12-13 14:40:11 -07:00
parent 91ad50350d
commit d1ffd0d77f
3 changed files with 160 additions and 2 deletions
+7
View File
@@ -279,6 +279,13 @@ pub struct MediaInfo {
pub subtitles: Option<String>,
}
#[derive(Default, Serialize, Debug)]
#[serde(rename_all = "camelCase")]
pub struct MonitorEpisodeBody {
pub episode_ids: Vec<i64>,
pub monitored: bool,
}
#[derive(Derivative, Serialize, Deserialize, Debug, Clone, PartialEq)]
#[derivative(Default)]
pub struct Rating {