Skip to content

Instantly share code, notes, and snippets.

@sydlawrence
Created June 22, 2011 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sydlawrence/1040775 to your computer and use it in GitHub Desktop.
Save sydlawrence/1040775 to your computer and use it in GitHub Desktop.
var song_list = [];
function add_song() {
var artist=ROOMMANAGER.marquee_texts.songboard_artist;
var title=ROOMMANAGER.marquee_texts.songboard_title;
song_list[song_list.length] = {
artist:artist,
title:title
};
}
function song_listen() {
add_song();
var t = setTimeout('song_listen()',5000);
}
song_listen();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment