Changes

Jump to navigation Jump to search
81 bytes added ,  03:27, 18 October 2008
Level + indent
Line 1: Line 1:  
{{Languages|KPlaylist}}
 
{{Languages|KPlaylist}}
   −
=Maintainer=
+
=KPlaylist for SME Server=
 +
{{Level|medium}}
 +
 
 +
==Maintainer==
 
[[User:Cool34000|Sylvain Gomez]]<br/>
 
[[User:Cool34000|Sylvain Gomez]]<br/>
 
mailto:sylvaingomez@free.fr
 
mailto:sylvaingomez@free.fr
   −
=kPlaylist Description=
+
==kPlaylist Description==
 
[http://www.kplaylist.net/ kPlaylist] is a free PHP system that makes your music collection available via the Internet.  
 
[http://www.kplaylist.net/ kPlaylist] is a free PHP system that makes your music collection available via the Internet.  
   Line 12: Line 15:  
Read [http://www.kplaylist.net/index.php?readmore=true more] about kPlaylist and check the [http://www.kplaylist.net/index.php?features=true features].
 
Read [http://www.kplaylist.net/index.php?readmore=true more] about kPlaylist and check the [http://www.kplaylist.net/index.php?features=true features].
   −
=kPlaylist RPM=
+
==kPlaylist RPM==
==Install==
+
===Install===
 
To install kPlaylist, issue the following command:
 
To install kPlaylist, issue the following command:
 
  yum install smeserver-kplaylist --enablerepo=smecontribs
 
  yum install smeserver-kplaylist --enablerepo=smecontribs
 
You can ignore the yum-comments ''signal event post-upgrade'' and ''signal-event reboot''.
 
You can ignore the yum-comments ''signal event post-upgrade'' and ''signal-event reboot''.
   −
==Special commands==
+
===Special commands===
 
To view kPlaylist's configuration, you can type the following at the prompt:
 
To view kPlaylist's configuration, you can type the following at the prompt:
 
  config show kplaylist
 
  config show kplaylist
Line 36: Line 39:  
  /etc/rc7.d/S86httpd-e-smith sigusr1
 
  /etc/rc7.d/S86httpd-e-smith sigusr1
   −
==Update==
+
===Update===
 
The RPM installs the latest stable version (1.7.426). If you want to try the development release (1.7.464) or a custom install, simply upload the new file in '''''/opt/kplaylist/html/'''''.
 
The RPM installs the latest stable version (1.7.426). If you want to try the development release (1.7.464) or a custom install, simply upload the new file in '''''/opt/kplaylist/html/'''''.
   Line 49: Line 52:  
Then you may need to update the database, this extra step will be done at your first login.
 
Then you may need to update the database, this extra step will be done at your first login.
   −
==Uninstall==
+
===Uninstall===
 
To uninstall kPlaylist, just hit the following command:
 
To uninstall kPlaylist, just hit the following command:
 
  yum remove smeserver-kplaylist
 
  yum remove smeserver-kplaylist
Line 58: Line 61:  
{{Warning box|Default MP3 folder will be deleted by this script! Move your files before launching this script!}}
 
{{Warning box|Default MP3 folder will be deleted by this script! Move your files before launching this script!}}
   −
=kPlaylist Usage=
+
==kPlaylist Usage==
==Web Access==
+
===Web Access===
 
kPlaylist web interface is LAN ONLY by default (without HTTPS)
 
kPlaylist web interface is LAN ONLY by default (without HTTPS)
   Line 66: Line 69:  
  pass  : admin
 
  pass  : admin
 
Please change admin password first!
 
Please change admin password first!
==Getting started==
+
===Getting started===
 
kPlaylist's concept is pretty easy to understand:
 
kPlaylist's concept is pretty easy to understand:
 
  1) Upload your music in '''''/opt/kplaylist/files'''''(see the 3 following sections for more details)
 
  1) Upload your music in '''''/opt/kplaylist/files'''''(see the 3 following sections for more details)
 
  2) Update your database using Administration console ''Update''
 
  2) Update your database using Administration console ''Update''
 
  3) Enjoy!
 
  3) Enjoy!
==Upload==
+
===Upload===
 
Registered users can upload files. These files will be stored in '''''/opt/kplaylist/files''''' by default.
 
Registered users can upload files. These files will be stored in '''''/opt/kplaylist/files''''' by default.
   Line 79: Line 82:  
  /etc/rc7.d/S86httpd-e-smith sigusr1
 
  /etc/rc7.d/S86httpd-e-smith sigusr1
 
where ''xx'' is your needed size (don't forget the '''M'''!)
 
where ''xx'' is your needed size (don't forget the '''M'''!)
==Samba Access==
+
===Samba Access===
 
For faster local downloading/uploading you can use Samba to access '''''/opt/kplaylist/files'''''.
 
For faster local downloading/uploading you can use Samba to access '''''/opt/kplaylist/files'''''.
   Line 91: Line 94:  
  chown -R www:www /opt/kplaylist/files
 
  chown -R www:www /opt/kplaylist/files
   −
==Adding more sources folders==
+
===Adding more sources folders===
 
kPlaylist Supports multiple music sources (drives, directories, nmb, smbfs, nfs, etc).
 
kPlaylist Supports multiple music sources (drives, directories, nmb, smbfs, nfs, etc).
   Line 115: Line 118:  
Now go to kPlaylist web interface and login with the admin account. Click on Admin control ''Settings''. Then click on ''Filehandling'' and manually add your new path to the list (or create a symbolic link).
 
Now go to kPlaylist web interface and login with the admin account. Click on Admin control ''Settings''. Then click on ''Filehandling'' and manually add your new path to the list (or create a symbolic link).
   −
==Multiple Download==
+
===Multiple Download===
 
If you want to allow multiple download, edit '''''/opt/kplaylist/html/index.php''''' and modify the following value to true:
 
If you want to allow multiple download, edit '''''/opt/kplaylist/html/index.php''''' and modify the following value to true:
 
  $cfg['archivemode'] = true;
 
  $cfg['archivemode'] = true;
 
Now you will have more download options!
 
Now you will have more download options!
==mp3mail==
+
===mp3mail===
 
kPlaylist can send mail. If you want to use this feature, you need to tweak MySQL ''max_allowed_packet'' (else you will see an error page when trying to send mails).
 
kPlaylist can send mail. If you want to use this feature, you need to tweak MySQL ''max_allowed_packet'' (else you will see an error page when trying to send mails).
   Line 130: Line 133:  
  expand-template /etc/httpd/conf/httpd.conf
 
  expand-template /etc/httpd/conf/httpd.conf
 
  /etc/rc7.d/S86httpd-e-smith sigusr1
 
  /etc/rc7.d/S86httpd-e-smith sigusr1
==ID3v2 support==
+
===ID3v2 support===
 
getid3 v1.7.x is the default recommended tag reader for kPlaylist. If you want to add this feature to your kPlaylist, just follow this quick howto.
 
getid3 v1.7.x is the default recommended tag reader for kPlaylist. If you want to add this feature to your kPlaylist, just follow this quick howto.
   Line 143: Line 146:  
  $cfg['getid3include'] = '/opt/kplaylist/getid3/getid3/getid3.php';
 
  $cfg['getid3include'] = '/opt/kplaylist/getid3/getid3/getid3.php';
 
Save the file and check if it's working: log in as a admin to kPlaylist, click on Settings and then on 'Filehandling'. If 'Write id3v2 with stream' is not disabled, getid3 should be working. You should also see the version number in the right.
 
Save the file and check if it's working: log in as a admin to kPlaylist, click on Settings and then on 'Filehandling'. If 'Write id3v2 with stream' is not disabled, getid3 should be working. You should also see the version number in the right.
==Cron job==
+
===Cron job===
 
A cron job can be created to update kPlaylist's database. This has the same effect of clicking on "Update" button in Administration console.
 
A cron job can be created to update kPlaylist's database. This has the same effect of clicking on "Update" button in Administration console.
   Line 173: Line 176:  
Now each day at 23:30 the server will auto-update kPlaylist database.
 
Now each day at 23:30 the server will auto-update kPlaylist database.
   −
=Additional information=
+
==Additional information==
 
*[http://www.kplaylist.net/ Homepage]
 
*[http://www.kplaylist.net/ Homepage]
 
*[http://www.kplaylist.net/index.php?documentation=true Documentation]
 
*[http://www.kplaylist.net/index.php?documentation=true Documentation]

Navigation menu