mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-02 17:36:00 -05:00
ifdef the upnp stuff in main
This commit is contained in:
parent
5e9d9a3f20
commit
69ec57328e
@ -589,7 +589,9 @@ int main(int argc, char *argv[]) {
|
||||
config.reload = 1; /* force a reload on start */
|
||||
|
||||
while(!config.stop) {
|
||||
#ifdef UPNP
|
||||
upnp_tick(); /* run the upnp loop */
|
||||
#endif
|
||||
|
||||
if((conf_get_int("general","rescan_interval",0) &&
|
||||
(rescan_counter > conf_get_int("general","rescan_interval",0)))) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user