• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: radio stns iTunes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: radio stns iTunes


  • Subject: Re: radio stns iTunes
  • From: John Stewart <email@hidden>
  • Date: Thu, 3 Mar 2005 04:48:44 -0500

On 03/03/05 at +0100 wayne melrose said this

>Hi,
>
>I'm trying to remotely control a mac, which i want to choose different
>radio stations to play from iTunes, I know the names of the radio
>stations I want to play, so thats cool, but how do I ask it play a
>particular station.. ?
>
>Any help would be appreciated..
>
>Wayne


Two forms, depends on whether you are looking at the ones Apple supplies in its "Radio" source or one you've added yourself.

tell application "iTunes" -- user supplied
    play (first track of playlist "Library" whose name is "KOQX Blues Radio")
end tell


tell application "iTunes" -- Apple supplied
    play URL track "American Blues" of radio tuner playlist id 11946 of source "Radio"
end tell


There seems to be a bug in the second form. Radio tuner playlist "Blues" will not work, the only way I got it to compile is with the id. (iTunes v4.7.1 (30))


JBS
--
Being young is beautiful, but being old is comfortable. — Will Rogers
 _______________________________________________
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

  • Follow-Ups:
    • Re: radio stns iTunes
      • From: wayne melrose <email@hidden>
References: 
 >radio stns iTunes (From: wayne melrose <email@hidden>)

  • Prev by Date: FTP-delete [Re: (no subject)]
  • Next by Date: Re: radio stns iTunes
  • Previous by thread: radio stns iTunes
  • Next by thread: Re: radio stns iTunes
  • Index(es):
    • Date
    • Thread