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

Rename The Complete U2 album collection Apps
For Christmas, I bought my wife The Complete U2 from the iTunes Music Store. It's great, but the albums are all named in the format "The Complete U2 - Real Album Name." This is especially annoying because the iPod's screen is exactly wide enough to show "The Complete U2," but not the real album name.

So to ease listening, and to make iTunes' duplicate-finding feature work, I whipped up the following AppleScript. It sets the album to the original album title, and sets the Grouping to "The Complete U2." Oddly, the original files have the exact opposite settings, so the script really just switches them around. If others out there are wondering why the songs are marked in such a way, this script and four or five minutes of your time will stop the questions!
property oldPrefix : "The Complete U2 - "

on run
  tell application "iTunes"
    set theCompleteU2 to every track of playlist 
     "Library" whose album starts with oldPrefix
    log (count of theCompleteU2)
    repeat with eachSong in theCompleteU2
      set realAlbum to eachSong's grouping
      set eachSong's album to realAlbum
      set eachSong's grouping to "The Complete U2"
    end repeat
  end tell
end run
[robg adds: I haven't tested this one yet, as I haven't convinced myself to spend the cash on the whole U2 collection...]
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[7,233 views]  

Rename The Complete U2 album collection | 10 comments | Create New Account
Click here to return to the 'Rename The Complete U2 album collection' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Rename The Complete U2 album collection
Authored by: DougAdams on Jan 05, '05 10:45:43AM

Why not just select all the tracks, Command-I and do a multi-edit?



[ Reply to This | # ]
Rename The Complete U2 album collection
Authored by: maczac on Jan 05, '05 12:31:09PM

This won't work, as it will wipe out the individual album names too.

"The Complete U2 - Rattle and Hum"
"The Complete U2 - Under a Blood Red Sky"

If you get info on these two songs in iTunes the album name will come up blank.

Instead, take about 5-10 minutes, and with your U2 box set in a smart playlist: 1) select them all and enter into the Grouping section "The Complete U2" The grouping tag was not used for any of the songs in the collection. 2) Then sort the list by album, and select each album grouping and delete the "The Complete U2 - " from the beginning of each album name. BE CAUTIOUS: there are several remix albums in the collection, and you could get fooled into deleting that portion. So if in the info window the album name comes up blank, then you have made a selection that IS NOT all the same album name. Cancel out and carefully look at the complete album name and start again.


---
zac



[ Reply to This | # ]
Rename The Complete U2 album collection
Authored by: DougAdams on Jan 05, '05 10:52:12AM

Also, don't be surprised if a future version of the iTunes app implements the Grouping tag the way it's used in the iTMS (I do not know this for certain, but it makes sense). In such a case, you may have wished you didn't alter your Grouping tags. :)



[ Reply to This | # ]
Rename The Complete U2 album collection
Authored by: macubergeek on Jan 05, '05 11:15:51AM

I'm wondering the the bit you are trying to trim out is contained in the file's metadata....



[ Reply to This | # ]
Rename The Complete U2 album collection
Authored by: maczac on Jan 05, '05 12:20:17PM

I did the exact same thing. If the Grouping tag ever gets used in the iPod, then just change it back, no big deal. Put it in the Comments section, instead.

Yes, I am a U2 fan; yes, I already had many of the songs, (including several albums that I didn't have on the family macs/iPods yet!!!); and yes, it was definitely worth the money.

Also have the U2 iPod (believe it or not it looks more elegant (to me) than the white ones).


---
zac



[ Reply to This | # ]
Rename The Complete U2 album collection
Authored by: gdsimms on Jan 05, '05 01:11:16PM
Slightly OT: Why doesn't the iPod use the side-scrolling name feature like it uses for the "Now Playing" track name for anything that is currently highlighted in the column list? I have many long-named albums that I would like to distinguish and renaming is an unsatisfactory solution.

This is another reason I'd like to see an iPod SDK. I'm sure there are hundreds of little tweaks to the UI that the user base would introduce that would improve the usability.

[ Reply to This | # ]

Rename The Complete U2 album collection
Authored by: neier on Jan 05, '05 05:19:36PM
Slightly OT: Why doesn't the iPod use the side-scrolling name feature like it uses for the "Now Playing" track name for anything that is currently highlighted in the column list? I have many long-named albums that I would like to distinguish and renaming is an unsatisfactory solution.
When I got my iPod Photo, I was pleasantly surprised to see that it does exactly that. When the song is playing, only the title scrolls (still), but at least when you are selecting an album, you can see the difference between "Star Wars Episode IV" and "Star Wars Episode V".

[ Reply to This | # ]
Who uses the 'Grouping' tag anyway?
Authored by: gidds on Jan 05, '05 01:54:55PM
I don't buy from the iTMS.  (It's only recently become available here, and by then I'd got hooked on allofmp3.com.)

So instead, I use the 'Grouping' tag for my own purpose: to indicate the source of each track.  Most of the tracks in my library are ripped from my own CDs; a few are ripped from family members' CDs; a number I've recorded off the radio, or from my own tapes or LPs; a good number are from www.allofmp3.com; a few are from other web sites; and a few are from P2P networks.

Last year, my music HD died. Luckily, I had a copy of the iTunes index file, so I knew what tracks I'd had.  But after re-ripping all my CDs &c, I then had thousands of tracks to find from elsewhere, and it took ages — a few I still haven't tracked down.

So this time, I've included the source for each track in its metadata. I already use the Comments field (for performers and other details), which left only the Grouping field free (which I'd never found a use for).  So I've set that to 'CD', 'radio', 'tape', 'P2P', 'Mum', a URL, or whatever to indicate where the track came from.

Of course, I'd prefer to have a custom 'Source' tag; but since iTunes doesn't have any, I'm happy to have the 'Grouping' tag to co-opt.  (I can always use AppleScript to change things in future if one becomes available.)

Does anyone else use the Grouping field for their own purpose?  And does anyone else bother to keep track (ha!) of the sources of their music?

---
Andy/

[ Reply to This | # ]

Who uses the 'Grouping' tag anyway?
Authored by: DougAdams on Jan 05, '05 02:17:41PM

The "grouping" tag (corresponding to the ID3 tag "Content group description") is meant primarily to segregate tracks within an album, mostly useful for Classical tracks (eg: Brandenberg Concerti, six pieces, all "grouping'ed" under "Brandenberg Concerti"--or search the iTMS for Christophe Rousset Bach Harpsichord Works to get a good gander at an example). If you use "Grouping" for your own purposes, you MAY miss out on future iTunes GUI enhancements. Note that the iTMS displays "Grouping" tracks under their own header, which does not yet happen in the actual iTunes app.



[ Reply to This | # ]
Who uses the 'Grouping' tag anyway?
Authored by: lavar78 on Jan 05, '05 08:21:28PM

I use Grouping as an extra Comments field. Using allmusic.com, I added more specific genre information. For instance, Marvin Gaye's general genre is R&B/Soul, but in Grouping I have "Soul, Motown, Urban, Smooth Soul, Blaxploitation, Quiet Storm." This allows me to make really specific smart playlists easily. Obviously, it took a lot of time to input all this info, but I just did it a little at a time.



[ Reply to This | # ]