Created
November 13, 2012 22:42
-
-
Save timvw/4068934 to your computer and use it in GitHub Desktop.
Use iTunes to convert all non-mp3 podcasts to mp3 in iTunes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "iTunes" | |
set podcast_playlist to some playlist whose special kind is Podcasts | |
set podcasts_to_convert to file tracks of podcast_playlist | |
repeat with podcast_to_convert in podcasts_to_convert | |
set podcast_location to location of podcast_to_convert | |
if not podcast_location is missing value then | |
set podcast_location to "" & podcast_location | |
if podcast_location does not contain "mp3" then | |
convert podcast_to_convert | |
-- display dialog podcast_location | |
end if | |
end if | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment