fix: a bunch of idiotism

This commit is contained in:
Adrian Castro
2024-04-13 21:15:58 +02:00
parent 17d907335f
commit 93111ecdcd
3 changed files with 7 additions and 9 deletions

View File

@@ -228,7 +228,7 @@ export async function findHLSQuality(
const chosenQuality = sortedStreams[highest ? 0 : sortedStreams.length - 1];
if (!chosenQuality) return null;
return chosenQuality.uri;
return constructFullUrl(playlistUrl, chosenQuality.uri);
} catch (e) {
return null;
}