Author Topic: Sonos - TTS  (Read 7968 times)

0 Members and 1 Guest are viewing this topic.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Sonos - TTS
« Reply #15 on: April 10, 2016, 12:15:12 PM »
I switched all my TTS over to the Sonos and have been testing for the last few days and it's working flawlessly for me.  All that happens is the TTS is a bit delayed if the Sonos is sleeping but presumably this is unavoidable.

Are you using a single player or a group for TTS? I have only been testing with a single player.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Sonos - TTS
« Reply #16 on: April 10, 2016, 12:39:47 PM »
I don't know if it will help but can you please try replacing these files and let me know what error you get if any.

fuzzysb

  • Jr. Member
  • **
  • Posts: 13
  • Karma: 0
    • View Profile
Re: Sonos - TTS
« Reply #17 on: April 22, 2016, 06:08:52 PM »
sorry for the delay. i have been tied up on other things, only just seen your replies i will have a play and get back to you, cheers FYI i was using a group

fuzzysb

  • Jr. Member
  • **
  • Posts: 13
  • Karma: 0
    • View Profile
Re: Sonos - TTS
« Reply #18 on: May 19, 2016, 08:06:38 AM »
Hi, I have been using the Beta and it is so very very close to perfection.

i have a regular issue with what appears to be a race condition with saving the TTS file and Playing it back. it starts happening once per day the error when playing back the file is Object Reference not set to an instance of an object. restarting voxcommando fixes this for about another day or sometimes less only 12 hours.

once it starts happening all of the TTS announcements fail. I can work around it by looking for the error in the log file and automatically restarting vox commando but one of my TTS announcements will never be heard so its not reliable.

the portion of the log that fails is

Code: [Select]
5/19/2016 11:39:06 AM 625 Action from plugin: C:\VoxCommando\Plugins\Sonos\Sonos.dll
5/19/2016 11:39:06 AM 625 [plugin] Sonos: saving tts to: \\FUZZY-TV\TTS\tts.wav
5/19/2016 11:39:07 AM 218 [plugin] Sonos: asking sonos to play: FUZZY-TV/TTS/tts.wav
5/19/2016 11:39:07 AM 218 Action ERROR: Unable to play wav file: \\FUZZY-TV\TTS\tts.wav
Object reference not set to an instance of an object.





fuzzysb

  • Jr. Member
  • **
  • Posts: 13
  • Karma: 0
    • View Profile
Re: Sonos - TTS
« Reply #19 on: May 19, 2016, 08:07:25 AM »
this was the first failure of playback today. just earlier than that today there seemed to be a topology changed event (even though the topology of the groups etc had not changed so maybe this is the cause of the object not set to an instance of an object?

Code: [Select]
5/19/2016 11:29:52 AM 159 [plugin] Sonos: controller TopologyChanged
5/19/2016 11:29:52 AM 378 [plugin] Sonos: Found zone:Conservatory, coordinator: Conservatory
5/19/2016 11:29:52 AM 378 [plugin] Sonos: Found zone:Living Room, coordinator: Living Room
5/19/2016 11:29:52 AM 378 [plugin] Sonos: Found player: Conservatory : RINCON_000E58868EAA01400
5/19/2016 11:29:52 AM 378 [plugin] Sonos: Found player: Living Room : RINCON_B8E937755C4C01400
5/19/2016 11:29:52 AM 378 [plugin] Sonos: player set to:Conservatory
5/19/2016 11:29:52 AM 378 [plugin] Sonos: coordinator set to:Conservatory
5/19/2016 11:29:52 AM 549 [plugin] Sonos: CTLMAIN TopologyChanged
5/19/2016 11:30:01 AM 425 [plugin] Sonos: controller TopologyChanged
5/19/2016 11:30:01 AM 643 [plugin] Sonos: Found zone:Living Room, coordinator: Living Room
5/19/2016 11:30:01 AM 643 [plugin] Sonos: Found zone:Conservatory, coordinator: Conservatory
5/19/2016 11:30:01 AM 643 [plugin] Sonos: Found player: Living Room : RINCON_B8E937755C4C01400
5/19/2016 11:30:01 AM 643 [plugin] Sonos: Found player: Conservatory : RINCON_000E58868EAA01400
5/19/2016 11:30:01 AM 643 [plugin] Sonos: player set to:Conservatory
5/19/2016 11:30:01 AM 643 [plugin] Sonos: coordinator set to:Conservatory
5/19/2016 11:30:03 AM 190 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:30:03 AM 190 [plugin] Sonos: Will not generate playback events during discovery, or tts.wav playback
5/19/2016 11:30:03 AM 925 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:30:03 AM 925 [plugin] Sonos: Will not generate playback events during discovery, or tts.wav playback
5/19/2016 11:30:06 AM 112 [plugin] Sonos: CTLMAIN TopologyChanged
5/19/2016 11:30:15 AM 706 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:30:15 AM 706 [plugin] Sonos: [27] Player state changed event fired for: Conservatory
5/19/2016 11:30:15 AM 821 [plugin] Sonos: [27]
5/19/2016 11:30:19 AM 237 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:30:19 AM 237 [plugin] Sonos: [28] Player state changed event fired for: Conservatory
5/19/2016 11:30:19 AM 347 [plugin] Sonos: [28]
5/19/2016 11:30:19 AM 628 [plugin] Sonos: [27] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:30:20 AM 409 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:30:20 AM 409 [plugin] Sonos: [29] Player state changed event fired for: Conservatory
5/19/2016 11:30:20 AM 519 [plugin] Sonos: [29]
5/19/2016 11:30:22 AM 550 [plugin] Sonos: [29] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()

fuzzysb

  • Jr. Member
  • **
  • Posts: 13
  • Karma: 0
    • View Profile
Re: Sonos - TTS
« Reply #20 on: May 19, 2016, 08:08:04 AM »
Code: [Select]
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:30:22 AM 659 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:30:22 AM 659 [plugin] Sonos: [30] Player state changed event fired for: Master Bedroom
5/19/2016 11:30:22 AM 784 [plugin] Sonos: [30]
5/19/2016 11:30:23 AM 894 [plugin] Sonos: [28] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:30:27 AM 19 [plugin] Sonos: [30] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:30:33 AM 284 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:30:33 AM 284 [plugin] Sonos: [31] Player state changed event fired for: Conservatory
5/19/2016 11:30:33 AM 394 [plugin] Sonos: [31]
5/19/2016 11:30:35 AM 191 [plugin] Sonos: [31] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:30:38 AM 706 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:30:38 AM 706 [plugin] Sonos: [32] Player state changed event fired for: Living Room
5/19/2016 11:30:38 AM 816 [plugin] Sonos: [32]
5/19/2016 11:30:40 AM 863 [plugin] Sonos: [32] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:30:41 AM 600 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:30:41 AM 600 [plugin] Sonos: [33] Player state changed event fired for: Living Room
5/19/2016 11:30:41 AM 722 [plugin] Sonos: [33]
5/19/2016 11:30:45 AM 394 [plugin] Sonos: [33] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:30:49 AM 769 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:30:49 AM 769 [plugin] Sonos: [34] Player state changed event fired for: Master Bedroom
5/19/2016 11:30:49 AM 878 [plugin] Sonos: [34]
5/19/2016 11:30:52 AM 222 [plugin] Sonos: [34] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:30:54 AM 503 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:30:54 AM 503 [plugin] Sonos: [35] Player state changed event fired for: Living Room
5/19/2016 11:30:54 AM 613 [plugin] Sonos: [35]
5/19/2016 11:30:57 AM 285 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:30:57 AM 285 [plugin] Sonos: [36] Player state changed event fired for: Master Bedroom
5/19/2016 11:30:57 AM 394 [plugin] Sonos: [36]
5/19/2016 11:30:57 AM 582 [plugin] Sonos: [35] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:30:57 AM 878 [plugin] Sonos: [36] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:30:58 AM 97 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:30:58 AM 97 [plugin] Sonos: [37] Player state changed event fired for: Living Room
5/19/2016 11:30:58 AM 222 [plugin] Sonos: [37]
5/19/2016 11:30:59 AM 144 [plugin] Sonos: [37] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:31:03 AM 738 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:31:03 AM 738 [plugin] Sonos: [38] Player state changed event fired for: Conservatory
5/19/2016 11:31:03 AM 863 [plugin] Sonos: [38]
5/19/2016 11:31:06 AM 285 [plugin] Sonos: [38] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:31:07 AM 441 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:31:07 AM 441 [plugin] Sonos: [39] Player state changed event fired for: Conservatory
5/19/2016 11:31:07 AM 551 [plugin] Sonos: [39]
5/19/2016 11:31:11 AM 66 [plugin] Sonos: [39] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:31:13 AM 582 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:31:13 AM 582 [plugin] Sonos: [40] Player state changed event fired for: Conservatory
5/19/2016 11:31:13 AM 707 [plugin] Sonos: [40]
5/19/2016 11:31:15 AM 457 [plugin] Sonos: [40] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:31:16 AM 848 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:31:16 AM 848 [plugin] Sonos: [41] Player state changed event fired for: Conservatory
5/19/2016 11:31:16 AM 957 [plugin] Sonos: [41]
5/19/2016 11:31:17 AM 832 [plugin] Sonos: [41] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:31:20 AM 191 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:31:20 AM 191 [plugin] Sonos: [42] Player state changed event fired for: Living Room
5/19/2016 11:31:20 AM 316 [plugin] Sonos: [42]
5/19/2016 11:31:21 AM 691 [plugin] Sonos: [42] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:31:23 AM 363 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:31:23 AM 363 [plugin] Sonos: [43] Player state changed event fired for: Living Room
5/19/2016 11:31:23 AM 473 [plugin] Sonos: [43]
5/19/2016 11:31:24 AM 270 [plugin] Sonos: [43] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:31:27 AM 676 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:31:27 AM 676 [plugin] Sonos: [44] Player state changed event fired for: Living Room
5/19/2016 11:31:27 AM 785 [plugin] Sonos: [44]
5/19/2016 11:31:28 AM 598 [plugin] Sonos: [44] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:31:29 AM 988 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:31:29 AM 988 [plugin] Sonos: [45] Player state changed event fired for: Living Room
5/19/2016 11:31:30 AM 98 [plugin] Sonos: [45]
5/19/2016 11:31:30 AM 863 [plugin] Sonos: [45] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:31:34 AM 285 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:31:34 AM 285 [plugin] Sonos: [46] Player state changed event fired for: Conservatory
5/19/2016 11:31:34 AM 442 [plugin] Sonos: [46]
5/19/2016 11:31:35 AM 20 [plugin] Sonos: [46] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:31:36 AM 285 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:31:36 AM 285 [plugin] Sonos: [47] Player state changed event fired for: Conservatory
5/19/2016 11:31:36 AM 442 [plugin] Sonos: [47]
5/19/2016 11:31:37 AM 410 [plugin] Sonos: [47] System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XElement.Parse(String text, LoadOptions options)
   at vcPlugin.playStateInfo.Parse(String xmlString)
   at vcPlugin.playStateInfo..ctor(SonosPlayer sp)
   at vcPlugin.SonosController.playerStateChangeEvents(SonosPlayer evtPlyr)
5/19/2016 11:31:42 AM 442 [plugin] Sonos: controller TopologyChanged
5/19/2016 11:31:42 AM 660 [plugin] Sonos: Found zone:Kitchen, coordinator: Kitchen
5/19/2016 11:31:42 AM 660 [plugin] Sonos: Found player: Kitchen : RINCON_000E58CE6EF201400
5/19/2016 11:31:42 AM 660 [plugin] Sonos: Found player: Conservatory : RINCON_000E58868EAA01400
5/19/2016 11:31:42 AM 660 [plugin] Sonos: player set to:Conservatory
5/19/2016 11:31:42 AM 660 [plugin] Sonos: discovery error: System.Exception: Can't find player's group!
   at vcPlugin.SonosController.findPlayersCoordinator(SonosPlayer pl)
   at vcPlugin.SonosController.setPlayerByName(String strPlayer)
   at vcPlugin.SonosController.TopologyChanged()
5/19/2016 11:31:43 AM 254 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:31:43 AM 254 [plugin] Sonos: Will not generate playback events during discovery, or tts.wav playback
5/19/2016 11:31:43 AM 754 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:31:43 AM 754 [plugin] Sonos: Will not generate playback events during discovery, or tts.wav playback
5/19/2016 11:31:51 AM 864 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:31:51 AM 864 [plugin] Sonos: Will not generate playback events during discovery, or tts.wav playback
5/19/2016 11:31:53 AM 301 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:31:53 AM 301 [plugin] Sonos: Will not generate playback events during discovery, or tts.wav playback
5/19/2016 11:31:54 AM 567 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:31:54 AM 567 [plugin] Sonos: Will not generate playback events during discovery, or tts.wav playback
5/19/2016 11:32:12 AM 567 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:32:12 AM 567 [plugin] Sonos: Will not generate playback events during discovery, or tts.wav playback
5/19/2016 11:32:15 AM 473 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:32:15 AM 473 [plugin] Sonos: Will not generate playback events during discovery, or tts.wav playback
5/19/2016 11:32:26 AM 161 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:32:26 AM 161 [plugin] Sonos: Will not generate playback events during discovery, or tts.wav playback
5/19/2016 11:32:27 AM 770 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:32:27 AM 770 [plugin] Sonos: Will not generate playback events during discovery, or tts.wav playback
5/19/2016 11:32:28 AM 583 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:32:28 AM 583 [plugin] Sonos: Will not generate playback events during discovery, or tts.wav playback
5/19/2016 11:32:36 AM 380 [plugin] Sonos: playerStateChangeEvents
5/19/2016 11:32:36 AM 380 [plugin] Sonos: Will not generate playback events during discovery, or tts.wav playback

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Sonos - TTS
« Reply #21 on: May 19, 2016, 08:21:00 AM »
A topology changed event probably indicates that one of your Sonoses has crashed, lost power, or otherwise disappeared or reappeared for some reason. I can see why this would cause an object not found error if VC is trying to play to a device that no longer exists. It is probably something that can be fixed though it will be difficult to narrow it down.
« Last Edit: May 19, 2016, 03:32:34 PM by jitterjames »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Sonos - TTS
« Reply #22 on: June 06, 2016, 06:23:09 PM »
Please update to VC version 2.2.1.9 which I just uploaded and let me know if the TTS is more reliable.