From 53e60330a49c8643c4930ab33ebb2763edff2a0f Mon Sep 17 00:00:00 2001 From: bytedream Date: Wed, 26 Jul 2023 19:36:55 +0200 Subject: [PATCH] Remove unnecessary if condition --- src/media/streaming.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/media/streaming.rs b/src/media/streaming.rs index 679f52d..5835e63 100644 --- a/src/media/streaming.rs +++ b/src/media/streaming.rs @@ -95,8 +95,6 @@ impl Stream { } } else if let Some(raw_streams) = self.variants.get(&Locale::Custom("".into())) { raw_streams.adaptive_dash.as_ref().unwrap().url.clone() - } else if let Some(raw_streams) = self.variants.get(&Locale::Custom(":".into())) { - raw_streams.adaptive_dash.as_ref().unwrap().url.clone() } else { return Err(CrunchyrollError::Internal( "could not find supported stream".into(),