nexgen-morefm
Version:
Get the current song played on morefm.co.nz
18 lines (14 loc) • 377 B
JavaScript
var Nexgen = require('nexgen');
module.exports = {
nexgen: Nexgen('http://digital.mediaworks.co.nz/nowplaying/morefmarea?region=Auckland'),
current: function (cb) {
this.nexgen.current(function (track) {
cb(track);
})
},
next: function (cb) {
this.nexgen.next(function (track) {
cb(track);
})
}
};