Announcement

Collapse
No announcement yet.

Save/restore state. What am I missing?

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

    Save/restore state. What am I missing?

    I am running the sonos plugin on HS3-linux.
    It seems I am missing something (possibly obvious) but I cannot get my head around the save/restore state commands. For testing, I created this event (see screenshot). Shouldn't I end up with the first Favorite (BBC Radio 3) in the end? The second Favorite (BBC Radio 4) just keeps playing.

    What am I missing?

    I'd be grateful for some feedback!
    Attached Files

    #2
    Originally posted by diderikfrom View Post
    I am running the sonos plugin on HS3-linux.
    It seems I am missing something (possibly obvious) but I cannot get my head around the save/restore state commands. For testing, I created this event (see screenshot). Shouldn't I end up with the first Favorite (BBC Radio 3) in the end? The second Favorite (BBC Radio 4) just keeps playing.

    What am I missing?

    I'd be grateful for some feedback!
    Wow it has been a while since I saw this command used, maybe not working anymore in HS3. Having that said, could you try 2 things:

    a/ put in a longer wait, selecting radio stations could take multiple seconds so I want to make sure you are fully streaming the content when you save or restore

    b/ go to the sonos PI config page, turn the debug flag on (ONLY debug, no superdebug, not UPNP), do your thing and post the log here.

    Dirk

    Comment


      #3
      Thanks for your feedback. I used tracks to make it easier to log. That was one great, big chunk of log entries:

      Code:
      Mar-18 22:52:41           Sonos     HS updated in TransportChanged for zonePlayer Study. HS Code = 911 and updated DeviceValue = True
      Mar-18 22:52:41           Sonos     HS DeviceValue updated in TransportChanged for zonePlayer Study. HS Code = 911 and value = Stopped
      Mar-18 22:52:40           Sonos     Checking linked zones for SourceZone=Study. MyZoneIsSourceForLinkedZone=False and TargetZones =
      Mar-18 22:52:40           Sonos     DeviceTrigger called for Zone - Study with Trigger = Sonos Player Stop
      Mar-18 22:52:40           Sonos     PlayChangeNotifyCallback called for Zone - Study with ChangeType = PlayStatusChanged and Changevalue = Stopped and SendDeviceTrigger = True
      Mar-18 22:52:40           Sonos     CurrentPlayerState Set for ZoneName = Study. Value = Stopped
      Mar-18 22:52:40           Sonos     TransportChangeCallback for player - Study TransportState(AlbumArtURL) = /images/Sonos/Artwork/CoverRINCON_000E5812CF9601400_202.jpg
      Mar-18 22:52:40           Sonos     TransportChangeCallback for player - Study TransportState(CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:52:40           Sonos     TransportChangeCallback for player - Study TransportState(Album) = Chansons vol. 2 - Studio der frühen Musik, Thomas Binkley
      Mar-18 22:52:40           Sonos     TransportChangeCallback for player - Study TransportState(title) = Quant en moy ~ Amour et biaute (motet 1) mezzosopran, altus, lira
      Mar-18 22:52:40           Sonos     TransportChangeCallback for player - Study TransportState(Artist) = Machaut, Guillaume de (c1300-77)
      Mar-18 22:52:40           Sonos     TransportChangeCallback for player - Study TransportState (RadioShow/Title) =
      Mar-18 22:52:40           Sonos     TransportChangeCallback for player - Study TransportState (Streamcontent/Title) =
      Mar-18 22:52:40           Sonos     TransportChangeCallback for player - Study TransportState(CurrentPlayMode) = NORMAL
      Mar-18 22:52:40           Sonos     TransportChangeCallback for player - Study TransportState(NumberOfTracks) = 1
      Mar-18 22:52:40           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrackDuration) = 0:02:19
      Mar-18 22:52:40           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrack) = 1
      Mar-18 22:52:40           Sonos     Study TrackInfo PositionInfo (% played) = 0
      Mar-18 22:52:40           Sonos     Study TrackInfo PositionInfo (Queue Position) = 1
      Mar-18 22:52:40           Sonos     SetTrackLength is setting HS Status Max Position TrackPosition for ZoneName - Study and HSRef = 32
      Mar-18 22:52:40           Sonos     SetTrackLength is setting HS Device TrackLength for ZoneName - Study with Value = 139 and HSRef = 31
      Mar-18 22:52:40           Sonos     Study TrackInfo PositionInfo (Track Duration) = 0:02:19
      Mar-18 22:52:40           Sonos     Study TrackInfo PositionInfo (Track Position Seconds) = 0
      Mar-18 22:52:40           Sonos     Study TrackInfo PositionInfo (Track Position) = 0:00:00
      Mar-18 22:52:40           Sonos     Study TrackInfo PositionInfo (albumArtURI) = [URL]http://192.168.88.14:1400/getaa?u=x-file-cifs://192.168.88.251/Musikk/Musikk_lossless2_Classical/Machaut,%20Guillaume%20de%20(c1300-77)/Studio%20der%20fr%c3%bchen%20Musik,%20Thomas%20Binkley%20-%20MACHAUT.%20Chansons%20vol.%202/10%20-%20Quant%20en%20moy%20%20%7e%20Amour%20et%20biaute%20%20(motet%201)%20%20mezzosopran,%20altus,%20lira.m4a&v=1175[/URL]
      Mar-18 22:52:40           Sonos     Study TrackInfo PositionInfo (title) = Quant en moy ~ Amour et biaute (motet 1) mezzosopran, altus, lira
      Mar-18 22:52:40           Sonos     Study TrackInfo PositionInfo (album) = Chansons vol. 2 - Studio der frühen Musik, Thomas Binkley
      Mar-18 22:52:40           Sonos     Study TrackInfo PositionInfo (creator) = Machaut, Guillaume de (c1300-77)
      Mar-18 22:52:40           Sonos     Study TrackInfo PositionInfo (Streamcontent/Title) =
      Mar-18 22:52:40           Sonos     Study TrackInfo(Source) = Tracks
      Mar-18 22:52:40           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:52:40           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:52:40           Sonos     GetcurrentTrackInfo called for zoneplayer - Study
      Mar-18 22:52:40           Sonos     TransportChangeCallback for player - Study TransportState(TransportState) = STOPPED and previous state was = Playing
      Mar-18 22:52:40           Sonos     TransportChangeCallback for player - Study VarName = LastChange
      Mar-18 22:52:40           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36666
      Mar-18 22:50:36           Sonos     HandleAction found sKey = CommandListAction_5846_A3 and Value = Restore State All Players
      Mar-18 22:50:36           Sonos     HandleAction called with evRef = 5846 and SubTANumber = 0 and TANumber = 1 and UID = 3535
      Mar-18 22:50:36           Sonos     ActionConfigured returns True
      Mar-18 22:50:36           Sonos     ActionConfigured found sKey = CommandListAction_5846_A3 and Value = Restore State All Players
      Mar-18 22:50:36           Sonos     ActionConfigured called with evRef = 5846 and SubTANumber = 0 and TANumber = 1 and UID = 3535
      Mar-18 22:50:22           Sonos     HS updated in TransportChanged for zonePlayer Study. HS Code = 911 and updated DeviceValue = True
      Mar-18 22:50:22           Sonos     HS DeviceValue updated in TransportChanged for zonePlayer Study. HS Code = 911 and value = Playing
      Mar-18 22:50:22           Sonos     Checking linked zones for SourceZone=Study. MyZoneIsSourceForLinkedZone=False and TargetZones =
      Mar-18 22:50:22           Sonos     DeviceTrigger called for Zone - Study with Trigger = Sonos Track Change
      Mar-18 22:50:22           Sonos     PlayChangeNotifyCallback called for Zone - Study with ChangeType = SongChanged and Changevalue = Playing and SendDeviceTrigger = True
      Mar-18 22:50:22           Sonos     DeviceTrigger called for Zone - Study with Trigger = Sonos Player Start Playing
      Mar-18 22:50:22           Sonos     PlayChangeNotifyCallback called for Zone - Study with ChangeType = PlayStatusChanged and Changevalue = Playing and SendDeviceTrigger = True
      Mar-18 22:50:22           Sonos     CurrentPlayerState Set for ZoneName = Study. Value = Playing
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(AlbumArtURL) = /images/Sonos/Artwork/CoverRINCON_000E5812CF9601400_202.jpg
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(Album) = Chansons vol. 2 - Studio der frühen Musik, Thomas Binkley
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(title) = Quant en moy ~ Amour et biaute (motet 1) mezzosopran, altus, lira
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(Artist) = Machaut, Guillaume de (c1300-77)
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState (RadioShow/Title) =
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState (Streamcontent/Title) =
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(CurrentPlayMode) = NORMAL
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(NumberOfTracks) = 1
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrackDuration) = 0:02:19
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrack) = 1
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (% played) = 1
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (Queue Position) = 1
      Mar-18 22:50:22           Sonos     SetTrackLength is setting HS Status Max Position TrackPosition for ZoneName - Study and HSRef = 32
      Mar-18 22:50:22           Sonos     SetTrackLength is setting HS Device TrackLength for ZoneName - Study with Value = 139 and HSRef = 31
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (Track Duration) = 0:02:19
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (Track Position Seconds) = 1
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (Track Position) = 0:00:01
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (albumArtURI) = [URL]http://192.168.88.14:1400/getaa?u=x-file-cifs://192.168.88.251/Musikk/Musikk_lossless2_Classical/Machaut,%20Guillaume%20de%20(c1300-77)/Studio%20der%20fr%c3%bchen%20Musik,%20Thomas%20Binkley%20-%20MACHAUT.%20Chansons%20vol.%202/10%20-%20Quant%20en%20moy%20%20%7e%20Amour%20et%20biaute%20%20(motet%201)%20%20mezzosopran,%20altus,%20lira.m4a&v=1175[/URL]
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (title) = Quant en moy ~ Amour et biaute (motet 1) mezzosopran, altus, lira
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (album) = Chansons vol. 2 - Studio der frühen Musik, Thomas Binkley
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (creator) = Machaut, Guillaume de (c1300-77)
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (Streamcontent/Title) =
      Mar-18 22:50:22           Sonos     Study TrackInfo(Source) = Tracks
      Mar-18 22:50:22           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:22           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:22           Sonos     GetcurrentTrackInfo called for zoneplayer - Study
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(TransportState) = PLAYING and previous state was = Stopped
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study VarName = LastChange
      Mar-18 22:50:22           Sonos     HS updated in TransportChanged for zonePlayer Study. HS Code = 911 and updated DeviceValue = False
      Mar-18 22:50:22           Sonos     Checking linked zones for SourceZone=Study. MyZoneIsSourceForLinkedZone=False and TargetZones =
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(AlbumArtURL) = /images/Sonos/Artwork/CoverRINCON_000E5812CF9601400_202.jpg
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(Album) = Chansons vol. 2 - Studio der frühen Musik, Thomas Binkley
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(title) = Quant en moy ~ Amour et biaute (motet 1) mezzosopran, altus, lira
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(Artist) = Machaut, Guillaume de (c1300-77)
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState (RadioShow/Title) =
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState (Streamcontent/Title) =
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(CurrentPlayMode) = NORMAL
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(NumberOfTracks) = 1
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrackDuration) = 0:02:19
      Mar-18 22:50:22           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrack) = 1
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (% played) = 1
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (Queue Position) = 1
      Mar-18 22:50:22           Sonos     SetTrackLength is setting HS Status Max Position TrackPosition for ZoneName - Study and HSRef = 32
      Mar-18 22:50:22           Sonos     SetTrackLength is setting HS Device TrackLength for ZoneName - Study with Value = 139 and HSRef = 31
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (Track Duration) = 0:02:19
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (Track Position Seconds) = 1
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (Track Position) = 0:00:01
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (albumArtURI) = [URL]http://192.168.88.14:1400/getaa?u=x-file-cifs://192.168.88.251/Musikk/Musikk_lossless2_Classical/Machaut,%20Guillaume%20de%20(c1300-77)/Studio%20der%20fr%c3%bchen%20Musik,%20Thomas%20Binkley%20-%20MACHAUT.%20Chansons%20vol.%202/10%20-%20Quant%20en%20moy%20%20%7e%20Amour%20et%20biaute%20%20(motet%201)%20%20mezzosopran,%20altus,%20lira.m4a&v=1175[/URL]
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (title) = Quant en moy ~ Amour et biaute (motet 1) mezzosopran, altus, lira
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (album) = Chansons vol. 2 - Studio der frühen Musik, Thomas Binkley
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (creator) = Machaut, Guillaume de (c1300-77)
      Mar-18 22:50:22           Sonos     Study TrackInfo PositionInfo (Streamcontent/Title) =
      Mar-18 22:50:22           Sonos     Study TrackInfo(Source) = Tracks
      Mar-18 22:50:21           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:21           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:21           Sonos     GetcurrentTrackInfo called for zoneplayer - Study
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(TransportState) = STOPPED and previous state was = Stopped
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study VarName = LastChange
      Mar-18 22:50:21           Sonos     HS updated in TransportChanged for zonePlayer Study. HS Code = 911 and updated DeviceValue = False
      Mar-18 22:50:21           Sonos     Checking linked zones for SourceZone=Study. MyZoneIsSourceForLinkedZone=False and TargetZones =
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(AlbumArtURL) = /images/Sonos/Artwork/CoverRINCON_000E5812CF9601400_202.jpg
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(Album) = Chansons vol. 2 - Studio der frühen Musik, Thomas Binkley
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(title) = Quant en moy ~ Amour et biaute (motet 1) mezzosopran, altus, lira
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(Artist) = Machaut, Guillaume de (c1300-77)
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(CurrentPlayMode) = NORMAL
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(NumberOfTracks) = 0
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrackDuration) = 0:00:00
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrack) = 0
      Mar-18 22:50:21           Sonos     Study TrackInfo PositionInfo (% played) = 0
      Mar-18 22:50:21           Sonos     Study TrackInfo PositionInfo (Queue Position) = 1
      Mar-18 22:50:21           Sonos     SetTrackLength is setting HS Status Max Position TrackPosition for ZoneName - Study and HSRef = 32
      Mar-18 22:50:21           Sonos     SetTrackLength is setting HS Device TrackLength for ZoneName - Study with Value = 139 and HSRef = 31
      Mar-18 22:50:21           Sonos     Study TrackInfo PositionInfo (Track Duration) = 0:02:19
      Mar-18 22:50:21           Sonos     Study TrackInfo PositionInfo (Track Position Seconds) = 0
      Mar-18 22:50:21           Sonos     Study TrackInfo PositionInfo (Track Position) = 0:00:00
      Mar-18 22:50:21           Sonos     Study TrackInfo PositionInfo (albumArtURI) = [URL]http://192.168.88.14:1400/getaa?u=x-file-cifs://192.168.88.251/Musikk/Musikk_lossless2_Classical/Machaut,%20Guillaume%20de%20(c1300-77)/Studio%20der%20fr%c3%bchen%20Musik,%20Thomas%20Binkley%20-%20MACHAUT.%20Chansons%20vol.%202/10%20-%20Quant%20en%20moy%20%20%7e%20Amour%20et%20biaute%20%20(motet%201)%20%20mezzosopran,%20altus,%20lira.m4a&v=1175[/URL]
      Mar-18 22:50:21           Sonos     Study TrackInfo PositionInfo (title) = Quant en moy ~ Amour et biaute (motet 1) mezzosopran, altus, lira
      Mar-18 22:50:21           Sonos     Study TrackInfo PositionInfo (album) = Chansons vol. 2 - Studio der frühen Musik, Thomas Binkley
      Mar-18 22:50:21           Sonos     Study TrackInfo PositionInfo (creator) = Machaut, Guillaume de (c1300-77)
      Mar-18 22:50:21           Sonos     Study TrackInfo PositionInfo (Streamcontent/Title) =
      Mar-18 22:50:21           Sonos     Study TrackInfo(Source) = Tracks
      Mar-18 22:50:21           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:21           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:21           Sonos     GetcurrentTrackInfo called for zoneplayer - Study
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(TransportState) = STOPPED and previous state was = Stopped
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study VarName = LastChange
      Mar-18 22:50:21           Sonos     HS updated in TransportChanged for zonePlayer Study. HS Code = 911 and updated DeviceValue = True
      Mar-18 22:50:21           Sonos     HS DeviceValue updated in TransportChanged for zonePlayer Study. HS Code = 911 and value = Stopped
      Mar-18 22:50:21           Sonos     Checking linked zones for SourceZone=Study. MyZoneIsSourceForLinkedZone=False and TargetZones =
      Mar-18 22:50:21           Sonos     DeviceTrigger called for Zone - Study with Trigger = Sonos Player Stop
      Mar-18 22:50:21           Sonos     PlayChangeNotifyCallback called for Zone - Study with ChangeType = PlayStatusChanged and Changevalue = Stopped and SendDeviceTrigger = True
      Mar-18 22:50:21           Sonos     CurrentPlayerState Set for ZoneName = Study. Value = Stopped
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(AlbumArtURL) = /images/Sonos/Artwork/CoverRINCON_000E5812CF9601400_202.jpg
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(Album) = Chansons vol. 2 - Studio der frühen Musik, Thomas Binkley
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(title) = Quant en moy ~ Amour et biaute (motet 1) mezzosopran, altus, lira
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(Artist) = Machaut, Guillaume de (c1300-77)
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState (RadioShow/Title) =
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState (Streamcontent/Title) =
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(CurrentPlayMode) = NORMAL
      Mar-18 22:50:21           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36658
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(NumberOfTracks) = 1
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrackDuration) = 0:04:05
      Mar-18 22:50:21           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrack) = 1
      Mar-18 22:50:21           Sonos     Study TrackInfo PositionInfo (% played) = 0
      Mar-18 22:50:21           Sonos     Study TrackInfo PositionInfo (Queue Position) = 1
      Mar-18 22:50:21           Sonos     SetTrackLength is setting HS Status Max Position TrackPosition for ZoneName - Study and HSRef = 32
      Mar-18 22:50:21           Sonos     SetTrackLength is setting HS Device TrackLength for ZoneName - Study with Value = 139 and HSRef = 31
      Mar-18 22:50:21           Sonos     Study TrackInfo PositionInfo (Track Duration) = 0:02:19
      Mar-18 22:50:21           Sonos     Study TrackInfo PositionInfo (Track Position Seconds) = 0
      Mar-18 22:50:21           Sonos     Study TrackInfo PositionInfo (Track Position) = 0:00:00
      Mar-18 22:50:20           Sonos     SetTransportState called for zoneplayer - Study with value = Play
      Mar-18 22:50:20           Sonos     ContentDirectoryStateChange for ZonePlayer Study: Var Name = ContainerUpdateIDs Value = Q:0,576
      Mar-18 22:50:20           Sonos     ContentDirectoryStateChange for ZonePlayer Study: Var Name = SystemUpdateID Value = 593
      Mar-18 22:50:20           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36655
      Mar-18 22:50:20           Sonos     Study TrackInfo PositionInfo (albumArtURI) = [URL]http://192.168.88.14:1400/getaa?u=x-file-cifs://192.168.88.251/Musikk/Musikk_lossless2_Classical/Machaut,%20Guillaume%20de%20(c1300-77)/Studio%20der%20fr%c3%bchen%20Musik,%20Thomas%20Binkley%20-%20MACHAUT.%20Chansons%20vol.%202/10%20-%20Quant%20en%20moy%20%20%7e%20Amour%20et%20biaute%20%20(motet%201)%20%20mezzosopran,%20altus,%20lira.m4a&v=1175[/URL]
      Mar-18 22:50:20           Sonos     Study TrackInfo PositionInfo (title) = Quant en moy ~ Amour et biaute (motet 1) mezzosopran, altus, lira
      Mar-18 22:50:20           Sonos     Study TrackInfo PositionInfo (album) = Chansons vol. 2 - Studio der frühen Musik, Thomas Binkley
      Mar-18 22:50:20           Sonos     Study TrackInfo PositionInfo (creator) = Machaut, Guillaume de (c1300-77)
      Mar-18 22:50:20           Sonos     Study TrackInfo PositionInfo (Streamcontent/Title) =
      Mar-18 22:50:20           Sonos     Study TrackInfo(Source) = Tracks
      Mar-18 22:50:20           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:20           Sonos     SeekTrack called for zoneplayer = Study with TrackNumber = 1
      Mar-18 22:50:20           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36652
      Mar-18 22:50:20           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:20           Sonos     PlayURI called for zoneplayer Study with strURI = x-rincon-queue:RINCON_000E5812CF9601400#0 and isObjectID = False
      Mar-18 22:50:20           Sonos     PlayFromQueue called for ZonePlayer = Study and QueueId = Q:
      Mar-18 22:50:20           Sonos     ContentDirectoryStateChange for ZonePlayer Study: Var Name = ContainerUpdateIDs Value = Q:0,575
      Mar-18 22:50:20           Sonos     ContentDirectoryStateChange for ZonePlayer Study: Var Name = SystemUpdateID Value = 592
      Mar-18 22:50:20           Sonos     GetcurrentTrackInfo called for zoneplayer - Study
      Mar-18 22:50:20           Sonos     TransportChangeCallback for player - Study TransportState(TransportState) = STOPPED and previous state was = Playing
      Mar-18 22:50:20           Sonos     TransportChangeCallback for player - Study VarName = LastChange
      Mar-18 22:50:20           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36649
      Mar-18 22:50:20           Sonos     AddTrackToQueue called for zoneplayer Study with URI = x-file-cifs://192.168.88.251/Musikk/Musikk_lossless2_Classical/Machaut,%20Guillaume%20de%20(c1300-77)/Studio%20der%20fr%c3%bchen%20Musik,%20Thomas%20Binkley%20-%20MACHAUT.%20Chansons%20vol.%202/10%20-%20Quant%20en%20moy%20%20%7e%20Amour%20et%20biaute%20%20(motet%201)%20%20mezzosopran,%20altus,%20lira.m4a MetaData=x-file-cifs://192.168.88.251/Musikk/Musikk_lossless2_Classical/Machaut,%20Guillaume%20de%20(c1300-77)/Studio%20der%20fr%c3%bchen%20Musik,%20Thomas%20Binkley%20-%20MACHAUT.%20Chansons%20vol.%202/10%20-%20Quant%20en%20moy%20%20%7e%20Amour%20et%20biaute%20%20(motet%201)%20%20mezzosopran,%20altus,%20lira.m4a/getaa?u=x-file-cifs%3a%2f%2f192.168.88.251%2fMusikk%2fMusikk_lossless2_Classical%2fMachaut,%2520Guillaume%2520de%2520(c1300-77)%2fStudio%2520der%2520fr%25c3%25bchen%2520Musik,%2520Thomas%2520Binkley%2520-%2520MACHAUT.%2520Chansons%2520vol.%25202%2f10%2520-%2520Quant%2520en%2520moy%2520%2520%257e%2520Amour%2520et%2520biaute%2520%2520(motet%25201)%2520%2520mezzosopran,%2520altus,%2520lira.m4a&v=1175Quant en moy ~ Amour et biaute (motet 1) mezzosopran, altus, liraobject.item.audioItem.musicTrackMachaut, Guillaume de (c1300-77)Chansons vol. 2 - Studio der frühen Musik, Thomas Binkley10Machaut, Guillaume de (c1300-77) QueuePosition=1 EnqueuedNext=False
      Mar-18 22:50:20           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36646
      Mar-18 22:50:20           Sonos     GetTrackMetaData called for zoneplayer = Study with URI= S://192.168.88.251/Musikk/Musikk_lossless2_Classical/Machaut,%20Guillaume%20de%20(c1300-77)/Studio%20der%20fr%c3%bchen%20Musik,%20Thomas%20Binkley%20-%20MACHAUT.%20Chansons%20vol.%202/10%20-%20Quant%20en%20moy%20%20%7e%20Amour%20et%20biaute%20%20(motet%201)%20%20mezzosopran,%20altus,%20lira.m4a and BrowseOnlyMetaData = True
      Mar-18 22:50:20           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36643
      Mar-18 22:50:20           Sonos     PlayMusicOnZone for zoneplayer = Study found TrackIndex = 1
      Mar-18 22:50:20           Sonos     ClearQueue called for zoneplayer Study
      Mar-18 22:50:20           Sonos     SetTransportState called for zoneplayer - Study with value = Stop
      Mar-18 22:50:19           Sonos     PlayMusicOnZone for Zone Study and query = SELECT * FROM Tracks WHERE Artist = 'Machaut, Guillaume de (c1300-77)' AND Album = 'Chansons vol. 2 - Studio der frühen Musik, Thomas Binkley' AND Name = 'Quant en moy ~ Amour et biaute (motet 1) mezzosopran, altus, lira' ORDER BY TrackNo
      Mar-18 22:50:19           Sonos     PlayMusicOnZone for Zone Study and MusicDBName = /home/pi/HomeSeer/html/Sonos/MusicDB/SonosDB.sdb, ZoneUDN = , Artist = Machaut, Guillaume de (c1300-77) Album = Chansons vol. 2 - Studio der frühen Musik, Thomas Binkley Playlist = , Genre = , Track = Quant en moy ~ Amour et biaute (motet 1) mezzosopran, altus, lira, StartWithArtist = , StartWithTrack = , TrackMatch = , Favorite = , ClearPlayerQueue = True, QueueAction = qaPlayNow
      Mar-18 22:50:19           Sonos     PlayMusic called for Zone - Study with Artist=Machaut, Guillaume de (c1300-77) and Album=Chansons vol. 2 - Studio der frühen Musik, Thomas Binkley and Playlist= and Genre= and Track=Quant en moy ~ Amour et biaute (motet 1) mezzosopran, altus, lira and StartWithArtist= and StartWithTrack= and TrackMatch=and Audiobook = and Podcast = and ClearPlayerQueue = True and QueueAction = qaPlayNow
      Mar-18 22:50:19           Sonos     HandleAction found sKey = TrackAction_5846_A3 and Value = Quant en moy ~ Amour et biaute (motet 1) mezzosopran, altus, lira
      Mar-18 22:50:19           Sonos     HandleAction found sKey = AlbumAction_5846_A3 and Value = Chansons vol. 2 - Studio der frühen Musik, Thomas Binkley
      Mar-18 22:50:19           Sonos     HandleAction found sKey = ArtistAction_5846_A3 and Value = Machaut, Guillaume de (c1300-77)
      Mar-18 22:50:19           Sonos     HandleAction found sKey = PlayNowAction_5846_A3 and Value = Now
      Mar-18 22:50:19           Sonos     HandleAction found sKey = ClearQueueAction_5846_A3 and Value = Yes
      Mar-18 22:50:19           Sonos     HandleAction found sKey = PlayerListAction_5846_A3 and Value = RINCON_000E5812CF9601400
      Mar-18 22:50:19           Sonos     HandleAction found sKey = CommandListAction_5846_A3 and Value = Play Track
      Mar-18 22:50:19           Sonos     HandleAction called with evRef = 5846 and SubTANumber = 0 and TANumber = 1 and UID = 8042
      Mar-18 22:50:19           Sonos     ActionConfigured returns True
      Mar-18 22:50:19           Sonos     ActionConfigured found sKey = TrackAction_5846_A3 and Value = Quant en moy ~ Amour et biaute (motet 1) mezzosopran, altus, lira
      Mar-18 22:50:19           Sonos     ActionConfigured found sKey = AlbumAction_5846_A3 and Value = Chansons vol. 2 - Studio der frühen Musik, Thomas Binkley
      Mar-18 22:50:19           Sonos     ActionConfigured found sKey = ArtistAction_5846_A3 and Value = Machaut, Guillaume de (c1300-77)
      Mar-18 22:50:19           Sonos     ActionConfigured found sKey = PlayNowAction_5846_A3 and Value = Now
      Mar-18 22:50:19           Sonos     ActionConfigured found sKey = ClearQueueAction_5846_A3 and Value = Yes
      Mar-18 22:50:19           Sonos     ActionConfigured found sKey = PlayerListAction_5846_A3 and Value = RINCON_000E5812CF9601400
      Mar-18 22:50:19           Sonos     ActionConfigured found sKey = CommandListAction_5846_A3 and Value = Play Track
      Mar-18 22:50:19           Sonos     ActionConfigured called with evRef = 5846 and SubTANumber = 0 and TANumber = 1 and UID = 8042
      Mar-18 22:50:19           Sonos     HandleAction found sKey = CommandListAction_5846_A2 and Value = Save State All Players
      Mar-18 22:50:19           Sonos     HandleAction called with evRef = 5846 and SubTANumber = 0 and TANumber = 1 and UID = 9608
      Mar-18 22:50:19           Sonos     ActionConfigured returns True
      Mar-18 22:50:19           Sonos     ActionConfigured found sKey = CommandListAction_5846_A2 and Value = Save State All Players
      Mar-18 22:50:19           Sonos     ActionConfigured called with evRef = 5846 and SubTANumber = 0 and TANumber = 1 and UID = 9608
      Mar-18 22:50:06           Sonos     HS updated in TransportChanged for zonePlayer Study. HS Code = 911 and updated DeviceValue = True
      Mar-18 22:50:06           Sonos     HS DeviceValue updated in TransportChanged for zonePlayer Study. HS Code = 911 and value = Playing
      Mar-18 22:50:06           Sonos     Checking linked zones for SourceZone=Study. MyZoneIsSourceForLinkedZone=False and TargetZones =
      Mar-18 22:50:06           Sonos     DeviceTrigger called for Zone - Study with Trigger = Sonos Track Change
      Mar-18 22:50:06           Sonos     PlayChangeNotifyCallback called for Zone - Study with ChangeType = SongChanged and Changevalue = Playing and SendDeviceTrigger = True
      Mar-18 22:50:06           Sonos     DeviceTrigger called for Zone - Study with Trigger = Sonos Player Start Playing
      Mar-18 22:50:06           Sonos     PlayChangeNotifyCallback called for Zone - Study with ChangeType = PlayStatusChanged and Changevalue = Playing and SendDeviceTrigger = True
      Mar-18 22:50:06           Sonos     CurrentPlayerState Set for ZoneName = Study. Value = Playing
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(AlbumArtURL) = /images/Sonos/Artwork/CoverRINCON_000E5812CF9601400_201.jpg
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(Album) = Music For A While
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(title) = Music For A While
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(Artist) = Purcell, Henry (1659-95)
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState (RadioShow/Title) =
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState (Streamcontent/Title) =
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(CurrentPlayMode) = NORMAL
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(NumberOfTracks) = 1
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrackDuration) = 0:04:05
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrack) = 1
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (% played) = 0
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (Queue Position) = 1
      Mar-18 22:50:06           Sonos     SetTrackLength is setting HS Status Max Position TrackPosition for ZoneName - Study and HSRef = 32
      Mar-18 22:50:06           Sonos     SetTrackLength is setting HS Device TrackLength for ZoneName - Study with Value = 245 and HSRef = 31
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (Track Duration) = 0:04:05
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (Track Position Seconds) = 1
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (Track Position) = 0:00:01
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (albumArtURI) = [URL]http://192.168.88.14:1400/getaa?u=x-file-cifs://192.168.88.251/Musikk/Musikk_lossless2_Classical/Purcell_Henry_1659-95/Purcell,%20Henry%20-%20MUSIC%20FOR%20A%20WHILE%20(Alfred%20Deller)/12%20Music%20For%20A%20While.m4a&v=1175[/URL]
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (title) = Music For A While
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (album) = Music For A While
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (creator) = Purcell, Henry (1659-95)
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (Streamcontent/Title) =
      Mar-18 22:50:06           Sonos     Study TrackInfo(Source) = Tracks
      Mar-18 22:50:06           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:06           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:06           Sonos     GetcurrentTrackInfo called for zoneplayer - Study
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(TransportState) = PLAYING and previous state was = Stopped
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study VarName = LastChange
      Mar-18 22:50:06           Sonos     HS updated in TransportChanged for zonePlayer Study. HS Code = 911 and updated DeviceValue = False
      Mar-18 22:50:06           Sonos     Checking linked zones for SourceZone=Study. MyZoneIsSourceForLinkedZone=False and TargetZones =
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(AlbumArtURL) = /images/Sonos/Artwork/CoverRINCON_000E5812CF9601400_201.jpg
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(Album) = Music For A While
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(title) = Music For A While
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(Artist) = Purcell, Henry (1659-95)
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState (RadioShow/Title) =
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState (Streamcontent/Title) =
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(CurrentPlayMode) = NORMAL
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(NumberOfTracks) = 1
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrackDuration) = 0:04:05
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrack) = 1
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (% played) = 0
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (Queue Position) = 1
      Mar-18 22:50:06           Sonos     SetTrackLength is setting HS Status Max Position TrackPosition for ZoneName - Study and HSRef = 32
      Mar-18 22:50:06           Sonos     SetTrackLength is setting HS Device TrackLength for ZoneName - Study with Value = 245 and HSRef = 31
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (Track Duration) = 0:04:05
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (Track Position Seconds) = 1
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (Track Position) = 0:00:01
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (albumArtURI) = [URL]http://192.168.88.14:1400/getaa?u=x-file-cifs://192.168.88.251/Musikk/Musikk_lossless2_Classical/Purcell_Henry_1659-95/Purcell,%20Henry%20-%20MUSIC%20FOR%20A%20WHILE%20(Alfred%20Deller)/12%20Music%20For%20A%20While.m4a&v=1175[/URL]
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (title) = Music For A While
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (album) = Music For A While
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (creator) = Purcell, Henry (1659-95)
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (Streamcontent/Title) =
      Mar-18 22:50:06           Sonos     Study TrackInfo(Source) = Tracks
      Mar-18 22:50:06           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:06           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:06           Sonos     GetcurrentTrackInfo called for zoneplayer - Study
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(TransportState) = STOPPED and previous state was = Stopped
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study VarName = LastChange
      Mar-18 22:50:06           Sonos     HS updated in TransportChanged for zonePlayer Study. HS Code = 911 and updated DeviceValue = False
      Mar-18 22:50:06           Sonos     Checking linked zones for SourceZone=Study. MyZoneIsSourceForLinkedZone=False and TargetZones =
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(AlbumArtURL) = /images/Sonos/Artwork/CoverRINCON_000E5812CF9601400_201.jpg
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(Album) = Music For A While
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(title) = Music For A While
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(Artist) = Purcell, Henry (1659-95)
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(CurrentPlayMode) = NORMAL
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(NumberOfTracks) = 0
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrackDuration) = 0:00:00
      Mar-18 22:50:06           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrack) = 0
      Mar-18 22:50:06           Sonos     Study TrackInfo PositionInfo (% played) = 0
      Mar-18 22:50:05           Sonos     Study TrackInfo PositionInfo (Queue Position) = 1
      Mar-18 22:50:05           Sonos     SetTrackLength is setting HS Status Max Position TrackPosition for ZoneName - Study and HSRef = 32
      Mar-18 22:50:05           Sonos     SetTrackLength is setting HS Device TrackLength for ZoneName - Study with Value = 245 and HSRef = 31
      Mar-18 22:50:05           Sonos     Study TrackInfo PositionInfo (Track Duration) = 0:04:05
      Mar-18 22:50:05           Sonos     Study TrackInfo PositionInfo (Track Position Seconds) = 1
      Mar-18 22:50:05           Sonos     Study TrackInfo PositionInfo (Track Position) = 0:00:01
      Mar-18 22:50:05           Sonos     Study TrackInfo PositionInfo (albumArtURI) = [URL]http://192.168.88.14:1400/getaa?u=x-file-cifs://192.168.88.251/Musikk/Musikk_lossless2_Classical/Purcell_Henry_1659-95/Purcell,%20Henry%20-%20MUSIC%20FOR%20A%20WHILE%20(Alfred%20Deller)/12%20Music%20For%20A%20While.m4a&v=1175[/URL]
      Mar-18 22:50:05           Sonos     Study TrackInfo PositionInfo (title) = Music For A While
      Mar-18 22:50:05           Sonos     Study TrackInfo PositionInfo (album) = Music For A While
      Mar-18 22:50:05           Sonos     Study TrackInfo PositionInfo (creator) = Purcell, Henry (1659-95)
      Mar-18 22:50:05           Sonos     Study TrackInfo PositionInfo (Streamcontent/Title) =
      Mar-18 22:50:05           Sonos     Study TrackInfo(Source) = Tracks
      Mar-18 22:50:05           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:05           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:05           Sonos     GetcurrentTrackInfo called for zoneplayer - Study
      Mar-18 22:50:05           Sonos     TransportChangeCallback for player - Study TransportState(TransportState) = STOPPED and previous state was = Stopped
      Mar-18 22:50:05           Sonos     TransportChangeCallback for player - Study VarName = LastChange
      Mar-18 22:50:05           Sonos     HS updated in TransportChanged for zonePlayer Study. HS Code = 911 and updated DeviceValue = True
      Mar-18 22:50:05           Sonos     HS DeviceValue updated in TransportChanged for zonePlayer Study. HS Code = 911 and value = Stopped
      Mar-18 22:50:05           Sonos     Checking linked zones for SourceZone=Study. MyZoneIsSourceForLinkedZone=False and TargetZones =
      Mar-18 22:50:05           Sonos     DeviceTrigger called for Zone - Study with Trigger = Sonos Player Stop
      Mar-18 22:50:05           Sonos     PlayChangeNotifyCallback called for Zone - Study with ChangeType = PlayStatusChanged and Changevalue = Stopped and SendDeviceTrigger = True
      Mar-18 22:50:05           Sonos     CurrentPlayerState Set for ZoneName = Study. Value = Stopped
      Mar-18 22:50:05           Sonos     TransportChangeCallback for player - Study TransportState(AlbumArtURL) = /images/Sonos/Artwork/CoverRINCON_000E5812CF9601400_201.jpg
      Mar-18 22:50:05           Sonos     TransportChangeCallback for player - Study TransportState(CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:05           Sonos     TransportChangeCallback for player - Study TransportState(Album) = Music For A While
      Mar-18 22:50:05           Sonos     TransportChangeCallback for player - Study TransportState(title) = Music For A While
      Mar-18 22:50:05           Sonos     TransportChangeCallback for player - Study TransportState(Artist) = Purcell, Henry (1659-95)
      Mar-18 22:50:05           Sonos     TransportChangeCallback for player - Study TransportState (RadioShow/Title) =
      Mar-18 22:50:05           Sonos     TransportChangeCallback for player - Study TransportState (Streamcontent/Title) =
      Mar-18 22:50:05           Sonos     TransportChangeCallback for player - Study TransportState(CurrentPlayMode) = NORMAL
      Mar-18 22:50:05           Sonos     TransportChangeCallback for player - Study TransportState(NumberOfTracks) = 1
      Mar-18 22:50:05           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrackDuration) = 0:02:51
      Mar-18 22:50:05           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrack) = 1
      Mar-18 22:50:05           Sonos     Study TrackInfo PositionInfo (% played) = 0
      Mar-18 22:50:05           Sonos     Study TrackInfo PositionInfo (Queue Position) = 1
      Mar-18 22:50:05           Sonos     SetTrackLength is setting HS Status Max Position TrackPosition for ZoneName - Study and HSRef = 32
      Mar-18 22:50:05           Sonos     SetTrackLength is setting HS Device TrackLength for ZoneName - Study with Value = 245 and HSRef = 31
      Mar-18 22:50:05           Sonos     Study TrackInfo PositionInfo (Track Duration) = 0:04:05
      Mar-18 22:50:05           Sonos     Study TrackInfo PositionInfo (Track Position Seconds) = 0
      Mar-18 22:50:05           Sonos     Study TrackInfo PositionInfo (Track Position) = 0:00:00
      Mar-18 22:50:05           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36640
      Mar-18 22:50:04           Sonos     SetTransportState called for zoneplayer - Study with value = Play
      Mar-18 22:50:04           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36637
      Mar-18 22:50:04           Sonos     ContentDirectoryStateChange for ZonePlayer Study: Var Name = ContainerUpdateIDs Value = Q:0,574
      Mar-18 22:50:04           Sonos     ContentDirectoryStateChange for ZonePlayer Study: Var Name = SystemUpdateID Value = 591
      Mar-18 22:50:04           Sonos     SeekTrack called for zoneplayer = Study with TrackNumber = 1
      Mar-18 22:50:04           Sonos     Study TrackInfo PositionInfo (albumArtURI) = [URL]http://192.168.88.14:1400/getaa?u=x-file-cifs://192.168.88.251/Musikk/Musikk_lossless2_Classical/Purcell_Henry_1659-95/Purcell,%20Henry%20-%20MUSIC%20FOR%20A%20WHILE%20(Alfred%20Deller)/12%20Music%20For%20A%20While.m4a&v=1175[/URL]
      Mar-18 22:50:04           Sonos     Study TrackInfo PositionInfo (title) = Music For A While
      Mar-18 22:50:04           Sonos     Study TrackInfo PositionInfo (album) = Music For A While
      Mar-18 22:50:04           Sonos     Study TrackInfo PositionInfo (creator) = Purcell, Henry (1659-95)
      Mar-18 22:50:04           Sonos     Study TrackInfo PositionInfo (Streamcontent/Title) =
      Mar-18 22:50:04           Sonos     Study TrackInfo(Source) = Tracks
      Mar-18 22:50:04           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36634
      Mar-18 22:50:04           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:04           Sonos     PlayURI called for zoneplayer Study with strURI = x-rincon-queue:RINCON_000E5812CF9601400#0 and isObjectID = False
      Mar-18 22:50:04           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:50:04           Sonos     PlayFromQueue called for ZonePlayer = Study and QueueId = Q:
      Mar-18 22:50:04           Sonos     GetcurrentTrackInfo called for zoneplayer - Study
      Mar-18 22:50:04           Sonos     TransportChangeCallback for player - Study TransportState(TransportState) = STOPPED and previous state was = Playing
      Mar-18 22:50:04           Sonos     TransportChangeCallback for player - Study VarName = LastChange
      Mar-18 22:50:04           Sonos     ContentDirectoryStateChange for ZonePlayer Study: Var Name = ContainerUpdateIDs Value = Q:0,573
      Mar-18 22:50:04           Sonos     ContentDirectoryStateChange for ZonePlayer Study: Var Name = SystemUpdateID Value = 590
      Mar-18 22:50:04           Sonos     AddTrackToQueue called for zoneplayer Study with URI = x-file-cifs://192.168.88.251/Musikk/Musikk_lossless2_Classical/Purcell_Henry_1659-95/Purcell,%20Henry%20-%20MUSIC%20FOR%20A%20WHILE%20(Alfred%20Deller)/12%20Music%20For%20A%20While.m4a MetaData=x-file-cifs://192.168.88.251/Musikk/Musikk_lossless2_Classical/Purcell_Henry_1659-95/Purcell,%20Henry%20-%20MUSIC%20FOR%20A%20WHILE%20(Alfred%20Deller)/12%20Music%20For%20A%20While.m4a/getaa?u=x-file-cifs%3a%2f%2f192.168.88.251%2fMusikk%2fMusikk_lossless2_Classical%2fPurcell_Henry_1659-95%2fPurcell,%2520Henry%2520-%2520MUSIC%2520FOR%2520A%2520WHILE%2520(Alfred%2520Deller)%2f12%2520Music%2520For%2520A%2520While.m4a&v=1175Music For A Whileobject.item.audioItem.musicTrackPurcell, Henry (1659-95)Music For A While12Purcell, Henry (1659-95) QueuePosition=1 EnqueuedNext=False
      Mar-18 22:50:04           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36631
      Mar-18 22:50:04           Sonos     GetTrackMetaData called for zoneplayer = Study with URI= S://192.168.88.251/Musikk/Musikk_lossless2_Classical/Purcell_Henry_1659-95/Purcell,%20Henry%20-%20MUSIC%20FOR%20A%20WHILE%20(Alfred%20Deller)/12%20Music%20For%20A%20While.m4a and BrowseOnlyMetaData = True
      Mar-18 22:50:04           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36628
      Mar-18 22:50:04           Sonos     PlayMusicOnZone for zoneplayer = Study found TrackIndex = 1
      Mar-18 22:50:04           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36625
      Mar-18 22:50:03           Sonos     ClearQueue called for zoneplayer Study
      Mar-18 22:50:03           Sonos     SetTransportState called for zoneplayer - Study with value = Stop
      Mar-18 22:50:03           Sonos     PlayMusicOnZone for Zone Study and query = SELECT * FROM Tracks WHERE Artist = 'Purcell, Henry (1659-95)' AND Album = 'Music For A While' AND Name = 'Music For A While' ORDER BY TrackNo
      Mar-18 22:50:03           Sonos     PlayMusicOnZone for Zone Study and MusicDBName = /home/pi/HomeSeer/html/Sonos/MusicDB/SonosDB.sdb, ZoneUDN = , Artist = Purcell, Henry (1659-95) Album = Music For A While Playlist = , Genre = , Track = Music For A While, StartWithArtist = , StartWithTrack = , TrackMatch = , Favorite = , ClearPlayerQueue = True, QueueAction = qaPlayNow
      Mar-18 22:50:03           Sonos     PlayMusic called for Zone - Study with Artist=Purcell, Henry (1659-95) and Album=Music For A While and Playlist= and Genre= and Track=Music For A While and StartWithArtist= and StartWithTrack= and TrackMatch=and Audiobook = and Podcast = and ClearPlayerQueue = True and QueueAction = qaPlayNow
      Mar-18 22:50:03           Sonos     HandleAction found sKey = TrackAction_5846_A0 and Value = Music For A While
      Mar-18 22:50:03           Sonos     HandleAction found sKey = AlbumAction_5846_A0 and Value = Music For A While
      Mar-18 22:50:03           Sonos     HandleAction found sKey = ArtistAction_5846_A0 and Value = Purcell, Henry (1659-95)
      Mar-18 22:50:03           Sonos     HandleAction found sKey = PlayNowAction_5846_A0 and Value = Now
      Mar-18 22:50:03           Sonos     HandleAction found sKey = ClearQueueAction_5846_A0 and Value = Yes
      Mar-18 22:50:03           Sonos     HandleAction found sKey = PlayerListAction_5846_A0 and Value = RINCON_000E5812CF9601400
      Mar-18 22:50:03           Sonos     HandleAction found sKey = CommandListAction_5846_A0 and Value = Play Track
      Mar-18 22:50:03           Sonos     HandleAction called with evRef = 5846 and SubTANumber = 0 and TANumber = 1 and UID = 7278
      Mar-18 22:50:03           Sonos     ActionConfigured returns True
      Mar-18 22:50:03           Sonos     ActionConfigured found sKey = TrackAction_5846_A0 and Value = Music For A While
      Mar-18 22:50:03           Sonos     ActionConfigured found sKey = AlbumAction_5846_A0 and Value = Music For A While
      Mar-18 22:50:03           Sonos     ActionConfigured found sKey = ArtistAction_5846_A0 and Value = Purcell, Henry (1659-95)
      Mar-18 22:50:03           Sonos     ActionConfigured found sKey = PlayNowAction_5846_A0 and Value = Now
      Mar-18 22:50:03           Sonos     ActionConfigured found sKey = ClearQueueAction_5846_A0 and Value = Yes
      Mar-18 22:50:03           Sonos     ActionConfigured found sKey = PlayerListAction_5846_A0 and Value = RINCON_000E5812CF9601400
      Mar-18 22:50:03           Sonos     ActionConfigured found sKey = CommandListAction_5846_A0 and Value = Play Track
      Mar-18 22:50:03           Sonos     ActionConfigured called with evRef = 5846 and SubTANumber = 0 and TANumber = 1 and UID = 7278
      Mar-18 22:50:03           Event     Event Trigger "Home Security System test"
      Mar-18 22:50:03           Event     Event Home Security System test triggered by the event page 'Run' button.
      Mar-18 22:49:58           Sonos     HS updated in TransportChanged for zonePlayer Study. HS Code = 911 and updated DeviceValue = True
      Mar-18 22:49:58           Sonos     HS DeviceValue updated in TransportChanged for zonePlayer Study. HS Code = 911 and value = Playing
      Mar-18 22:49:58           Sonos     Checking linked zones for SourceZone=Study. MyZoneIsSourceForLinkedZone=False and TargetZones =
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study is the same from the previous event
      Mar-18 22:49:58           Sonos     DeviceTrigger called for Zone - Study with Trigger = Sonos Player Start Playing
      Mar-18 22:49:58           Sonos     PlayChangeNotifyCallback called for Zone - Study with ChangeType = PlayStatusChanged and Changevalue = Playing and SendDeviceTrigger = True
      Mar-18 22:49:58           Sonos     CurrentPlayerState Set for ZoneName = Study. Value = Playing
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(AlbumArtURL) = /images/Sonos/Artwork/CoverRINCON_000E5812CF9601400_200.jpg
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(Album) = Woody Allen: Movie Music
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(title) = Did I Remember (To Tell You I Adore You)
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(Artist) = Billie Holiday & Her Orchestra, Bunny Berigan, Artie Shaw
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState (RadioShow/Title) =
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState (Streamcontent/Title) =
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(CurrentPlayMode) = NORMAL
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(NumberOfTracks) = 1
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrackDuration) = 0:02:51
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrack) = 1
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (% played) = 0
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (Queue Position) = 1
      Mar-18 22:49:58           Sonos     SetTrackLength is setting HS Status Max Position TrackPosition for ZoneName - Study and HSRef = 32
      Mar-18 22:49:58           Sonos     SetTrackLength is setting HS Device TrackLength for ZoneName - Study with Value = 171 and HSRef = 31
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (Track Duration) = 0:02:51
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (Track Position Seconds) = 0
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (Track Position) = 0:00:00
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (albumArtURI) = [URL]http://192.168.88.14:1400/getaa?u=x-file-cifs://192.168.88.251/Musikk/Musikk_lossy/Allen_Woody_sountracks/Allen_Woody%20-%20Movie%20Music%20%26%20More%20Movie%20Music/Movie%20Music/Woody%20Allen%20-%20Movie%20Music%20-%2024%20-%20Did%20I%20Remember%20(To%20Tell%20You%20I%20Adore%20You)%20-%20Billie%20Holiday%20%26%20Her%20Orchestra,%20Bunny%20Berigan,%20Artie%20Shaw.mp3&v=1175[/URL]
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (title) = Did I Remember (To Tell You I Adore You)
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (album) = Woody Allen: Movie Music
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (creator) = Billie Holiday & Her Orchestra, Bunny Berigan, Artie Shaw
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (Streamcontent/Title) =
      Mar-18 22:49:58           Sonos     Study TrackInfo(Source) = Tracks
      Mar-18 22:49:58           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:49:58           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:49:58           Sonos     GetcurrentTrackInfo called for zoneplayer - Study
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(TransportState) = PLAYING and previous state was = Stopped
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study VarName = LastChange
      Mar-18 22:49:58           Sonos     HS updated in TransportChanged for zonePlayer Study. HS Code = 911 and updated DeviceValue = False
      Mar-18 22:49:58           Sonos     Checking linked zones for SourceZone=Study. MyZoneIsSourceForLinkedZone=False and TargetZones =
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(AlbumArtURL) = /images/Sonos/Artwork/CoverRINCON_000E5812CF9601400_200.jpg
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(Album) = Woody Allen: Movie Music
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(title) = Did I Remember (To Tell You I Adore You)
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(Artist) = Billie Holiday & Her Orchestra, Bunny Berigan, Artie Shaw
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState (RadioShow/Title) =
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState (Streamcontent/Title) =
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(CurrentPlayMode) = NORMAL
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(NumberOfTracks) = 1
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrackDuration) = 0:02:51
      Mar-18 22:49:58           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrack) = 1
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (% played) = 0
      Mar-18 22:49:58           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36622
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (Queue Position) = 1
      Mar-18 22:49:58           Sonos     SetTrackLength is setting HS Status Max Position TrackPosition for ZoneName - Study and HSRef = 32
      Mar-18 22:49:58           Sonos     SetTrackLength is setting HS Device TrackLength for ZoneName - Study with Value = 171 and HSRef = 31
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (Track Duration) = 0:02:51
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (Track Position Seconds) = 0
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (Track Position) = 0:00:00
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (albumArtURI) = [URL]http://192.168.88.14:1400/getaa?u=x-file-cifs://192.168.88.251/Musikk/Musikk_lossy/Allen_Woody_sountracks/Allen_Woody%20-%20Movie%20Music%20%26%20More%20Movie%20Music/Movie%20Music/Woody%20Allen%20-%20Movie%20Music%20-%2024%20-%20Did%20I%20Remember%20(To%20Tell%20You%20I%20Adore%20You)%20-%20Billie%20Holiday%20%26%20Her%20Orchestra,%20Bunny%20Berigan,%20Artie%20Shaw.mp3&v=1175[/URL]
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (title) = Did I Remember (To Tell You I Adore You)
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (album) = Woody Allen: Movie Music
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (creator) = Billie Holiday & Her Orchestra, Bunny Berigan, Artie Shaw
      Mar-18 22:49:58           Sonos     Study TrackInfo PositionInfo (Streamcontent/Title) =
      Mar-18 22:49:58           Sonos     Study TrackInfo(Source) = Tracks
      Mar-18 22:49:58           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:49:58           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:49:57           Sonos     GetcurrentTrackInfo called for zoneplayer - Study
      Mar-18 22:49:57           Sonos     TransportChangeCallback for player - Study TransportState(TransportState) = STOPPED and previous state was = Stopped
      Mar-18 22:49:57           Sonos     TransportChangeCallback for player - Study VarName = LastChange
      Mar-18 22:49:57           Sonos     ContentDirectoryStateChange for ZonePlayer Study: Var Name = ContainerUpdateIDs Value = Q:0,572
      Mar-18 22:49:57           Sonos     ContentDirectoryStateChange for ZonePlayer Study: Var Name = SystemUpdateID Value = 589
      Mar-18 22:49:57           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36619
      Mar-18 22:49:57           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36616
      Mar-18 22:49:56           Sonos     HS updated in TransportChanged for zonePlayer Study. HS Code = 911 and updated DeviceValue = True
      Mar-18 22:49:56           Sonos     HS DeviceValue updated in TransportChanged for zonePlayer Study. HS Code = 911 and value = Stopped
      Mar-18 22:49:56           Sonos     Checking linked zones for SourceZone=Study. MyZoneIsSourceForLinkedZone=False and TargetZones =
      Mar-18 22:49:56           Sonos     DeviceTrigger called for Zone - Study with Trigger = Sonos Player Stop
      Mar-18 22:49:56           Sonos     PlayChangeNotifyCallback called for Zone - Study with ChangeType = PlayStatusChanged and Changevalue = Stopped and SendDeviceTrigger = True
      Mar-18 22:49:56           Sonos     CurrentPlayerState Set for ZoneName = Study. Value = Stopped
      Mar-18 22:49:56           Sonos     TransportChangeCallback for player - Study TransportState(AlbumArtURL) = /images/Sonos/NoArt.png
      Mar-18 22:49:56           Sonos     TransportChangeCallback for player - Study TransportState(CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:49:56           Sonos     TransportChangeCallback for player - Study TransportState(Album) =
      Mar-18 22:49:56           Sonos     TransportChangeCallback for player - Study TransportState(title) =
      Mar-18 22:49:56           Sonos     TransportChangeCallback for player - Study TransportState(Artist) =
      Mar-18 22:49:55           Sonos     TransportChangeCallback for player - Study TransportState(CurrentPlayMode) = NORMAL
      Mar-18 22:49:55           Sonos     TransportChangeCallback for player - Study TransportState(NumberOfTracks) = 0
      Mar-18 22:49:55           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrackDuration) = 0:00:00
      Mar-18 22:49:55           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrack) = 0
      Mar-18 22:49:55           Sonos     Study TrackInfo(Source) = Tracks
      Mar-18 22:49:55           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:49:55           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:49:55           Sonos     GetcurrentTrackInfo called for zoneplayer - Study
      Mar-18 22:49:55           Sonos     TransportChangeCallback for player - Study TransportState(TransportState) = STOPPED and previous state was = Playing
      Mar-18 22:49:55           Sonos     ContentDirectoryStateChange for ZonePlayer Study: Var Name = ContainerUpdateIDs Value = Q:0,571
      Mar-18 22:49:55           Sonos     TransportChangeCallback for player - Study VarName = LastChange
      Mar-18 22:49:55           Sonos     ContentDirectoryStateChange for ZonePlayer Study: Var Name = SystemUpdateID Value = 588
      Mar-18 22:49:55           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36613
      Mar-18 22:49:55           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36610
      Mar-18 22:49:53           Sonos     HS updated in TransportChanged for zonePlayer Study. HS Code = 911 and updated DeviceValue = True
      Mar-18 22:49:53           Sonos     HS DeviceValue updated in TransportChanged for zonePlayer Study. HS Code = 911 and value = Playing
      Mar-18 22:49:53           Sonos     Checking linked zones for SourceZone=Study. MyZoneIsSourceForLinkedZone=False and TargetZones =
      Mar-18 22:49:53           Sonos     DeviceTrigger called for Zone - Study with Trigger = Sonos Track Change
      Mar-18 22:49:53           Sonos     PlayChangeNotifyCallback called for Zone - Study with ChangeType = SongChanged and Changevalue = Playing and SendDeviceTrigger = True
      Mar-18 22:49:53           Sonos     DeviceTrigger called for Zone - Study with Trigger = Sonos Player Start Playing
      Mar-18 22:49:53           Sonos     PlayChangeNotifyCallback called for Zone - Study with ChangeType = PlayStatusChanged and Changevalue = Playing and SendDeviceTrigger = True
      Mar-18 22:49:53           Sonos     CurrentPlayerState Set for ZoneName = Study. Value = Playing
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(AlbumArtURL) = /images/Sonos/Artwork/CoverRINCON_000E5812CF9601400_200.jpg
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(Album) = Woody Allen: Movie Music
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(title) = Did I Remember (To Tell You I Adore You)
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(Artist) = Billie Holiday & Her Orchestra, Bunny Berigan, Artie Shaw
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState (RadioShow/Title) =
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState (Streamcontent/Title) =
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(CurrentPlayMode) = NORMAL
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(NumberOfTracks) = 2
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrackDuration) = 0:02:51
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrack) = 2
      Mar-18 22:49:52           Sonos     Study TrackInfo PositionInfo (% played) = 1
      Mar-18 22:49:52           Sonos     Study TrackInfo PositionInfo (Queue Position) = 2
      Mar-18 22:49:52           Sonos     SetTrackLength is setting HS Status Max Position TrackPosition for ZoneName - Study and HSRef = 32
      Mar-18 22:49:52           Sonos     SetTrackLength is setting HS Device TrackLength for ZoneName - Study with Value = 171 and HSRef = 31
      Mar-18 22:49:52           Sonos     Study TrackInfo PositionInfo (Track Duration) = 0:02:51
      Mar-18 22:49:52           Sonos     Study TrackInfo PositionInfo (Track Position Seconds) = 1
      Mar-18 22:49:52           Sonos     Study TrackInfo PositionInfo (Track Position) = 0:00:01
      Mar-18 22:49:52           Sonos     Study TrackInfo PositionInfo (albumArtURI) = [URL]http://192.168.88.14:1400/getaa?u=x-file-cifs://192.168.88.251/Musikk/Musikk_lossy/Allen_Woody_sountracks/Allen_Woody%20-%20Movie%20Music%20%26%20More%20Movie%20Music/Movie%20Music/Woody%20Allen%20-%20Movie%20Music%20-%2024%20-%20Did%20I%20Remember%20(To%20Tell%20You%20I%20Adore%20You)%20-%20Billie%20Holiday%20%26%20Her%20Orchestra,%20Bunny%20Berigan,%20Artie%20Shaw.mp3&v=1175[/URL]
      Mar-18 22:49:52           Sonos     Study TrackInfo PositionInfo (title) = Did I Remember (To Tell You I Adore You)
      Mar-18 22:49:52           Sonos     Study TrackInfo PositionInfo (album) = Woody Allen: Movie Music
      Mar-18 22:49:52           Sonos     Study TrackInfo PositionInfo (creator) = Billie Holiday & Her Orchestra, Bunny Berigan, Artie Shaw
      Mar-18 22:49:52           Sonos     Study TrackInfo PositionInfo (Streamcontent/Title) =
      Mar-18 22:49:52           Sonos     Study TrackInfo(Source) = Tracks
      Mar-18 22:49:52           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:49:52           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:49:52           Sonos     GetcurrentTrackInfo called for zoneplayer - Study
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(TransportState) = PLAYING and previous state was = Stopped
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study VarName = LastChange
      Mar-18 22:49:52           Sonos     HS updated in TransportChanged for zonePlayer Study. HS Code = 911 and updated DeviceValue = False
      Mar-18 22:49:52           Sonos     Checking linked zones for SourceZone=Study. MyZoneIsSourceForLinkedZone=False and TargetZones =
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(AlbumArtURL) = /images/Sonos/Artwork/CoverRINCON_000E5812CF9601400_200.jpg
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(Album) = Woody Allen: Movie Music
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(title) = Did I Remember (To Tell You I Adore You)
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(Artist) = Billie Holiday & Her Orchestra, Bunny Berigan, Artie Shaw
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState (RadioShow/Title) =
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState (Streamcontent/Title) =
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(CurrentPlayMode) = NORMAL
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(NumberOfTracks) = 2
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrackDuration) = 0:02:51
      Mar-18 22:49:52           Sonos     TransportChangeCallback for player - Study TransportState(CurrentTrack) = 2
      Mar-18 22:49:52           Sonos     Study TrackInfo PositionInfo (% played) = 0
      Mar-18 22:49:52           Sonos     Study TrackInfo PositionInfo (Queue Position) = 2
      Mar-18 22:49:52           Sonos     SetTrackLength is setting HS Status Max Position TrackPosition for ZoneName - Study and HSRef = 32
      Mar-18 22:49:52           Sonos     SetTrackLength is setting HS Device TrackLength for ZoneName - Study with Value = 171 and HSRef = 31
      Mar-18 22:49:52           Sonos     Study TrackInfo PositionInfo (Track Duration) = 0:02:51
      Mar-18 22:49:52           Sonos     Study TrackInfo PositionInfo (Track Position Seconds) = 0
      Mar-18 22:49:52           Sonos     Study TrackInfo PositionInfo (Track Position) = 0:00:00
      Mar-18 22:49:52           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36607
      Mar-18 22:49:52           Sonos     Study TrackInfo PositionInfo (albumArtURI) = [URL]http://192.168.88.14:1400/getaa?u=x-file-cifs://192.168.88.251/Musikk/Musikk_lossy/Allen_Woody_sountracks/Allen_Woody%20-%20Movie%20Music%20%26%20More%20Movie%20Music/Movie%20Music/Woody%20Allen%20-%20Movie%20Music%20-%2024%20-%20Did%20I%20Remember%20(To%20Tell%20You%20I%20Adore%20You)%20-%20Billie%20Holiday%20%26%20Her%20Orchestra,%20Bunny%20Berigan,%20Artie%20Shaw.mp3&v=1175[/URL]
      Mar-18 22:49:52           Sonos     Study TrackInfo PositionInfo (title) = Did I Remember (To Tell You I Adore You)
      Mar-18 22:49:51           Sonos     Study TrackInfo PositionInfo (album) = Woody Allen: Movie Music
      Mar-18 22:49:51           Sonos     Study TrackInfo PositionInfo (creator) = Billie Holiday & Her Orchestra, Bunny Berigan, Artie Shaw
      Mar-18 22:49:51           Sonos     Study TrackInfo PositionInfo (Streamcontent/Title) =
      Mar-18 22:49:51           Sonos     Study TrackInfo(Source) = Tracks
      Mar-18 22:49:51           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:49:51           Sonos     Study TrackInfo (CurrentURI) = x-rincon-queue:RINCON_000E5812CF9601400#0
      Mar-18 22:49:51           Sonos     GetcurrentTrackInfo called for zoneplayer - Study
      Mar-18 22:49:51           Sonos     TransportChangeCallback for player - Study TransportState(TransportState) = STOPPED and previous state was = Stopped
      Mar-18 22:49:51           Sonos     TransportChangeCallback for player - Study VarName = LastChange
      Mar-18 22:49:51           Sonos     ContentDirectoryStateChange for ZonePlayer Study: Var Name = ContainerUpdateIDs Value = Q:0,570
      Mar-18 22:49:51           Sonos     ContentDirectoryStateChange for ZonePlayer Study: Var Name = SystemUpdateID Value = 587
      Mar-18 22:49:51           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36604
      Mar-18 22:49:51           Sonos     MyTcpListener.DoAccept active on HostAddress = 192.168.88.10 and HostIPPort = 47146 and RemoteAddress = 192.168.88.14 and remoteIPPort = 36601

      Comment


        #4
        Before I spent my time weeding through the trace did you try making the wait times longer, like 39 seconds to just rule out a race condition
        Dirk

        Comment


          #5
          OK, did quick try on my set-up and the function is not working anymore. Not sure what changed over time, whether it was something that changed in HS3 or I never tried it, fact is that I seem to have written specific HS3 code and that code isn't working anymore.
          Attached is a fixed version. Unzip it and copy it into the HS directory when HS is not running. Let me know whether it solves your problem.
          Dirk
          Last edited by dcorsus; March 20, 2016, 04:32 PM.

          Comment


            #6
            Thank you ever so much! I could well have made a test with even longer wait times, but it has been night here in Europe. Anyway, you fixed it! Tested a few times, and it seems to work well!
            Thanks again!

            Comment


              #7
              Thank you for the fix. I am using it to send custom alerts. Do you think you will be posting this as an update in the PlugIn marketplace?

              Thanks!
              Raymond

              Comment


                #8
                Originally posted by rhardcore View Post
                Thank you for the fix. I am using it to send custom alerts. Do you think you will be posting this as an update in the PlugIn marketplace?

                Thanks!
                Raymond
                yes but wasn't planning on doing this right now, figured after 3 years only 1 person ran into the issue (and that person downloaded the version), there was no hurry to post yet another version. Do you need it in the updater?

                Dirk

                Comment


                  #9
                  Originally posted by dcorsus View Post
                  OK, did quick try on my set-up and the function is not working anymore. Not sure what changed over time, whether it was something that changed in HS3 or I never tried it, fact is that I seem to have written specific HS3 code and that code isn't working anymore.
                  Attached is a fixed version. Unzip it and copy it into the HS directory when HS is not running. Let me know whether it solves your problem.
                  Dirk

                  I'm also having the same issue and would like to use the save/restore state.

                  Where can i get the fixed version ? i cannot see a link.

                  Many thanks for fixing it!

                  Chris

                  Comment


                    #10
                    Apple Music Speak Something

                    I Have noticed with further testing that the 'Speak something' action does work with Apple Music.

                    It might have been user error, but when choosing songs to play via any Sonos app. you must choose 'Add to Queue' or 'Replace Queue'

                    Although 'Play Now' appears to put the songs in the queue and play it does not actually add them to the queue which prevents the restore state after 'Speak Something'

                    Choosing 'Add to Queue' or 'Replace Queue' when adding songs from Apple Music allows the save state/resume state to work perfectly.

                    Hope someone finds this information useful.

                    thanks

                    Chris

                    Comment


                      #11
                      Dirk:

                      Did the save/restore state ever get incorporated into the "main code stream"? I tried writing an event tonight on my Linux box where I tried to save state, pause the Sonos, and then restore state - it doesn't appear to be working. I'm trying this because the "Pause If Playing" followed by "Resume If Paused" commands don't seem to work right if the Sonos started out being stopped.
                      I haven't updated my signature (sorry), but I am running version 3.1.0.20. Any help would be appreciated!

                      Regards,
                      Paul

                      Comment


                        #12
                        Originally posted by BigBadBuzz View Post
                        Dirk:

                        Did the save/restore state ever get incorporated into the "main code stream"? I tried writing an event tonight on my Linux box where I tried to save state, pause the Sonos, and then restore state - it doesn't appear to be working. I'm trying this because the "Pause If Playing" followed by "Resume If Paused" commands don't seem to work right if the Sonos started out being stopped.
                        I haven't updated my signature (sorry), but I am running version 3.1.0.20. Any help would be appreciated!

                        Regards,
                        Paul
                        now I'm totally lost what happened or even that I fixed it in the previous posting. At least now I tested it myself, and it seem to work here.
                        Try the attached.

                        Dirk
                        Attached Files

                        Comment


                          #13
                          Dirk:

                          Yes, the attached file did work! In the event, I saved state, then executed a "Pause If Playing", had another speaker client speak some text, then after that text completed, a "Restore State" command. In trying it out, I inserted enough wait so that I changed the music source and operation state (from paused to playing) - the "restore state" brought that Sonos back to its' original music source and original operating state (I tested both stopped and playing as original / pre-event states). I hope you're not going to tell me that version 20 had this fix in it and I was testing a "placebo"! : )

                          Regards,
                          BBB

                          Comment


                            #14
                            Dirk:

                            I see there is a Beta .21 release in the updater - does it include the modifications for the state save/restore?

                            FWIW, forgive for not thanking you enough for the plugin - good Sonos integration was one of the main things that led me to choose HomeSeer.

                            Regards,
                            BBB

                            Comment


                              #15
                              All:

                              Oops - I read the updater incorrectly - version .20 is still the latest. Sorry about that...

                              BBB

                              Comment

                              Working...
                              X