Changeset 176


Ignore:
Timestamp:
2014-07-31 21:11:47 (11 years ago)
Author:
lolodomo
Message:

Apply the workaround for the bug relative to the missing notification when using the Pandora service to the "Pause" action.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/I_Sonos1.xml

    r175 r176  
    19701970      AVTransport.Pause({InstanceID=instanceId}) 
    19711971 
    1972       refreshNow(device, false, false) 
     1972      -- Force a refresh when current service is Pandora due to a bug (missing notification) 
     1973      local force = false 
     1974      local currentUri = dataTable[uuid].AVTransportURI 
     1975      if (currentUri ~= nil and currentUri:find("pndrradio:") == 1) then 
     1976          force = true 
     1977      end 
     1978      refreshNow(device, force, false) 
    19731979    </run> 
    19741980  </action> 
     
    19881994      AVTransport.Pause({InstanceID=instanceId}) 
    19891995 
    1990       refreshNow(device, false, false) 
     1996      -- Force a refresh when current service is Pandora due to a bug (missing notification) 
     1997      local force = false 
     1998      local currentUri = dataTable[uuid].AVTransportURI 
     1999      if (currentUri ~= nil and currentUri:find("pndrradio:") == 1) then 
     2000          force = true 
     2001      end 
     2002      refreshNow(device, force, false) 
    19912003    </run> 
    19922004  </action> 
Note: See TracChangeset for help on using the changeset viewer.