Lidarr support #1

Merged
Dark-Alex-17 merged 61 commits from lidarr into main 2026-01-21 21:30:47 +00:00
Showing only changes of commit ddb869c341 - Show all commits
@@ -30,7 +30,7 @@ pub enum SonarrManualSearchCommand {
episode_id: i64, episode_id: i64,
}, },
#[command( #[command(
about = "Trigger a manual search of releases for the given season corresponding to the series with the given ID" about = "Trigger a manual search of full-season releases (full_season: true) for the given season corresponding to the series with the given ID"
)] )]
Season { Season {
#[arg( #[arg(
@@ -88,7 +88,7 @@ impl<'a, 'b> CliCommandHandler<'a, 'b, SonarrManualSearchCommand>
serde_json::to_string_pretty(&seasons_vec)? serde_json::to_string_pretty(&seasons_vec)?
} }
Err(e) => return Err(e), Err(e) => return Err(e),
_ => serde_json::to_string_pretty(&json!({"message": "Failed to parse response"}))?, _ => serde_json::to_string_pretty(&json!({"message": "Unexpected response format"}))?,
} }
} }
SonarrManualSearchCommand::Season { SonarrManualSearchCommand::Season {