aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* db/upnp: remove sleep(2) callMax Kellermann2014-01-261-3/+0
| | | | | This call was unnecessary. It is a bad idea anyway to block the MPD process for some arbitrary amount of time.
* upnp: initialize the client handle only onceMax Kellermann2014-01-264-70/+73
| | | | | | 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.
* upnp: move library initialization to Init.cxxMax Kellermann2014-01-264-17/+112
| | | | Allow calling UpnpGlobalInit() multiple times.
* upnp/discovery: use a plain UpnpClient_Handle instead of class LibUPnPMax Kellermann2014-01-263-9/+7
|
* upnp: add class UpnpCallbackMax Kellermann2014-01-266-26/+65
| | | | | | | Each Upnp*Async() call passes a new cookie pointer, and the cookie passed to UpnpRegisterClient() appears to be ignored. Using this interface is a more elegant approach than having one single "handler" function.
* CueParser: don't "move" the filenameMax Kellermann2014-01-261-1/+1
| | | | | This invalidated the std::string instance, and thus broke the CUE parser (commit 322b061632).
* upnp: remove obsolete global variable "theLib"Max Kellermann2014-01-261-6/+0
|
* upnp/Discovery: add listener interfaceMax Kellermann2014-01-262-2/+36
|
* db/upnp: move generic code to lib/upnp/Max Kellermann2014-01-2620-88/+118
|
* neighbor/Glue: fix rollback rangeMax Kellermann2014-01-261-1/+1
|
* db/upnp: rename variablesMax Kellermann2014-01-261-21/+21
|
* neighbor/Info: add constructorMax Kellermann2014-01-262-6/+6
|
* Makefile.am: add DespotifyUtils.cxx to libinput.a and libplaylist_plugins.aMax Kellermann2014-01-261-20/+6
| | | | Simplifies test program rules.
* Makefile.am: use $(MKDIR_P)Max Kellermann2014-01-261-1/+1
|
* NeighborCommands: convert assertion to runtime checkMax Kellermann2014-01-261-1/+5
|
* neighbor: new subsystem to detect file servers on the local networkMax Kellermann2014-01-2626-2/+1101
| | | | | | | | | | | | | This commit adds the NeighborPlugin API which can be used to detect nearby file servers that can be used by input plugins. This list of servers is exported using the new "listneighbors" command. The idle even "neighbor" notifies interested clients when a new neighbor is found or an existing one is lost. There's a lot missing currently: protocol&user documentation, and a way to "mount" remote servers into the music database. Obviously, some code from the UPnP database plugin can be moved to a neighbor plugin.
* lib/smbclient/Init: return empty username/passwordMax Kellermann2014-01-261-2/+2
| | | | This appears to be the right thing to do when we want anonymous login.
* input/smbclient: move code to lib/smbclient/Init.cxxMax Kellermann2014-01-254-19/+87
|
* ConfigGlobal: add config_find_block()Max Kellermann2014-01-246-122/+38
| | | Merge duplicate code.
* DespotifyUtils, Expat: move to lib/Max Kellermann2014-01-2412-17/+18
|
* Mixer*: move to mixer/Max Kellermann2014-01-2436-44/+44
|
* Filter*: move to filter/Max Kellermann2014-01-2429-67/+67
|
* Database*: move to db/Max Kellermann2014-01-24125-174/+174
|
* Sticker*: move to sticker/Max Kellermann2014-01-2411-10/+10
|
* Win32Main: move to win32/Max Kellermann2014-01-246-9/+9
|
* move daemonization code to unix/Max Kellermann2014-01-247-5/+5
|
* Input*: move to input/Max Kellermann2014-01-2476-117/+114
|
* Client*: move to client/Max Kellermann2014-01-2443-43/+43
|
* Update*: move to update/Max Kellermann2014-01-2434-23/+23
|
* Config*: move to config/Max Kellermann2014-01-2480-111/+111
|
* Queue*: move to queue/Max Kellermann2014-01-2412-9/+9
|
* Zeroconf*: move to zeroconf/Max Kellermann2014-01-2412-8/+8
|
* archive/*: move to archive/plugins/Max Kellermann2014-01-2425-43/+43
|
* decoder/*: move to decoder/plugins/Max Kellermann2014-01-24111-142/+142
|
* output/*: move to output/plugins/Max Kellermann2014-01-2371-91/+103
|
* playlist/*: move to playlist/plugins/Max Kellermann2014-01-2345-125/+178
|
* Encoder*: move to src/encoderMax Kellermann2014-01-2330-46/+49
| | | | .. and move the plugins to src/encoder/plugins/.
* UPGRADING: remove obsolete fileMax Kellermann2014-01-232-93/+1
| | | | | This file has been unmaintained for 5 years, and nowadays, MPD tries very hard to stay compatible with older versions.
* db/upnp/Discovery: use std::list instead of std::mapMax Kellermann2014-01-232-16/+33
| | | | | There will only be very few items, and that does not justify the bloat of std::map.
* db/upnp/Discovery: move code to LockAdd(), LockRemove()Max Kellermann2014-01-232-9/+21
|
* db/upnp/Discovery: un-inline the destructorMax Kellermann2014-01-232-0/+6
|
* Makefile.am: always link test/dump_playlist with DetachedSong.cxxMax Kellermann2014-01-231-1/+1
| | | | Fixes linker failure.
* DetachedSong: un-inline the destructorMax Kellermann2014-01-233-0/+10
| | | | Reduce bloat.
* db/upnp: un-inline a few destructorsMax Kellermann2014-01-239-1/+50
| | | | Reduce bloat.
* thread/Name: set thread namesMax Kellermann2014-01-237-0/+79
| | | | For debugging.
* thread/Util: set the SCHED_RESET_ON_FORK flag in SetThreadRealtime()Max Kellermann2014-01-231-1/+1
|
* db/upnp: strict vpath checks for the "root" directoryMax Kellermann2014-01-231-0/+20
|
* db/upnp: move code to VisitObject()Max Kellermann2014-01-231-22/+33
|
* db/upnp: merge two PathTraitsUTF8::Build() callsMax Kellermann2014-01-231-16/+4
|
* db/upnp: move code to VisitItem()Max Kellermann2014-01-231-61/+56
|