forked from boyska/radiomanifest.js
make it ESM ready
This commit is contained in:
parent
baa181354f
commit
207f06a791
1 changed files with 288 additions and 292 deletions
576
radiomanifest.js
576
radiomanifest.js
|
@ -1,170 +1,174 @@
|
||||||
const fetch = require('isomorphic-unfetch')
|
import fetch from 'isomorphic-unfetch'
|
||||||
const shows = require('./shows.js')
|
import shows from './shows.js'
|
||||||
const calendar = require('./calendar.js')
|
import calendar from './calendar.js'
|
||||||
|
|
||||||
function getStreaminfoUrl (siteurl) {
|
function getStreaminfoUrl(siteurl) {
|
||||||
return siteurl + '/streaminfo.json' // XXX: improve this logic
|
return siteurl + "/streaminfo.json" // XXX: improve this logic
|
||||||
}
|
}
|
||||||
function getManifestUrl (siteurl) {
|
function getManifestUrl(siteurl) {
|
||||||
return siteurl + '/radiomanifest.xml' // XXX: improve this logic
|
return siteurl + "/radiomanifest.xml" // XXX: improve this logic
|
||||||
}
|
}
|
||||||
|
|
||||||
function getAttribute(el, attr, default_value) {
|
function getAttribute(el, attr, default_value) {
|
||||||
if(el.hasAttribute(attr))
|
if (el.hasAttribute(attr)) return el.getAttribute(attr)
|
||||||
return el.getAttribute(attr);
|
return default_value
|
||||||
return default_value;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents everything we know about a radio. This includes, but is not limited to, radiomanifest.xml.
|
* Represents everything we know about a radio. This includes, but is not limited to, radiomanifest.xml.
|
||||||
*/
|
*/
|
||||||
class Radio {
|
class Radio {
|
||||||
|
/**
|
||||||
/**
|
* @param {Array} [sources] optional
|
||||||
* @param {Array} [sources] optional
|
* @param {string} [scheduleURL]
|
||||||
* @param {string} [scheduleURL]
|
* @param {string} [showsURL]
|
||||||
* @param {string} [showsURL]
|
* @param {string} [feed]
|
||||||
* @param {string} [feed]
|
*/
|
||||||
*/
|
constructor(sources, scheduleURL, showsURL, feed) {
|
||||||
constructor (sources, scheduleURL, showsURL, feed) {
|
this.streaming = new RadioStreaming(sources)
|
||||||
this.streaming = new RadioStreaming(sources)
|
this.scheduleURL = scheduleURL
|
||||||
this.scheduleURL = scheduleURL
|
this.showsURL = showsURL
|
||||||
this.showsURL = showsURL
|
this.feed = feed
|
||||||
this.feed = feed
|
this.name = ""
|
||||||
this.name = ''
|
this.description = ""
|
||||||
this.description = ''
|
this.logo = null
|
||||||
this.logo = null
|
this.shows = []
|
||||||
this.shows = []
|
this.schedule = null
|
||||||
this.schedule = null
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @returns {RadioStreaming}
|
|
||||||
*/
|
|
||||||
getStreaming () {
|
|
||||||
return this.streaming
|
|
||||||
}
|
|
||||||
|
|
||||||
setName (name) {
|
|
||||||
this.name = name
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The radio name, as inferred by stream-meta
|
|
||||||
*
|
|
||||||
* @returns {string}
|
|
||||||
*/
|
|
||||||
getName() {
|
|
||||||
return this.name
|
|
||||||
}
|
|
||||||
|
|
||||||
setDescription(desc) {
|
|
||||||
this.description = desc
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The description of the radio, as inferred by stream-meta
|
|
||||||
*
|
|
||||||
* @returns {string}
|
|
||||||
*/
|
|
||||||
getDescription() {
|
|
||||||
return this.description
|
|
||||||
}
|
|
||||||
|
|
||||||
setLogo(logo) {
|
|
||||||
this.logo = logo
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @returns {string} the URL of the logo, or `null` if not found
|
|
||||||
*/
|
|
||||||
getLogo() {
|
|
||||||
return this.logo
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @returns {Array<RadioShow>}
|
|
||||||
*/
|
|
||||||
getShows() {
|
|
||||||
return this.shows
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @returns {RadioShow} The lookup is exact and case-sensitive. If no such show can be found, `null`
|
|
||||||
* is returned.
|
|
||||||
*/
|
|
||||||
getShowByName (showName) {
|
|
||||||
if (this.shows === undefined) return null
|
|
||||||
return this.shows.find(s => s.name === showName)
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @returns {RadioSchedule} If no schedule is present, `null` is returned.
|
|
||||||
*/
|
|
||||||
getSchedule () {
|
|
||||||
return this.schedule
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Find if a show is running at the given moment. If there's none, `null` is returned.
|
|
||||||
* If possible, a complete {@link RadioShow} including full informations (from shows.xml) is returned.
|
|
||||||
* If, instead, we know from the `schedule` that there must be a show, but have no additional detail, a
|
|
||||||
* {@link RadioShow} object will be created on the fly.
|
|
||||||
*
|
|
||||||
* @param {ICAL.Time} [now] If omitted, the current time is used.
|
|
||||||
* @returns {RadioShow} If we don't know what's going on at the given moment, `null` is returned.
|
|
||||||
*/
|
|
||||||
getShowAtTime (now) {
|
|
||||||
if (this.schedule === undefined || this.schedule === null) return null
|
|
||||||
return this.getSchedule().getNowShow(now)
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This static method can create a Radio object from a valid radiomanifest.xml file
|
|
||||||
*
|
|
||||||
* @param xml An already parsed xml block
|
|
||||||
* @returns {Radio}
|
|
||||||
*/
|
|
||||||
static fromDOM (xml) {
|
|
||||||
const doc = xml.cloneNode(true)
|
|
||||||
let res = doc.evaluate('/radio-manifest/streaming/source', doc, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null)
|
|
||||||
const sources = []
|
|
||||||
for (let i = 0; i < res.snapshotLength; i++) {
|
|
||||||
const src = res.snapshotItem(i)
|
|
||||||
|
|
||||||
if (!src.hasAttribute('priority')) {
|
|
||||||
src.setAttribute('priority', '0')
|
|
||||||
} else if (parseInt(src.getAttribute('priority'), 10) < 0) {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
sources.push(src)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
res = doc.evaluate('/radio-manifest/schedule', doc)
|
/**
|
||||||
const scheduleEl = res.iterateNext()
|
* @returns {RadioStreaming}
|
||||||
let scheduleURL = null
|
*/
|
||||||
if (scheduleEl !== null) {
|
getStreaming() {
|
||||||
scheduleURL = scheduleEl.getAttribute('src')
|
return this.streaming
|
||||||
}
|
}
|
||||||
|
|
||||||
res = xml.evaluate('/radio-manifest/shows', xml)
|
setName(name) {
|
||||||
const showsEl = res.iterateNext()
|
this.name = name
|
||||||
let showsURL = null
|
|
||||||
if (showsEl !== null) {
|
|
||||||
showsURL = showsEl.getAttribute('src')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
res = xml.evaluate('/radio-manifest/feed', xml)
|
/**
|
||||||
const feedEl = res.iterateNext()
|
* The radio name, as inferred by stream-meta
|
||||||
let feed = null
|
*
|
||||||
if (feedEl !== null) {
|
* @returns {string}
|
||||||
feed = feedEl.getAttribute('src')
|
*/
|
||||||
|
getName() {
|
||||||
|
return this.name
|
||||||
}
|
}
|
||||||
|
|
||||||
const manifest = new Radio(sources, scheduleURL, showsURL, feed)
|
setDescription(desc) {
|
||||||
return manifest
|
this.description = desc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The description of the radio, as inferred by stream-meta
|
||||||
|
*
|
||||||
|
* @returns {string}
|
||||||
|
*/
|
||||||
|
getDescription() {
|
||||||
|
return this.description
|
||||||
|
}
|
||||||
|
|
||||||
|
setLogo(logo) {
|
||||||
|
this.logo = logo
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @returns {string} the URL of the logo, or `null` if not found
|
||||||
|
*/
|
||||||
|
getLogo() {
|
||||||
|
return this.logo
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @returns {Array<RadioShow>}
|
||||||
|
*/
|
||||||
|
getShows() {
|
||||||
|
return this.shows
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @returns {RadioShow} The lookup is exact and case-sensitive. If no such show can be found, `null`
|
||||||
|
* is returned.
|
||||||
|
*/
|
||||||
|
getShowByName(showName) {
|
||||||
|
if (this.shows === undefined) return null
|
||||||
|
return this.shows.find(s => s.name === showName)
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @returns {RadioSchedule} If no schedule is present, `null` is returned.
|
||||||
|
*/
|
||||||
|
getSchedule() {
|
||||||
|
return this.schedule
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Find if a show is running at the given moment. If there's none, `null` is returned.
|
||||||
|
* If possible, a complete {@link RadioShow} including full informations (from shows.xml) is returned.
|
||||||
|
* If, instead, we know from the `schedule` that there must be a show, but have no additional detail, a
|
||||||
|
* {@link RadioShow} object will be created on the fly.
|
||||||
|
*
|
||||||
|
* @param {ICAL.Time} [now] If omitted, the current time is used.
|
||||||
|
* @returns {RadioShow} If we don't know what's going on at the given moment, `null` is returned.
|
||||||
|
*/
|
||||||
|
getShowAtTime(now) {
|
||||||
|
if (this.schedule === undefined || this.schedule === null) return null
|
||||||
|
return this.getSchedule().getNowShow(now)
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This static method can create a Radio object from a valid radiomanifest.xml file
|
||||||
|
*
|
||||||
|
* @param xml An already parsed xml block
|
||||||
|
* @returns {Radio}
|
||||||
|
*/
|
||||||
|
static fromDOM(xml) {
|
||||||
|
const doc = xml.cloneNode(true)
|
||||||
|
let res = doc.evaluate(
|
||||||
|
"/radio-manifest/streaming/source",
|
||||||
|
doc,
|
||||||
|
null,
|
||||||
|
XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,
|
||||||
|
null
|
||||||
|
)
|
||||||
|
const sources = []
|
||||||
|
for (let i = 0; i < res.snapshotLength; i++) {
|
||||||
|
const src = res.snapshotItem(i)
|
||||||
|
|
||||||
|
if (!src.hasAttribute("priority")) {
|
||||||
|
src.setAttribute("priority", "0")
|
||||||
|
} else if (parseInt(src.getAttribute("priority"), 10) < 0) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
sources.push(src)
|
||||||
|
}
|
||||||
|
|
||||||
|
res = doc.evaluate("/radio-manifest/schedule", doc)
|
||||||
|
const scheduleEl = res.iterateNext()
|
||||||
|
let scheduleURL = null
|
||||||
|
if (scheduleEl !== null) {
|
||||||
|
scheduleURL = scheduleEl.getAttribute("src")
|
||||||
|
}
|
||||||
|
|
||||||
|
res = xml.evaluate("/radio-manifest/shows", xml)
|
||||||
|
const showsEl = res.iterateNext()
|
||||||
|
let showsURL = null
|
||||||
|
if (showsEl !== null) {
|
||||||
|
showsURL = showsEl.getAttribute("src")
|
||||||
|
}
|
||||||
|
|
||||||
|
res = xml.evaluate("/radio-manifest/feed", xml)
|
||||||
|
const feedEl = res.iterateNext()
|
||||||
|
let feed = null
|
||||||
|
if (feedEl !== null) {
|
||||||
|
feed = feedEl.getAttribute("src")
|
||||||
|
}
|
||||||
|
|
||||||
|
const manifest = new Radio(sources, scheduleURL, showsURL, feed)
|
||||||
|
return manifest
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -172,75 +176,71 @@ class Radio {
|
||||||
* This has probably been derived from the <streaming> block in radiomanifest.xml
|
* This has probably been derived from the <streaming> block in radiomanifest.xml
|
||||||
*/
|
*/
|
||||||
class RadioStreaming {
|
class RadioStreaming {
|
||||||
constructor (sources) {
|
constructor(sources) {
|
||||||
this.sources = sources.sort(
|
this.sources = sources.sort((a, b) => this.getPriority(a) < this.getPriority(a))
|
||||||
(a,b) => this.getPriority(a) < this.getPriority(a)
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the list of possible options that are provided to the user
|
|
||||||
* @returns {Array<string>}
|
|
||||||
*/
|
|
||||||
getOptions() {
|
|
||||||
return this.sources.map(function (x) {
|
|
||||||
return x.getAttribute('name')
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
getPriority(element) {
|
|
||||||
return parseInt(getAttribute(element, 'priority', '1'))
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
getTopPrioritySources() {
|
|
||||||
var topPriority = this.getPriority(this.sources[0])
|
|
||||||
return this.sources.filter(
|
|
||||||
(src) => parseInt(src.getAttribute('priority'), 10) === topPriority
|
|
||||||
)
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @return {string} url of the source. Note that this is much probably a playlist, in M3U format
|
|
||||||
*/
|
|
||||||
getSource(name) {
|
|
||||||
if (name === undefined) {
|
|
||||||
return this.getTopPrioritySources()[0]
|
|
||||||
}
|
}
|
||||||
const s = this.sources.find(function (x) {
|
|
||||||
return x.getAttribute('name') === name
|
/**
|
||||||
|
* Get the list of possible options that are provided to the user
|
||||||
|
* @returns {Array<string>}
|
||||||
|
*/
|
||||||
|
getOptions() {
|
||||||
|
return this.sources.map(function (x) {
|
||||||
|
return x.getAttribute("name")
|
||||||
})
|
})
|
||||||
if (s === undefined) return s
|
|
||||||
return s.getAttribute('src')
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This is your go-to function whenever you need a list of URLs to play.
|
|
||||||
* They will be picked honoring priorities, and expanding the playlist source
|
|
||||||
* @return {Array<string>}
|
|
||||||
*/
|
|
||||||
async pickURLs() {
|
|
||||||
var allSources = this.getTopPrioritySources()
|
|
||||||
var allAudios = []
|
|
||||||
for(let src of allSources) {
|
|
||||||
let url = src.getAttribute('src')
|
|
||||||
let resp = await fetch(url)
|
|
||||||
allAudios.unshift(... parseM3U(await resp.text()))
|
|
||||||
}
|
}
|
||||||
return allAudios
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Just like {@link RadioStreaming#pickURLs}, but get a single URL
|
* @private
|
||||||
* @return {string}
|
*/
|
||||||
*/
|
getPriority(element) {
|
||||||
async pickURL() {
|
return parseInt(getAttribute(element, "priority", "1"))
|
||||||
var allAudios = await this.pickURLs()
|
}
|
||||||
return allAudios[0]
|
/**
|
||||||
}
|
* @private
|
||||||
|
*/
|
||||||
|
getTopPrioritySources() {
|
||||||
|
var topPriority = this.getPriority(this.sources[0])
|
||||||
|
return this.sources.filter(src => parseInt(src.getAttribute("priority"), 10) === topPriority)
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @return {string} url of the source. Note that this is much probably a playlist, in M3U format
|
||||||
|
*/
|
||||||
|
getSource(name) {
|
||||||
|
if (name === undefined) {
|
||||||
|
return this.getTopPrioritySources()[0]
|
||||||
|
}
|
||||||
|
const s = this.sources.find(function (x) {
|
||||||
|
return x.getAttribute("name") === name
|
||||||
|
})
|
||||||
|
if (s === undefined) return s
|
||||||
|
return s.getAttribute("src")
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is your go-to function whenever you need a list of URLs to play.
|
||||||
|
* They will be picked honoring priorities, and expanding the playlist source
|
||||||
|
* @return {Array<string>}
|
||||||
|
*/
|
||||||
|
async pickURLs() {
|
||||||
|
var allSources = this.getTopPrioritySources()
|
||||||
|
var allAudios = []
|
||||||
|
for (let src of allSources) {
|
||||||
|
let url = src.getAttribute("src")
|
||||||
|
let resp = await fetch(url)
|
||||||
|
allAudios.unshift(...parseM3U(await resp.text()))
|
||||||
|
}
|
||||||
|
return allAudios
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Just like {@link RadioStreaming#pickURLs}, but get a single URL
|
||||||
|
* @return {string}
|
||||||
|
*/
|
||||||
|
async pickURL() {
|
||||||
|
var allAudios = await this.pickURLs()
|
||||||
|
return allAudios[0]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -250,92 +250,88 @@ class RadioStreaming {
|
||||||
* @param {Object} options options. Currenly unused
|
* @param {Object} options options. Currenly unused
|
||||||
* @return {Radio}
|
* @return {Radio}
|
||||||
*/
|
*/
|
||||||
async function get (siteurl, options) {
|
async function get(siteurl, options) {
|
||||||
let resp = await fetch(getManifestUrl(siteurl))
|
let resp = await fetch(getManifestUrl(siteurl))
|
||||||
let text = await resp.text()
|
let text = await resp.text()
|
||||||
|
|
||||||
const parser = new DOMParser()
|
const parser = new DOMParser()
|
||||||
const dom = parser.parseFromString(text, 'text/xml')
|
const dom = parser.parseFromString(text, "text/xml")
|
||||||
const manifest = Radio.fromDOM(dom)
|
const manifest = Radio.fromDOM(dom)
|
||||||
|
|
||||||
try {
|
|
||||||
manifest.shows = await shows.get(manifest)
|
|
||||||
} catch (e) {
|
|
||||||
console.error("Error while fetching shows file", e)
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
manifest.schedule = await calendar.get(manifest)
|
|
||||||
if (manifest.schedule !== undefined)
|
|
||||||
manifest.schedule.radio = manifest
|
|
||||||
} catch (e) {
|
|
||||||
console.error("Error while fetching shows file", e)
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
resp = null
|
|
||||||
try {
|
|
||||||
resp = await fetch(getStreaminfoUrl(siteurl))
|
|
||||||
} catch (e) {
|
|
||||||
true
|
|
||||||
}
|
|
||||||
if(resp !== null) {
|
|
||||||
try {
|
try {
|
||||||
text = await resp.text()
|
manifest.shows = await shows.get(manifest)
|
||||||
|
} catch (e) {
|
||||||
const data = JSON.parse(text)
|
console.error("Error while fetching shows file", e)
|
||||||
const name = data['icy-name']
|
}
|
||||||
if (name !== undefined) {
|
|
||||||
manifest.setName(name)
|
try {
|
||||||
}
|
manifest.schedule = await calendar.get(manifest)
|
||||||
const desc = data['icy-description']
|
if (manifest.schedule !== undefined) manifest.schedule.radio = manifest
|
||||||
if (desc !== undefined) {
|
} catch (e) {
|
||||||
manifest.setDescription(desc)
|
console.error("Error while fetching shows file", e)
|
||||||
}
|
}
|
||||||
|
|
||||||
const logo = data['icy-logo']
|
resp = null
|
||||||
if (desc !== undefined) {
|
try {
|
||||||
manifest.setLogo(logo)
|
resp = await fetch(getStreaminfoUrl(siteurl))
|
||||||
}
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (e instanceof SyntaxError) {
|
|
||||||
true
|
true
|
||||||
} else {
|
|
||||||
console.error('Error', e)
|
|
||||||
throw e
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
if (resp !== null) {
|
||||||
|
try {
|
||||||
|
text = await resp.text()
|
||||||
|
|
||||||
return manifest
|
const data = JSON.parse(text)
|
||||||
}
|
const name = data["icy-name"]
|
||||||
|
if (name !== undefined) {
|
||||||
|
manifest.setName(name)
|
||||||
|
}
|
||||||
|
const desc = data["icy-description"]
|
||||||
|
if (desc !== undefined) {
|
||||||
|
manifest.setDescription(desc)
|
||||||
|
}
|
||||||
|
|
||||||
|
const logo = data["icy-logo"]
|
||||||
|
if (desc !== undefined) {
|
||||||
function parseM3U (body) {
|
manifest.setLogo(logo)
|
||||||
return body.split('\n').filter((line) => {
|
}
|
||||||
if (line.startsWith('#')) {
|
} catch (e) {
|
||||||
return false
|
if (e instanceof SyntaxError) {
|
||||||
} else {
|
true
|
||||||
try {
|
} else {
|
||||||
new URL(line); return true
|
console.error("Error", e)
|
||||||
} catch {
|
throw e
|
||||||
return false
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
|
||||||
|
return manifest
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function parseM3U(body) {
|
||||||
module.exports = {
|
return body.split("\n").filter(line => {
|
||||||
get: get,
|
if (line.startsWith("#")) {
|
||||||
objs: {
|
return false
|
||||||
Radio: Radio,
|
} else {
|
||||||
RadioStreaming: RadioStreaming
|
try {
|
||||||
},
|
new URL(line)
|
||||||
parsers: {
|
return true
|
||||||
M3U: parseM3U,
|
} catch {
|
||||||
radioManifest: Radio.fromDOM,
|
return false
|
||||||
shows: shows.parse,
|
}
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export default {
|
||||||
|
get: get,
|
||||||
|
objs: {
|
||||||
|
Radio: Radio,
|
||||||
|
RadioStreaming: RadioStreaming
|
||||||
|
},
|
||||||
|
parsers: {
|
||||||
|
M3U: parseM3U,
|
||||||
|
radioManifest: Radio.fromDOM,
|
||||||
|
shows: shows.parse
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue