aboutsummaryrefslogtreecommitdiffstats
path: root/src/lyrics.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* lyrics: return plugin_cycle structMax Kellermann2008-12-121-17/+2
| | | | | Eliminated the lyrics_loader struct. Instead of lyrics_free(), callers should use plugin_stop().
* lyrics: use the new plugin libraryMax Kellermann2008-12-121-240/+10
|
* lyrics: free lyrics_loader struct in lyrics_free()Max Kellermann2008-12-121-0/+2
|
* lyrics: g_new() cannot fail, don't checkMax Kellermann2008-12-121-3/+0
| | | | g_new() aborts the program when the kernel runs out of memory.
* lyrics.c: replaced mpd_unused by G_GNUC_UNUSEDThomas Jansen2008-11-241-3/+2
|
* lyrics: configurable global plugin directoryMax Kellermann2008-09-231-4/+19
| | | | | The lyrics library loads all plugins from the directory configured with "--with-lyrics-plugin-dir".
* lyrics: added callbackMax Kellermann2008-09-231-24/+31
| | | | | Instead of letting our caller poll lyrics_result(), call it back as soon as we have the result.
* lyrics: reimplemented with aynchronous I/OMax Kellermann2008-09-231-69/+98
| | | | | Instead of creating a thread for handling lyrics plugin data, register a channel at the glib main loop.
* lyrics: converted in-process plugins to external programsMax Kellermann2008-09-161-0/+243
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