I am creating/modifying a Dashcode based widget that uses the Podcast
template. I want a button on it that when clicked plays a .pls MP3
stream so what I did was pass an array to update_episode() as such:
function katgStream(event)
{
// Insert Code Here
liveStream[0] = {
title:"<b>KATG 247</b>",
date:null,
dateString:"Wed, 27 Dec 2006 05:00:00 GMT",
subtitle:"<b>none</b>",
description:"Live Stream Provided By xxx",
link:"http://247.keithandthegirl.com:8002/listen.pls",
track:"icy://247.keithandthegirl.com:8002/"
}
update_episode(liveStream[0]);
}
For track if I pass in a url to a .mp3 file it loads and plays the
file correctly. But I pass in
http://247.keithandthegirl.com:8002/listen.pls I get a cube with ?s on
it. And if I pass in icy://247.keithandthegirl.com:8002/ it works
correctly in the Quicktime Player but not in Dashcode.