mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-26 14:13:18 -05:00
Register RSP and DAAP services in main()
This commit is contained in:
parent
c76c8165ce
commit
2fb7537346
@ -667,10 +667,12 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
port = conf_get_int("general", "port", 0);
|
||||
|
||||
/* Register main service */
|
||||
/* Register web server service */
|
||||
mdns_register(servername, "_http._tcp", port, txtrecord);
|
||||
/* Register plugin services */
|
||||
plugin_rend_register(servername, port, txtrecord);
|
||||
/* Register RSP service */
|
||||
mdns_register(servername, "_rsp._tcp", port, txtrecord);
|
||||
/* Register DAAP service */
|
||||
mdns_register(servername, "_daap._tcp", port, txtrecord);
|
||||
|
||||
for (i = 0; i < (sizeof(txtrecord) / sizeof(*txtrecord) - 1); i++)
|
||||
free(txtrecord[i]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user