Recently, I’ve had problems with a couple of the podcasts that I’m subscribed to via iTunes whereby I’ve downloaded a new episode only to find it’s actually a re-post of the previous one with a new description. After deleting the duplicate podcast, iTunes does not download it again (even by forcing an update) but I found a tip (unfortunately I can’t find the original link but there is a Mac OS X hint that sounds similar) that let me to hold the option/alt key and click on the triangle next to the feed name (when the feed is collapsed) to resync the feed, after which it is possible to download all the missed episodes that are still available. I’ve tried this using iTunes v7.0.1 on Mac OS X 10.4.8 – I guess it also works on Windows but I haven’t tried.
Filling the gaps in iTunes album art
I’m not normally that bothered about iTunes updates, but iTunes 7 is a big improvement.
Two of the new features are gapless playback (thank you Apple) – touted as a big boon for classical music lovers but also pretty good for people like me who listen to dance mixes (I may be a 34 year-old family man but there’s an Ibizan clubber trying to escape from inside me) – and automatic download of album art, including a cover browser view to flip through albums jukebox style.
Unfortunately the iTunes album art service obviously has some holes, because most of my collection is still lacking album art. Short of scanning CD inlays and applying the artwork to the tracks manually, there’s not a great deal that can be done, but Mac OS X 10.4 (Tiger) users can make use of an Amazon Album Art Widget.
This handy utility searches Amazon‘s Austrian, Canadian, French, German, Japanese, UK or US sites and finds one or more matches for the currently playing song, which than then be applied as artwork for selected tracks, the currently playing track or the currently playing album. As most of my CDs are from UK or Australian sources (and I suspect iTunes is very US focused) this is doing a great job of filling in the gaps, even if the quality of Amazon’s album art sometimes leaves a bit to be desired. Of course, much of my collection will have long since been deleted from catalogues, but I guess I’m now getting up towards the 80% mark on artwork completeness, which vastly improves the view of my cover browser.
Migrating an iTunes music library between PCs
Until recently, I’ve been running iTunes on a Windows XP PC but I’m in the process of migrating to a Mac OS X system. Whilst most data transfers have been straightforward, I found that, after moving the files to a disk that could be accessed by both the Mac and a PC (i.e. a FAT32-formatted external hard disk), getting iTunes to recognise my library was challenging. I’m sure it’s quite a common scenario so I thought I’d post what I did here so that it can be of use to others.
Whilst my scenario involved moving from iTunes 6.0.4 on a PC to 6.0.5 on a Mac, the principle is the same for moving iTunes music libraries between any two PCs (Mac OS X or Windows).
Apple’s advice for moving your iTunes Music folder is okay for moving files on the same system but their advice for switchers to transfer their iTunes Music Library files from PC to Mac just didn’t work for me (well, it works, sort of, but simply importing the music files into iTunes will lose playlists, history, ratings, etc. and importing the music library file itself will retrieve those items but won’t find the music files because they have moved location). I need to keep the selections because that’s how I determine what will be synchronised with my iPod – quite simply my 47GB music collection will not fit on a 4GB iPod Mini!
Luckily, the extensive article on moving iTunes libraries whilst preserving library data at the HiFi Blog gave me all the necessary steps (although they focus on libraries where iTunes is not used to organise the music – I let iTunes handle that for me). After setting iTunes preferences to point to a folder on my external hard disk (on the Advanced page, under General), I quit iTunes and edited the iTunes Music Library.xml and iTunes Library files that reside in Macintosh HD/Users/username/Music/iTunes/ (even though the music files are on the external hard disk, iTunes keeps its database files in the main user data location), removing all binary data from the iTunes Library file to leave a 0KB length file and replacing all instances of the original library location in iTunes Music Library.xml with the new library location (for me this was from file://localhost/C:Documents%20and%20Settings/Mark/My%20Documents/My%20Music/iTunes/iTunes%20Music/ to file://localhost/Volumes/EXTERNAL%20HD/Music/iTunes/iTunes%20Music/). I found the easiest way to edit the files was on the PC (using WordPad – depending on the size of the music library, NotePad may not cope with the file sizes involved). It’s also worth noting that on a PC, the iTunes Library file has a .ITL extension.
After making sure that the edited files were back in the Macintosh HD/Users/username/Music/iTunes folder and starting iTunes, I was greeted with an Importing iTunes Music Library.xml message before:
Organizing Files
The file “iTunes Library” does not appear to be a valid music library file. iTunes has attempted to recover your music library and has renamed this file to “iTunes Library (Damaged)”.
Actually that message is incorrect. On my system, there is no iTunes Library (Damaged) file but there is a Previous iTunes Libraries folder, which contains a file called iTunes Library 2006-7-12.
iTunes then continued to analyse and determine the song volume for 2344 of the 6766 items in my music library (I’m not sure what this actually means and it seems strange that it was not for the entire music collection) after which it was available for use as normal (almost) with all my tracks, playlists, selections, date last played, etc. I said almost normal because there are a couple of additional playlists (Podcasts and Videos) and the Podcast subscriptions don’t get migrated but that’s easy to fix. Again, it was the HiFi Blog article that helped me out – browse the library to view all music files with a genre of Podcast and drag them onto the Podcasts heading in the source column before clicking on resubscribe for each Podcast to enable new downloads (the existing downloads should all still be available).
The next step was to hook up my iPod which synchronised normally (I vaguely remember selecting that it was connected to a Windows PC the first time I set it up and expected to have to do some reconfiguration for the Mac but it seems that was not required). The only exception was for my purchased music, for which I received the following message:
Some of the songs in the iTunes music library, including the song “songname“, were not copied to the iPod “ipodname” because you are not authorised to play them on this computer.
I found this strange because I’d already accessed the iTunes Music store from iTunes using my Apple ID, and although there was a “Deauthorize Computer…” option on the Advanced menu, I couldn’t see an equivalent option to authorise it (so I naturally assumed it was already authorised). Attempting to access my purchased music in Front Row gave a better clue:
This computer is not authorized to play the selected song.
To authorize your computer, select the song in iTunes and enter the account name and password used to purchase the song from the iTunes Music Store.”
Sure enough, this did the trick, advising me that I had 2 out of a maximum of 5 computers authorised for my music and then allowing me to both play the purchased songs and synchronise them with my iPod.
After running with iTunes on my Mac for a few days now, everything seems to be working okay. The only remaining step is to deauthorise the original Windows XP PC from where I copied my music.
This time it’s Apple who’s heading to court
Generally, news about yet another anti-trust suit bores me. Intended to protect consumer interests against monopolistic suppliers, it seems to me that anti-trust court cases rarely have that effect and are more often than not just a chance to beat up an established supplier when another vendor’s product fails to gain the market share that they think it should.
In a world of marketing and hype, the best products don’t always become popular. Betamax was better than VHS but VHS is still in many of our homes today. MiniDisc was better than DCC, but ultimately they both lost out to recordable CD (and then DVD).
Just over a year ago, I set out my views on why I think the EU’s sanctions against Microsoft were wrong. Sure, Microsoft is playing along and stretching things out as long as they can, but the EU seems to be getting tough and the US DoJ is starting to wake up again too.
The trouble is that, by the time a technology case gets to court, the damage is already done. In the same post about why Microsoft shouldn’t have to unbundle Windows Media Player, I pointed out that Apple were acting monopolistically with the way they force iPod owners to use iTunes. Now, after years of acting in this manner, Apple are finally being sued. In last Friday’s Windows IT Pro magazine network WinInfo Daily Update, Paul Thurrott reports that:
“This week, a federal judge in California cleared the way for the first-ever antitrust suit against Apple because of the iPod… noting that the complaint alleges Apple has an 80 percent share of the market for legal digital music files and more than 90 percent of the market for portable hard-drive digital music players. Like Microsoft, Apple is being sued under the Sherman Antitrust Act.”
I have to agree with Paul’s summary of the situation:
“If Apple opens up the iPod to Microsoft’s Windows Media Audio (WMA) format – including songs purchased from competing online music services – all will be well.”
That would certainly make me happy.
Tips for managing digital audio
Paul Thurrott has just posted a useful article on the Connected Home Media site about acquiring digital media (the comments are worth a read too).
I use iTunes (only because I have an iPod – otherwise it would be far more convenient for me to use Windows Media Player) and have ripped all of my CDs to disk as 192-bit MP3s (I still need to rip the CD singles, the vinyl records, the compact cassettes, the MiniDiscs and the DVDs), but I do disagree with Paul on one point- I still buy music on CD. I do this for a number of reasons:
- I own a legal copy of the music without any digital rights management (DRM).
- I have a backup copy.
- If I buy my CDs online (or from the supermarket), it generally costs the same (or less) as buying a whole album from iTunes.
Having said that, I did buy a couple of tracks from iTunes recently – single tracks when I didn’t want to pay an extortionate price for a CD single. I was concerned about DRM and the limitations of 128-bit AAC but using the iTunes Music Store is really easy.
Paul’s approach of burning the legal downloads to CD and then ripping them again is a great idea (accepting that there will be an inevitable loss in quality) – at least that way I have a non-DRM copy for use in years to come.
Nerd TV (how to play back MPEG-4 video without using Apple QuickTime Pro)
My wife is out tonight, so I’m home alone. I’ve been working pretty hard recently and am very tired so I’m under strict instructions to relax and go to bed early (especially as it’s my turn to get up with our son tomorrow morning… probably at about 5.30am).
The trouble is that I’m also a nerd (as indicated by blogging late at night!) with a geek rating of 40% (this has gone up since I started using Unix) and I have a load of episodes of Nerd TV that I’ve been meaning to watch since it launched last September.
Although the MPEG-4 Nerd TV download is only available at 320×240 resolution, I wanted to watch it scaled to full screen. This was a problem as Apple QuickTime 7 Player only lets me watch it at double size (unless I upgrade to the Pro version) and Microsoft Windows Media Player 10 can’t handle MP4s (Microsoft knowledge base article 316992 has more details).
I tried installing the 3ivX D4 4.51 CODECs to allow MP4 playback in Windows Media Player but playback was too fast (sounded like the Smurfs). The DivX 5.2 CODECs that I had lying around on my external hard disk didn’t work either (and I have a feeling that you have to pay for the latest ones) so I switched to MPlayer on my Solaris box (after first trying the Totem Movie Player, which also failed to play back files with a MIME type of Video/QuickTime).
MPlayer is a really good command line media player for Linux (there are also Solaris and Windows ports available) but I experienced some quality issues when running full screen. Using /opt/asf/bin/mplayer filename -vo x11 -zoom -fs
informed me that “Your system is too slow to play this!”, although it did also help out by suggesting various switches to try in order to increase performance.
I didn’t have time to figure out the optimum MPlayer settings so I went back to Windows Media Player with the 3ivX CODECs, thinking I mist be able to do something to fix the playback speed. Purely by chance I found out that simply stopping (not pausing) the playback and starting again corrected the speed and gave a perfect playback.
Finally, I remembered that Apple iTunes is built on QuickTime… I wish I’d tried this an hour or so earlier as I found that my MP4s will play in full screen mode within iTunes. Having said that, Windows Media Player 10 with the 3ivX CODECs looks to provide a smoother image when scaled to full screen; however that could just be my eyesight (or my Microsoft-tinted glasses).
So there you go – three methods to play back MP4s at full screen without using QuickTime Pro: Windows Media Player with 3ivX CODECs, MPlayer, or iTunes.
Standalone QuickTime installer
I have Apple iTunes installed on the PC where I synchronise my iPod. I don’t need it anywhere else, but for some reason if you try to download Apple’s QuickTime, it comes bundled with iTunes. Thanks to a Tech-Recipes Internet tip, I found the standalone QuickTime installer. Now all I need is for Apple to realise that I don’t want to install an English (United States) version – if there’s only one English option available, then please call it English.
Why I think copy protection has gone too far
There’s been much written recently about Sony BMG’s inclusion of a rootkit in some of their copy-protected CDs (for more information, see Mark Russinovich’s SysInternals blog). Indeed, it’s now being reported that our friendly global monopolist (Microsoft, not Sony) is going to remove the rootkit from our PCs via Windows Defender (formerly Windows AntiSpyware).
What I fail to understand is the need for all of this. Last year I had problems with a copy protected CD from BMG that wouldn’t play in my car CD player (actually, it wasn’t technically a CD as it didn’t follow the standards for Compact Discs, but was another 120mm polycarbonate plastic disc masquerading as a CD to prevent illegal copying). BMG offered to replace it if I could supply proof of purchase but I’d already shredded the receipt and anyway, I changed cars a few days later and it worked in the new player.
I buy my CDs for around £8.99 from play.com (or sometimes in the local supermarket). EMI, a major competitor to Sony BMG, is reporting massive rises in digital music sales, but at the same time says traditional CD sales are down. But consider this – most CDs in the UK have around 12 tracks. If, instead of buying a physical CD, I licensed the tracks from iTunes, that would be £9.48, there would be no media or distribution costs (and I’d be restricted as to the number of devices on which I could play them). With analysts predicting that by 2009, 25% of music sales will be online, that sounds like increased profits to me. Sure there will be some piracy eating into that, but it’s not a new problem. In the ’80s, I (like many of my peers) used to record the top 40 on tape because I didn’t have the funds that today’s teenagers do to buy records (for the kids reading this, a record is an old-fashioned term for a music disc – they used to be larger, usually black – but coloured or picture discs were very sought after – and needed a special player with a needle…).
So do we really need all this copy protection? After all, it’s only a matter of time before some hacker finds a way around it. What we need is universal (no pun intended) access to legal music downloads (no Apple iTunes nonsense whereby you can only buy from the store in the country where your credit card is registered). With sensible pricing, sensible licensing, and a reasonable proportion finding its way to the artist (i.e. not the web site owner or the record company) then maybe people will buy more music, especially with all the bad press about security that peer-to-peer file sharing networks get. Stranger things have happened…
YADA (Yet Another Download from Apple)
(SUSE Linux has a setup tool called YAST – which stands for Yet Another Setup Tool).
This morning I turned on my PC and iTunes told me that there was a new version available for download (v5.0.1). In the four and a half months since I bought my iPod, I’ve had to download no less than 4 new versions of iTunes (even the version shipped in the box with the iPod was out of date). What I don’t understand is why iTunes doesn’t have its own update mechanism as this is getting silly now with a 32MB download for what would seem to be a minor release (which is presumably what the upgrade from 5.0 to 5.0.1 is). Co me on Apple – save me from all this YADA (Yet Another Download from Apple) nonsense.
Making use of various iTunes for Windows plug-ins
Since I became an iPod convert a few months back, I’ve ripped all of my CD albums to 192kbps MP3s using iTunes (over 5000 songs using 29Gb of disk space at the time of writing – still got about 500 CD singles, plus MiniDisc and vinyl to go…) but one of the features which really lets down iTunes is the lack of high quality visualizations (Windows Media Player has loads).
To help me with my quest to find decent iTunes for Windows visualizations, one of my MacMates, Stuart, sent me a link to the iLounge directory of known iTunes plug-ins. I’m still underwhelmed with the available visualizations but I came across some other interesting plug-ins, like WMPtunelog, which writes out information of the currently playing track to the registry (HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\CurrentMetaData\). I’d really like to access this from my homepage and include a real-time “what I’m listening to” panel, but I’m not sure how at the moment. The blogging plug-in within the Windows Media Player 9 Series creativity fun pack (which also works with Windows Media Player 10) was looking hopeful, until I found that the “code samples for adding support to my web, Visual Basic, or C/C++ application” link in the creativity_pack_readme.htm
file was dead… If anybody has any hints, then please let me know!
One alternative may be Brandon Fuller’s Now Playing, which monitors the currently playing song and writes the information out to an XML file (optionally FTPing this to a location of your choice). Brandon uses PHP to process this on his site, but I’m having problems using PHP on my ISP’s servers (my ISP only allows active content to run on a separate server and I can’t seem to call the PHP from within normal HTML pages on their Apache web server) so am hoping that I can use an XSL transformation to format the XML instead but still not sure how to include that in the HTML…
All of this is a bit developery for an infrastructure bod like me but I’ll keep on plugging away with this and will post a comment to this post when (if) I get it all working. In the meantime, answers on a postcard please…