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

Use a Smart Playlist to see unchecked songs in iTunes Apps
I have iTunes set up such that it only transfers checked songs to my iPod. This means i have a number of songs in my library which are unchecked. But there is no direct way to organize songs by checked/unchecked status, so I tried to come up with a way that I could have all unchecked songs in a Smart Playlist. Here is what to do:

Part 1: Create a playlist with all checked songs in your library:
  1. Create a new Smart Playlist in iTunes.
  2. Uncheck "Match the following condition" in the new playlist dialog. This will cause all songs to be in the playlist.
  3. Check the box by "Limit to" and fill it out with a very large number -- one that is much larger than the number of songs in your library (say, 300,000). Again, this will cause the playlist to include ALL songs.
  4. Check "Match only Checked Songs" and leave "Live Updating" checked. This will only match songs that are checked.
  5. Click OK and name the Playlist "Songs (Checked)".
This playlist now includes all the checked songs in your library.

Part 2: Create a playlist with all the unchecked songs in your library:
  1. Create a new Smart Playlist in iTunes.
  2. This time, leave "Match the following condition" checked.
  3. As the condition, select "Playlist is not 'Songs (Checked)'"
  4. Click OK and name the Playlist "Songs (Unchecked)".
This playlist now includes all the UNchecked songs in your library. A bit of a roundabout way, but works nonetheless.

[robg adds: This worked for me, though I think the upper Limit value is 99,999 -- I got a beep if I tried six digits. It always struck me as odd that there wasn't an easy way to see your unchecked songs; this is a nice workaround.]
    •    
  • Currently 4.55 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (11 votes cast)
 
[30,228 views]  

Use a Smart Playlist to see unchecked songs in iTunes | 10 comments | Create New Account
Click here to return to the 'Use a Smart Playlist to see unchecked songs in iTunes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Applescript to the rescue
Authored by: Graff on May 31, '05 11:42:34AM

You can do this with a simple Applescript:


tell application "iTunes"
  if (exists playlist "Unchecked") then
    delete playlist "Unchecked"
  end if
  make new playlist with properties {name:"Unchecked"}

  set unenabledTracks to every track of playlist "Library" whose enabled is false

  repeat with aTrack in unenabledTracks
    duplicate aTrack to playlist "Unchecked"
  end repeat
end tell


[ Reply to This | # ]
Applescript to the rescue
Authored by: DougAdams on May 31, '05 01:40:45PM
Yep.

---
Doug's AppleScripts for iTunes
http://www.dougscripts.com/itunes/

[ Reply to This | # ]

Applescript to the rescue
Authored by: porieux on May 31, '05 04:28:17PM

Yeah except that this AppleScript will only create a static playlist.



[ Reply to This | # ]
Use a Smart Playlist to see unchecked songs in iTunes
Authored by: Unsoluble on May 31, '05 02:18:24PM

Just thought I'd mention a different approach to organizing iPod/non-iPod tracks:

I don't use the Comments field for anything, so I wrote a script that adds the comment "iPod" to any selected songs, and called it "Add Tracks to iPod". Wrote another that removes any comments; "Remove from iPod".

Then I made two smart playlists: One that includes any track with "iPod" in its comments; the other for all the rest. I set my iPod to automatically sync only the "On iPod" smart playlist, and everything works as expected.

Of course, this approach probably doesn't work if you like to make *other* playlists and sync them. But I don't know; I've never used regular playlists.



[ Reply to This | # ]
Use a Smart Playlist to see unchecked songs in iTunes
Authored by: bkpr on May 31, '05 05:48:26PM

...would you be the type of person whomay share these applescipts? I have many unchecked songs in my library that I don't want to put onto the iPod, but still want to listen to when at home.The unchecked songs won't play through (from one to the next) so if I could sync up a playlist that is based on comments, that would solve my problem.

_cheers
_bkpr



[ Reply to This | # ]
Use a Smart Playlist to see unchecked songs in iTunes
Authored by: Unsoluble on Jun 01, '05 02:28:13AM
Sure, I can share. :) I just browsed around for a script on Doug's page (mentioned above) that dealt with changing the comment field, and tweaked it to suit my needs. Here's the one I've got saved as "Add to iPod":
tell application "iTunes"
	set theText to "iPod"
	copy (a reference to (get view of front window)) to thePlaylist
	if selection exists then
		set using_selection to true
		copy (count selection's items) to idx
	else
		set selectedTracks to (get a reference to thePlaylist)
		copy (count thePlaylist's tracks) to idx
	end if
	repeat with i from 1 to idx
		if using_selection then
			copy item i of selection to thisTrack
		else
			copy track i of selectedTracks to thisTrack
		end if
		set thisTrack's comment to theText
	end repeat
end tell
So basically that just checks to see what you've got selected (and if nothing, it takes the current playlist), and then goes through each of those tracks and adds the text "iPod" to the comments field. The other script (saved as "Remove from iPod") is exactly the same thing, but with
set theText to ""
in the second line, which removes the "iPod" comment. Then you just need two smart playlists: One that matches Comments->contains->"iPod", and one that matches Comments->does not contain->"iPod". Hope that helps...

[ Reply to This | # ]
Use a Smart Playlist to see unchecked songs in iTunes
Authored by: Unsoluble on Jun 01, '05 02:32:18AM
While I'm here, a question: Why does the original hint include the step about checking the "Limit to x songs" box, and putting in the huge number and everything? Why not, er, leave the box unchecked, presumably not limiting it...? which was the point, right? I'm confused...

[ Reply to This | # ]
Use a Smart Playlist to see unchecked songs in iTunes
Authored by: Akira on Jun 01, '05 03:58:14AM

because a smart playlist has to have a rule, you can't create smart playlists that do nothing.



[ Reply to This | # ]
Use a Smart Playlist to see unchecked songs in iTunes
Authored by: Knight Rider on Jun 01, '05 11:09:43AM

I created a smart playlist matching the following condition: "Artist does not contain <blank>" (nothing entered in the box). I have the live updating and match only checked songs boxes checked. This gives me my All Checked playlist. No need for limits on the # of songs.



[ Reply to This | # ]
Use a Smart Playlist to see unchecked songs in iTunes
Authored by: Unsoluble on Jun 01, '05 11:32:58AM

Oooohhh, okay, I get it now. Thanks! :)



[ Reply to This | # ]