Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Playing A MP3 Stream In Dashcode



Hm, the email from Scott wasn't sent to the group. Could you pass it along for everyone's reference?

Thanks.

Christian.

On Jan 4, 2007, at 3:34 PM, Michael Stearne wrote:

Christian,

Actually the workaround suggested by Scott Saunders worked perfectly.
Thanks Scott.

Michael

On 1/4/07, Christian <email@hidden> wrote:
Hi Michael—

On Dec 26, 2006, at 11:59 PM, Michael Stearne wrote:

> 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.


Dashcode's Podcast template uses the QuickTime plug-in to playback
audio files.  At this time, the QuickTime plug-in doesn't support
playback of streaming MP3 (a.k.a. Icecast, Shoutcast).  This means
that the plug-in doesn't accept files with a .pls extension and can't
handle the icy protocol.

At this time, I don't know of any workarounds for this particular
issue, but please file a bug on QuickTime via <http://
bugreport.apple.com/> .  Thanks!

--
Christian Wagner
Writer — Apple TechPubs
email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/mstearne% 40gmail.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Dashboard-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/dashboard-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Playing A MP3 Stream In Dashcode (From: Christian <email@hidden>)
 >Re: Playing A MP3 Stream In Dashcode (From: "Michael Stearne" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.