iTunes is many things - a music/video player, a tool for converting, organising and browsing a music library, a way for managing and loading things onto your iPod/iPad/iPhone. I've noticed quite a few people who don't realise all the crazy things iTunes can do (or at least the various keyboard controls and options), so here's some random possibly useful tips and tricks for managing your music with iTunes. Not an exhaustive list, but it might help. These notes refer to iTunes 10 on PC, and cover the iTunes application for music management and playback (not the iTunes Store).
Browsing And Playing Your Tunes
Main view
The main window is a list of tracks. To start with, this is everything in your library. Use the column browser to filter down to just an artist/album. Right-click the columns to decide which tags get shown. Drag-and-drop columns to re-size or re-order. Left-click a column to sort by that tag, but watch as it's easy to screw stuff up this way. Right-click in the LHS album column and "sort album by title" is a good reset.
Note also the track/time/filesize count at the bottom of the window, very useful for figuring out how big your library is, or playlist/album length.
Column Browser
This lets you select by artist/album/genre, and generally filter or navigate your library. Turn on the "column browser" (View->Column Browser->Show/Hide or use CTRL-B to toggle), then right-click somewhere in the column headings to show/hide selected columns. I recommend Artists and albums as a minimum. This gives you the artist/album browsing you get with your iPod, and just about all other music software. And by selecting "all" in any column, you get a count of the number of artists/albums etc you have for the selected artists - set "all" in all columns to get counts for your entire library. Column browser can be toggled on/off for main library and individual playlists (yes there are reasons why you might have a massive playlist requiring such a browser, such as
this).
View Buttons
The four view buttons top right affect the library or current playlist view in very different ways:
- Song List - shows a list of all tracks (filtered if column browser on)
- Album List - modified version of "song list" with tracks grouped by album, artwork in LHS column
- Grid - album covers, no visible tracklisting, slider controls image size and number of covers displayed
- Cover Flow - two panel view, covers and song list, similar to flipping an iPod 90 degrees, no column browser
Playlists
Do "file->new playlist" to create. If you want to organise things, "file->new playlist folder" creates the folder, select the folder first to create new playlists in that folder, and drag/drop playlists into folders. Drag any single/multiple selected tracks (or even whole albums) from the library view or column browser onto a playlist to add (options also available bt right-clicking and doing an "add to playlist").
Playlists do contain a "track order in this playlist" pseudo-tag in the far LHS column. It won't show up in the track info properties, but it can be used to control the tracklist order, so if you're carefully crafting a mixtape and you accidentally click the artist column heading, you should be able to retrieve your intended tracklisting.
Smart Playlists
These are basically saved searches - your playlist changes as you add stuff to your library. iTunes adds a few examples (top rated, recently added) as default. Some random examples I like:
- Songs with the word "dog" in the title
- Songs from a specific year - just set the date range. Useful for finding what came out this year.
- Untagged - search where artist is "". Useful for finding any songs with missing tagging info.
- High/low bitrate - search where bitrate is greater/less than 192.
- Most played - "Media Kind" is not podcast, "Plays" is greater than zero, limit to say 25 items selected by "most often played". Works for tracks, but if you're a "whole albums" fan, add a "track number is 1" filter to get a good approximation of what your favourite albums are.
Just right-click and edit a smart playlist to tweak the search criteria.
Sharing Playlists With Other Applications
You can export a playlist in different formats eg. text, CSV, M3U - standard M3U playlists list the files (in the playlist order shown when you export) and can be opened and played in any other music player (eg. Foobar). Not tried importing yet.
Playing Your Tunes
If you actually want to use iTunes as a music player, well the playlist is whatever's listed in the main window (an album, playlist, library full of tracks). You have play/pause, next/previous track, a track position slider, volume controls, and you can run as large or minimal (CTRL-M) window. Not much more to say, really.
Playing files in your iTunes library outside of iTunes
A typical scenario - using iTunes to manage your library and feed your iPod, but pointing a music streamer to those files for playing in the house. Just find the file(s) and either play from there or copy it to your other library (get track info or check your iTunes library location in the preferences). I feed my Sonos this way for adding stuff I can only buy as low-bitrate MP3 to my main library (mostly FLAC).
Crossfading
Annoyingly, the crossfade option is under the "Edit->Preferences->Playback" settings, so it's hard to toggle on/off. Use crossfading to smash tracks into each other for your own playlist mixes or when shuffling to get continuous music, but it shouldn't ever be used if listening to albums. And you don't need to do the crossfading hack as a workaround for gapless...
Gapless playback
Yes, iTunes is gapless! This is really awesome (or just "minimum standard" if you were alive in the 90s). No nasty adding extra gaps between songs, you get exactly what was on the CD (unless you're crossfading).
iTunes (and also iPods) even do gapless playback of "non-gapless" formats like MP3 and AAC - it does this by figuring out exactly how long the tracks should be (a traditional blocker on gapless playback) when songs are ripped/converted/imported. Note that any extra track length information iTunes finds to enable gapless playback is stored in the iTunes library, not in the actual track, so just because a track plays gaplessly in iTunes, you aren't guaranteed correct playback in some other application.
Managing Your Tunes
Importing tracks from elsewhere
So you can populate your library with iTunes purchases. You can get tracks by ripping CDs, except you should use a better ripper (eg. EAC). You can also just add tracks you bought, ripped or otherwise found elsewhere. Just do a "File->Add File/Folder to Library". If iTunes is managing your files and copying imported stuff, then iTunes will copy the files into your "iTunes Music" folder under whatever artist/album they're tagged as. Best thing to do is keep a temp "iTunes import" directory around for this purpose - copy any new files into the import directory, fire up iTunes and do an import, then clean up the temp copies in the import directory. Of course, if you're managing files yourself, put them in the correct place
before you add them to the library. See the "File Locations" section below for more.
File Info / Tagging
Having your stuff tagged is really important. Right-click on a track and select "get info" to see the tags and change them ("info" tab). Select a whole bunch of tracks and get info to do a "bulk tagging" operation, for those times when you want to change an album title, re-classify an album, list an artist consistently etc. All the tracks in the library, playlists etc. are referenced by an internal ID not track names, so you won't screw up a playlist if you rename a song.
Note that iTunes doesn't really "do" albums, it's all track-based, and an album is simply a collection of tracks that all have the same artist and album.
Artwork
If you have an iTunes store account, iTunes will try find artwork for you for your non-iTunes store imported tracks. Select and right-click on some tracks (eg. that album you just imported) and do a "get album artwork". The album cover grid view (top right by the search box) lets you find and select large groups of artwork-free albums.
There's also an "Automatically download missing artwork" option in the "Edit->Preferences->Store" settings.
If iTunes can't find the artwork (did you spell the artist/album title the way it is in the iTunes store?), or just gets it wrong, manually add your own by doing a "get info" on all the tracks in the album, selecting the "info" tab, and dragging the artwork file from an open file explorer window into the little artwork box. Ok the changes and watch as the artwork is applied. Of course, this means more effort to go find the artwork, but if you're just adding tracks you ripped elsewhere, you probably already have an artwork file.
Note that album artwork may be stored either embedded in the files, or, if you had to add the artwork within iTunes, it'll be somewhere in the "iTunes/Album Artwork" folder.
Ripping CDs / Importing
Don't use iTunes to rip CDs, it'll do quick, inaccurate rips (even with error correction turned on). Use
EAC instead. However, it's worth noting that the current import settings (edit->preferences->general->import settings) apply to ripping CDs, converting to different formats, and importing from external programs (eg. iTunesEncoder).
Remote-controlling iTunes
iTunes actually has an API allowing external access, so you can use something like iTunesEncoder to drive the conversion/importing (something I do to get gapless AAC versions of my FLAC files into iTunes). This probably warrants its own post, but it's one more cool little feature.
Managing your iPod
See the post on
Feeding a small iPod from a big library.
Where's My Stuff?
File Locations / Managing Files
You can either let iTunes manage where your files go, or you can manage it yourself. As this is a big decision, often debated buy guys on forums with nothing better to do (oh wait, that's me), I've given this topic its own post:
Beware The "Keep Media Folder Organised" Option.
The settings are in the edit->preferences->advanced dialog: "iTunes media folder location", "keep iTunes media folder organised" and "copy files to iTunes media folder when adding to library". This dialog also tells you where your files live (if iTunes is managing them). Alternatively, inspect the properties of a track ("get info").
How The iTunes Library Is Stored
iTunes stores your library as both a series of ".itl", ".itdb" files, and a very large "iTunes Music Library.xml" file. You can open the XML file in a text editor and see how it works - each track has a unique ID and a series of values for each of the tagged fields (same as doing a "get info" on a track), each playlist is just a list of the track IDs.
Sometimes things go wrong and your database files get corrupted. iTunes does create a "Previous iTunes Libraries" folder, in the worst cases of corrupted ".itl" files you should be able to replace the broken library with one of these, but you will lose recent playlist changes.
Backups
The most basic backup is a backup of the music files. Simplest way to backup is to copy your entire iTunes music folder, if you have one. If your music is strewn all over your hard drives then things are more difficult, but then that's the choice you made. This only saves your music, so worst case (dead PC and a clean iTunes install), you'll have to do an "add folder to library" to suck all the files back in, and live with losing playlists, playcounts and artwork.
Better to copy the entire "iTunes" folder, to keep music files, artwork, and the "iTunes library" files.
Recovery
The most basic recovery is a fresh install of iTunes, a folder of all the previous MP3 etc files, and leaving an "add folder to library" running for an hour. You'd have to recreate any playlists, and all your playcounts/ratings/artwork are lost. A full recovery would involve using the old library files - I've never actually attempted this, so some RTFMing might be in order.
Bugs, Issues Etc
Album displayed twice
Sometimes, an album will be displayed as two different albums, eg. a copy of the album with the first track, and a copy of the album with all the other tracks. Sometimes, this is just tagging errors, making iTunes think the tracks belong to different albums. Sometimes it just seems like a bug. It's most obvious on the album list. One way to fix is to select all tracks on the album, get info, tick "artist", "album" and "year" fields (which probably look the same across all tracks on the two supposedly different albums), and OK your "changes", the song list should now display as a single album.
Not all of an album copied / track missing
iTunes does its best to sync everything you tell it to, but if you ask it to sync more than you have space for, it sometimes makes odd decisions. I mostly notice this when using my big "chunk of my big library that I want on my smaller iPod" playlist and having the whole playlist be what's copied to the iPod. Typically, I add an album, then when I go to play it, the first track (and strangely it's always the first track) is missing. Sadly, iTunes doesn't give you any kind of warning when it can't sync everything you asked it to - you have to manage that yourself. And to make matters worse, even when there's supposedly still "free space" shown when you view the iPod in iTunes, it seems that you can't use all the space.
iTunes and the iPod are not the same
The "iTunes app" used on iPods/iPhones is not identical to iTunes on PC/Mac. For example, iTunes seems to be fairly forgiving of case in tags, but an iPod (at least the first generation iPod touch) can get a bit confused between, say, "Alice In Chains" and "Alice in Chains", and start listing artists twice.
iTunes is slow and unresponsive
Sadly, when it comes to performance, iTunes is a big bloated mess. Deal with it, be patient, buy a faster PC, hope apple work on performance instead of adding features...