Menu

#8 Add ampache database support

Unstable (example)
closed
nobody
None
5
2023-09-20
2012-11-05
No

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.

Discussion

  • Brian Millham

    Brian Millham - 2012-11-07

    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.

     
  • Brian Millham

    Brian Millham - 2012-11-10
     
  • Brian Millham

    Brian Millham - 2012-11-10

    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.

     
  • zoschel

    zoschel - 2012-11-11

    How do I add the patch?

     
  • Stephen Fairchild

    The patch has been merged into the master branch of the git repository. Small changes have been made.

     
  • caupo

    caupo - 2012-11-24

    @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.

     
  • Stephen Fairchild

    • status: open --> closed
    • Group: --> Unstable (example)
     

Log in to post a comment.