Download eMusic free track script

eMusic offers a free track of the day to download. Being a bit lazy or forgetful I wrote a script to download the track for me. To make use of this script you need a computer that runs Perl and cURL. To set up the script to run automatically you ideally need the computer to be permanently switched on and connected to the internet.

Step 1

Download the eMusic download script, unzip it and edit the following lines:

CODE:
  1. $username = "name@domain.com";
  2. $password = "password";
  3. $scriptpath = "/users/name/emusic/";

Then upload to your remote shell account if you are going to run it that way.

Don't forget to make the script executable.

Step 2

Create a 'files' folder in the same place as the script. This is where the mp3's will get downloaded into.

Step 3

If you want to have the script run automatically then you need to set up a cron rule.

Online music download stores compared

My comparison of music download services. Note that I have only included the bigger more mainstream services. There are many niche services, see the bottom of the post for a list of these.

I've included the Zune service for the sake of completeness even though it isn't available in the UK yet.

I have omitted Napster's basic services as it does not allow you to move the music to a portable player.

Store System requirements Price File types offered Music quality Notes
iTunes iTunes 79p per track M4P 128Kbps Music is DRMed.
Some tracks are only available if you buy the whole album.
Zune Windows XP
Zune software
79 MS points per track
(roughly 99¢)
WMA 192Kbps Music is DRMed.
Napster To Go Windows XP
Windows Media Player 10
£14.95 per month WMA 128Kbps Unlimited downloads
Music is DRMed.
If you stop your monthly subscription you will only be able to listen through the Napster Light software.
Allofmp3 n/a Starts at $10 MP3
WMA7
WMA8
WMA9
OGG
MPEG-4
MPC
FLAC Lossless
PCM Wave
Up to CD quality No DRM.
Tracks are priced according to filesize. A 128Kbps MP3 will cost less than a 256Kbps MP3 as it takes up more room on their servers.
Beatport n/a £1.29 per track MP3 320Kbps - CD quality No DRM.
Bleep n/a 99p per track
£6.99 per album
MP3 320Kbps No DRM.
Ambient.us n/a $9 per album MP3 320Kbps No DRM.
Hi-res album covers included.

Personally I do not buy anything from stores that use DRM as I play my music on an a wide varietly of platforms. An iPod, a PSP and a Linux jukebox to name but three. Also who is to say what I'll be playing music on in the future.

Undoubtedly the best in terms of both cost and quality of files is Allofmp3 but this site is of questionable legality and it looks like it's days could be numbered.