| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Eliminated the lyrics_loader struct. Instead of lyrics_free(),
callers should use plugin_stop().
|
| |
|
| |
|
|
|
|
| |
g_new() aborts the program when the kernel runs out of memory.
|
| |
|
|
|
|
|
| |
The lyrics library loads all plugins from the directory configured
with "--with-lyrics-plugin-dir".
|
|
|
|
|
| |
Instead of letting our caller poll lyrics_result(), call it back as
soon as we have the result.
|
|
|
|
|
| |
Instead of creating a thread for handling lyrics plugin data, register
a channel at the glib main loop.
|
|
In-process plugins are very problematic. It is much easier and
flexible to move the lyrics plugins to external programs, with a
trivial protocol. This is work in progress, among the things missing:
- protocol specification, including exit codes
- plugin installation
- plugin search directory
- run-time configuration (currently hard coded)
- automatic polling (using glib's main loop?)
- better and more robust error handling
|