From 3dc8d5c84ac839674f510901065eed36a974a55c Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Sat, 9 Nov 2024 14:04:14 +0100 Subject: [PATCH] Fix: Returned value shall be `[str]`. --- tidalapi/media.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tidalapi/media.py b/tidalapi/media.py index b4ea04d..a063a34 100644 --- a/tidalapi/media.py +++ b/tidalapi/media.py @@ -592,10 +592,7 @@ def __init__(self, stream: Stream): self.file_extension = self.get_file_extension(self.urls[0], self.codecs) def get_urls(self) -> [str]: - if self.is_mpd: - return self.urls - else: - return self.urls[0] + return self.urls def get_hls(self) -> str: if self.is_mpd: