aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/plugins (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-27db/simple: mount pointsMax Kellermann8-6/+386
A SimpleDatabase instance can now "mount" other Database instances at certain locations. This is used to use a new SimpleDatabase instance for each storage mount (issued with the "mount" protocol command). Each such instance has its own database file, stored in the directory that is specified with the "cache_directory" option.
2014-02-27db/simple: GetRoot() returns referenceMax Kellermann1-2/+2
2014-02-26db/simple/Directory: eliminate method LookupSong()Max Kellermann3-30/+19
Move to SimpleDatabase::GetSong() to give that method more control.
2014-02-26db/simple/Directory: LookupDirectory() return remaining URIMax Kellermann3-41/+62
Code can now be reused in LookupSong().
2014-02-26db/simple/Directory: make variables more localMax Kellermann1-4/+2
2014-02-26db/Directory: add DEVICE_* documentationMax Kellermann1-0/+10
2014-02-26db/simple: create dedicated directoryMax Kellermann12-3/+1334
2014-02-25db/simple: remove unused method LookupDirectory()Max Kellermann2-14/+0
2014-02-25db/simple: make internal methods "private"Max Kellermann1-1/+1
2014-02-25db/simple: add commentMax Kellermann1-0/+1
2014-02-25db/simple: move Create() upMax Kellermann1-4/+4
2014-02-19db/upnp: move plugin source to upnp directoryMax Kellermann2-2/+2
2014-02-19DatabasePlugin: add FLAG_REQUIRE_STORAGEMax Kellermann2-2/+2
Ignore the storage configuration if FLAG_REQUIRE_STORAGE is not set in the DatabasePlugin.
2014-02-19DatabasePlugin: add attribute "flags"Max Kellermann3-0/+3
2014-02-19db/Interface: add attribute "plugin"Max Kellermann6-5/+13
The new method IsPlugin() replaces the "is_simple" flag.
2014-02-19DatabasePlugin: split headerMax Kellermann6-2/+13
2014-02-04db/proxy: include cleanupMax Kellermann1-1/+0
2014-02-04Instance: add Database attributeMax Kellermann1-0/+3
Move from db/DatabaseGlue.cxx, eliminating global variable.
2014-02-04db/update/Service: add SimpleDatabase referenceMax Kellermann1-0/+4
Don't use the global variables from the DatabaseSimple library.
2014-01-27Playlist{Info,Vector}: move to db/Max Kellermann1-1/+1
2014-01-26db/upnp: remove sleep(2) callMax Kellermann1-3/+0
This call was unnecessary. It is a bad idea anyway to block the MPD process for some arbitrary amount of time.
2014-01-26upnp: initialize the client handle only onceMax Kellermann1-16/+10
Eliminate class LibUPnP and move the code to ClientInit.cxx. Its initialization function can be called multiple times, but UpnpRegisterClient() is called at most once.
2014-01-26upnp/discovery: use a plain UpnpClient_Handle instead of class LibUPnPMax Kellermann1-1/+1
2014-01-26db/upnp: move generic code to lib/upnp/Max Kellermann18-1647/+10
2014-01-26db/upnp: rename variablesMax Kellermann1-21/+21
2014-01-24DespotifyUtils, Expat: move to lib/Max Kellermann2-2/+2
2014-01-24Database*: move to db/Max Kellermann30-0/+4575