Listening to music online is not a new concept to many internet users. However this habit has evolved more into listening to your own music collection online. With hardware prices getting dirt cheap and more users switching to faster internet connections (switching from dialup to cable/DSL), running your own personal radio station is fancier than ever.
In this article, we will take a look at the installation and configuration of two such software that lets user to run their own internet radio station.
(1) Tonido Jukebox – An application plugin from CodeLathe that runs on tonido platform.
(2) Jinzora – A PHP based web application that runs on LAMP stack.
Before proceeding with the installation let us look at the comparison of each of the above.
- Setup very trivial.
- Supported for different OS without any additional software stack.
- Very Low memory footprint. (about 10M for music collection with 50 songs)
- No need of separate Dynamic DNS (DDNS) setup.
- Automatic UPnP port forwarding available if supported by users router.
- Simplified user interface.
- Setup is more involved.
- Additional software stack (such as LAMP, WAMP, MAMP) will be needed depending on the target OS.
- More memory footprint. (about 50M for music collection with 50 songs)
- Needs registration with a DDNS provider if a URL access is needed.
- Automatic UPnP not available
- Complicated user interface.
Let us look at the steps involved in installing the above two on a windows platform.
Installation of Tonido Jukebox
Tonido Jukebox is an addon plugin for tonido platform. Jukebox is bundled with the default Tonido installation along with few more other applications. Tonido also has the advantage of automatic dynamic dns (DDNS), so accessing your Jukebox with a URL is possible without any extra DDNS configuration.
1) Download the latest Tonido from http://www.tonido.com/ . Click the downloaded file to run the setup.
2) In the windows security warning window, Click “Run” to run the setup.
3) In the Tonido setup welcome screen, click “Next”.
4) In the next screen, keep the default start menu folder. Click “Next”.
5) In the next screen, keep the defaults. Click “Next” to start the installation.
6) After installation, click “Finish” to conclude the installation and launch tonido.
7) Tonido UI opens in a browser window. Click on “Create Profile” to create a new user id.
8) Create a new user id by entering all the information and click on “Create”.
9) A new user id is created in your Tonido. This instance of Tonido is completly local to your PC and no information is stored in any thirdparty servers. Login to the account by entering the password and clicking “Login”.
10) In Tonido administration screen, click on Jukebox from the application list on the left navigation panel.
11) When Tonido Jukebox starts for the first time, it prompts the user to add MP3 song collection. Enter the path to your MP3 collection and click “Add”. 12) Finally Jukebox is up and running. All the necessary configurations are completed and ready for access from anywhere.
13) Tonido Jukebox is already configured for dynamic dns (DDNS). So now you can access Jukebox anywhere on the internet by using the URL (http://tuxan.tonidoid.com:10001/ui/jukebox/index.html), assuming tuxan is the user id and port forwarding is enabled. Goto www.tonido.com/support for more information on port forwarding.
Installation of Jinzora
Jinzora is a PHP based streaming application that works on top of a LAMP stack. So the steps include LAMP stack setup and then the Jinzora setup.
1) Download the latest LAMP stack from here. Click on the installer to start the installation. Click “Run” at the windows security warning window.
2) Click “Yes” on the setup warning window.
3) Click “Next” on the welcome screen.
4) In the next window, select “I accept the agreement” and click “Next”.
5) In the next window, do not change the default path and click “Next”.
6) In the next window, select the shortcuts options that needs to be created. Click “Next”.
7) Enter the SMTP server information if you have one. If not keep the defaults. Click “Next”.
8) When the installation is completed, click “Finish” to close the launcher.
9) Before proceeding with the Jinzora installation, the MySQL database user (root) should be assigned with a password.
Open URL(http://localhost/phpmyadmin/) on a web browser. Click on privileges. Edit root user and set a password.
10) After setting a password for root MySQL user, php admin application won’t be able to access MySQL database.
Edit the config file(Default : C:\wamp\apps\phpmyadmin3.1.3\config.inc.php).
Change the line from,
$cfg['Servers'][$i]['password'] = ”;
$cfg['Servers'][$i]['password'] = ‘password’;
Save the file and restart all servers from the windows system tray. Click on the WAMP icon and select “Restart All Services”.
11) Now its time to install Jinzora. Download the latest Jinzora installation from here. Open the zip file and copy the contents of the zip to apache web directory. (Default C:\wamp\www). After copying the contents the folder should look as follows.
12) Open a browser window and go to the URL (http://localhost/jinzora2/).
You will be greeted with the Jinzora welcome screen. Click “Proceed to Requirements” to move to the next screen.
13) Jinzora will check for the requirements and will show the results. If nothing major is found missing click on “Proceed to License”.
14) In the license screen, select “I Agree to the license terms” and click on “Proceed to Install Type”.
15) In the installation type screen, select “Standalone” as the installation type. In the Jukebox mode, select “Streaming Only” as the mode.
Click on the “Proceed to Main Settings”.
Streaming Mode : Music will be streamed to the remote client and the music is played at the client side.
Jukebox Mode: Music will be played at the server side.
15) In the main settings screen, enter user, password and theme details for the Jinzora webpages. Click on “Proceed to Backend Setup”.
16) In the backend settings screen, enter the password details for the MySQL root user. Select “True” for the option “Create Database”. Click on “Continue with Backend Install”
17) In the backend creation summary screen, the setup summary will be displayed. Click on “Proceed to Import Media”.
18) In the import media screen, enter the path of the music collection and click “Import Media”. After the import is done, click on “Proceed to Save Config”.
19) In the save config screen, config change results will be displayed. Click on “Proceed to Launch Jinzora”.
20) Jinzora frontend opens in the web browser. Jinzora can also be opened using the URL(http://localhost/jinzora2/index.php) from a web browser.
21) When the web page is opened, a login prompt will be displayed. Before proceeding with the login delete the install directory under the Jinzora web directory.
(Default : C:\wamp\www\jinzora2\install).
22) Now in the browser window enter login id and password (admin/xxxx) to login to Jinzora.
23) Now that you have Jinzora up and running, next step is to configure access to Jinzora from anywhere on internet. Unlike Tonido Jukebox, Jinzora doesn’t support Dynamic DNS (DDNS) automatically. DDNS for Jinzora can be setup following the instructions here.