Difference between revisions of "Amarok/Manual/Organization/Collection/RemoteCollections/Ampache"

(Created page with "== Ampache == '''Amarok''' is able to play music from an '''Ampache'''-media-server. '''Ampache''' needs an '''Apache'''-server to work. === Client === Activate the '''Ampache...")
 
(Link update)
 
(46 intermediate revisions by 10 users not shown)
Line 1: Line 1:
== Ampache ==
+
<languages />
 +
<translate>
  
'''Amarok''' is able to play music from an '''Ampache'''-media-server. '''Ampache''' needs an '''Apache'''-server to work.
+
===== Ampache ===== <!--T:1-->
  
=== Client ===
+
<!--T:2-->
 +
'''Amarok''' is able to play music from an '''Ampache''' media server. If you want to install a server, see [https://github.com/ampache/ampache/wiki/Installation here] for more information.
  
Activate the '''Ampache''' service using <menuchoice>Settings -> Configure Amarok... -> Internet Services</menuchoice>.<br />
+
===== Ampache Client ===== <!--T:3-->
<br />
 
[[File:remotecollections_ampache_client.png]]<br />
 
<br />
 
Configure the service with the data entered on the server:<br />
 
<br />
 
[[File:remotecollections_ampache_client1.png]]<br />
 
<br />
 
Now the '''Ampache''' service should appear in the left pane.<br />
 
<br />
 
[[File:remotecollections_ampache_client2.png]]<br />
 
  
=== Server ===
 
  
On '''Debian'''-based distributions like '''Ubuntu''' you can install a '''Ampache'''-server using '''sudo apt-get install ampache'''.<br />
+
 
You need to tell the '''Apache'''-server where it can find the '''Ampache'''-files. Create the file ''/etc/apache2/conf.d/ampache'' with the following content:<br />
+
<!--T:14-->
{{Input|1=
+
[[File:Amarok_2.8_ConfigurationDialogPlugins.png|thumb|300px|center]]
Alias /music "/usr/share/ampache/www/"
+
 
<directory />
+
 
    DirectoryIndex index.php index.html
+
<!--T:15-->
    Options Indexes MultiViews
+
Activate the '''Ampache''' service using <menuchoice>Settings -> Configure Amarok -> Plugins</menuchoice>. Click on the {{Icon|configure}} icon to open the configuration dialog.
    AllowOverride None
+
 
    Order allow,deny
+
 
    Allow from all
+
<!--T:13-->
</directory>
+
Select <menuchoice>Add Server</menuchoice>:
 +
 
 +
<!--T:11-->
 +
[[File:remotecollections_ampache_client1.png|center|350px]]
 +
 
 +
<!--T:5-->
 +
Configure the service with the data entered on the server:
 +
 
 +
<!--T:6-->
 +
[[File:Amarok_ampache_Client2.png‎|center|350px]]
 +
 
 +
<!--T:7-->
 +
Now the '''Ampache''' service should appear in <menuchoice>Media Sources -> Internet</menuchoice>.
 +
 
 +
<!--T:8-->
 +
[[File:remotecollections_ampache_client2.png|center|300px]]<br />
 +
 
 +
 
 +
 
 +
<!--T:9-->
 +
{{Prevnext2
 +
| prevpage=Special:myLanguage/Amarok/Manual/Organization/Collection/RemoteCollections | nextpage=Special:myLanguage/Amarok/Manual/Organization/Collection/RemoteCollections/DAAP
 +
| prevtext=Remote Collections | nexttext=DAAP
 +
| index=Special:myLanguage/Amarok/Manual | indextext=Back to Menu
 
}}
 
}}
Restart '''Apache''' with the command ''/etc/init.d/apache2 restart'' so you can access the '''Ampache'''-webinterface using http://localhost/music/ . You get the following page:<br />
+
 
<br />
+
<!--T:10-->
[[File:remotecollections_ampache_installation.png]]<br />
+
[[Category:Amarok2.8]]
<br />
+
[[Category:Multimedia]]
Choose your language and click <menuchoice>Start configuration</menuchoice> to configure '''Ampache'''. Enter the configuration of your '''MySQL'''-database:<br />
+
[[Category:Tutorials]]
<br />
+
</translate>
[[File:remotecollections_ampache_installation1.png]]<br />
 
<br />
 
Click <menuchoice>Insert Database</menuchoice> to create the user and database. You will get an error message because there is already a configuration file which is empty. Just enter your '''MySQL'''-configuration again and click <menuchoice>Write Config</menuchoice> and you will get a configuration file as download.<br />
 
[[File:remotecollections_ampache_installation2.png]]<br />
 
Save this file to ''/usr/share/ampache/www/config/ampache.cfg.php'' and overwrite the existing (empty) configuration. After you clicked <menuchoice>Continue to Step 3</menuchoice> you can create the initial account to manage '''Ampache'''.<br />
 
<br />
 
[[File:remotecollections_ampache_installation3]]<br />
 
<br />
 
Log into your newly created account:<br />
 
<br />
 
[[File:remotecollections_ampache_login.png]]<br />
 
<br />
 
And you will get the webinterface:<br />
 
<br />
 
[[File:remotecollections_ampache_webinterface.png]]<br />
 
<br />
 
Click on <menuchoice>Add a Catalog</menuchoice> in the <menuchoice>Admin</menuchoice> on the left to create a new catalog of music.<br />
 
<br />
 
[[File:remotecollections_ampache_catalog.png]]<br />
 
<br />
 
Create a new guest account using <menuchoice>Admin -> Add User</menuchoice>:<br />
 
<br />
 
[[File:remotecollections_ampache_createuser.png]]<br />
 
<br />
 
Now you need to allow guest access on your server. Open the configuration in ''/usr/share/ampache/www/config/ampache.cfg.php'' and remove the ';'-character before ''auto_user = "guest"''. Restart '''Apache''' and the server configuration is finished.
 

Latest revision as of 11:40, 2 July 2017

Other languages:
English • ‎Türkçe • ‎dansk • ‎polski • ‎português do Brasil • ‎čeština • ‎українська
Ampache

Amarok is able to play music from an Ampache media server. If you want to install a server, see here for more information.

Ampache Client
Amarok 2.8 ConfigurationDialogPlugins.png


Activate the Ampache service using Settings -> Configure Amarok -> Plugins. Click on the Icon-configure.png icon to open the configuration dialog.


Select Add Server:

Remotecollections ampache client1.png

Configure the service with the data entered on the server:

Amarok ampache Client2.png

Now the Ampache service should appear in Media Sources -> Internet.

Remotecollections ampache client2.png




This page was last edited on 2 July 2017, at 11:40. Content is available under Creative Commons License SA 4.0 unless otherwise noted.
-->