Auto-recognizing m3u8 sources as stream. Fixed Bang Bros poster and trailer.
This commit is contained in:
@@ -163,6 +163,13 @@ function toBaseSource(rawSource) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (rawSource.match(/.m3u8$/)) {
|
||||
return {
|
||||
src: rawSource,
|
||||
stream: rawSource,
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
src: rawSource,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user