FROM : Jean-Daniel Dupas
DATE : Thu Feb 07 12:58:48 2008
Le 7 févr. 08 à 12:36, Dave Verwer a écrit :
> AAC or MP3 does not really matter, I just want it converted to
> something smaller than AIFF and then imported into the iTunes library
> so it can be synced with an iPod without the user manually having to
> worry about moving the file around.
>
> Cheers
> Dave
OK.
I'have just tested, and it look like the scripting bridge expects an
NSURL when it want a file.
So -[iTunes convert:] works well with an array of NSURL, and it
returns an array of iTunesFileTrack corresponding to the encoded tracks.
DATE : Thu Feb 07 12:58:48 2008
Le 7 févr. 08 à 12:36, Dave Verwer a écrit :
> AAC or MP3 does not really matter, I just want it converted to
> something smaller than AIFF and then imported into the iTunes library
> so it can be synced with an iPod without the user manually having to
> worry about moving the file around.
>
> Cheers
> Dave
OK.
I'have just tested, and it look like the scripting bridge expects an
NSURL when it want a file.
So -[iTunes convert:] works well with an array of NSURL, and it
returns an array of iTunesFileTrack corresponding to the encoded tracks.
| Related mails | Author | Date |
|---|---|---|
| Dave Verwer | Feb 6, 20:26 | |
| Dave Verwer | Feb 7, 12:10 | |
| Jean-Daniel Dupas | Feb 7, 12:32 | |
| Jean-Daniel Dupas | Feb 7, 12:58 | |
| Dave Verwer | Feb 7, 13:18 |






Cocoa mail archive

