replace
var manta = require('manta');
with
var manta = require('./mock-manta');
var EventEmitter = require("events").EventEmitter, | |
redis = require("redis"), | |
dateformat = require("dateformat"); | |
function population32(x) | |
{ | |
x -= ((x >> 1) & 0x55555555); | |
x = (((x >> 2) & 0x33333333) + (x & 0x33333333)); | |
x = (((x >> 4) + x) & 0x0f0f0f0f); | |
x += (x >> 8); |
replace
var manta = require('manta');
with
var manta = require('./mock-manta');
set lastName to "" | |
set lastArtist to "" | |
repeat | |
tell application "iTunes" | |
set trackName to name of current track | |
set trackArtist to artist of current track | |
end tell | |