mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Fix archive not recognizing locale when using direct episode url
This commit is contained in:
parent
57236f2b31
commit
a7adb7191e
1 changed files with 3 additions and 0 deletions
|
|
@ -167,6 +167,9 @@ impl Filter for ArchiveFilter {
|
|||
|
||||
let mut episodes = vec![];
|
||||
if !matches!(self.visited, Visited::Series) && !matches!(self.visited, Visited::Season) {
|
||||
if self.archive.locale.contains(&episode.audio_locale) {
|
||||
episodes.push(episode.clone())
|
||||
}
|
||||
episodes.extend(episode.version(self.archive.locale.clone()).await?);
|
||||
let audio_locales: Vec<Locale> =
|
||||
episodes.iter().map(|e| e.audio_locale.clone()).collect();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue