mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-17 23:51:44 +00:00
init
This commit is contained in:
14
dist/ringz/ringzGetStream.js
vendored
Normal file
14
dist/ringz/ringzGetStream.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ringzGetStream = void 0;
|
||||
const ringzGetStream = async function ({ link: data, }) {
|
||||
const streamLinks = [];
|
||||
const dataJson = JSON.parse(data);
|
||||
streamLinks.push({
|
||||
link: dataJson.url,
|
||||
server: dataJson.server,
|
||||
type: 'mkv',
|
||||
});
|
||||
return streamLinks;
|
||||
};
|
||||
exports.ringzGetStream = ringzGetStream;
|
||||
Reference in New Issue
Block a user