Plugin management

Plugins can be installed globally, exact locations are installation / distribution specific, or user-locally. Exact location depends on a plugin sort, as far as I can see there are three sorts of plugins - editing (tag editing), events and songsmenu (context menu), each sort residing in so named subdirectory of ~/.quodlibet/plugins/ (or $SOME_PREFIX/plugins/ where SOME_PREFIX is installation specific, on ubuntu it's /usr/share/quodlibet).

One reason to install plugins under user directory is that in this case python will be able to save compiled plugins (global location is most probably not writable by mortals) and next time plugin is loaded it won't have to be compiled again, which makes loading a tiny bit faster (this speed up is accumulative - if you have many plugins you might even notice it :-))

Initial restore stage

no third-party plugins yet :(

Tag Editing plugins (~/.quodlibet/plugins/editing/)

Event Related Plugins (~/.quodlibet/plugins/events/)

These plugins install one or more callback methods to be called when appropriate event happens. The following events are available:

  • Song started: obj.plugin_on_song_started(song)
  • Song ended: obj.plugin_on_song_ended(song, stopped)
  • Added: obj.plugin_on_added([song1, song2, ...])
  • Changed: obj.plugin_on_changed([song1, song2, ...])
  • Removed: obj.plugin_on_removed([song1, song2, ...])
  • Paused: obj.plugin_on_paused()
  • Unpaused: obj.plugin_on_unpaused()
  • Seek: obj.plugin_on_seek(song, msec)

Third party event plugins:

Context Menu Plugins (~/.quodlibet/plugins/songsmenu/)

To download the following attachments add "?format=raw" to the attachment URL.

Attachments