feat(providers): add nine catalogues and the Radio Browser directory
This commit is contained in:
1 parent
a3ad693132
commit
49f7efe0d2
27 files changed
+1695
-22
No files matched your search
@@ -194,8 +194,9 @@ class RadioProvider(ABC):
|
||||
|
||||
|
||||
def is_playlist(url: str) -> bool:
|
||||
"""A playlist *we* resolve; HLS is handed to the player untouched."""
|
||||
path = url.split("?", 1)[0].split("#", 1)[0].lower()
|
||||
return path.endswith((".pls", ".m3u", ".m3u8"))
|
||||
return path.endswith((".pls", ".m3u"))
|
||||
|
||||
|
||||
def is_direct_stream(url: str) -> bool:
|
||||
|
||||
Reference in new issue
Block a user