vknplayer
Version:
console audio player for listen music from vk.com and on-line radio
33 lines (23 loc) • 465 B
JavaScript
var dataViews = require('../');
/**
*
* @constructor
* @implements {IDataView}
*/
var Radio = function(data) {
goog.base(this, data);
};
goog.inherits(Radio, dataViews.Abstract);
/**
* @return {Promise.<Array.<Main>>}
*/
Radio.prototype.getChildren = function() {
return app.service.radio.parse('http://2kom.tv/channels/radio.m3u');
};
/**
* @return {string}
*/
Radio.prototype.toString = function() {
return 'Radio';
};
module.exports = Radio;