Skip to content

Commit

Permalink
Merge pull request #299 from exislow/298-get_urls
Browse files Browse the repository at this point in the history
Fix: Returned value shall be `[str]`.
  • Loading branch information
tehkillerbee authored Nov 9, 2024
2 parents 910a7b4 + 3dc8d5c commit 6c15d7c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tidalapi/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6c15d7c

Please sign in to comment.