Jinzora

From SME Server
Revision as of 21:03, 17 April 2021 by Unnilennium (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Warning.png Warning:
this contribution was only available for SME7. The package related to this contribution is not maintained anymore. You should use madsonic if you search for a music streaming service on your server


Jinzora for SME Server

PythonIcon.png Skill level: medium
The instructions on this page require a basic knowledge of linux.


Maintainer

Dungog.net (Software)

Version

smeserver-jinzora
The latest version of smeserver-jinzora is available in the SME repository, click on the version number(s) for more information.


jinzora
The latest version of jinzora is available in the SME repository, click on the version number(s) for more information.


Description

Jinzora enables you to stream your digital music and videos to any internet connected computer using a web browser.

Installation

Install from the SME Contribs repository using the following command on the SME Server shell:

yum --enablerepo=smecontribs install smeserver-jinzora

There is no need to reboot.

Setup

touch /opt/jinzora/settings.php
chmod 660 /opt/jinzora/settings.php
chown www.www /opt/jinzora/settings.php

To setup jinzora start your browser with the URL http://servername/jinzora and complete the forms.

Use the Jinzora installer suggestions, if in doubt
Step 4 - the defaults, standalone and streaming
[- or upgrade if upgrading then rm the install directory as below]

Step 5 >
- Backend Type = Database,
- Data Structure = File system,
- Media Layout = Artist, [Ignore Genre, less sorting]

Step 6 > Mysql values
- databasename 'jinzora2'
- user 'jinzora'
- find mysql password with 'config show jinzora' [see extra settings below]
- Create Database : false, but ignore any warnings.

Step 7 - enter the full path to your music
eg. /home/e-smith/files/ibays/dungog/files/music/
php open_basedir expects the music to be in an ibay
[symlinks don't work, mounting drives under ibays should, eg your mp3 player]

after installed, rm -rf /opt/jinzora/install

if setup gets confused, drop the database and reinstall jinzora

WARNING - long tracks, say over ten minutes, cause the web server to slow down requiring:

/etc/rc.d/init.d/httpd-e-smith restart

Upgrade

Jinzora does require you to go through the set up again, if your lucky it can take under a minute, choose upgrade on step 4 if things go badly, eg you enter a wrong value or you loose your settings.php and the setup gets confussed, you can force the reinstall of jinzora with rpm -Uvh --force jinzora-2.7.5-1.noarch.rpm

From the Manual - Upgrading Jinzora is generally a very simple process. If you are running a Jinzora 2.x release to upgrade simply download the package and replace all files in your current Jinzora installation with the new files. When you reload the Jinzora home page you will be taken through the Jinzora installer if necessary and if possible you may simply upgrade your existing installation rather than needing a full re-install. The installer has logic built in to know what it needs to do for you.

Incremental verision upgrades (2.3.2 to 2.3.3) do not require any intervention on your part. Simply replace the files and you should be all set. Minor and major version upgrades (2.2.x to 2.3.x or 2.2.x to 3.x when available) require going back through the installer and choosing "Upgrade".

Usage

Usage -> Yourserver.net/jinzora/

External / Local Access

Log in as root to your SME and the ONE of the following you need:

- if you want only local access (default)

config setprop jinzora PublicAccess local

- if you want only local access with a password authentification

config setprop jinzora PublicAccess local-pw

- if you want access from LAN and WAN without password

config setprop jinzora PublicAccess global

- if you want access from LAN and WAN with password

config setprop jinzora PublicAccess global-pw

- if you want access from everywhere with password only from WAN

config setprop jinzora PublicAccess global-pw-remote


Then do:

expand-template /etc/httpd/conf/httpd.conf
service httpd-e-smith restart

Uninstallation

rpm -e jinzora smeserver-jinzora

To remove mysql database and user, both are jinzora, see MySQL#Remove a database and MySQL#Remove a user. There is no need to reboot.

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-jinzora component or use this link .


"No open bugs found."

Changelog

Only released version in smecontrib are listed here.