fix(network): Added filtering for full seasons specifically in the UI when performing a manual full season search and added a message to the CLI that noes to only try to download a full season if that release includes 'fullSeason: true'

This commit is contained in:
2024-11-23 12:15:41 -07:00
parent 3be9321df6
commit 4d92c350de
17 changed files with 336 additions and 174 deletions
+3 -4
View File
@@ -1,6 +1,5 @@
use crate::models::{
servarr_models::Release,
sonarr_models::{Episode, SonarrHistoryItem},
sonarr_models::{Episode, SonarrHistoryItem, SonarrRelease},
stateful_table::StatefulTable,
ScrollableText,
};
@@ -12,12 +11,12 @@ pub struct EpisodeDetailsModal {
pub audio_details: String,
pub video_details: String,
pub episode_history: StatefulTable<SonarrHistoryItem>,
pub episode_releases: StatefulTable<Release>,
pub episode_releases: StatefulTable<SonarrRelease>,
}
#[derive(Default)]
pub struct SeasonDetailsModal {
pub episodes: StatefulTable<Episode>,
pub episode_details_modal: Option<EpisodeDetailsModal>,
pub season_releases: StatefulTable<Release>,
pub season_releases: StatefulTable<SonarrRelease>,
}