Thursday, 17 June 2010

Gereqi-0.4.0 Development

Since I described what I expected to get done for version-0.4.0 a lot has been happening. No " just code refactoring". No faffing. Just work. Apart from Podcast support and a complete, working UI everything has been met and a whole lot more.

The list of features and improvements made so far are:

  1. pyinotify support for your collection folders. This includes multiple includes and excludes and specifies the option to perform a recursive watch. By using this package files are automatically added and removed from the database when the user adds and removes files from their watched directories,
  2. MYSQL support. Switch between SQLITE and MYSQL on the fly. Early testing shows MYSQL appears to be massively quicker than SQLITE(when not using the "PRAGMA synchronous = OFF" option),
  3. A settings dialog. It's not feature complete but it's definitely a start. Learning how to use modal dialogs has been a huge gain for this project,
  4. Webkit widget for the information page. The previous method of displaying information was too rigid and hopefully this new method should allow easier modifications and visual improvements. Plus anybody who knows html + css (I barely do) should be able to help out here,
  5. Flac block fixing is not done automatically. Previously Flac files which had multiple comment blocks were automatically fixed. Now, for each file, the user is prompted whether to fix the issue,
  6. System tray icon is an option instead of always being on,
  7. Option to rebuild the database from scratch.
  8. Displaying the collection by Albums or Artists
  9. Chose a cleaner section of the wikipedia result to display
  10. Album art covers are retrieved using the api of and then saved locally in ~/.gereqi/album-art. This is considerably quicker than using a Google "feeling lucky" result and parsing for the album art.
There are a few minor UI features I want to achieve before the release but things are looking good so far.

If you want to try the program there is no installer yet (for obvious reasons) but if you're feeling adventurous the tree at this revision is the most stable it's been in a long time. If you find issues please enter them in the issue tracker.


Webkit infopage showing the all the album covers of the playing artist

Mysql support and a checkboxed fileview.

Some UI options.

Equaliser dialog. It does nothing.

List by album.

List by artist.

Filtering artists.

Wikipedia information about the playing artist.


  1. Looks great, can't wait to try it out. Thanks for the hard work.

  2. Can't seem to get it going under Kubuntu 10.04:

    Traceback (most recent call last):
    File "/usr/local/bin/gereqi", line 29, in
    from gereqi.interface import MainWindow
    File "/usr/local/lib/python2.6/dist-packages/gereqi/", line 26, in
    from threads import Getinfo, Getwiki, Builddb, Finishers, Watcher, DeleteFiles
    File "/usr/local/lib/python2.6/dist-packages/gereqi/", line 30, in
    import pyinotify
    ImportError: No module named pyinotify

  3. Hi, you=are missing the package 'python-pyinotify'. For some reason I've omitted that from the .deb

    Thanks for trying out and letting me know of the issue.