From 2bef6c4a5dc2bee5e4d9dc2a070bd5653409f3b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A2=A7=E8=88=9E=E3=81=99=E3=81=BF=E3=81=BB?= Date: Sat, 28 Oct 2023 22:22:44 +0900 Subject: [PATCH] Update __init__.py --- librespot/audio/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librespot/audio/__init__.py b/librespot/audio/__init__.py index a85b324..87d87d2 100644 --- a/librespot/audio/__init__.py +++ b/librespot/audio/__init__.py @@ -321,7 +321,7 @@ class CdnFeedHelper: @staticmethod def get_url(resp: StorageResolve.StorageResolveResponse) -> str: selected_url = random.choice(resp.cdnurl) - while not "audio4-gm-fb" in selected_url: + while "audio4-gm-fb" in selected_url: selected_url = random.choice(resp.cdnurl) return selected_url