Difference between revisions of "Jinzora"

From Amahi Wiki
Jump to: navigation, search
Line 30: Line 30:
  
 
Point the “media_dirs” to the location where your audio files resides and then re-run the “Rescan media” function.
 
Point the “media_dirs” to the location where your audio files resides and then re-run the “Rescan media” function.
 
= Manual Install Instructions for Jinzora =
 
(Note this will be automated with one-click install)
 
 
 
* Create the install directory/web-app
 
** goto http://setup
 
** select the web-apps tab
 
** click create new button and use the name "jinzora"
 
 
* navigate to the web-apps directory
 
** from the command prompt
 
          cd /var/hda/web-apps/jinzora
 
 
* Download the Jinzora tarball - As of this writing, at: http://downloads.sourceforge.net/jinzora/jz275.tar.gz
 
** Form the command line enter
 
        wget http://downloads.sourceforge.net/jinzora/jz275.tar.gz
 
* remove the automatically created directory html. From the command line:
 
        rmdir html
 
* Untar the app: From the command line:
 
        tar -xzvf jz275.tar.gz
 
* This puts the .tar contents into the folder called jinzora2
 
* rename the folder "jinzora2" to the new name "html"
 
        mv jinzora2 html
 
       
 
* configure the security access .htaccess file (edit the file):
 
        nano /var/hda/web-apps/jinzora/html/.htaccess
 
* As the first character in all lines put a # then press  ctrl-x, and y and "enter" to save
 
 
* After that, jinzora should be ready to continue install ...
 
* Navigate to the jinzora directory
 
          cd /var/hda/web-apps/jinzora/html
 
* Your web server needs write permissions to some of the Jinzora files. To write log files and cached pages for example. We've created a script called 'configure.sh' that sets the required permissions. First, the script needs to be made executable:
 
          chmod 744 configure.sh
 
* Run the script to set permissions:
 
          sh ./configure.sh
 
 
* Create a database for jinzora to use
 
          hda-create-db-and-user jinzora2
 
(database name=jinzora2, username=jinzora2 and password=jinzora2)
 
 
At this point your basic app configuration should be up and running.
 
 
Launch Jinzora and follow the instructions.
 
* Use a browser and go to http://jinzora/
 
* Now you can setup jinzora
 
 
(at the end you will have to remove the install directory at some point):
 
    rm -rf /var/hda/web-apps/jinzora/html/install
 

Revision as of 22:14, 27 July 2009


Jinzora is a web based media streaming and management system, written in PHP.

"One-click" Jinzora Installer

The default administrator in the "One-click" install of Jinzora2 on Amahi is

 login: admin
 password: admin

The One-click installer is configured to have the music library stored in the share called "music."

Jinzora looks for a very specific structure whe looks for media. It expects to find a folder structure like this inside the music folder:

  • Level 1: Genre
  • Level 2: Artist
  • Level 3: Album
  • Level 4: sound tracks

If it does then Jinzora does a great job organizing the collection.

To scan your library into Jinzora:

  1. login as the user "admin"
  2. click the "Admin Tools" icon - in the little window at the top left of the screen
  3. in the pop-up window click "Media Management"
  4. click "Rescan media"
  5. select the options you prefer (All sub-items for me) and click the "Scan Now" button

To change the location where jinzora searches for audio files:

  1. Admin tools> system tools> settings manager> main settings> media_dirs

Point the “media_dirs” to the location where your audio files resides and then re-run the “Rescan media” function.