]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Fix some MQTT issues and a silly error.
authorMike Brady <mikebrady@eircom.net>
Mon, 4 Mar 2019 13:21:24 +0000 (13:21 +0000)
committerMike Brady <mikebrady@eircom.net>
Mon, 4 Mar 2019 13:21:24 +0000 (13:21 +0000)
common.h
configure.ac
shairport.c

index 70ca621971ca1ea87459f734bd69180995a89d71..9bc849e1e85be53b8fee2244386ae1afd9d4b314 100644 (file)
--- a/common.h
+++ b/common.h
@@ -104,6 +104,22 @@ typedef struct {
   int metadata_sockport;
   size_t metadata_sockmsglength;
   int get_coverart;
+#endif
+#ifdef CONFIG_MQTT
+  int mqtt_enabled;
+  char *mqtt_hostname;
+  int mqtt_port;
+  char *mqtt_username;
+  char *mqtt_password;
+  char *mqtt_capath;
+  char *mqtt_cafile;
+  char *mqtt_certfile;
+  char *mqtt_keyfile;
+  char *mqtt_topic;
+  int mqtt_publish_raw;
+  int mqtt_publish_parsed;
+  int mqtt_publish_cover;
+  int mqtt_enable_remote;
 #endif
   uint8_t hw_addr[6];
   int port;
index 446f62df29d6cd2972f33b4b828dd0cb23898530..9d03e798abe956cb1f79da14c69112e91cdf2c6d 100644 (file)
@@ -2,11 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.50])
-<<<<<<< HEAD
-AC_INIT([shairport-sync], [3.2.2], [mikebrady@eircom.net])
-=======
 AC_INIT([shairport-sync], [3.3rc0], [mikebrady@eircom.net])
->>>>>>> development
 AM_INIT_AUTOMAKE
 AC_CONFIG_SRCDIR([shairport.c])
 AC_CONFIG_HEADERS([config.h])
index f87e7725865ed673ed811333c105e99b98c85dca..ca23867cdc649f5b94e5e0c9bc279e08b9f1f8a2 100644 (file)
@@ -1692,10 +1692,10 @@ int main(int argc, char **argv) {
   if (config.mqtt_enabled) {
     initialise_mqtt();
   }
+#endif
 
   activity_monitor_start();
 
->>>>>>> development
   // daemon_log(LOG_INFO, "Successful Startup");
   rtsp_listen_loop();