Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Mac Applications / July 2008



Tip: Looking for answers? Try searching our database.

Deleting low-rated podcasts (iTunes)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Howard Brazee - 11 Jul 2008 02:02 GMT
I have tried various tricks to group a couple of hundred low-rated
podcasts together to make it easy to delete them.   I've created a
smart playlist and renamed various fields to "delete me", but I can't
select them to be deleted from there, and I can't change the sort
order of the podcast list.

Anybody have a recommended way to group these in a location that
allows me to delete them?
Gregory Weston - 11 Jul 2008 06:29 GMT
> I have tried various tricks to group a couple of hundred low-rated
> podcasts together to make it easy to delete them.   I've created a
[quoted text clipped - 4 lines]
> Anybody have a recommended way to group these in a location that
> allows me to delete them?

AppleScript (on one line):

tell application "iTunes" to delete (every track whose podcast is true
and rating < 50)

You may want to change the selection clause. The rating that iTunes
shows as 0-5 stars is represented internally as a number from 0-100, so
the start values are {0,20,40,60,80,100}. I use zero stars to mean
"unrated" rather than "really really bad" so I'd probably change the
last part of the clause to 'rating = 20' to accomplish what you're
describing.

If, in the above line, you replace 'delete' with 'get' AppleScript will
show you a list. You can use that to validate before deleting for real.
You could also leverage that smart playlist you've got if the selection
criteria are more complex than this, and use AppleScript to delete
tracks based on their inclusion in that list.

Signature

"Harry?" Ron's voice was a mere whisper. "Do you smell something ... burning?"
  - Harry Potter and the Odor of the Phoenix

Howard Brazee - 11 Jul 2008 14:07 GMT
>AppleScript (on one line):
>
>tell application "iTunes" to delete (every track whose podcast is true
>and rating < 50)

I guess it's about time for me to start playing with AppleScript.

I need one more criterion though - the playcount > 0.   I play a smart
playlist with playcount < 1 and podcast = true.   When I find one I
want to save, I give it a rating.  Most I don't want to save.
Király - 11 Jul 2008 16:53 GMT
> I guess it's about time for me to start playing with AppleScript.

You can delete items from a smart playlist (and thus delete them
entirely) by selecting them, holding down the option key, and then
pressing the delete key.

Signature

K.

Lang may your lum reek.

Howard Brazee - 11 Jul 2008 18:33 GMT
>You can delete items from a smart playlist (and thus delete them
>entirely) by selecting them, holding down the option key, and then
>pressing the delete key.

That did it.   I went to 3 forums before I found someone who knew
this.    Some features are just not easy to learn.  (This is one that
might not be easy to remember!).
Király - 11 Jul 2008 19:24 GMT
> That did it.   I went to 3 forums before I found someone who knew
> this.    Some features are just not easy to learn.  (This is one that
> might not be easy to remember!).

Yeah, and I stumbled across it by accident.

Good rule of thumb:  If a keystroke or mouse click doesn't do what you
want, try it while holding down the option key.  :)

Signature

K.

Lang may your lum reek.

Howard Brazee - 12 Jul 2008 00:16 GMT
>> That did it.   I went to 3 forums before I found someone who knew
>> this.    Some features are just not easy to learn.  (This is one that
[quoted text clipped - 4 lines]
>Good rule of thumb:  If a keystroke or mouse click doesn't do what you
>want, try it while holding down the option key.  :)

Too bad it doesn't indicate that anything is different before I press
Delete.
Király - 12 Jul 2008 00:54 GMT
> Too bad it doesn't indicate that anything is different before I press
> Delete.

My biggest beef with iTunes is that the undo command is always greyed
out.  If I accidentally delete a playlist I have to restore my whole
iTunes library from backup.  A simple command-Z would be so much better.  
I have no idea why this isn't implemented.

Signature

K.

Lang may your lum reek.

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.