Announcement

Collapse
No announcement yet.

TTS to Sonos replaces que

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    TTS to Sonos replaces que

    I was able to get announcements to go through Sonos but after the TTS is played ,the music being played does not restart and the Sonos que is gone. Is this behavior normal? I expected that Homeseer would pause the playing que, make the announcement, then the music would continue normally. Having to go back into Sonos after the announcement and manually restart the music is pretty disruptive, especially if the que you spent 20 minutes building is gone.

    Thanks for any help.

    Sonos ZP100
    Current Date/Time: 12/25/2017 10:21:20 PM
    HomeSeer Version: HS3 Pro Edition 3.0.0.368
    Operating System: Microsoft Windows 10 Home - Work Station
    System Uptime: 1 Day 8 Hours 8 Minutes 20 Seconds
    Number of Devices: 103
    Number of Events: 4
    Available Threads: 199

    Enabled Plug-Ins
    2.0.45.0: BLDenon
    2.0.26.0: BLRing
    5.0.0.58: Global Cache Pro
    1.1.17336.309: MyQ
    1.0.0.5: Restart
    3.1.0.22: Sonos
    3.0.1.130: Z-Wave

    #2
    Originally posted by fishcasa View Post
    I was able to get announcements to go through Sonos but after the TTS is played ,the music being played does not restart and the Sonos que is gone. Is this behavior normal? I expected that Homeseer would pause the playing que, make the announcement, then the music would continue normally. Having to go back into Sonos after the announcement and manually restart the music is pretty disruptive, especially if the que you spent 20 minutes building is gone.

    Thanks for any help.

    Sonos ZP100
    Current Date/Time: 12/25/2017 10:21:20 PM
    HomeSeer Version: HS3 Pro Edition 3.0.0.368
    Operating System: Microsoft Windows 10 Home - Work Station
    System Uptime: 1 Day 8 Hours 8 Minutes 20 Seconds
    Number of Devices: 103
    Number of Events: 4
    Available Threads: 199

    Enabled Plug-Ins
    2.0.45.0: BLDenon
    2.0.26.0: BLRing
    5.0.0.58: Global Cache Pro
    1.1.17336.309: MyQ
    1.0.0.5: Restart
    3.1.0.22: Sonos
    3.0.1.130: Z-Wave
    Make sure the PI has full access rights in your firewall! Note ... the plugin we're talking about here, not HS3. They run as independent executables.

    Dirk

    Comment


      #3
      That was it. Sonos now pauses and restarts music as expected. Devices all populating properly with now playing, etc. also. Thank you!

      Comment


        #4

        Comment


          #5
          No need to be concerned for firewall issues on Sel-pro.

          Scenario 1 is normal: you cannot pause, do something different (play announcement) and return back to where you left off, for most of the streaming services like pandora and others.

          Scenario 2: what does playing Sonos from iPad mean? You control it from the app on an iPad or you are streaming from the iPad. It doesn't sound normal that the queue is gone, but be more specific what scenario 2 actually is. Screen shots and trace/logs help a lot. if this is Apple music or Amazon playlists, maybe this cannot be picked up either.

          Which version of the PI are you using?

          Dirk

          Comment


            #6
            http://10.0.0.17:1400/xml/AVTransport1.xml while sending Action = Play for URI = http://10.0.0.17:1400/MediaRenderer/AVTransport/Control and Request = 0 1 UPNP Error = faultcode = s:Client, faultstring = UPnPError, detail = 701 with error = The remote server returned an error: (500) Internal Server Error.
            Jan-07 12:13:25 PM Sonos SetTransportState called for zoneplayer - Kitchen with value = PLAYING
            Jan-07 12:13:25 PM Sonos SetPlayMode called for ZoneName Kitchen with value = NORMAL
            Jan-07 12:13:25 PM Sonos SetVolumeLevel called for ZonePlayer = Kitchen with values Channel=Master Value=64
            Jan-07 12:13:25 PM Sonos Error ERROR: In Seek Time for zoneplayer = Kitchen with UPNP Error = Read only tag / Transport is locked / Access denied. Error = MyUPnPService.InvokeAction for ServiceID = http://10.0.0.17:1400/xml/AVTransport1.xml while sending Action = Seek for URI = http://10.0.0.17:1400/MediaRenderer/AVTransport/Control and Request = 0 REL_TIME 00:00:25 UPNP Error = faultcode = s:Client, faultstring = UPnPError, detail = 701 with error = The remote server returned an error: (500) Internal Server Error.
            Jan-07 12:13:25 PM Sonos SeekTime called for zoneplayer = Kitchen with Time = 00:00:25
            Jan-07 12:13:25 PM Sonos Error ERROR: In Seek Track for zoneplayer = Kitchen with TrackNbr = 2 with UPNP Error = Read only tag / Transport is locked / Access denied. Error = MyUPnPService.InvokeAction for ServiceID = http://10.0.0.17:1400/xml/AVTransport1.xml while sending Action = Seek for URI = http://10.0.0.17:1400/MediaRenderer/AVTransport/Control and Request = 0 TRACK_NR 2 UPNP Error = faultcode = s:Client, faultstring = UPnPError, detail = 711 with error = The remote server returned an error: (500) Internal Server Error.
            Jan-07 12:13:25 PM Sonos SeekTrack called for zoneplayer = Kitchen with TrackNumber = 2
            Jan-07 12:13:25 PM Sonos HS updated in TransportChanged for zonePlayer Kitchen. HSRef = 122 and updated DeviceValue = False
            Jan-07 12:13:25 PM Sonos Checking linked zones for SourceZone = Kitchen. MyZoneIsSourceForLinkedZone=False and TargetZones =
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(AlbumArtURL) = /images/Sonos/NoArt.png
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentURI) = x-rincon-queue:RINCON_000E58C2C42A01400#0
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(Album) =
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(title) =
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(Artist) =
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentPlayMode) = NORMAL
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(NumberOfTracks) = 0
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentTrackDuration) = 0:00:00
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentTrack) = 0
            Jan-07 12:13:25 PM Sonos Kitchen TrackInfo(Source) = Tracks
            Jan-07 12:13:25 PM Sonos Kitchen TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E58C2C42A01400#0
            Jan-07 12:13:25 PM Sonos Kitchen TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E58C2C42A01400#0
            Jan-07 12:13:25 PM Sonos GetcurrentTrackInfo called for zoneplayer - Kitchen
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(TransportState) = STOPPED and previous state was = Stopped
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen VarName = LastChange
            Jan-07 12:13:25 PM Sonos PlayURI called for zoneplayer Kitchen with strURI = x-rincon-queue:RINCON_000E58C2C42A01400#0 and isObjectID = False
            Jan-07 12:13:25 PM Sonos RestoreCurrentTrackInfo for Zonename = Kitchen and MySavedTrackinfo = x-rincon-queue:RINCON_000E58C2C42A01400#0
            Jan-07 12:13:25 PM Sonos SavedPlayerList.GetLastIndex called and returned UDN = RINCON_000E58C2C42A01400
            Jan-07 12:13:25 PM Sonos SavedPlayerList.GetLastIndex called and MyLinkListIndex = 1
            Jan-07 12:13:25 PM Sonos HS updated in TransportChanged for zonePlayer Kitchen. HSRef = 122 and updated DeviceValue = False
            Jan-07 12:13:25 PM Sonos Checking linked zones for SourceZone = Kitchen. MyZoneIsSourceForLinkedZone=False and TargetZones =
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(AlbumArtURL) = /images/Sonos/NoArt.png
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentURI) = x-rincon-queue:RINCON_000E58C2C42A01400#0
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(Album) =
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(title) =
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(Artist) =
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentPlayMode) = NORMAL
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(NumberOfTracks) = 0
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentTrackDuration) = 0:00:00
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(CurrentTrack) = 0
            Jan-07 12:13:25 PM Sonos Kitchen TrackInfo(Source) = Tracks
            Jan-07 12:13:25 PM Sonos Kitchen TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E58C2C42A01400#0
            Jan-07 12:13:25 PM Sonos Kitchen TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E58C2C42A01400#0
            Jan-07 12:13:25 PM Sonos GetcurrentTrackInfo called for zoneplayer - Kitchen
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen TransportState(TransportState) = STOPPED and previous state was = Stopped
            Jan-07 12:13:25 PM Sonos TransportChangeCallback for player - Kitchen VarName = LastChange
            Jan-07 12:13:25 PM Sonos PlayURI called for zoneplayer Kitchen with strURI = x-rincon-queue:RINCON_000E58C2C42A01400#0 and isObjectID = False
            Jan-07 12:13:25 PM Sonos HandleLinkingOff called with LinkgroupName = TTS
            Jan-07 12:13:25 PM Sonos DoCheckAnnouncementQueue called for linkgroup TTS and State = asFilePlayed and isFile = True
            Jan-07 12:13:25 PM Sonos DoCheckAnnouncementQueue called AnnouncementinQueue = True and AnnouncementInProgress = True and AnnouncementCountdown = 71 AnnouncementReEntry = False
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = ConfigMode
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = RoomCalibrationState
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = AvailableRoomCalibration
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = LastChangedPlayState
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = Orientation
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = HTBondedZoneCommitState
            Jan-07 12:13:25 PM Sonos PlaybarPairingChanged called for Zone = Kitchen with HTSatChanMapSet =
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = HTSatChanMapSet
            Jan-07 12:13:25 PM Sonos ZonePairingChanged called for Zone = Kitchen with ChannelMapSet
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = ChannelMapSet
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = SecureRegState
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = SettingsReplicationState
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = WifiEnabled
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = BehindWifiExtender
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = ChannelFreq
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = HasConfiguredSSID
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = WirelessLeafOnly
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = WirelessMode
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = IsZoneBridge
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = Invisible
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = Configuration
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = Icon
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = ZoneName Value = Kitchen
            Jan-07 12:13:25 PM Sonos DevicePropertiesStateChange for ZonePlayer Kitchen: Var Name = ZoneName



            Which version of the PI are you using?
            Response: 3.1.0.22
            Attached Files

            Comment


              #7
              Hi Joe, the trace only had the back end of the TTS event; it is not complete; the start info is missing. Maybe easier to do it is to go to the Sonos PI config screen, make sure the debug flag is on, click "log to disk" to on, first select the content for the queue and play it. Then do the TTS, wait until done. Now go back to the Sonos PI config screen and unselect "log to disk". Note, follow this sequence because each time you select "logging to disk" the previous log will be overwritten and you need to close and write everything by unselecting it at the end of your logging.

              There will now be a log file at <hsroot>\html\Sonos\Logs which you can just append to your posting.

              Last question, do you select say 20 individual tracks from your iPad and build up the queue or you select a playlist and you see 20 tracks in your queue? If the latter, I'm suspicious about how Sonos really does this that's why it is important that the log also captures you setting up the queue.

              Dirk

              Comment


                #8
                Dirk - you have no idea how much I appreciate your help!

                Attached is the log in .pdf I am a Microsoft user. I have tried to map a drive or directory to the HomeSeer Linux system. Can't get it to work.

                Open to ideas on that too.

                Joe
                Attached Files

                Comment


                  #9
                  Originally posted by BigDaddy View Post
                  Dirk - you have no idea how much I appreciate your help!

                  Attached is the log in .pdf I am a Microsoft user. I have tried to map a drive or directory to the HomeSeer Linux system. Can't get it to work.

                  Open to ideas on that too.

                  Joe
                  Well the errors are right there, can't save the queue so I can't restore it obviously post announcement, never seen that before.

                  I'm going to be out for a number of hours will look at it some more later.
                  Which SW is running on the player(s)? Could you take a screen shot of the player table in the Sonos config page?

                  How do you build up the queue? Not sure the log had the info where you populate the queue, I would need that (so start with empty queue and logging on, add items to queue, play an item, post log). Is this a iTunes playlist?

                  Dirk

                  Comment


                    #10
                    Hi, I read it that the music he was playing was stored on his iPad. I just tried playing music from my iPhone, then ran a test announcement. Music didn't resume after announcement and following appeared in log:

                    Jan-07 3:04:05 PMSonos ErrorERROR in SaveQueue for zoneplayer = Living Room with UPNP Error = Read only tag / Transport is locked / Access denied. Error = MyUPnPService.InvokeAction for ServiceID = http://192.168.1.122:1400/xml/AVTransport1.xml while sending Action = SaveQueue for URI = http://192.168.1.122:1400/MediaRende...nsport/Control and Request = 0 UPNP Error = faultcode = s:Client, faultstring = UPnPError, detail = 804 with error = The remote server returned an error: (500) Internal Server Error.

                    Comment


                      #11
                      Originally posted by zwolfpack View Post
                      Hi, I read it that the music he was playing was stored on his iPad. I just tried playing music from my iPhone, then ran a test announcement. Music didn't resume after announcement and following appeared in log:

                      Jan-07 3:04:05 PMSonos ErrorERROR in SaveQueue for zoneplayer = Living Room with UPNP Error = Read only tag / Transport is locked / Access denied. Error = MyUPnPService.InvokeAction for ServiceID = http://192.168.1.122:1400/xml/AVTransport1.xml while sending Action = SaveQueue for URI = http://192.168.1.122:1400/MediaRende...nsport/Control and Request = 0 UPNP Error = faultcode = s:Client, faultstring = UPnPError, detail = 804 with error = The remote server returned an error: (500) Internal Server Error.
                      Interesting. Is this playing off an iPhone using the Sonos Dock, or how exactly does that work? Is this content that got discovered and part of the Sonos Music DB, or this is Apple Music or ?????

                      Dirk

                      Comment


                        #12
                        Originally posted by dcorsus View Post
                        Interesting. Is this playing off an iPhone using the Sonos Dock, or how exactly does that work? Is this content that got discovered and part of the Sonos Music DB, or this is Apple Music or ?????

                        Dirk
                        The Sonos app allows you to play any music stored on an iDevice.

                        Click image for larger version

Name:	Image-1.jpg
Views:	1
Size:	54.1 KB
ID:	1194713
                        HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

                        Comment


                          #13
                          correct. Playing from either iPhone or ipad. Same results either way.

                          And yes "on this iPhone" or "on this ipad". same result so consistent.

                          iPhone/ipad version = 11.2.1

                          Comment


                            #14
                            Originally posted by rprade View Post
                            The Sonos app allows you to play any music stored on an iDevice.

                            [ATTACH]65700[/ATTACH]
                            Well I learned something here. Unfortunately, Sonos doesn't allow you to save that queue (try it from the app, it won't work).

                            No idea why, this is a first. Not sure there is anything I can do here.

                            Dirk

                            Comment

                            Working...
                            X