「Jinzora」の版間の差分
Kusanaginoturugi (トーク | 投稿記録) (英語版より記事を追加) |
Kusanaginoturugi (トーク | 投稿記録) (一部飜訳) |
||
1行目: | 1行目: | ||
[[Category:メディアサーバー]] |
[[Category:メディアサーバー]] |
||
+ | [https://sourceforge.net/projects/jinzora/ Jinzora] は GPL のウェブベースのマルチメディアアプリケーションです。ストリーミングサーバとして、またメディアマネジメントプラットフォームとして機能します。この記事では、Jinzora のインストールと設定方法について説明します。 |
||
− | [https://sourceforge.net/projects/jinzora/ Jinzora] is a GPL web based multimedia application. It serves as a streaming server as well as a media management platform. This article will show you how to install and configure Jinzora. |
||
− | == |
+ | == インストール == |
Jinzora can run in two modes, ''streaming'' and using ''mpd''. If you have not installed MPD already, see [[mpd]] (it is not required for the streaming mode to operate). |
Jinzora can run in two modes, ''streaming'' and using ''mpd''. If you have not installed MPD already, see [[mpd]] (it is not required for the streaming mode to operate). |
||
+ | === ウェブサーバーのセットアップ === |
||
− | === Setup the webserver === |
||
See [[LAMP]] for installing Apache, PHP and MySQL. |
See [[LAMP]] for installing Apache, PHP and MySQL. |
||
12行目: | 12行目: | ||
(Note: Installing phpMyAdmin from the above guide is optional; if you are ever likely to make your own website that will use PHP and MySQL, I would suggest you install it. Otherwise you probably will not need it.) |
(Note: Installing phpMyAdmin from the above guide is optional; if you are ever likely to make your own website that will use PHP and MySQL, I would suggest you install it. Otherwise you probably will not need it.) |
||
− | === |
+ | === PHP の設定 === |
Jinzora can make use of the GD and iconv library. It is recommend you enable these. Uncomment the following lines in {{ic|/etc/php/php.ini}}: |
Jinzora can make use of the GD and iconv library. It is recommend you enable these. Uncomment the following lines in {{ic|/etc/php/php.ini}}: |
||
23行目: | 23行目: | ||
Also take a look at the open_basedir setting. Your media directory should be in or below the paths specified in this directory. |
Also take a look at the open_basedir setting. Your media directory should be in or below the paths specified in this directory. |
||
+ | === Jinzora のダウンロードと展開 === |
||
− | === Download and extract Jinzora === |
||
Download the latest version of Jinzora2 from https://sourceforge.net/projects/jinzora/ and extract the contents using [[tar]]: |
Download the latest version of Jinzora2 from https://sourceforge.net/projects/jinzora/ and extract the contents using [[tar]]: |
||
29行目: | 29行目: | ||
# tar -xvf jz2current.tar.gz |
# tar -xvf jz2current.tar.gz |
||
− | == |
+ | == Jinzora の設定 == |
In the {{ic|~/httpd/html/jinzora2}} directory, run {{ic|configure.sh}}: |
In the {{ic|~/httpd/html/jinzora2}} directory, run {{ic|configure.sh}}: |
||
54行目: | 54行目: | ||
This seemed to have no adverse effect on the installation though, so if something similar happens to you, do not worry! |
This seemed to have no adverse effect on the installation though, so if something similar happens to you, do not worry! |
||
− | === |
+ | === 設定の保存 === |
When you have finished importing your music, click '''Proceed to save config''', then '''Proceed to launch Jinzora'''. |
When you have finished importing your music, click '''Proceed to save config''', then '''Proceed to launch Jinzora'''. |
||
68行目: | 68行目: | ||
If you wish to use Jinzora's streaming functionality, simply go back to your web browser, click refresh, select 'Music Player Daemon' from the 'Playback To' drop-down menu and Voila! Your own working copy of Jinzora! |
If you wish to use Jinzora's streaming functionality, simply go back to your web browser, click refresh, select 'Music Player Daemon' from the 'Playback To' drop-down menu and Voila! Your own working copy of Jinzora! |
||
+ | == トラブルシューティング == |
||
− | == Troubleshooting == |
||
* If you cannot get any sound despite all of the above, try testing mpd with another GUI client. If you have no sound in this either, you need to further edit {{ic|/etc/mpd.conf}}. Try uncommenting some of the ALSA settings in this file (assuming you use ALSA). |
* If you cannot get any sound despite all of the above, try testing mpd with another GUI client. If you have no sound in this either, you need to further edit {{ic|/etc/mpd.conf}}. Try uncommenting some of the ALSA settings in this file (assuming you use ALSA). |
2022年10月28日 (金) 10:49時点における版
Jinzora は GPL のウェブベースのマルチメディアアプリケーションです。ストリーミングサーバとして、またメディアマネジメントプラットフォームとして機能します。この記事では、Jinzora のインストールと設定方法について説明します。
目次
インストール
Jinzora can run in two modes, streaming and using mpd. If you have not installed MPD already, see mpd (it is not required for the streaming mode to operate).
ウェブサーバーのセットアップ
See LAMP for installing Apache, PHP and MySQL.
(Note: Installing phpMyAdmin from the above guide is optional; if you are ever likely to make your own website that will use PHP and MySQL, I would suggest you install it. Otherwise you probably will not need it.)
PHP の設定
Jinzora can make use of the GD and iconv library. It is recommend you enable these. Uncomment the following lines in /etc/php/php.ini
:
extension=gd extension=iconv
The PHP gd extension requires the gd library, php-gd, to be installed.
Also take a look at the open_basedir setting. Your media directory should be in or below the paths specified in this directory.
Jinzora のダウンロードと展開
Download the latest version of Jinzora2 from https://sourceforge.net/projects/jinzora/ and extract the contents using tar:
# tar -xvf jz2current.tar.gz
Jinzora の設定
In the ~/httpd/html/jinzora2
directory, run configure.sh
:
# sh configure.sh
Run the installer
The installer will automatically configure Jinzora and create the database. Open up your web browser, go to http://localhost/jinzora2/index.php and follow the instructions.
- Pay attention to these setup steps:
- Page 4 - Installation Type : Change from 'Streaming' to 'Streaming & Jukebox' if you wish to listen to the music on the computer you are installing Jinzora2 on (it is 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 is best to choose 'Database' for Backend Type. Also consider using the 'Tag Data' option for 'Data Structure', unless your music is organized on your filesystem exactly the way you want it to be.
- Page 6 - Backend Setup : Unless you have 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 have got a few gigs of music; simply enter into the box the directory where your music is stored. When the installer is finished importing the music from this directory, you will 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. You do not have to do it while installing.
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, do not worry!
設定の保存
When you have finished importing your music, click Proceed to save config, then Proceed to launch Jinzora.
Setting up MPD to play your music
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 have set in /etc/mpd.conf
.
Also in this file, change the port from '4800' to '6600', or whatever port you have set MPD to accept connections on in /etc/mpd.conf
.
If you wish to use Jinzora's streaming functionality, simply go back to your web browser, click refresh, select 'Music Player Daemon' from the 'Playback To' drop-down menu and Voila! Your own working copy of Jinzora!
トラブルシューティング
- If you cannot get any sound despite all of the above, try testing mpd with another GUI client. If you have no sound in this either, you need to further edit
/etc/mpd.conf
. Try uncommenting some of the ALSA settings in this file (assuming you use ALSA). - If you know that MPD is working, then try to match up the settings in Jinzora as closely to those in
/etc/mpd.conf
as possible (the settings in Jinzora are accessed from the 4th small green button on the upper left of the 'Slick' interface). - If changes to your playlist are ignored, go to System Tools > Settings Manager > Main Settings/Playlist and set use_ext_playlists to false.
- If when you click on the PLAY button of any song / album you are offered a 'playlist.m3u' download, then you have not changed the Playback To option to Music Player Daemon.