Re: radio stns iTunes
Re: radio stns iTunes
- Subject: Re: radio stns iTunes
- From: John Stewart <email@hidden>
- Date: Thu, 3 Mar 2005 08:48:05 -0500
On 3/3/05 at 11:15 PM, the entity wayne melrose spoke thusly
>thanks john, although im still having trouble,
>
>iTunes got an error: Can't make some data into the expected type.
>
>is the error message i get when i run it.. with an apple supplied radio
>station
>
>with your second suggestion, i would try this, although me and itunes
>dont seem to get along, i tried to get the id via
>
>tell app "itunes"
>get id of selection
>end tell
>
>with my radio station selected, is this the way to go about getting the
>stns ID?
>
>
>
>On Mar 3, 2005, at 10:48 AM, John Stewart wrote:
>
>> play (first track of playlist "Library" whose name is "KOQX Blues
>> Radio")
The line you included with your reply would be the user supplied track from the Library playlist.
To get the ids from the Apple supplied stations, highlight the station in iTunes then run this as a script in your editor.
tell application "iTunes" to return first item of selection
--> URL track id 121 of radio tuner playlist id 52 of source id 51 of application "iTunes"
I haven't had much success in extracting the component parts of the returned info.
JBS
--
If everything seems to be going well, you have obviously overlooked something.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden