mirror of
				https://github.com/owntone/owntone-server.git
				synced 2025-10-29 15:55:02 -04:00 
			
		
		
		
	Add Airport Express device section
This commit is contained in:
		
							parent
							
								
									f93090a713
								
							
						
					
					
						commit
						f7886c87cb
					
				| @ -44,3 +44,9 @@ audio { | |||||||
| 	# Audio device name for local audio output | 	# Audio device name for local audio output | ||||||
| #	card = "default" | #	card = "default" | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | # Airport Express device | ||||||
|  | #apex "ApEx" { | ||||||
|  | 	# AirTunes password | ||||||
|  | #	password = "s1kr3t" | ||||||
|  | #} | ||||||
|  | |||||||
| @ -72,12 +72,20 @@ static cfg_opt_t sec_audio[] = | |||||||
|     CFG_END() |     CFG_END() | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|  | /* ApEx device section structure */ | ||||||
|  | static cfg_opt_t sec_apex[] = | ||||||
|  |   { | ||||||
|  |     CFG_STR("password", NULL, CFGF_NONE), | ||||||
|  |     CFG_END() | ||||||
|  |   }; | ||||||
|  | 
 | ||||||
| /* Config file structure */ | /* Config file structure */ | ||||||
| static cfg_opt_t toplvl_cfg[] = | static cfg_opt_t toplvl_cfg[] = | ||||||
|   { |   { | ||||||
|     CFG_SEC("general", sec_general, CFGF_NONE), |     CFG_SEC("general", sec_general, CFGF_NONE), | ||||||
|     CFG_SEC("library", sec_library, CFGF_NONE), |     CFG_SEC("library", sec_library, CFGF_NONE), | ||||||
|     CFG_SEC("audio", sec_audio, CFGF_NONE), |     CFG_SEC("audio", sec_audio, CFGF_NONE), | ||||||
|  |     CFG_SEC("apex", sec_apex, CFGF_MULTI | CFGF_TITLE), | ||||||
|     CFG_END() |     CFG_END() | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user