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

Click here to return to the 'Smart playlists to the rescue.' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Smart playlists to the rescue.
Authored by: leenoble_uk on Apr 13, '05 03:52:00PM

I have a script in my iTunes menu which will allow me to quickly add keywords to any song or selection of songs.
Then I just have a bunch of smart playlists for each of the keywords. You can add as many keywords to the list as you like, I usually have a lot more than shown here:

tell application "iTunes"
	set theAddedCommentList to {"Rock", "Pop", "Folk", "Metal", "Punk", "Kitsch", "Comedic", "Guitar", "Piano", "Instrumental", "Upbeat", "RESET"}
	set these_tracks to the selection of browser window 1
	if these_tracks is {} then
		set this_track to current track
		set these_tracks to these_tracks & {this_track}
	end if
	set theComment to (choose from list theAddedCommentList with prompt ("Select a keyword to add. Current filters: "))
	repeat with the_track in these_tracks
		if theComment is not false then
			set newcomment to (comment of the_track) & " " & theComment
			set newcomment to (comment of the_track)
		end if
		if theComment is "RESET" then
			set newcomment to ""
		end if
		set (comment of the_track) to newcomment
	end repeat
end tell

The script is fairly unrefined as I'm not sure the rest command works.

You should also check out this posting over at codepoetry which has a nice idea for organising your music.

So, I said ... well, I can't actually remember exactly what I said. But it was one of the most enormously cruel and frighteningly witty put downs ever.

[ Reply to This | # ]

Smart playlists to the rescue.
Authored by: GalainHH on Apr 14, '05 03:56:17AM

Excellent. I recently switched from normal to smart Playlists and had to edit each song by hand. This Script is a great improvement for this.

Thank you


[ Reply to This | # ]