paradiseTime

By Dave Dill Last update Aug 13, 2008 — Installed 118 times.


Script Summary: Updates Radio Paradise Playlist page

Updates playlist times for Radio Paradise to user's local time. Provision for manually setting adjustment amount, though normal setting calculates adjustment from computer's time. Also allows updating the 'Listen' button link to your favorite streaming source rather than having to go to separate page. This change does require some minor editing of code with streaming source's URL. Note: 'Included Pages' in Grease Monkey interface should be set to 'http://www.radioparadise.com/content.php?name=Playlist'.

To keep Playlists updated you can add a second script to refresh the page periodically. I picked up the Auto Reload script from http://blog.monstuff.com/archives/cat_greasemon... and modified it as follows:

var numberOfMinutes=3; // SET NUMBER OF MINUTES BETWEEN REFRESHES HERE

setTimeout(function() { document.location.reload(); } , 60000*numberOfMinutes);