aboutsummaryrefslogtreecommitdiffstats
path: root/src/filelist.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-11-18filelist: filelist_find_song() returns position instead of pointerMax Kellermann1-1/+1
Making the function return the index makes it more flexible: those who want the pointer can use filelist_get(), and the others may use the index for other purposes.
2008-10-03filelist: added filelist_find_directory()Max Kellermann1-0/+3
The function filelist_find_directory() will be useful for the following patch.
2008-09-25filelist: removed attribute "updated"Max Kellermann1-3/+0
Since all screen updating is now on demand, we don't need this flag anymore.
2008-09-19filelist: use GPtrArray instead of GListMax Kellermann1-7/+3
Since we do a lot of indexed accesses to the filelist, a linked list doesn't seem appropriate. Use GPtrArray instead.
2008-09-19filelist: provide more functions for working with a filelistMax Kellermann1-0/+34
Avoid direct accesses to the filelist struct, provide an API for that.
2008-09-19filelist: drop "mpdclient" prefixMax Kellermann1-3/+2
The separate filelist library does not depend on mpdclient, so the prefix is superfluous.
2008-09-19mpdclient: moved code to filelist.cMax Kellermann1-21/+26
Move everything which is solely filelist related to filelist.c and filelist.h. Fix the indentation of that file, and provide the struct name "filelist". Don't clear data in mpdclient_filelist_free() before calling g_free(). Constify the "song" parameter to mpdclient_filelist_find_song().
2008-09-16lyrics: converted in-process plugins to external programsMax Kellermann1-5/+25
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
2008-09-15manage tag string allocations in a poolMax Kellermann1-0/+28
There are many duplicated strings in the tag database, e.g. many songs having the same artist. Don't allocate such strings twice, manage all strings in a pool.