Added zeroconf service publishing using avahi
git-svn-id: https://svn.musicpd.org/mpd/trunk@5238 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user