Skip navigation.
 
mlRe: Using "convert" from iTunes with ScriptingBridge
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.

Related mailsAuthorDate
mlUsing "convert" from iTunes with ScriptingBridge Dave Verwer Feb 6, 20:26
mlRe: Using "convert" from iTunes with ScriptingBridge Dave Verwer Feb 7, 12:10
mlRe: Using "convert" from iTunes with ScriptingBridge Jean-Daniel Dupas Feb 7, 12:32
mlRe: Using "convert" from iTunes with ScriptingBridge Jean-Daniel Dupas Feb 7, 12:58
mlRe: Using "convert" from iTunes with ScriptingBridge Dave Verwer Feb 7, 13:18