neighbor: new subsystem to detect file servers on the local network

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.
This commit is contained in:
Max Kellermann
2014-01-18 16:36:42 +01:00
parent e847788569
commit 5c4a42caa0
26 changed files with 1101 additions and 2 deletions

View File

@@ -44,6 +44,7 @@ static const char *const idle_names[] = {
"update",
"subscription",
"message",
"neighbor",
nullptr
};