This commit is contained in:
bytedream 2023-08-25 17:14:44 +02:00
parent e06e6b2b01
commit 3ae6fe4a1a
3 changed files with 6 additions and 4 deletions

View file

@ -213,7 +213,8 @@ async fn get_format(
for single_format in single_formats {
let stream = single_format.stream().await?;
let Some((video, audio)) = variant_data_from_stream(&stream, &archive.resolution).await? else {
let Some((video, audio)) = variant_data_from_stream(&stream, &archive.resolution).await?
else {
if single_format.is_episode() {
bail!(
"Resolution ({}) is not available for episode {} ({}) of {} season {}",