Difference between revisions of "Jinzora"
|Line 5:||Line 5:|
If you haven't installed MPD already, follow the wiki guide found [[
If you haven't installed MPD already, follow the wiki guide found [].
Follow the tutorial
Follow the tutorial for installing Apache, PHP and MySQL (Note: Installing phpMyAdmin from this guide is optional; if you're ever likely to make your own website that will use PHP and MySQL, I'd suggest you install it. Otherwise you probably won't need it).
Revision as of 14:51, 28 December 2005
If you haven't installed MPD already, follow the wiki guide found MPD_-_Music_Player_Daemon.
Follow the tutorial LAMP for installing Apache, PHP and MySQL (Note: Installing phpMyAdmin from this guide is optional; if you're ever likely to make your own website that will use PHP and MySQL, I'd suggest you install it. Otherwise you probably won't need it).
Install the image library Jinzora needs Code:
pacman -S gd
Uncomment the following line in /etc/php.ini (by deleting the semicolon in front of it Wink) Code:
Download the latest version of Jinzora2 from HERE
Copy the downloaded file to ~/httpd/html (i.e. [your user's home directory]/httpd/html) and then extract it with Code:
tar -zxvf [filename]
In the jinzora2 directory you've now got in ~/httpd/html, run configure.sh Code:
Open up your webbrowser and go to http://localhost/jinzora2/index.php
The only things you'll have to change are
Page 4 - Installation Type : Change from 'Streaming' to 'Streaming & Jukebox' if you wish to listen to the music on the computer you're installing Jinzora2 on (it's primarily a streaming application to allow remote access to, and control of, a streaming server running it).
Page 5 - Main Settings : If you hover over the boxes here, they explain the settings, so choose whatever you want. It's best to choose 'Database' for Backend Type. I'd also suggest using the 'Tag Data' option for Data Structure, unless your music is organized on your filesystem exactly the way you want it to be Razz
Page 6 - Backend Setup : Unless you've used Jinzora before, or for some reason wish to manually create a MySQL database for it to use, then select 'True' under 'Create Database'.
Page 7 - Import Media : This step may take a few minutes if you've got a few gigs of music; simply enter into the box the directory where your music is stored. When the installer's finished importing the music from this directory, you'll have the option to import as many other directories as you want, one after the other. You can also import more files from the Settings interface when Jinzora is up and running.
(Note : While Jinzora was importing my music collection, I had the following error appear twice on the page:
Warning: strpos() [function.strpos]: Offset not contained in string. in /home/httpd/html/jinzora2/services/services/tagdata/getid3/module.tag.id3v2.php on line 1542
This seemed to have no adverse effect on the installation though, so if something similar happens to you, don't worry!)
When you've finished importing your music, click Proceed to save config, then Proceed to launch Jinzora. You will now get an error message - to resolve this, you must go into your ~/httpd/html/jinzora2 directory and delete the 'install' directory.
Edit ~/httpd/html/jinzora2/jukebox/settings.php: under 'Description', change 'Winamp Media Player' to `Music Player Daemon` (or whatever you want), and under 'type' change 'winamp3' to 'mpd'.
Change 'password' to be empty (so it just reads rather than 'jinzora'), or change this to whatever password you've set in /etc/mpd.conf .
Also in this file, change the port from '4800' to '6600', or whatever port you've set MPD to accept connections on in /etc/mpd.conf .
If you wish to use Jinzora's streaming functionality, you will need to edit /etc/hosts.allow and add
(or alternatively, simply add the ip (range) from whichever remote computer(s) you'll be accessing the stream server with.
Now go back to your webbrowser, click refresh and Voila! Your own working copy of Jinzora !