Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-02-27 | db/simple: mount points | Max Kellermann | 8 | -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-27 | db/simple: GetRoot() returns reference | Max Kellermann | 1 | -2/+2 | |
2014-02-26 | db/simple/Directory: eliminate method LookupSong() | Max Kellermann | 3 | -30/+19 | |
Move to SimpleDatabase::GetSong() to give that method more control. | |||||
2014-02-26 | db/simple/Directory: LookupDirectory() return remaining URI | Max Kellermann | 3 | -41/+62 | |
Code can now be reused in LookupSong(). | |||||
2014-02-26 | db/simple/Directory: make variables more local | Max Kellermann | 1 | -4/+2 | |
2014-02-26 | db/Directory: add DEVICE_* documentation | Max Kellermann | 1 | -0/+10 | |
2014-02-26 | db/simple: create dedicated directory | Max Kellermann | 12 | -3/+1334 | |
2014-02-25 | db/simple: remove unused method LookupDirectory() | Max Kellermann | 2 | -14/+0 | |
2014-02-25 | db/simple: make internal methods "private" | Max Kellermann | 1 | -1/+1 | |
2014-02-25 | db/simple: add comment | Max Kellermann | 1 | -0/+1 | |
2014-02-25 | db/simple: move Create() up | Max Kellermann | 1 | -4/+4 | |
2014-02-19 | db/upnp: move plugin source to upnp directory | Max Kellermann | 2 | -2/+2 | |
2014-02-19 | DatabasePlugin: add FLAG_REQUIRE_STORAGE | Max Kellermann | 2 | -2/+2 | |
Ignore the storage configuration if FLAG_REQUIRE_STORAGE is not set in the DatabasePlugin. | |||||
2014-02-19 | DatabasePlugin: add attribute "flags" | Max Kellermann | 3 | -0/+3 | |
2014-02-19 | db/Interface: add attribute "plugin" | Max Kellermann | 6 | -5/+13 | |
The new method IsPlugin() replaces the "is_simple" flag. | |||||
2014-02-19 | DatabasePlugin: split header | Max Kellermann | 6 | -2/+13 | |
2014-02-04 | db/proxy: include cleanup | Max Kellermann | 1 | -1/+0 | |
2014-02-04 | Instance: add Database attribute | Max Kellermann | 1 | -0/+3 | |
Move from db/DatabaseGlue.cxx, eliminating global variable. | |||||
2014-02-04 | db/update/Service: add SimpleDatabase reference | Max Kellermann | 1 | -0/+4 | |
Don't use the global variables from the DatabaseSimple library. | |||||
2014-01-27 | Playlist{Info,Vector}: move to db/ | Max Kellermann | 1 | -1/+1 | |
2014-01-26 | db/upnp: remove sleep(2) call | Max Kellermann | 1 | -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-26 | upnp: initialize the client handle only once | Max Kellermann | 1 | -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-26 | upnp/discovery: use a plain UpnpClient_Handle instead of class LibUPnP | Max Kellermann | 1 | -1/+1 | |
2014-01-26 | db/upnp: move generic code to lib/upnp/ | Max Kellermann | 18 | -1647/+10 | |
2014-01-26 | db/upnp: rename variables | Max Kellermann | 1 | -21/+21 | |
2014-01-24 | DespotifyUtils, Expat: move to lib/ | Max Kellermann | 2 | -2/+2 | |
2014-01-24 | Database*: move to db/ | Max Kellermann | 30 | -0/+4575 | |