Auto-recognizing m3u8 sources as stream. Fixed Bang Bros poster and trailer.

This commit is contained in:
DebaucheryLibrarian
2023-06-05 04:49:44 +02:00
parent a99cee38a0
commit e36ba59d27
2 changed files with 14 additions and 4 deletions

View File

@@ -163,6 +163,13 @@ function toBaseSource(rawSource) {
return null;
}
if (rawSource.match(/.m3u8$/)) {
return {
src: rawSource,
stream: rawSource,
};
}
return {
src: rawSource,
};