Otto, is there any way to have this script rip to Apple Lossless instead of the AAC encoder?
I tried changing one line of the script to the following
var encoder=encoderCollection.ItemByName("Apple Lossless Encoder")
But that didn't work so obviously there is more to it than that
Do you have any advice?? Many thanks!
[a href="index.php?act=findpost&pid=224300"][{POST_SNAPBACK}][/a]
Heh. Yeah, you were on the right track..
Possible encoder values are:
AAC Encoder
AIFF Encoder
Lossless Encoder
MP3 Encoder
WAV Encoder
I retrieved these from iTunes using this little script:
var iTunesApp = WScript.CreateObject("iTunes.Application");
var i;
var fso, tf;
fso = new ActiveXObject("Scripting.FileSystemObject");
tf = fso.CreateTextFile("encoders.txt", true);
var encoderCollection = iTunesApp.Encoders;
var count = encoderCollection.Count;
for (i = 1; i <= count; i++)
{
var encoder=encoderCollection.Item(i);
tf.WriteLine(encoder.Name);
}
tf.Close();
So anyway, changing that line you gave to "Lossless Encoder" should do the trick.