PHPAmarokDB

PHPAmarokDB is a PHP class that reads data from Amarok 1.4 and Amarok 2.x collection databases.

Requirements

  • PHP5
  • PEAR::MDB2
  • A copy of an Amarok collection database

Version Support

  • Amarok 1.4.x “Fast Forward”
  • Amarok 2

Usage

Tested

  • Amarok 1.4.10 with MySQL backend.
  • Amarok 2.2.2 with external MySQL backend.

Untested

I’d love to hear if any of these work or not.

  • Amarok 1.4.x SQLite, PostgreSQL backends
  • Amarok 2.x embedded MySQL backend

What’s New

20100116

  • Amarok 2.x support
  • Date filters
  • Better method of searching
  • Improved queries

20091022

  • Initial Release

Download

PHPAmarokDB.phps (Version 20100116)

FAQ

How do I copy my database to my web server?

I use this command:

mysqldump -u amarok -p<password> amarok | ssh okeeblow@cooltrainer.org mysql -u amarok -p<password> -h sql.cooltrainer.org amarok

Amarok 2 isn’t very good. How can I install 1.4 on Linux?

Linux isn’t really my thing, but this PPA seems to maintain 1.4 for Ubuntu, at least.