projects
/
music-assistant-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd58fa5
)
Small fix for checking playlist url (#1846)
author
Ztripez
<reg@otherland.nu>
Thu, 9 Jan 2025 19:13:06 +0000
(20:13 +0100)
committer
GitHub
<noreply@github.com>
Thu, 9 Jan 2025 19:13:06 +0000
(20:13 +0100)
music_assistant/helpers/playlists.py
patch
|
blob
|
history
diff --git
a/music_assistant/helpers/playlists.py
b/music_assistant/helpers/playlists.py
index f1cbbfd3a0c3bfcac56e9131e0755ac7ceb579cb..3c1244568e063196341bc9c8d2589f6a114105d8 100644
(file)
--- a/
music_assistant/helpers/playlists.py
+++ b/
music_assistant/helpers/playlists.py
@@
-169,7
+169,7
@@
async def fetch_playlist(
) or "#EXT-X-STREAM-INF:" in playlist_data:
raise IsHLSPlaylist
- if url.endswith((".m3u", ".m3u8")):
+ if url
parse(url).path
.endswith((".m3u", ".m3u8")):
playlist = parse_m3u(playlist_data)
else:
playlist = parse_pls(playlist_data)