aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorJim Ramsay <i.am@jimramsay.com>2007-01-11 20:41:17 +0000
committerJim Ramsay <i.am@jimramsay.com>2007-01-11 20:41:17 +0000
commit5d79aced8cc587b8b8889647b7cb9da79d500d64 (patch)
treef468e73434d6dea628859e93bd722313a5244ebc /src/main.c
parent2d985b01c2685f8f05fdc7c1e78cbca0f170b5b9 (diff)
downloadmpd-5d79aced8cc587b8b8889647b7cb9da79d500d64.tar.gz
mpd-5d79aced8cc587b8b8889647b7cb9da79d500d64.tar.xz
mpd-5d79aced8cc587b8b8889647b7cb9da79d500d64.zip
Added zeroconf service publishing using avahi
git-svn-id: https://svn.musicpd.org/mpd/trunk@5238 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index e32146e6c..1166237ec 100644
--- a/src/main.c
+++ b/src/main.c
@@ -42,6 +42,7 @@
#include "../config.h"
#include "utils.h"
#include "normalize.h"
+#include "zeroconf.h"
#include "localization.h"
#include <stdio.h>
@@ -452,6 +453,7 @@ int main(int argc, char *argv[])
initAudioDriver();
initVolume();
initInterfaces();
+ initZeroconf();
initReplayGainState();
initNormalization();
initInputStream();
@@ -477,6 +479,7 @@ int main(int argc, char *argv[])
write_state_file();
playerKill();
+ finishZeroconf();
freeAllInterfaces();
closeAllListenSockets();
finishPlaylist();