Skip to content

Instantly share code, notes, and snippets.

Created Jun 14, 2009

What would you like to do?
name: "radio",
icon: "",
homepage: "",
author: {name: "Matthew Garrett", email: ""},
license: "GPL",
description: "Last.FM radio starter",
help: "Type radio, then the artist you want to hear.",
takes: {"input": /.*/},
preview: function(pblock, input) {
pblock.innerHTML = "Radio for Artist: " + input.text + "</b>.";
execute: function(input) {
displayMessage("Starting " + input.text + " radio. Enjoy!");
Utils.openUrlInBrowser( "" + input.text + "/similarartists");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.