diff --git a/app/library/Playlist.py b/app/library/Playlist.py index 9fed2312..e43bf23f 100644 --- a/app/library/Playlist.py +++ b/app/library/Playlist.py @@ -42,6 +42,6 @@ class Playlist: ) playlist.append(f"#EXT-X-STREAM-INF:PROGRAM-ID=1{subs}") - playlist.append(f"{self.url}api/player/m3u8/video/{quote(ref)}.m3u8") + playlist.append(f"{self.url}api/player/m3u8/video/{quote(str(ref))}.m3u8") return "\n".join(playlist) diff --git a/ui/app/components/VideoPlayer.vue b/ui/app/components/VideoPlayer.vue index c3fa32fc..83289f59 100644 --- a/ui/app/components/VideoPlayer.vue +++ b/ui/app/components/VideoPlayer.vue @@ -84,8 +84,8 @@