Category Archives: itunes

Great anecdote in the Economist about the decline of the CD

The Economist has a report on change in the music industry, which kicks off with this anecdote:

IN 2006 EMI, the world’s fourth-biggest recorded-music company, invited some teenagers into its headquarters in London to talk to its top managers about their listening habits. At the end of the session the EMI bosses thanked them for their comments and told them to help themselves to a big pile of CDs sitting on a table. But none of the teens took any of the CDs, even though they were free. “That was the moment we realised the game was completely up,” says a person who was there.

Camera, Flash, Action: review of the LG Viewty

I’ve reviewed LG’s new camera phone here. I found this an interesting device because it has a Flash UI, one that for the most part works very well. It also has an excellent camera. No wi-fi, which is a shame.

The Viewty is bound to be compared to the iPhone, because both have touch screens. The Viewty is cheaper and has more features (though it is missing a few as well), but to my mind its biggest handicap is that it lacks the polish and attention to detail which typifies Apple’s products.

Back in 2004 I reviewed the iRiver H140, a great MP3 player that was superior to Apple’s iPod in several respects. It had both digital input and output. It had a better battery. It had FM radio. It had a remote with controls and an LCD display. It had a built-in microphone and a mic input – I still use it for recording today.

The H140 was a modest success, but nothing in comparison to the mighty iPod. Why? It wasn’t just the marketing, or the looks, though both were factors. Another issue was that the H140 and its successor the H320 have perplexing controls that almost seem designed to catch you out. The iRiver also came with PC software that didn’t seem to do anything at all, though in fact it inserted some right-click options into Windows Explorer. It was a far cry from the slick iTunes/iPod integration.

The Viewty pays more attention to usability than the H140, but there are enough niggles – like the dangling stylus holder, the awkward jog wheel, or the error-prone LG PC Suite – that you wonder if these lessons have been learned.

On the positive side, the Viewty is an excellent phone, camera, and portable entertainment device. It proves that the Flash UI concept works, and that the day will come when I no longer need to take a standalone camera to conferences and the like – paying attention, Canon?

PS does anyone know how to take screen grabs from the Viewty? If I can figure it out, I’ll post some examples of the UI.

Technorati tags: , , , , ,

iPod database successfully hacked – for now

A couple of days ago I blogged about the database hash in new iPods, which prevents their use with song management software other than iTunes. There is no iTunes for Linux.

The good news is that apparently the hash has been cracked, “using a debugger on Windows.”

Miguel de Icaza goes on to observe:

Breaking the hash is not really a long-term solution, as they can keep making the process harder every time. The long-term solution is for iPods to have a standard interface that third parties can communicate with.

Indeed. Of course, if iTunes and iPod communicated through a standard API, and if Apple would license its DRM or support alternatives, then any hardware vendor could sell iPod-compatible hardware, any software vendor could come up with substitutes for iTunes, and any online music store could compete with Apple’s official one.

Commoditization. Something Apple will do anything to avoid.

Technorati tags: , , , , ,

New iPod locked more tightly to iTunes, will not work with Linux

Apple has apparently made some changes to the iPod that make it increasingly difficult to use with anything other than iTunes. Since iTunes does not run on Linux, this affects Linux users more than anyone.

I wrote a piece a while back on Linux multimedia, and was impressed at how well my old iPod Photo works with Amarok on Linux. I have this iPod formatted for the Mac, since iTunes seems to work better on OS X. The only change I needed was to turn off journalling on the HFS+ file system. So what’s happened now?

According to this post, Apple has encrypted the iPod’s database. If you write to the database other than with iTunes, the iPod firmware will report that it is empty.

How about replacing the firmware completely, say with Linux? Bad news there as well – Apple has encrypted the firmware too. See ipodlinux.org for more details. In consequence, you can only hack the firmware on older models.

The change to the song database is more significant. Only a tiny geek minority would be willing to replace their firmware, but there are more people who like the the iPod but not iTunes. This may be damaging for third parties like J River, which offers iPod-compatible media center software.

See also Mike Elgan’s article on Is Apple the New Microsoft; and also note how the piece has over 1000 “Do not Recommend this story” votes from enraged Apple enthusiasts.

There is also a discussion on slashdot.

Update: more commentary from Miguel de Icaza (of GNOME, Mono fame) and Cory Doctorow – the usual suspects, I guess. “This has nothing to do with preventing piracy — this is about preventing competition with the iTunes Store,” says Doctorow.

Technorati tags: , , , , ,

In praise of SlimServer

I’ve been playing with SlimServer, the software developed to serve music to the Slim Devices Squeezebox, and I’m impressed. Don’t have a Squeezebox? Read on, because you don’t need one to benefit from SlimServer. In fact, I’ve not yet tried the Squeezebox itself, only the software. SlimServer is written in Perl, and is both free and open source. There are installers for Windows, Mac OS X and Linux.

Here’s how it works. First, you install SlimServer on a PC. It does not need to be particularly powerful, but it does need plenty of disk space, depending of course on how much music you want to store and what format it is in. If you are installing on Linux, you may have the choice between a package specific to your distribution, or one that you download from the Slim Devices site. I installed on Ubuntu using the Debian packages direct from Slim Devices; instructions are here.

Once installed, you can open a web browser anywhere on the network and navigate to http://yourserver:9000, where “yourserver” is the name or IP number of the machine where SlimServer is running. Select Server Settings, and check or amend where SlimServer looks for music files. You can also change the look and feel of the Web UI, using the Interface settings. I use the skin called Fishbone.

Next, copy your music files to the SlimServer. What format should they be in? Most of the common ones will work, provided they are not DRM-protected, but there can be complications depending on what operating system you use for the server, and which player you use. There are two obvious choices: MP3 if you want to use lossy compression to save space, or FLAC if you prefer a lossless format. An excellent feature of SlimServer is that it can transcode on the fly. This means you can store music as FLAC, but play it as streaming MP3, which is better supported.

Personally I like to store music in a lossless format. Even if you think the best lossy-compressed files sound equally good, the lossless format is more future-proof. Let’s say at some future date you fall for a system that requires AAC, or WMA. All you need is a batch file to convert your lossless files, and you are done. By contrast, converting from one lossy format to another quickly degrades the sound quality.

Playing the music

Now you need one or more players on your network. On PCs and Macs you can use Softsqueeze, a Java player with native support for FLAC, MP3, WAV and AIFF. When I first tried Softsqueeze I thought it was fiddly to use, because searching for a song takes ages if you use its virtual remote. That’s because I misunderstood how it works. The best way to control the player is through the SlimServer Web UI. There, you can easily perform searches, scroll through results, and create playlists. Through SlimServer, you can select music, play, pause, skip, and control volume for the player.

What if you have more than one player? No problem, just use SlimServer’s drop-down list to select the player you want to control. SlimServer will happily serve different music to different players simultaneously.

Now imagine you have a real Squeezebox installed in your blissfully computer-free living room. Are you stuck with the fiddly remote? Not necessarily. If you have a wireless device with a web browser, such as a wireless PDA, or the end-of-line Nokia 770 Internet Tablet that is now being sold off cheaply, you can use it as a smart remote. This is where the web UI skins are a great advantage – there is a skin for handhelds, and another specifically for the Nokia 770. Another twist is that you can actually play music directly on the Nokia 770, by using the SlimServer to stream MP3.

Developer? SlimServer is open source and here’s the code. Check out the TCP protocol it uses to communicate with players. At a higher level, you can use one of several APIs. Just install SlimServer, then follow the link to Help – Technical Information. There’s a Web API, a command-line API, and a plug-in API – plenty of scope for customizing SlimServer.

Integration with other media software

This is where it gets a bit ugly. What can you do if you need iTunes for your iPod and iTunes Music store downloads, or if you use Windows Media Center? Can these integrate with SlimServer?

First, buying that DRM-protected music was really a mistake. SlimServer cannot play purchased iTunes music (unless it was one of the few DRM-free tracks), or WMA DRM-protected files.

If that’s not a problem, there are several possibilities. You can point iTunes or Windows Media Center (or Player) at the same shared directory used by SlimServer. This works well for MP3, but FLAC is problematic – iTunes will not play them, WMP needs a plug-in. However, you can use iTunes to manage your SlimServer library. And both iTunes and WMP will play SlimServer tracks streamed to MP3.

Unrealised potential

There is an active SlimServer community, but I think there is unrealised potential here. I’d like to see some more software players, and/or better support for SlimServer in existing music players.

Simply, any device on the network that can play music should be able to play it from your music server. The industry giants seem slow to implement this rather obvious feature. For example, I’ve got Windows Media Center, and a brand new Windows Mobile 6.0 device with a fast wireless connection. Can it play music stored in Media Center? Sorry, no, not without third-party assistance. I can’t even use it as a smart remote for Media Center, at least not without custom coding. SlimServer may be the answer.

Recreating iTunes in Silverlight

Browsing through Codeplex I came across this project to recreate iTunes as a Silverlight application. What’s remarkable is that author Jose Fajardo has kept a kind of developer’s diary on his blog, complete with YouTube videos here, here and here showing how he is recreating Apple’s music app as a Silverlight/Ajax web application.

The videos are not exactly gripping unless you are interested in the nitty-gritty of how to create a control in Microsoft’s Expression Blend and integrate it into a Silverlight application. If you are, then this sort of hands-on demo gives a great picture of real-world use. It’s a also an intriguing example of how to replicate another company’s expensive design efforts with just a few minutes in a suitable tool.

It looks like Fajardo is having a lot of fun with Silverlight, though if he completes the project I’m not sure what Apple will make of it. How’s the DRM piece coming along?

Linn Records adopts FLAC for hi-res downloads

I was interested to see that Linn Records now offers FLAC downloads in its music download store. This is a download store done right – no DRM, no lossy compression (unless you specifically choose MP3).

It’s still something of a struggle finding a file format to please everybody. Linn now has three: MP3, lossless WMA, and FLAC. MP3 is no hassle. WMA is tiresome for Mac users. FLAC won’t play in Windows Media Player without an add-on. It’s even worse when it comes to high-res (typically 96/24) files. Linn says that high-res WMA won’t play at all in iTunes on the Mac, and that high-res FLAC won’t play in Windows Media Player.

Personally I shall choose FLAC if I buy any of these, as I have done with Robert Fripp’s DGM download store.

It’s great to see a small but highly regarded label adopting an open-source format for its downloads. How about it Apple?

 

Technorati tags: , , , , , ,

MP3 device runs .NET – but in Mono guise

I’ve long been interested in Mono, the open-source implementation of Microsoft .NET. It seems to be maturing; the latest sign is the appearance of an MP3 player using Linux and Mono. Engadget has an extensive review. Miguel de Icaza says on his blog:

The Sansa Connect is running Linux as its operating system, and the whole application stack is built on Mono, running on an ARM processor.

I had not previously considered Mono for embedded systems; yet here it is, and why not?

The device is interesting too. As Engadget says:

… you can get literally any music in Yahoo’s catalog whenever you have a data connection handy

This has to be the future of portable music. It’s nonsense loading up a device with thousands of songs when you can have near-instant access to whatever you like. That said, wi-fi hotspots are not yet sufficiently widespread or cheap for this to work for me; but this model is the one that makes sense, long-term.

I wonder if iPhone/iTunes will end up doing something like this?

Technorati tags: , , ,

Steve Jobs on DRM: sense and nonsense

Kudos – mostly – to Steve Jobs for his remarks on Apple and DRM. I like his closing comments:

Convincing [big music companies] to license their music to Apple and others DRM-free will create a truly interoperable music marketplace.  Apple will embrace this wholeheartedly.

Yes please. But while I applaud these remarks, I have to note some curious logic in the rest of his defence of Apple’s DRM policy. Remember, the essence of the complaint against Apple is that it will neither license its FairPlay DRM to others, nor support other DRM schemes in its iTunes store. The consequence is that iTunes customers are locked to Apple’s software, and for portable devices, largely to its hardware as well.

Jobs says Apple doesn’t license FairPlay because it could compromise its “secrets”:

The most serious problem is that licensing a DRM involves disclosing some of its secrets to many people in many companies, and history tells us that inevitably these secrets will leak.

However, Jobs has already stated that such secrets often get cracked anyway. The intransigent problem is that the keys reside on the user’s own machine:

In other words, even if one uses the most sophisticated cryptographic locks to protect the actual music, one must still “hide” the keys which unlock the music on the user’s computer or portable music player.

This is a greater impediment to FairPlay’s security than licensing it would be. Further, any iTunes purchase can be burned to CD and ripped to unprotected files, albeit with loss of quality if you choose a compressed format. I also note that DVD Jon (as far as I’m aware) achieved his success at cracking DRM by reverse engineering, not industrial espionage.

So this statement makes no sense:

Apple has concluded that if it licenses FairPlay to others, it can no longer guarantee to protect the music it licenses from the big four music companies.

Apple has actually concluded that it can’t “guarantee to protect the music” anyway, irrespective of whether it licenses FairPlay.

Further quibbles: Jobs sees a “a very competitive market”, where others see Apple’s unhealthy dominance, particularly in portable music players.

Another. Jobs says:

Since 97% of the music on the average iPod was not purchased from the iTunes store, iPod users are clearly not locked into the iTunes store to acquire their music.

No Mr Jobs, they are not locked into the iTunes store (yet). They are locked into the iPod to play this music back. Well, subject to the caveats already discussed. And what about iTunes exclusives?

Finally, Jobs notes that “The music companies sell the vast majority of their music DRM-free”, referring to the continuining importance of CD sales, which greatly exceed online sales.

Yet CD sales are declining and will continue to do so. We are having this discussion because we know that those figures will swing, probably quite fast, and that online or subscription sales will dominate the music business.

Users would love to see more legal, DRM-free downloads. In the meantime, Apple’s refusal to interoperate its DRM with others remains anti-competitive.

Technorati tags: , , ,

The best and worst of Vista multimedia

A friend called on Christmas day. She was away from home and had forgotten to set the video to record a couple of TV programmes. We’re testing Vista media center, so it was a matter of going to Vista’s TV guide, scrolling to the programmes she wanted, and selecting Record. What about the transfer to DVD? Next day, I selected Recorded TV, and scrolled through the recordings, each of which has a preview image. When I found the right one, I clicked on it and noticed that Burn CD/DVD was one of the menu choices. So I stuck a blank DVD -R in the drive, clicked Burn CD/DVD, and a while later (quite a long while) it was done. Tested the DVD in a standalone DVD player and it worked fine. I don’t miss VHS one bit.

Now have a read of Peter Gutmann’s Cost Analysis of Windows Vista Content Protection. Gutmann is a security specialist who describes himself as a professional paranoid, which perhaps explains the tone of the piece – he calls Vista’s content protection a “suicide note”. I doubt he is correct in all his conclusions, but nevertheless it shines a fascinating spotlight on this aspect of Windows Vista.

It has always been possible to make unlicensed copies of media such as music and film, but in the pre-digital world it was inconvenient and always involved some loss of quality. Personal computers changed all that, particularly when combined with the cheap storage which we now have in abundance. This is bad news for industries that depend on selling this content rather than giving it away. Hence Vista tries to put media back into its uncopyable box, so that once again you have to purchase the official item.

A single pinprick is enough to burst a balloon, no matter how airtight the rest of it is. Similarly, to protect media you have to protect every link in the chain, from digital source to final output. Vista calls this the Protected Media Path; read the MSDN article here. The system is intricate and complex, and as Gutmann notes there are undesirable implications. The Protected Environment (PE) relies on “trusted components” such as drivers, codecs and content processors. Each component must therefore be signed by Microsoft after a verification process. But what if a bug or design flaw has slipped through, allowing content to be pirated (a pinprick)? Then the component can be “revoked”, which means some hardware or feature in your system will no longer work properly. Content publishers can even specify that their content will not play if a component known to be unsafe is present, by checking against a revocation list.

Ideally, a revoked component will be replaced by an automatically downloaded update. However, Microsoft’s document on the subject acknowledges that this may not always be the case:

In rare cases, an updated version of the component may not be available, for example, the company that implemented the component has gone out of business. If the component is not essential, the PE can work around the issue by not loading the component. If the component is essential, the application is provided with a URL that directs the user to a Web page that has information on the issue.

That might mean no more protected content for you unless you actually replaced the hardware with something else for which trusted components exist. I presume however that you would still be able to play unprotected content. Still, this would be a severe outcome if, for example, you had a large collection of HD-DVD movies that you played on the system.

It is understandable if hardware vendors such as ATI are unenthusiastic about all this. They have to do the work of creating suitable hardware and drivers, but the beneficiaries are the owners of the protected content.

Several obvious questions come to mind:

  • Will this really work? Such a complex system must be vulnerable to the efforts of determined hackers, as other DRM schemes have been in the past.
  • When playing protected content, what are the performance implications?
  • How about when playing unprotected content ? What, if any, is the performance impact of all this content protection then? Perhaps there is none. It strikes me though that there could be unwanted side-effects.

The existence of this DRM edifice also impacts all of us as consumers. When we purchase content, we’d like to be able to play it on as many devices as possible: home stereo, wireless streaming around the house, computers, portable devices. Technology is at last enabling this freedom, but now technology is also taking it away.

I’ll come back to where I started. Whether Vista content protection stands or falls will depend on the user experience. If it is good, as with my DVD burning from media center, then consumers will forgive a lot, to the frustration of anti-DRM advocates. That’s why Apple gets away with the iTunes store/iPod lock-in. If it is bad, this will damage Vista and Microsoft.

Update

Interesting thread here on audio processing in Vista. Here’s what Amir Majidimehr, digital media VP at Microsoft, has to say about DRM in Vista audio (and referring specifically to Gutmann’s piece):

The writer unfortunately, is misinformed about the Vista content protection capabilities. Yes, it is true that Vista has a substantially upgraded *infrastructure* for content protection. However, its usage is optional and no application is forced to use it. To wit, current HD DVD/BD players do not use any of it and as such, are only subject to provisions of copy protection for those formats (namely, AACS). Ditto for any third-party application that you may run on Vista. As long as they don’t call the new facilities, they run as they did always.

So for all practial purposes, Vista and XP behave the same wrt to playback of digital media.

Vista does allow new applications to provide a new level of robustness against attacks should they wish to provide this level of content protection. That may enable them to get access to content that would not be available otherwise (think HD downloads near Theater release window). As this feature required core operating system changes, we incorporated them into Vista. As with all new facilities, it may be years before they are taken advantage of.

That’s reassuring with respect to my third question above.