mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-06-17 20:28:37 +00:00
init
This commit is contained in:
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.vadapavGetStream = void 0;
|
||||
const vadapavGetStream = async function ({ link: url, // type,
|
||||
} // providerContext,
|
||||
) {
|
||||
try {
|
||||
const stream = [];
|
||||
stream.push({
|
||||
server: 'vadapav',
|
||||
link: url,
|
||||
type: url?.split('.').pop() || 'mkv',
|
||||
});
|
||||
return stream;
|
||||
}
|
||||
catch (err) {
|
||||
return [];
|
||||
}
|
||||
};
|
||||
exports.vadapavGetStream = vadapavGetStream;
|
||||
Reference in New Issue
Block a user