mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Simplify archive no audio present output
This commit is contained in:
parent
3dd8385aac
commit
6bd75c93cb
1 changed files with 2 additions and 2 deletions
|
|
@ -366,12 +366,12 @@ async fn formats_from_series(
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.filter(|l| !season.iter().any(|s| s.metadata.audio_locales.contains(l)))
|
.filter(|l| !season.iter().any(|s| s.metadata.audio_locales.contains(l)))
|
||||||
.collect::<Vec<Locale>>();
|
.collect::<Vec<Locale>>();
|
||||||
for not_present in not_present_audio {
|
if !not_present_audio.is_empty() {
|
||||||
error!(
|
error!(
|
||||||
"Season {} of series {} is not available with {} audio",
|
"Season {} of series {} is not available with {} audio",
|
||||||
season.first().unwrap().metadata.season_number,
|
season.first().unwrap().metadata.season_number,
|
||||||
series.title,
|
series.title,
|
||||||
not_present
|
not_present_audio.into_iter().map(|l| l.to_string()).collect::<Vec<String>>().join(", ")
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue