* @return initiates track download and redirects to browse page
*/
@RequestMapping(value = "/download", method = RequestMethod.GET)
public String getFile(@RequestParam("checksum") String checksum, HttpServletResponse response)
{
Track track = trackService.getTrackByChecksum(checksum);
Download download = new Download(track);
trackService.addDownload(download);
String link = track.getLink();
// To avoid any legal issues copyright protected material isn't being kept locally,
// instead link to file will be replaced by a free sample audio file
link = "audio.wma";
// Forces the track to be downloaded, not played