Add ampache database support
A feature packed DJ console and internet radio client for Linux users
Status: Beta
Brought to you by:
s-fairchild
A patch to enable support for the ampache database format. This could probably be done a little better, I used a global variable to track which database type is in use.
The database type is detected on connection to the database. Both prokyon and ampache databases will work. Searching is supported, and the fulltext index will be added if needed to both database types.
This patch also include my previous patch to fully enable UTF8 support.
Updated the patch to remove the ugly global that I originally used.
Shows the type of database when connected.
Fix a bug where the prokyon database type was tried twice on connection.
Fixed a bug where disconnection from the database didn't work.
Shows the prefix when searching using where on artist or album.
Updated the patch to allow transforming path names in the database. If the path in the database is /music you can now change it to //smb:mountedmusic or a different path on the local system.
How do I add the patch?
The patch has been merged into the master branch of the git repository. Small changes have been made.
@zoschel71: Looking at the patch in gedit it looks like a lot of manual work in the various .py-files. The description is detailed enough.