Amarok has the ability to use the XML API in Amarok versions 2.1+. This allows Amarok to interface with your Ampache catalog(s) almost as though it was a local collection.
Amarok 2.1 does not support .m3u playlists (simply doesn't recognize them) and has been patched in svn by lfranchi. 2.1.1 should have .m3u support included. Any version other than 2.1 will be able to play your playlists generated from the Ampache web config. Just specify 'amarok' as the application to open .m3u files from within your browser and you should be good to go.
In order to use the API we will need to enable and configure the Ampache Access Control Lists. This requires Admin access to your Ampache installation and access to the /config/ampache.cfg.php file. Ampache defaults to a DENY FROM ALL behavior so you will need to setup your ACL's before you enabled the Access Control in your Config file. In the below example all of the computers running Amarok are on your local network (192.168.1.0/24).
New Installs of Ampache will come with 4 default ACL's to make configuration easier
If your ampache does not already have these ACL's please see Configuring Access Control Lists for more information about how to create them.
We need to allow API access to Ampache from our local network.
Now that we've created a few ACL's we need to make sure that Access Control is enabled. Open up your /config/ampache.cfg.php in a text editor and find the access_control line and enabled it as seen below
; Use Access List ; Toggle this on if you want ampache to pay attention to the access list ; and only allow streaming/downloading/xml-rpc from known hosts by default ; xml-rpc will not work without this on. ; DEFAULT: false access_control = "true"
Log out of your Ampache instance, and then log back in. If that works then go ahead and try playing some music. If either one of these things fails disable Access Control and double check your ACL entries. If you still aren't sure why it's failing then Enable Logging and see what the Logs report.