diff --git a/forked-daapd.conf b/forked-daapd.conf index 0f72ddab..bf056f14 100644 --- a/forked-daapd.conf +++ b/forked-daapd.conf @@ -44,3 +44,9 @@ audio { # Audio device name for local audio output # card = "default" } + +# Airport Express device +#apex "ApEx" { + # AirTunes password +# password = "s1kr3t" +#} diff --git a/src/conffile.c b/src/conffile.c index c2313577..cc04cb3c 100644 --- a/src/conffile.c +++ b/src/conffile.c @@ -72,12 +72,20 @@ static cfg_opt_t sec_audio[] = CFG_END() }; +/* ApEx device section structure */ +static cfg_opt_t sec_apex[] = + { + CFG_STR("password", NULL, CFGF_NONE), + CFG_END() + }; + /* Config file structure */ static cfg_opt_t toplvl_cfg[] = { CFG_SEC("general", sec_general, CFGF_NONE), CFG_SEC("library", sec_library, CFGF_NONE), CFG_SEC("audio", sec_audio, CFGF_NONE), + CFG_SEC("apex", sec_apex, CFGF_MULTI | CFGF_TITLE), CFG_END() };