Friday, November 12, 2010

How To Recover Broken MP3 Files

You’d be surprised how many of your files are already affected. Luckily, many of these errors stay below the radar, and these files will continue to play as if nothing were wrong. Most applications don’t rely too heavily on a particular MP3 tag.
But if a file suddenly has choppy sound or doesn’t play at all, and if a collection of songs can’t be added to iTunes, then you know what’s happening.

Depending on how grave the particular distortion is, it might be easy to solve, or not at all. Below are a bunch of applications, for Windows, Mac OS X and Linux, that will help you detect the fault and recover corrupt MP3 files in your music collection.

Validating & Repairing MP3 Tags

Most of these errors have to do with so-called MP3 tags. These aren’t limited to the name of the artist and the album release year, but also contain critical technical information, like MPEG stream and Xing header data. When these don’t match up or there’s garbage at the beginning or end of the file, some MP3 players will get confused. The applications below analyze your files, try to realize what’s wrong, and fix it.

a) MP3 Diags – Download (Windows, Linux)

This application is available for both Windows and Linux. If you’re experiencing trouble, try option (c).
MP3 Diags is a wonderfully extensive application that not only takes care of the aforementioned errors, but also helps you maintain the consumer-relevant tags and album artwork. For the purpose for this article, we will focus only on its repairing capabilities.
recover my file mp3
In this collection, MP3 Diags is the heaviest and most extended application. It works its magic fast, precise and with vast detail. If you’re technologically gifted, MP3 Diags will duly and thoroughly inform you of the nature of those errors. It’s obviously one of the better applications in this category.
The main development platform is Linux (OpenSUSE), so it’ll function best on Linux OS’s. Contrary to MP3val, MP3 Diags offers a decent GUI. Windows compilations should work fine though, although program crashes are slightly more likely. The Windows build is currently being developed and tested using Windows 7.

b) MP3 Scan+Repair (Mac OS X)

The Mac OS X handyman is called MP3 Scan+Repair. Barely 1MB, MP3 Scan+Repair is a small, but resourceful application, that’s just as easy (if not easier) to use as MP3val.
fix mp3 files
Files can be added from within the application, or by dragging it onto the application window or dock item. The application will immediately start scanning your files. To repair all (repairable) errors, select the corrupt files (click the warning icon at the top and select all) and press the hammer icon. Files will be moved to the trash and reconstructed in their stead.

c) MP3val (Windows, Linux)

This application is available for both Windows and Linux. If you’re experiencing trouble, try option (a).
MP3val is a lightweight application that can fix most of the aforementioned problems, lightning fast. It’s been the salvation of many an audiophile. You can include files manually, or add whole folders to scan. Once the MP3 problems have been determined, they can be fixed with the click of a button.
recover my file mp3
Although MP3val is technically a command-line tool, the MP3val frontend offers a graphical user interface for Windows users, as can be seen in the screenshot above. On the download page, make sure to select the MP3val-frontend 0.1.1 binaries.
The MP3val core (command-line) is up to version 0.1.8 and can be used on both Windows and on Linux after compilation.
The majority of, but not all, files can are repairable. It’s possible that some files have been distorted beyond repair. It’s also possible that you’re not looking at a ‘real’ MP3 file. If you downloaded this from a shady source, I suggest doing a full system spyware sweep.

Free Music Zilla – Easily Download Music From Social Websites

As most of you will know, your playlist controls are rather restricted in Last.fm. You can’t pause or navigate songs, never mind downloading; that’s what makes the service so cheap to use.

Downloading songs from Last.fm instead of YouTube poses a number of advantages; not least when we’re reviewing audio quality. Nevertheless, actually retrieving the mp3 files is an intricate tale, with more than enough blood, sweat and tears to mimic a war zone – Jason K. talked you through the process with Proxomitron and Firefox. Using Free Music Zilla, it gets a whole lot easier.

Free Music Zilla

Last.fm isn’t the only social music service, but they all tell a similar tale. There are different advantages to different services, but downloading the music is far from easy. Free Music Zilla, a free, light-weight Windows application, can help you with almost all of those services, including Last.fm, Pandora, Myspace, IMEEM, eSnips, MOG and iJigg.
music download sites
Unlike the well-known and often used YouTube Downloader, Free Music Zilla doesn’t track down your file from the web URL. Instead, it keeps a close eye on your internet activity and sniffs out all music files that are present on the webpage.

Any Browser You Want

These tools often work in conjunction with add-ons for one specific browser. Free Music Zilla tracks your browser activity from the outside in, so you don’t need to install any additional add-ons. This enables you to use it with nearly any browser you want.
music download sites
Free Music Zilla monitors only Internet Explorer and Firefox by default. If you use a different browser, you’ll have to give the application a hand. Open the Tools menu and select Preferences. Under the Monitoring tab, you can enable your browser. Locate more obscure browsers by checking Custom and navigating to your browser, or if you use multiple browsers on your PC, enable all of them.

How To Download MP3 Files From A Social Service

To download an MP3 file to your computer, first make sure your browser is enabled in the settings (see above) and Free Music Zilla is running. With your browser, surf to the social service and use it like you normally would. Once you hear something you like, switch to Free Music Zilla, where you should see the file listed; MP3 if the content is audio-only, MOV, MP4 or FLV if video is included. If you’re unsure which file to download, look at the time it was added.

You can tick off the checkbox next to a file and hit the Download button to save it to your computer. You have to especially mind the Leech Timeout column. This is inherent to the anti leech protection these social services use, and what makes it so hard to download. Once the countdown reaches zero, you’ll be unable to download the file, so try to make it fast enough.
Free Music Zilla is one of the most – no, the easiest tool to download from sites like IMEEM and Last.fm

How To Build A Linux Web Server With An Old Computer - Part 2

in part one of this series. Now learn how to upload your files and finally view your web server from anywhere in the world!
Now that our server is functional, we have to take care of the part where we can actually use it. Basically we need to expose the server to the outside world, so from here on out it is important to keep the server up to date with all of its patches – the Ubuntu Update Manager will take care of this for you.

Finding The Server’s Local IP Address

First thing you need to do is to find the server’s local IP address and set it to something you will later be able to reference. Let’s find the server’s currently set IP address – found via the dynamic DHCP protocol – in the Network Information box.
Right click on your network connection which will be an up/down array and go to “Connection Information.” This will pop up a box with your current IP address, network adapter card, broadcast address, gateway, and DNS server. Write this down as we will use it in the next step.
linux web server software
What we need to do is edit your connection information to give you a static IP address on your local network. Right click that menu but this time go to “Edit Connections.” Select the adapter name from the previous step – in my case it is eth1, and edit those settings. Select the IPv4 tab and switch “Method” to “Manual” rather than “Automatic (DHCP)” which is what it defaults to when you install. Type in the information from your connection settings.
linux server for web hosting
The one difference we will have this time will be your IP address. Keep the first three octets (the numbers between the dots) and change the last one to a high number under 254. It is important that this number not be in use on your network, and if you are not sure, pick a high IP address like 250. For our example I know that .10 is free, so let’s say our new IP address is 192.168.2.10. This will be your static, local IP address.

Sharing The Web Folder

Sharing a folder is probably the easiest way to access and upload files onto your server. However, and this is a big one, this also opens your server up security-wise and it is important to only use this method if your server is on a private network and you do not run the risk of anyone connecting to it, via wired or wireless, and accessing your shares.
First we need to relax the permissions on our web folder. Open a terminal by going to Applications->Accessories->Terminal. Enter the following command:
$ sudo chmod 777 /var/www
It will prompt your for your password and then change the permissions, which will have no message returned if it went successfully.
linux server for web hosting
Now go to the file browser (Places->Computer) and go to File System->/var/. Right click the www folder and then “Sharing options.” Check off “Share this folder“. For security options, you can either share it with or without a password. Select “Guest access” to share the folder without requiring a username and password.
This means that you or anyone else will be able to access the files without a password. For this reason, I recommend sharing with a password. It will be more of a pain because you will need to enter this information, but it is certainly more secure. Also check off “Allow others to create and delete files in this folder.” This allows write access from the shared directory.
linux web server software
To view your files, go to the network location //192.168.2.10/www. It will either prompt you for your password or allow you access straight to your files, depending on your security settings. This is the same set of files that you can access in your web browser by going to http://192.168.2.10/.

Port Forwarding

Now that we have our IP address, an important concept to understand is port forwarding. Every single person connected to the internet is behind an IP address. For most home connections, and also some business connections, the IP of your local computer is not actually exposed to the internet – it will be in a private range that is either 192.168.x.x or 10.x.x.x. So how do visitors to your website actually contact your server? We do this with port forwarding.
Ports on a server are similar to doors or windows on a house – each one will give you access to a different service running on the server. Web servers use port 80 by default.
Your router should have a section called “Port Forwarding“, or “Applications” which will allow you to forward ports properly. Forward TCP port 80 to inside your network on the IP address we specified above. Each router is different, so refer to your router’s operations manual on how to set this up properly.

Getting A Static Hostname

Most home connections have what is called a dynamic IP, which means that it will change after a set period, usually a week or so. We have covered the fantastic DynDNS server here on MakeUseOf last year, so check out that article for more information on using the DynDNS service. Make sure you use the Linux client for updating your dynamic IP with the DynDNS servers. For our web server you will want to forward TCP port 80. Forward this port to the local static IP address, in our case this is 192.168.2.10.
You should now be able to visit your web server from the outside world by going to the URL: http://yourhostname.dyndns.org. Some ISPs will block port 80 to your router. In this case, forward something like port 8080 to port 80. This will allow you to visit your website by going to http://yourhostname.dyndns.org:8080.

The World Is Your Oyster

That is it for our down and dirty guide to running your own web server on an old computer. It can be as simple or as complicated as you want and there are many variables thrown into the process so it is easy to get caught up on something. If you run into any problems, feel free to leave a response below and we’ll guide you through the process as best as we can.
Now that your web server is set up, you can focus on programming or installing your own software!

How To Build A Linux Web Server With An Old Computer - Part 1


Ubuntu and Mint Linux. After getting up and running you will have a platform for hosting your website in-house either for development or to self-host a website.
This how-to article is broken down into 4 major steps: 1. Acquire an old computer, 2. Install Operating system, 3. Set up the application web server software (Apache, PHP, MySQL), and 4. Reaching the computer from the internet.

Acquire an Old Computer

Linux is a versatile operating system in that it can be run on the slowest of PCs, at least in command line mode. For simplicity’s sake, we are going to be running Ubuntu 10.10 “Maverick Meercat” which was just released and reviewed by Justin.

System Requirements

The Ubuntu 10.10 lists 256MB of RAM as the minimum amount it will work on. The installation itself takes up 3.3GB and then you want to leave space for the additional software and any files you need to work with, so I would peg that minimum at 10GB.
Ubuntu supports a wide variety of video cards, hard drives and other hardware; if you want to check before downloading the install disk, look at the Linux hardware compatibility list for both complete systems and individual components in your system to see if it will work. Before getting too caught up in this though, it is pretty quick and simple to test things out with a Live CD to make sure everything will work on your system.
If you plan on running the server 24/7, make sure it is in a well-ventilated area. It is better to place it in an air-conditioned room during the summer as heat will be your system’s main enemy.

Install Ubuntu

linux web server software
Installing Ubuntu is a cinch with the latest 10.10 installer. My favorite feature of the installer is that while you are still making choices about the installation, it is working to format and copy files over to your hard drive.
Head on over to the Ubuntu Desktop CD Download site to get the ISO file. These disk images have the latest versions of software so you should only have to do a minimum of upgrading after the install. Use the 64-bit version if your computer supports it or the 32-bit version otherwise. Burn the ISO to a CD or DVD, plug it into the drive of the computer and boot up.
If you need to change the BIOS settings to boot off of a CD then do so, or sometimes you need to press a key to select an alternative boot media. Boot off of the CD drive and select the “Install Ubuntu.” Generally speaking, we will be installing the least amount of software as possible for two reasons: the first is that the more software you install and services you run in the background, the slower your system will be. The second is that it also opens your system up to more potential security holes in the future.
Select “Download updates while installing” and “Install 3rd Party Software” and then “Erase and Use The Entire Disk”. Note that this will erase any other operating systems you have on this computer. Follow through the other options per your desired settings. I do not recommend encrypting your home folder. Reboot after the installation is complete.
linux server
Upon reboot, your install is essentially complete! The first thing you need to do after an install, similar to a Windows machine, is to apply any updates. Go to System->Administration->Update Manager and “Install Updates”. You may need to reboot after installing any updates it has found.
You now have a fully-functional Ubuntu install.

Set Up Application Services

You have a number of options here, but since most websites run on a combination of Apache, MySQL and PHP, we are going to install those. This is similar to what we recommended installing on Windows.
These applications are installed via the Ubuntu Software Center. Launch the software center via System->Administration->Synaptic Package Manager. This is where we install the software we need.
Search for and install the following package names, each of which will include a number of prerequisites: apache2, php5, php5-mysql, and mysql-server. Apply the changes to install the packages.
linux server
The packages will download and install shortly. The installer will prompt you for the MySQL “root” password. No reboot is necessary.

Test Your Web Server!

You can test your web server by opening the Firefox web browser on your server and heading to the URL http://127.0.0.1/.
linux web server software
You should see an “It works!” message meaning that your web server is running! Both Apache and MySQL will be running in the background and will start on bootup. Your web server is now essentially working and you can edit the files in /var/www and see the changes live on your website.
Part two of this series, to be published shortly, will go over how to upload files to your Linux web server; and how to access your web server both over your local network and via the internet. Check back to see how to complete your setup. The setup is pretty straight forward but there are always hiccups along the way.
Questions from new system administrators? Ask away in the comments and I’ll be sure to get back to you!

How To Easily Turn Your WordPress Blog Into An E-Commerce Site

I am always amazed at the flexibility of WordPress. It has grown so far beyond just blogging. With the right plugin(s) and theme, you can change it into whatever kind of site you can imagine. Our project today requires a plugin called – I think you’ve guessed it – WP e-commerce.
With the latest generation of WordPress, you can find and install it directly from within your admin area. No FTP required.
e-commerce development
The popularity of this plugin has made other people create additional e-commerce plugins to complement the original. You can find a whole bunch of them by searching using “WP e-commerce” as the search string.
After installing the plugin, you can manage various aspects of your store from the “Store” menu at the sidebar.
e-commerce website design
For example, you can view a list of your available products from the “Products” tab under the store menu.
e-commerce website design
Another thing that you can do from this menu is add products. The process itself is similar to writing a blog post with additional fields like available units and price.
e-commerce website design
The best way to learn how to build the store is to familiarize yourself with the plugin and do some experiments.

E-Commerce Themes

After setting up the plugin, you can continue with your store front by complementing the plugin with a matching theme. There are actually WordPress themes specifically designed to accommodate WordPress e-commerce sites that use the WP e-commerce plugin.
You are not likely to find these kind of themes inside the WordPress.org theme gallery (I tried to search but could only find one), so you can’t install the themes using the search and install function of the WordPress admin area.
You can however search for them using a search engine, download them to your hard drive, then upload and install them to your WordPress via the admin area using the “Upload” menu. It’s more steps involved, compared to the plugin installation, but still no FTP required.
e-commerce website development
Here are four of several alternatives of WordPress e-commerce themes that you can try. The first three come from one developer, so they have more or less similar looks and tastes. The fourth one is one that I found from searching inside the admin area.

1. AppCloud

This theme has a minimalistic look and design. The interface is fairly easy to navigate so its easy to turn your future customers into real customers.
e-commerce website development

2. Kelontong

This theme is the dark version of AppCloud. I think the round corners and side menu makes it more elegant.
e-commerce website development

3. Dangdoot

This theme is designed to sell music-related items, but it’s also applicable for general use.
03c Dangdoot Theme.jpg

4. Crafty Cart

A retro shop theme designed for the WP e-commerce plugin. As the name suggests, the theme is perfect for those who wants to sell hand-made crafts.
e-commerce development
The plugin and themes that I mentioned above are just one of the many alternatives that you can use to turn WordPress into an e-commerce website. If you know more plugins and/or themes, please feel free to share them using the comments below.