@@ -163,18 +163,28 @@ def setup_global_structs(args, isDebug=False):
163163 # 'firmwareBuildDate': 'Nov 5 2019',
164164 # 'firmwareRevision': '53.3-71050',
165165 # 'hardwareRevision': '1.21.1.8-2',
166+ # 'initialVolume': -144.0,
166167 'keepAliveLowPower' : True ,
167168 'keepAliveSendStatsAsBody' : True ,
168169 'manufacturer' : 'OpenAirplay' ,
169170 'model' : 'Receiver' ,
170171 'name' : DEV_NAME ,
171172 'nameIsFactoryDefault' : False ,
172173 'pi' : PI .decode (), # UUID generated casually..
174+ # 'psi': PI.decode(), # ?
173175 'protocolVersion' : '1.1' ,
174176 'sdk' : 'AirPlay;2.0.2' ,
175177 'sourceVersion' : SERVER_VERSION ,
176178 'statusFlags' : get_hex_bitmask (STATUS_FLAGS ),
179+ # 'supportedFormats': {
180+ # 'lowLatencyAudioStream': 0,
181+ # # 'screenStream': 21235712,
182+ # 'audioStream': 21235712,
183+ # 'bufferStream': 14680064,
184+ # },
177185 # 'statusFlags': 0x404 # Sonos One
186+ # 'volumeControlType': 4, # 1-4 all seem to behave the same.
187+ # 'vv': 2,
178188 }
179189
180190 if DISABLE_VM :
0 commit comments