Created
August 30, 2016 13:31
-
-
Save akkez/a87fe5d33bd3051d19ed75972c791abe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = API.audio.get({"count":15}); | |
var i = 0; | |
var x = []; | |
while (true) { | |
x.push(a.items[i].artist + " - " + a.items[i].title); | |
i = i + 1; | |
if (i > a.items.length) { | |
return x; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment