TweetFollow Us on Twitter

Smarter Playlists

Volume Number: 21 (2005)
Issue Number: 4
Column Tag: Power User Tips

Smarter Playlists

by Jason Sims

Getting More Out of iTunes with Smart Playlists

As Apple's most popular application of all time, iTunes needs no introduction. We all know what it is and what it does - and not just because Apple has made so much noise about it, but also because it's so elegantly simple that anyone can use it without ever reading so much as an opening paragraph about it.

However, it strikes me that the simplicity that has made iTunes so popular is perhaps also one of its weaknesses. I am often surprised to hear people tell me they found iTunes "too basic" for their needs, unaware of the vast potential hidden under its simple user interface. And those who do like it are still often unaware of most of what it can do, sometimes going to surprising lengths to solve problems in awkward ways, that can be easily handled within iTunes itself.

Smart playlists debuted in version 3 of iTunes, and are one of its most innovative - and overlooked - features. They provide a powerful means of organizing your music library, and, as I'll explain, they can be used for several other purposes as well. As your music library grows, smart playlists will prove increasingly indispensable for solving a variety of different problems.

Smart Playlist Basics

The basic concept of smart playlists is pretty straightforward. A list of rules can be defined, and any matching songs in your music library will appear in the playlist. The "live updating" feature lets the playlist contents update automatically whenever your library changes.

iTunes ships with a few basic smart playlists, such as Top Rated and 90s Music, which match the highest-rated songs in your library, and songs whose year is in the range of 1990-1999, respectively. You can control-click (or right-click, if you have a multi-button mouse) on a smart playlist and select "Edit smart playlist" to view or change its rules.

    Tip: option-click the New Playlist button in the lower-left corner of the window to create a Smart Playlist.

    Tip: option-click a smart playlist to go directly to its rules.

So, some obvious ideas for smart playlists include collecting songs from a certain time period, grouping related genres (I have a "Disco & Funk" playlist that includes songs from both of these genres), listing the songs you've rated the highest, or played most often, and so on. Now let's look at a few things we can do that might not be quite as obvious.

Combining Rules

Smart playlists are pretty flexible. You can make rules based on any of the info that iTunes can store about a song - even things like sample rate and file size. But one way in which they're limited is that you can only specify whether all of the conditions must be matched, or any one of them.

Programmers, and particularly database developers, should see the problem fairly quickly. You can't say that you want the genre to be jazz or blues, and have a rating of 3 stars or higher. If you set it to match "all" rules, your playlist will be empty, because the genre would have to be both jazz and blues (try telling a jazz or blues fan that they're the same thing, and see what happens!), and if you set it to match any of the rules, you'll get all your jazz songs and all your blues songs, regardless of their rating, and every song with a rating of 3 stars or higher - jazz, blues, or otherwise!

But that doesn't mean it can't be done. In iTunes 4.5, Apple quietly added another option to smart playlists - a condition called "Playlist". This rule lets you specify whether to include a song based on whether it is, or isn't, in one of your other playlists. The beauty of this is you can select another smart playlist for this condition, and thereby combine sets of rules.

Create a smart playlist that matches "any" of the following conditions: genre contains "Jazz", or genre contains "Blues". Then create a second smart playlist that matches "all" of the following conditions: a rating of 3 stars or higher, and playlist "is" your jazz & blues playlist (the grammar is a little awkward, but it gets the job done).

Special Collections

It's easy enough to make a smart playlist that lists all of your Eric Clapton collection (by adding rules for matching his name, as well as Cream and The Yardbirds, in the artist field), or your Mozart collection (by matching his name in the composer field - because the artist field of classical recordings lists the performer(s) of the piece rather than the composer). You can also group all the music of a group that likes to go under different pseudonyms, or make a collection of a favorite artist that includes not only original works, but any remixes he or she has done, of other people's music. With a little extra data entry, you can make some other kinds of collections too.

Record Label Collections

Although the (shrinking number of) big record labels are still responsible for releasing the majority of the most popular music, independent labels are thriving more than ever before, with dozens of new ones starting up every month, all around the world. As a result, many people have favorite record labels they follow. A name like Sony or BMG doesn't give you any idea what kind of music you'll hear on a given recording, but fans of labels such as Warp Recordings or Ninja Tune can be pretty sure they'll be interested in an album bearing those names. The same could be said for the legendary Verve jazz label, or the Deustche Grammophon classical label.

You can use smart playlists to create collections of your favorite record labels. iTunes doesn't have a "Label" field in its song info, but you can enter the label in the comments field. When I import new CDs into iTunes, I enter the label name in the comments (you can do this on all the songs on a CD at the same time, by first selecting all of them, then opening the Song Info window - choose "Get Info" from the File menu, or press command-I). I don't bother doing this for major labels, but I make sure to do so for all the independent ones. Not only can I make smart playlists to collect all their releases, but iTunes' search field works with anything you enter into the comments as well.

If you're really neurotic about it (like I am), you can enter the catalog number of the release in the comments field as well. In your smart playlist, enable the comments column, and you can sort the collection by release number too.

    Tip: control-click (or right-click) in the headings of any list to quickly enable or disable columns of information.

Saving Disk Space

As your music collection grows, your available hard disk space shrinks. You might be surprised how quickly your iTunes library eats up your disk space. Fortunately, we can use smart playlists to help keep it under control.

AACk!

iTunes' default encoding settings for MP3 files are 128 Kbps, 160 Kbps, and 192 Kbps. Higher bit rates result in better-sounding music at the cost of larger file size. Just like JPEG, MP3 (which means MPEG-1, layer 3) is a lossy compression format; this means some data is being discarded as part of the compression process. 128 Kbps is commonly recognized as the bare minimum MP3 bit rate for good quality, stereo music compression.

In recent years, with larger hard drives becoming standard, most people have moved up to bit rates of 160 or 192 Kbps, which can produce a noticeably higher quality representation of the original recording. As a result, MP3 libraries grow in size faster than ever before.

Fortunately, there's a great solution for this problem, which has been emerging over the past couple years. It's called AAC - advanced audio coding - and it's been available in iTunes since version 4.0. AAC is part of the new MPEG-4 suite; it's the new codec that's designed to replace MP3, designed by the same people who created the MP3 format (Fraunhofer), in collaboration with Dolby, AT&T, Sony, and Nokia. The AAC codec produces higher quality audio files than MP3 which are at the same time smaller in size. A 128 Kbps AAC file sounds better than a 320 Kbps MP3 file. As file size is directly related to bit rate, a 128 Kbps AAC file uses the same amount of disk space as a 128 Kbps MP3 file.

So what's the catch? Well, not all music software and devices can play AAC files yet. As it's part of the same MPEG standard that included MP3, you can bet that most software and devices will eventually support it, but you must decide whether to go AAC or not based on your particular needs. Does your car have a CD player that can play MP3 files? It probably can't play AACs.

Fortunately, any Mac or Windows user can play AACs with iTunes or QuickTime, and all iPods (even the original 5 GB one) have been able to play AAC files since the iPod update that was released at the same time as iTunes 4.0. RealPlayer can play AAC files too - but why would you want to use that? Traktor DJ Studio (a popular DJ application from Native Instruments) can't play AACs yet, but by the time you read this, version 2.6 should be available, which adds - among other things - AAC support.

If you've ever bought a song on the iTunes Music Store, you're already using AAC files. All songs in the iTMS are encoded in the AAC format.

    At this point you're probably wondering what all of this has to do with smart playlists. Glad you asked. A smart playlist can be used to find any MP3 files in your library that you might want to convert to AAC. This is a great way to save disk space without sacrificing quality.

    Now, there are two ways of doing this. If you have the original CD (you do have the original CD right?), the best way to convert it to AAC is to insert the CD, and re-import it to your library. This method will give you the best quality, because no data will have been lost in MP3 encoding. iTunes has a handy feature that can help with this process - when you import songs that already exist in your library, iTunes will offer to replace the existing copies, which saves you the trouble of finding and deleting the MP3s, and has the added bonus of preserving the play count and rating of the songs. One thing to watch out for here: this won't work if the song or artist names have been changed since they were imported. It's worth double-checking, ahead of time, that the song and artist names match. If not, change the info on the CD itself to match your existing songs.

    And now, for the smart playlist. Create a new smart playlist with a single rule: Kind contains "MPEG". This will find all your MP3 files, and serves as a list of MP3s you may want to re-encode as AAC for higher quality and possibly smaller files.

Okay...what if you don't have the original CD? A smart playlist can help here too. MP3 files (with bit rates as high as 320 Kbps) can be re-encoded directly to AAC format (at the default 128 Kbps) with no audible loss of quality (this is a point that's heavily debated by audiophiles, but try it out and see for yourself).

You can use a similar playlist to the one described above, to track down MP3 files that should be converted to AAC, but we'll want to use one more condition this time. If a song has already been encoded as an MP3, it's not possible to improve the quality by converting it directly to AAC, so the only reason we'd want to do that is if we're going to save some disk space. Therefore, there's no point in re-encoding 128 Kbps MP3s as AAC - there will be no benefit. So we'll add another condition to the smart playlist for this one: bit rate is higher than 128 Kbps.

As you re-encode songs to the AAC format, you will need to delete the original MP3 files. Unfortunately, this method will not preserve the original song's play count. Other information, such as your rating, will be retained.

    Tip: to delete a song from your library, within a smart playlist, hold down the option key while you press delete. This works in regular playlists too, where the delete key by itself would only remove the song from the playlist, not your library.

Should They Stay Or Should They Go?

If there are several thousand songs in your library, chances are you don't really like all of them, but don't have time to go through the list on a regular basis and decide which ones to keep. You can use a smart playlist in conjunction with the play count and rating fields to help find the ones you don't really want.

A song's play count increments at the end of the song, not the beginning. This means if you listen to half of a song, then skip to the next one, its play count won't increase. Besides helping you flesh out songs that you don't listen to at all, this also means you can track songs that you don't mind, but seem to go on a little too long. So, an obvious way of measuring songs you don't want is by play count. Your first rule in this playlist will be: play count is 0.

But that won't quite cut it. If you've imported 5 of your favorite CDs in the past week, but haven't had a chance to listen to them in iTunes yet, you don't want them to appear in this list. The best way to handle this is to give songs a rating as soon as possible. Different people have different rating scales, but one suggestion to consider is you probably won't want to keep any songs you don't like at all, so your rating scale most likely won't need to include a rating for "terrible". A good way to handle this is to give a song 1/5 stars if you don't like it much, and are only keeping it for the sake of having a complete album.

Whatever system you devise, keep it consistent. In any case, you can use a second rule in this playlist to help find songs you don't like very much. Mine is set to match only a rating of 0/5 stars (unrated), but if you want to be pickier, you can set it to match any song with a rating under 3 stars. And if you want to leave unrated songs alone, try setting it to a range of 1-2 stars. Adjust this setting to suit your own style.

Finally, we'll need one more rule. If you've just bought a new album, and haven't had a chance to listen to it yet, you won't want it to appear in this list. But if you've never heard it before, you can't really rate the songs yet, right? So we'll add a third condition: date added is not in the last 3 months. This gives a song a full three months to either be listened to all the way through, or given a satisfactory rating, before it winds up in the list.

So now you have a smart playlist that lists songs that are probably just wasting your disk space. Remember that you must use option-delete to delete a song from your library, from within a playlist.

Maintaining Your Library

There are many benefits to keeping your library organized, but you must make sure to maintain the song info in your music library to get the maximum benefit from iTunes' various features. You should try to rate all of your songs, and make sure they all have the correct artist name, genre, and other information. Smart playlists can help here too.

Browsing For Problems

You can use the browse mode in iTunes to help correct mistakes in genre or artist names. If you've misspelled a genre, or notice that some of your Doors songs are listed as "The Doors" while others are just "Doors", you can fix these problems in browse mode.

Let's fix this specific example. One cool thing iTunes does is lists artist names that begin with "A" or "The" by the first letter of the next word. So you'll find "Doors" and "The Doors" right next to each other, in the D section of the list. "The Who" will be in the W section. Anyway, what we can do is select, in the browser list, the "Doors" entry (which does not begin with "The"), and then press command-I to get info. iTunes will ask you if you're sure you want to edit information for multiple items. Type "The Doors" into the artist field, and all the songs will be updated accordingly. Now all your Doors songs will be under "The Doors" when you browse in iTunes and on your iPod.

One more example. Suppose some of your ambient music is misspelled as "ambiant" (a common mistake). It's easy to spot this in the browser list, where you'll see two similar entries side-by-side. Select the misspelled one, press command-I to edit the info for all of them, and type in the genre name correctly. Now they'll all be joined together in harmony under "ambient".

    Tip: you can use browse mode in any playlist, not just the main library. Just press command-B to open the browser list at the top of any playlist.

    Tip: you can shift-click to select multiple items in the browser lists.

My Genre-ation

You can use a smart playlist to list any songs that don't have a genre. This is important for playlists based on genres, and also when browsing. You'll want to make sure all your jazz songs have their genre set to "jazz", or they won't show up in your "Jazz & Blues" playlist, and you won't see them when you browse for jazz in iTunes or on your iPod. This playlist doesn't solve the problem of incorrect genres, but it will at least track down songs that have no genre at all. You can use this in combination with the browse mode tips above to get your genres under control.

Rate Me!

Ratings are an important part of iTunes. It's not much trouble to assign a rating to a song. You don't even have to switch to iTunes to do it - you can rate the currently-playing song in the iTunes dock menu; just click-hold on the icon, or control-click/right-click it. Assigning song ratings makes it possible to create smart playlists of your favorite songs, and the Party Shuffle mode has an option to play higher-rated songs more often.

If you have more music than your iPod can hold, you can create a smart playlist that selects a certain amount of songs based on highest rating. You can limit the playlist to a specific size in MB or GB - perfect for filling up your iPod with your favorite songs, automatically.

So, you may find it helpful to create a smart playlist that lists unrated songs, to help you track down which ones still need to be rated. Naturally the playlist will have the rule: Rating is 0/5 stars. You may also want to add another rule: Date added is not in the last 3 months. This gives the song a reasonable amount of time to be heard before you decide on a rating.

Party Time

There's one problem with using smart playlists to track down songs you might want to delete, songs that need to be rated, or ones without a genre: If you delete or modify a song while it's playing in one of these playlists, playback will stop, and you'll have to press play again each time you make a change. It can be pretty time consuming to go through these lists, so you'll often want to use shuffle mode and let these playlists play while you're working on something else.

Suppose you are listening to your unrated playlist while you're working on something. You can assign a rating at any time with the iTunes dock menu - but what will happen is that, once the song has a rating, it doesn't match the conditions for the list anymore, and it will immediately disappear from the list, stopping playback! Now you have to stop what you're doing and go into iTunes to resume playback, and the play count for that song won't get incremented either...a bit of a pain.

Enter Party Shuffle. This relatively new feature in iTunes works very well with "utility" playlists. At the bottom of the Party Shuffle list, you can specify which playlist it should randomly choose songs from. Select your unrated, genre-less or "to be deleted" playlist, and set it to display at least 10 recently played songs. Now you can let the playlist run while you're working on something else, and come back to it once in awhile to delete songs you didn't want, or add the correct genre, without interrupting playback.

For your unrated song list, it's even easier. You can simply use the iTunes dock menu to assign a rating to each song while it's playing. Unlike when you're playing them directly from the unrated playlist, the song will continue playing, and you won't have to switch to iTunes at all.

That's A Rap!

That's all for now, folks! As you can see, it's well worth exploring the hidden depths of iTunes, particularly the smart playlists. With a little bit of imagination, you should be able to come up with all kinds of ideas for your own smart playlists to organize your music the way you want it.

iTunes has plenty of other secrets up its sleeves. Stay tuned to MacTech for more iTunes power user tips and tricks!


Jason Sims has been a Mac user since the mid-1980s. He worked for the popular Inside Mac Games website for five years, as senior editor, system administrator, and website developer. He has also written for MacHome. Jason is now working as a graphic designer and website developer for his own company, Symmetriq. In addition, he produces music (on the Mac, of course) under the name Stormchild. Jason also does artwork in both digital and natural media. You can find out more at www.stormchild.net, or reach him at jason@stormchild.net.

 
AAPL
$116.47
Apple Inc.
+0.16
MSFT
$47.98
Microsoft Corpora
-0.72
GOOG
$537.50
Google Inc.
+2.67

MacTech Search:
Community Search:

Software Updates via MacUpdate

Cobook 3.0.7 - Intelligent address book....
Cobook Contacts is an intuitive, engaging address book. Solve the problem of contact management with Cobook Contacts and its simple interface and powerful syncing and integration possibilities.... Read more
StatsBar 1.9 - Monitor system processes...
StatsBar gives you a comprehensive and detailed analysis of the following areas of your Mac: CPU usage Memory usage Disk usage Network and bandwidth usage Battery power and health (MacBooks only)... Read more
Cyberduck 4.6 - FTP and SFTP browser. (F...
Cyberduck is a robust FTP/FTP-TLS/SFTP browser for the Mac whose lack of visual clutter and cleverly intuitive features make it easy to use. Support for external editors and system technologies such... Read more
Maya 2015 - Professional 3D modeling and...
Maya is an award-winning software and powerful, integrated 3D modeling, animation, visual effects, and rendering solution. Because Maya is based on an open architecture, all your work can be scripted... Read more
Evernote 6.0.1 - Create searchable notes...
Evernote allows you to easily capture information in any environment using whatever device or platform you find most convenient, and makes this information accessible and searchable at anytime, from... Read more
calibre 2.11 - Complete e-library manage...
Calibre is a complete e-book library manager. Organize your collection, convert your books to multiple formats, and sync with all of your devices. Let Calibre be your multi-tasking digital... Read more
Herald 5.0.1 - Notification plugin for M...
Note: Versions 2.1.3 (for OS X 10.7), 3.0.6 (for OS X 10.8), and 4.0.8 (for OS X 10.9) are no longer supported by the developer. Herald is a notification plugin for Mail.app, Apple's Mac OS X email... Read more
Firetask 3.7 - Innovative task managemen...
Firetask uniquely combines the advantages of classical priority-and-due-date-based task management with GTD. Stay focused and on top of your commitments - Firetask's "Today" view shows all relevant... Read more
TechTool Pro 7.0.6 - Hard drive and syst...
TechTool Pro is now 7, and this is the most advanced version of the acclaimed Macintosh troubleshooting utility created in its 20-year history. Micromat has redeveloped TechTool Pro 7 to be fully 64... Read more
PhotoDesk 3.0.1 - Instagram client for p...
PhotoDesk lets you view, like, comment, and download Instagram pictures/videos! (NO Uploads! / Image Posting! Instagram forbids that! AND you *need* an *existing* Instagram account). But you can do... Read more

Latest Forum Discussions

See All

Ubisoft Gives Everyone Two New Ways to E...
Ubisoft Gives Everyone Two New Ways to Earn In-Game Stuff for Far Cry 4 Posted by Jessica Fisher on November 21st, 2014 [ permalink ] | Read more »
Golfinity – Tips, Tricks, Strategies, an...
Dig this: Would you like to know what we thought of being an infinite golfer? Check out our Golfinity review! Golfinity offers unlimited ways to test your skills at golf. Here are a few ways to make sure your score doesn’t get too high and your... | Read more »
Dark Hearts, The Sequel to Haunting Meli...
Dark Hearts, The Sequel to Haunting Melissa, is Available Now Posted by Jessica Fisher on November 21st, 2014 [ permalink ] Universal App - Designed for iPhone and iPad | Read more »
Meowza! Toyze Brings Talking Tom to Life...
Meowza! | Read more »
Square Enix Announces New Tactical RPG f...
Square Enix Announces New Tactical RPG for Mobile, Heavenstrike Rivals. Posted by Jessica Fisher on November 21st, 2014 [ permalink ] With their epic stories and gorgeous graphics, | Read more »
Quest for Revenge (Games)
Quest for Revenge 1.0.0 Device: iOS Universal Category: Games Price: $4.99, Version: 1.0.0 (iTunes) Description: The great Kingdom of the west has fallen. The gods ignore the prayers of the desperate. A dark warlord has extinguished... | Read more »
Threadz is a New Writing Adventure for Y...
Threadz is a New Writing Adventure for You and Your Friends Posted by Jessica Fisher on November 21st, 2014 [ permalink ] In the tradition of round-robin storytelling, | Read more »
SteelSeries Stratus XL Hardware Review
Made by: SteelSeries Price: $59.99 Hardware/iOS Integration Rating: 4 out of 5 stars Usability Rating: 4.5 out of 5 stars Reuse Value Rating: 4.25 out of 5 stars Build Quality Rating: 4.5 out of 5 stars Overall Rating: 4.31 out of 5 stars | Read more »
ACDSee (Photography)
ACDSee 1.0.0 Device: iOS iPhone Category: Photography Price: $1.99, Version: 1.0.0 (iTunes) Description: Capture, perfect, and share your photos with ACDSee. The ACDSee iPhone app combines an innovative camera, a powerful photo... | Read more »
ProTube for YouTube (Entertainment)
ProTube for YouTube 2.0.2 Device: iOS Universal Category: Entertainment Price: $1.99, Version: 2.0.2 (iTunes) Description: ProTube is the ultimate, fully featured YouTube app. With it's highly polished design, ProTube offers ad-free... | Read more »

Price Scanner via MacPrices.net

Save up to $400 with Apple refurbished 2014 1...
The Apple Store has restocked Apple Certified Refurbished 2014 15″ Retina MacBook Pros for up to $400 off the cost of new models. An Apple one-year warranty is included with each model, and shipping... Read more
New 13-inch 1.4GHz MacBook Air on sale for $8...
 Adorama has the 2014 13″ 1.4GHz/128GB MacBook Air on sale for $899.99 including free shipping plus NY & NJ tax only. Their price is $100 off MSRP. B&H Photo has the 13″ 1.4GHz/128GB MacBook... Read more
Apple Expected to Reverse Nine-Month Tablet S...
Apple and Samsung combined accounted for 62 percent of the nearly 36 million branded tablets shipped in 3Q 2014, according to early vendor shipment share estimates from market intelligence firm ABI... Read more
Stratos: 30 Percent of US Smartphone Owners t...
Stratos, Inc., creator of the Bluetooth Connected Card Platform, has announced results from its 2014 Holiday Mobile Payments Survey. The consumer survey found that nearly one out of three (30 percent... Read more
2014 1.4GHz Mac mini on sale for $449, save $...
 B&H Photo has lowered their price on the new 1.4GHz Mac mini to $449.99 including free shipping plus NY tax only. Their price is $50 off MSRP, and it’s the lowest price available for this new... Read more
Check Apple prices on any device with the iTr...
MacPrices is proud to offer readers a free iOS app (iPhones, iPads, & iPod touch) and Android app (Google Play and Amazon App Store) called iTracx, which allows you to glance at today’s lowest... Read more
64GB iPod touch on sale for $249, save $50
Best Buy has the 64GB iPod touch on sale for $249 on their online store for a limited time. Their price is $50 off MSRP. Choose free shipping or free local store pickup (if available). Sale price for... Read more
15″ 2.2GHz Retina MacBook Pro on sale for $17...
 B&H Photo has the 2014 15″ 2.2GHz Retina MacBook Pro on sale for $1799.99 for a limited time. Shipping is free, and B&H charges NY sales tax only. B&H will also include free copies of... Read more
New Logitech AnyAngle Case/Stand Brings Flexi...
Logitec has announced the newest addition to its suite of tablet products — the Logitech AnyAngle. A protective case with an any-angle stand for iPad Air 2 and all iPad mini models, AnyAngle is the... Read more
Notebook PC Shipments Rise Year-Over-Year as...
According to preliminary results from the upcoming DisplaySearch Quarterly Mobile PC Shipment and Forecast Report, the global notebook PC market grew 10 percent year-over-year in Q3’14 to 49.4... Read more

Jobs Board

*Apple* Solutions Consultant (ASC)- Retail S...
**Job Summary** The ASC is an Apple employee who serves as an Apple brand ambassador and influencer in a Reseller's store. The ASC's role is to grow Apple Read more
Project Manager, *Apple* Financial Services...
**Job Summary** Apple Financial Services (AFS) offers consumers, businesses and educational institutions ways to finance Apple purchases. We work with national and Read more
*Apple* Store Leader Program - College Gradu...
Job Description: Job Summary As an Apple Store Leader Program agent, you can continue your education as you major in the art of leadership at the Apple Store. You'll Read more
*Apple* Retail - Multiple Positions (US) - A...
Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, you're also the Read more
Senior Event Manager, *Apple* Retail Market...
…This senior level position is responsible for leading and imagining the Apple Retail Team's global event strategy. Delivering an overarching brand story; in-store, Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.