philippe_44 wrote: 
> One thing you could do for me is to create chromecast groups with the
> google home interface and see if they got properly reflected by LMS
> players. Do additions / suppression quickly and do as many as possible
> to create the mDNS storm is was referring to.
Not sure if I did it "quick enough" but : 
- group creations and deletions get reflected correctly as they are
done, I get logs looking like this : 

Code:
--------------------
    [22:36:18.028559] mDNSsearchCallback:600 ----------------- round 
------------------
  [22:36:18.028604] mDNSsearchCallback:603 host 192.168.1.1, srv 192.168.11.85, 
name Google-Cast-Group-3bc9099cf0624866a0984e7233eacc6d._googlecast._tcp.local 
  [22:36:18.028646] AddCastDevice:822 [0x3dbbe0]: adding renderer (Maison test)
  [22:36:18.028658] AddCastDevice:828 [0x3dbbe0]: creating MAC 3dc523
  [22:36:18.028924] stream_thread_init:307 [0x36bba0] streambuf size: 524288
  [22:36:18.029828] output_init:557 [0x36bba0] init output media renderer
  [22:36:18.029863] decode_thread_init:166 [0x36bba0]: init decode
  [22:36:18.030026] resample_init:345 [0x36bba0]: resampling sync recipe: 0x00, 
flags: 0x00, scale: 0.89, precision: 0.0, passband_end: 0.00000, 
stopband_begin: 0.00000, phase_response: -1.0
  [22:36:18.030055] discover_server:793 [0x36bba0] sending discovery
  [22:36:18.030060] mDNSsearchCallback:719 Updating configuration 
/usr/local/slimserver/prefs/castbridge.xml
  [22:36:18.031682] discover_server:825 [0x36bba0] got response from: 
192.168.1.33:3483
  [22:36:18.031744] slimproto:848 squeezelite [0x36bba0] <=> player [0x3dbbe0]
  [22:36:18.031757] slimproto:849 [0x36bba0] connecting to 192.168.1.33:3483
  [22:36:18.031952] slimproto:880 [0x36bba0] connected
  [22:36:18.031967] sendHELO:126 [0x36bba0] mac: cc:cc:75:e9:44:60
  [22:36:18.031980] sendHELO:127 [0x36bba0] cap: 
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=0,HasDigitalOut=1,MaxSampleRate=192000,aac,ogg,flc,aif,pcm,mp3
  [22:36:18.041377] mDNSsearchCallback:600 ----------------- round 
------------------
  [22:36:18.041430] mDNSsearchCallback:603 host 192.168.1.1, srv 192.168.11.86, 
name Google-Cast-Group-3bc9099cf0624866a0984e7233eacc6d._googlecast._tcp.local 
  [22:36:18.041455] UpdateCastDevice:468 [0x75e0e420]: changed ip:port 
192.168.11.86:42630
  [22:36:18.041470] mDNSsearchCallback:719 Updating configuration 
/usr/local/slimserver/prefs/castbridge.xml
  [22:36:18.051454] process:491 [0x36bba0] strm
  [22:36:18.051511] process_strm:232 [0x36bba0] strm command q
  [22:36:18.051523] decode_flush:206 [0x36bba0]: decode flush
  [22:36:18.051535] output_flush:552 [0x36bba0]: flush output buffer
  [22:36:18.051551] sq_callback:248 [0x3dbbe0]: device off or not controlled by 
LMS
  [22:36:18.051767] process:491 [0x36bba0] setd
  [22:36:18.051781] sendSETDName:218 [26]: set playername: Maison test
  [22:36:18.051859] process:491 [0x36bba0] setd
  [22:36:18.051998] process:491 [0x36bba0] aude
  [22:36:18.052011] process_aude:383 [0x36bba0] on/off using aude 1
  [22:36:18.052022] sq_callback:235 [0x3dbbe0]: device set ON
  [22:36:18.056521] CastConnect:359 [0x3dbbe0]: Cannot open socket connection 
(111)
  [22:36:18.056611] process:491 [0x36bba0] audg
  [22:36:18.056623] process_audg:397 [0x36bba0] (old) audg gainL: 46 gainR: 46
  [22:36:18.056638] sq_callback:333 Volume 50
  [22:36:18.056704] process:491 [0x36bba0] setd
  [22:36:18.056738] process_setd:418 [0x36bba0] set name: Maison test
  [22:36:18.056750] sendSETDName:218 [26]: set playername: Maison test
  [22:36:18.385856] SendCastMessage:238 [0x75e08ad0]: Cast sending: 
{"type":"GET_STATUS","requestId":527,"mediaSessionId":1}
  [22:36:18.436345] CastSocketThread:714 [0x3d8ca0]: type:MEDIA_STATUS (id:527) 
PLAYING
  [22:36:18.436404] MRThread:499 elapsed 545156, self 88432, gap 456724
  [22:36:18.436423] sq_notify:671 [0x35c260] time 89464 545156
  [22:36:19.003816] sendSTAT:160 [0x35c260]: STAT:[STMt] msplayed 89464
  [22:36:19.058087] mDNSsearchCallback:600 ----------------- round 
------------------
  [22:36:19.058128] mDNSsearchCallback:603 host 192.168.1.1, srv 192.168.11.86, 
name Google-Cast-Group-3bc9099cf0624866a0984e7233eacc6d._googlecast._tcp.local 
  [22:36:19.058150] UpdateCastDevice:468 [0x75e0e420]: changed ip:port 
192.168.11.85:42630
  [22:36:19.058164] mDNSsearchCallback:719 Updating configuration 
/usr/local/slimserver/prefs/castbridge.xml
  [22:36:19.436727] SendCastMessage:238 [0x75e08ad0]: Cast sending: 
{"type":"GET_STATUS","requestId":528,"mediaSessionId":1}
  [22:36:19.507181] CastSocketThread:714 [0x3d8ca0]: type:MEDIA_STATUS (id:528) 
PLAYING
  [22:36:19.507246] MRThread:499 elapsed 546227, self 89503, gap 456724
  [22:36:19.507263] sq_notify:671 [0x35c260] time 90535 546227
  [22:36:19.972261] stream_thread:286 [0x35c260] streambuf read 40960 bytes
  [22:36:20.004846] sendSTAT:160 [0x35c260]: STAT:[STMt] msplayed 90535
  [22:36:20.072436] stream_thread:286 [0x35c260] streambuf read 24576 bytes
  [22:36:20.172889] stream_thread:286 [0x35c260] streambuf read 147456 bytes
  [22:36:20.273146] stream_thread:286 [0x35c260] streambuf read 90112 bytes
  [22:36:20.373321] stream_thread:286 [0x35c260] streambuf read 40960 bytes
  [22:36:20.507671] SendCastMessage:238 [0x75e08ad0]: Cast sending: 
{"type":"GET_STATUS","requestId":529,"mediaSessionId":1}
  [22:36:20.557258] CastSocketThread:714 [0x3d8ca0]: type:MEDIA_STATUS (id:529) 
PLAYING
  [22:36:20.557315] MRThread:499 elapsed 547276, self 90553, gap 456723
  [22:36:20.557333] sq_notify:671 [0x35c260] time 91584 547276
  [22:36:20.891512] mDNSsearchCallback:600 ----------------- round 
------------------
  [22:36:20.891557] mDNSsearchCallback:603 host 192.168.1.1, srv 192.168.11.85, 
name Google-Cast-Group-3bc9099cf0624866a0984e7233eacc6d._googlecast._tcp.local 
  [22:36:20.891579] mDNSsearchCallback:719 Updating configuration 
/usr/local/slimserver/prefs/castbridge.xml
  [22:36:21.005875] sendSTAT:160 [0x35c260]: STAT:[STMt] msplayed 91584
  [22:36:21.557690] SendCastMessage:238 [0x75e08ad0]: Cast sending: 
{"type":"GET_STATUS","requestId":530,"mediaSessionId":1}
  [22:36:21.610106] CastSocketThread:714 [0x3d8ca0]: type:MEDIA_STATUS (id:530) 
PLAYING
  [22:36:21.610179] MRThread:499 elapsed 548329, self 91606, gap 456723
  [22:36:21.610198] sq_notify:671 [0x35c260] time 92637 548329
  [22:36:22.001732] process:491 [0x36f9f0] strm
  [22:36:22.001778] process_strm:232 [0x36f9f0] strm command t
  [22:36:22.001791] sendSTAT:160 [0x36f9f0]: STAT:[STMt] msplayed 0
  [22:36:22.002097] process:491 [0x3600b0] strm
  [22:36:22.002114] process_strm:232 [0x3600b0] strm command t
  [22:36:22.002125] sendSTAT:160 [0x3600b0]: STAT:[STMt] msplayed 0
  [22:36:22.002349] process:491 [0x36bba0] strm
  [22:36:22.002366] process_strm:232 [0x36bba0] strm command t
  [22:36:22.002377] sendSTAT:160 [0x36bba0]: STAT:[STMt] msplayed 0
  [22:36:22.002495] process:491 [0x363f00] strm
  [22:36:22.002512] process_strm:232 [0x363f00] strm command t
  [22:36:22.002523] sendSTAT:160 [0x363f00]: STAT:[STMt] msplayed 0
  [22:36:22.002929] process:491 [0x35c260] strm
  [22:36:22.002952] process_strm:232 [0x35c260] strm command t
  [22:36:22.002963] sendSTAT:160 [0x35c260]: STAT:[STMt] msplayed 92637
  [22:36:22.003188] process:491 [0x367d50] strm
  [22:36:22.003205] process_strm:232 [0x367d50] strm command t
  [22:36:22.003216] sendSTAT:160 [0x367d50]: STAT:[STMt] msplayed 0
  [22:36:22.610524] SendCastMessage:238 [0x75e08ad0]: Cast sending: 
{"type":"GET_STATUS","requestId":531,"mediaSessionId":1}
  [22:36:22.656467] CastSocketThread:714 [0x3d8ca0]: type:MEDIA_STATUS (id:531) 
PLAYING
  [...]
  [22:36:38.891748] stream_thread:286 [0x35c260] streambuf read 57344 bytes
  [22:36:39.003721] sendSTAT:160 [0x35c260]: STAT:[STMt] msplayed 109414
  [22:36:39.388250] SendCastMessage:238 [0x75e08ad0]: Cast sending: 
{"type":"GET_STATUS","requestId":547,"mediaSessionId":1}
  [22:36:39.434905] CastSocketThread:714 [0x3d8ca0]: type:MEDIA_STATUS (id:547) 
PLAYING
  [22:36:39.434965] MRThread:499 elapsed 566155, self 109431, gap 456724
  [22:36:39.434983] sq_notify:671 [0x35c260] time 110463 566155
  [22:36:39.744132] mDNSsearchCallback:600 ----------------- round 
------------------
  [22:36:39.744158] mDNSsearchCallback:603 host 192.168.1.1, srv 192.168.11.85, 
name Google-Cast-Group-3bc9099cf0624866a0984e7233eacc6d._googlecast._tcp.local 
  [22:36:39.744180] mDNSsearchCallback:654 [0x3dbbe0]: removing renderer () 
1977672976
  [22:36:39.744192] slimproto_close:918 [0x36bba0] slimproto stop for Maison 
test
  [22:36:39.844549] output_flush:552 [0x36bba0]: flush output buffer
  [22:36:39.844596] output_close:605 [0x36bba0] close media renderer
  [22:36:39.844612] decode_close:191 close decode
  [22:36:39.944434] stream_close:337 [0x36bba0] close stream
  [22:36:40.004741] sendSTAT:160 [0x35c260]: STAT:[STMt] msplayed 110463
  [22:36:40.435295] SendCastMessage:238 [0x75e08ad0]: Cast sending: 
{"type":"GET_STATUS","requestId":548,"mediaSessionId":1}
  [22:36:40.484347] CastSocketThread:714 [0x3d8ca0]: type:MEDIA_STATUS (id:548) 
PLAYING
--------------------

- the quick additions/deletions in the different groups are not
displayed in the log (and are effective) which is the expected behavior
if I understood correctly.

Once again: thank you very much ! :)


------------------------------------------------------------------------
philmo's Profile: http://forums.slimdevices.com/member.php?userid=68404
View this thread: http://forums.slimdevices.com/showthread.php?t=104614

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to