Re: Using "convert" from iTunes with ScriptingBridge
Re: Using "convert" from iTunes with ScriptingBridge
- Subject: Re: Using "convert" from iTunes with ScriptingBridge
- From: "Dave Verwer" <email@hidden>
- Date: Thu, 7 Feb 2008 11:10:06 +0000
If no-one knows what is going on with this problem specifically, does
anyone have any links to decent documentation on using iTunes over
ScriptingBridge from ObjC?
Cheers
Dave
On 2/6/08, Dave Verwer <email@hidden> wrote:
> I am trying to use ScriptingBridge to control iTunes to convert and
> import an aiff file generated by my application, and failing.
>
> I have the file stored as an aiff on disk and the correct file name as
> an NSString. I also have an iTunesApplication instance up and working.
> However when I add the file name (as NSString) to an NSArray and call
> convert with it, nothing crashes but nothing seems to happen.
>
> An iTunes Track is successfully returned from the convert call but if
> I NSLog the returned object, I get this:
>
> 2008-02-06 19:11:01.317 TunesSampleApp[12073:613] (
> )
>
> I have pastie'd the code I am using here (I realise the Array building
> could be more efficient but I wanted to make sure i was drop dead
> simple for the example):
>
> http://pastie.caboo.se/148337
>
> As far as I can see, there is no documentation about what type the
> entries in the NSArray have to be to be accepted by iTunes or any
> documentation really on what convert should actually do.
>
> For all I know it could be converting the file but not adding it to
> iTunes and just storing it somewhere on the disk? Is there any
> documentation other than the sdef and .h files for the API's with
> ScriptingBridge?
>
> Thanks in advance
> Dave
>
> --
> e-mail: email@hidden
> web: http://shinydevelopment.com
>
> Shiny Development Ltd. is registered in England, Registration Number:
> 05805802. Registered Office: 4 Claridge Court, Lower Kings Road,
> Berkhamsted, Herts., HP4 2AF.
>
--
e-mail: email@hidden
web: http://shinydevelopment.com
Shiny Development Ltd. is registered in England, Registration Number:
05805802. Registered Office: 4 Claridge Court, Lower Kings Road,
Berkhamsted, Herts., HP4 2AF.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden