Managing downloaded music from Peel
I recently started using Peel for downloading new music from various Music Blogs. Works like a charm!
Only bad thing is I get pretty flooded with mediocre stuff that I need to get rid of. Unfortunately QuickSilver has no shortcut for “Delete current iTunes track from filesystem and Library”, so I had to set out to get the job done myself. What I eventually landed on was a Automator script that looks like this:
* iTunes action: Get the current iTunes Track
* Finder action: Move to Trash
* Automator action: Run applescript
The applescript looks like this:
on run {input, parameters}
(* Your script goes here *)
tell application “iTunes”
set dbid to database ID of current track
set cla to class of current track
next track
delete (some track of library playlist 1 whose database ID is dbid)
end tell
return input
end run;
Then all I had to do was map a trigger in QuickSilver to run that Application and I was able to delete bad songs the second they started to annoy me!
The application is available for download here.
Delete Current Song.zip