dirty fix for base64 encoded hls

This commit is contained in:
Exodus-MW 2024-06-21 00:32:14 +05:30
parent 2648cd6cca
commit 9152184b00

View file

@ -30,6 +30,9 @@ export async function validatePlayableStream(
if (SKIP_VALIDATION_CHECK_IDS.includes(sourcererId)) return stream;
if (stream.type === 'hls') {
// dirty temp fix for base64 urls to prep for fmhy poll
if (stream.playlist.startsWith('data:')) return stream;
const result = await ops.proxiedFetcher.full(stream.playlist, {
method: 'GET',
headers: {