• 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: Is there a way to transfer a music file from my app to i-Tunes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a way to transfer a music file from my app to i-Tunes


  • Subject: Re: Is there a way to transfer a music file from my app to i-Tunes
  • From: "Paul Sanders" <email@hidden>
  • Date: Thu, 8 Jul 2010 14:21:25 +0100

>> I was wondering if there is a way to transfer a music file that i created in my app to i-tunes or upload it to youtube.
>> Does apple provide any API to achieve this?
 
> I've used AppleScript via ScriptingBridge in the past to add files to iTunes- it's relatively painless.
>
> http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/ScriptingBridgeConcepts/Introduction/Introduction.html
>
> Stephen

I can't help you with the YouTube stuff but here's the bit of AppleScript I use to add a file to iTunes:
 
    tell application "iTunes"
        add POSIX file "/path/to/your/file" to playlist "Library" of source "Library"
    end tell
 
If you want to do this from within a Cocoa app, you can use NSAppleScript.
 
You might be out of luck with YouTube; they are unlikely to be keen on automated submissions.
 
Regards,
 
Paul Sanders.
 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Is there a way to transfer a music file from my app to i-Tunes (From: Sanoj Nambi <email@hidden>)
 >Re: Is there a way to transfer a music file from my app to i-Tunes (From: "Stephen F. Booth" <email@hidden>)

  • Prev by Date: Re: Is there a way to transfer a music file from my app to i-Tunes
  • Next by Date: What is the AudioStreamBasicDescription(asbd) for a wav file
  • Previous by thread: Re: Is there a way to transfer a music file from my app to i-Tunes
  • Next by thread: What is the AudioStreamBasicDescription(asbd) for a wav file
  • Index(es):
    • Date
    • Thread