|
Refresh Smart Playlists Using AppleScript
|
|
|
Let's say that you have a bunch of smart playlists that choose a certain number of random songs of a given genre (or grouping) from your iTunes library. Let's also say that these are synched with your iPod, and thus you would like to automatically refresh those smart playlists, say, once a week so you always have fresh music on yer 'pod. Just set this AS to run once a week using, for example, `crontab` in Terminal:
set playlist_list to {"names", "of", "smart", "playlists", "to", "refresh"}
tell application "iTunes"
repeat with the_playlist in playlist_list
delete (tracks in (first playlist whose name is the_playlist))
end repeat
end tell
For more information, visit this thread on Apple's iTunes discussion page: "refresh smart playlists?"
|
by ek on May 25 | 8:00 am
|
|
Comments
You must be logged in to post comments.
|
|
|
|
Chris Henley: Try this guy out. He has some great stuff. http://ott ...
Chris Henley: IS this site still running? ...
Elizabeth: Now, is there a program that will put these lyrics on your Ipod? That would be genius... :D ...
Sara S: Ah, I see your point now, especially with the running example. About the only workaround there would be to make ...
vaughnn: Sara, Thank you again for your consideration! ...
vaughnn: Good question Sara! I (usually) don't listen to the iPod with it in my pocket and little ear buds plugged into ...
Sara S: I don't think you're really reading what I wrote. Maybe I'm not explaining myself well. I didn't adovcate creating a single ...
|
|
|
|
All Music Guide
Apple iTunes
Daily Tunes
Doug's AppleScripts for iTunes
iPodlounge
MacOSX Hints
MacMinute
ThinkGeek
|
|
XML/RSS Feed
|
|
|