feat(meta): resolve IMDb ids against series too

This commit is contained in:
Miguel Palhas
2026-08-23 18:59:35 +01:00
parent 1eac85c427
commit 3956617d41
5 changed files with 62 additions and 5 deletions
+9
View File
@@ -293,6 +293,15 @@ impl From<RawSeason> for Season {
}
}
/// What one `IMDb` id resolved to. An id names one title, so at most one of
/// the two lists is non-empty — but TMDB answers both kinds in the same
/// response, and both are surfaced rather than filtered here.
#[derive(Debug, Clone, Default, PartialEq, Eq)]
pub struct FindResults {
pub movies: Vec<MovieSearchResult>,
pub series: Vec<SeriesSearchResult>,
}
#[derive(Debug, Deserialize)]
pub(crate) struct RawFindPage {
#[serde(default)]