Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'An AppleScript to load an iPod Shuffle in a certain order' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to load an iPod Shuffle in a certain order
Authored by: deeraeya2 on Jan 31, '07 05:31:24PM

The Shuffle can't play Apple Lossless or AIFF. This was causing strange stopping errors when copying from playlists with those files in them.

Adding this check when the files where being copied helped (sorry about the layout):

set theTracks to every file track in the playlist "For Shuffle"

--Check that each track kind is suitable for the Shuffle.
repeat with thisTrack in theTracks
if thisTrack's kind is not "Apple Lossless audio file" then
duplicate thisTrack to tempList
end if
end repeat

-- Actually move them
try
duplicate tracks of tempList to myShuffleList
end try

(I use a temp list so that the copying to the shuffle doesn't start before the copying to the list has finished (since checking the properties takes time).

An alternative would be to use a smart list as your music source and ensure that it doesn't include any Lossless or AIFF files.

For extra credit alter the script so that it converts those files to 128 AACs, leaving the original untouched :)

Actually it would just be cool if Apple allowed us to add Podcasts to the top of the autofill list, since that function already does the conversion to 128 AACs :(



[ Reply to This | # ]