|
|
(28 intermediate revisions by 8 users not shown) |
Line 1: |
Line 1: |
| [[Category:Amarok]]
| | <languages /> |
| | <translate> |
|
| |
|
| == Ampache == | | ===== Ampache ===== <!--T:1--> |
|
| |
|
| '''Amarok''' is able to play music from an '''Ampache''' media server. '''Ampache''' needs an '''Apache''' server to work. | | <!--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. |
|
| |
|
| === Ampache Client === | | ===== Ampache Client ===== <!--T:3--> |
|
| |
|
| Activate the '''Ampache''' service using <menuchoice>Settings -> Configure Amarok... -> Internet Services</menuchoice> before '''Amarok''' 2.4.1, 2.4.1 on: <menuchoice>Settings -> Configure Amarok... -> Plugins</menuchoice>.<br />
| |
| <br />
| |
| {|class="tablecenter vertical-centered"
| |
| |[[File:remotecollections_ampache_client.png|thumb|300px|Before 2.4.1: Click on the wrench icon to open the configuration dialog]]
| |
| |[[File:Amarok2.4.1ConfigureDialogPlugins.png|thumb|300px|2.4.1 on: Click on the wrench icon to open the configuration dialog]]
| |
| |}
| |
|
| |
|
| Configure the service with the data entered on the server:<br />
| | |
| <br /> | | <!--T:14--> |
| [[File:remotecollections_ampache_client1.png|center|350px]]<br /> | | [[File:Amarok_2.8_ConfigurationDialogPlugins.png|thumb|300px|center]] |
| <br /> | | |
| Now the '''Ampache''' service should appear in <menuchoice>Media Sources -> Internet</menuchoice>.<br /> | | |
| <br /> | | <!--T:15--> |
| | Activate the '''Ampache''' service using <menuchoice>Settings -> Configure Amarok -> Plugins</menuchoice>. Click on the {{Icon|configure}} icon to open the configuration dialog. |
| | |
| | |
| | <!--T:13--> |
| | 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 /> | | [[File:remotecollections_ampache_client2.png|center|300px]]<br /> |
|
| |
|
| === Ampache Server ===
| |
|
| |
|
| On '''Debian'''-based distributions like '''Ubuntu''' you can install '''Ampache''' using
| |
| {{Input|1=sudo apt-get install ampache}}
| |
| 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 />
| |
| {{Input|1=
| |
| Alias /music "/usr/share/ampache/www/"
| |
| <directory />
| |
| DirectoryIndex index.php index.html
| |
| Options Indexes MultiViews
| |
| AllowOverride None
| |
| Order allow,deny
| |
| Allow from all
| |
| </directory>
| |
| }}
| |
| Restart '''Apache''' with the command
| |
| {{Input|1=/etc/init.d/apache2 restart}} so you can access '''Ampache'''<nowiki>'s</nowiki> web interface using http://localhost/music/. You get the following page:<br />
| |
| <br />
| |
| [[File:remotecollections_ampache_installation.png|center|250px]]<br />
| |
| <br />
| |
| Choose your language and click <menuchoice>Start configuration</menuchoice> to configure '''Ampache'''. Enter the configuration of your '''MySQL''' database:<br />
| |
| <br />
| |
| [[File:remotecollections_ampache_installation1.png|center|350px]]<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 />
| |
| <br />
| |
| [[File:remotecollections_ampache_installation2.png|600px|center]]<br />
| |
| <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.png|center]]<br />
| |
| <br />
| |
| Log into your newly created account:<br />
| |
| <br />
| |
| [[File:remotecollections_ampache_login.png|center|300px]]<br />
| |
| <br />
| |
| And you will get the web interface:<br />
| |
| <br />
| |
| [[File:remotecollections_ampache_webinterface.png|300px|center]]<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|600px|center]]
| |
| <br />
| |
| Create a new guest account using <menuchoice>Admin -> Add User</menuchoice>:<br />
| |
| <br />
| |
| [[File:remotecollections_ampache_createuser.png|center|400px]]<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.
| |
|
| |
|
| | <!--T:9--> |
| {{Prevnext2 | | {{Prevnext2 |
| | prevpage=Amarok/Manual/AdvancedFeatures/RemoteCollections | nextpage=Amarok/Manual/AdvancedFeatures/RemoteCollections/DAAP | | | prevpage=Special:myLanguage/Amarok/Manual/Organization/Collection/RemoteCollections | nextpage=Special:myLanguage/Amarok/Manual/Organization/Collection/RemoteCollections/DAAP |
| | prevtext=Remote Collections | nexttext=DAAP | | | prevtext=Remote Collections | nexttext=DAAP |
| | index= Amarok/Manual | indextext=Back to Menu | | | index=Special:myLanguage/Amarok/Manual | indextext=Back to Menu |
| }} | | }} |
| | |
| | <!--T:10--> |
| | [[Category:Amarok2.8]] |
| | [[Category:Multimedia]] |
| | [[Category:Tutorials]] |
| | </translate> |