Example #1
0
var Nexgen = require('nexgen');

module.exports = {

    nexgen: Nexgen('http://www.georgefm.co.nz/Portals/0/Inbound/NowPlaying/nowplaying.aspx'),

    current: function (cb) {
        this.nexgen.current(function (track) {
            cb(track);
        })
    },

    next: function (cb) {
        this.nexgen.next(function (track) {
            cb(track);
        })
    }
};

Example #2
0
var Nexgen = require('nexgen');

module.exports = {

    nexgen: Nexgen('http://www.magic.co.nz/Portals/0/Inbound/NowPlaying/NowPlaying.aspx'),

    current: function (cb) {
        this.nexgen.current(function (track) {
            cb(track);
        })
    },

    next: function (cb) {
        this.nexgen.next(function (track) {
            cb(track);
        })
    }
};
Example #3
0
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);
        })
    }
};