This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

SONOS app
(18.08.2017, 12:08)kythas100 Wrote:
(19.10.2016, 09:51)Erwin van der Zwart Wrote: Hi Andreas,

Are you using the Sonos app to control the volume or do you also have another script running?

The Sonos app can handle all (external) request you want to do, but that don't work with upnpcmd function.

If you use the app you need to control the functions with http commands like: (192.168.1.202 is my homeLYnk addres)

Code:
http://192.168.10.202/apps/data/sonos/sonos.lp?action=setvolume&uuid=RINCON_000E5821B62C01400&volume=10

http://192.168.10.202/apps/data/sonos/sonos.lp?action=setvolume&ip=192.168.10.31&volume=10

http://192.168.10.202/apps/data/sonos/sonos.lp?action=setvolume&name=Woon_Kamer&volume=10 -- use _ for spaces in the name

full sample:
Code:
-- Load modules
require('json')
require('socket.http')

-- Set timout
socket.http.TIMEOUT = 5

-- Read IP address from controller
data = io.readproc('if-json')
data = json.decode(data)
ip = data.eth0.inetaddr

-- Set SONOS name
Sonos_Player_Name = 'Sonos_Speaker'  

-- Get event value
value = event.getvalue()

-- Set stepsize volume
Volume_Step = 10

-- Set Action
if value == 101 then
    Sonos_Action = 'play'
elseif value == 102 then
    Sonos_Action = 'stop'
elseif value == 103 then
    Sonos_Action = 'next'
elseif value == 104 then
    Sonos_Action = 'previous'
elseif value == 105 then
    Sonos_Action = 'mute'
elseif value == 106 then
    Sonos_Action = 'unmute'
elseif value == 107 then
    Sonos_Action = 'setvolumeup'
 Volume_Step = Volume_Step or 10
elseif value == 108 then
 Sonos_Action = 'setvolumedown'
 Volume_Step = Volume_Step or 10
else
 action = 'none'
end

-- Execute action on value 0 to 100
if value >= 0 and value <= 100 then
 local reply = socket.http.request('http://' .. ip .. '/apps/data/sonos/sonos.lp?action=setvolume&name=' .. Sonos_Player_Name .. '&volume=' .. value .. '')
end

-- Execute action on value 101 to 106
if value >= 101 and value <= 106 then
    local reply = socket.http.request('http://' .. ip .. '/apps/data/sonos/sonos.lp?action=' .. Sonos_Action .. '&name=' .. Sonos_Player_Name .. '')
end

-- Execute action on value 107 to 108
if value >= 107 and value <= 108 then
    local reply = socket.http.request('http://' .. ip .. '/apps/data/sonos/sonos.lp?action=' .. Sonos_Action .. '&name=' .. Sonos_Player_Name .. '&step=' .. Volume_Step .. '')
end

-- Execute action on value 255 (Feedback)
if value == 255 then
    local reply = socket.http.request('http://' .. ip .. '/apps/data/sonos/sonos.lp?action=getextendedstate&name=' .. Sonos_Player_Name .. '&createbaseimg=true')
 reply = json.pdecode(reply)
 if reply then
     local current_volume = reply[1].volume
     local current_mutestate = reply[2].mute
   local current_crossfadestate = reply[3].crossfade
   local current_playmode = reply[4].playmode
   local current_transportmode = reply[5].transport
   local current_duration = reply[7].duration
   local current_playingtime = reply[8].playingtime
   local current_title = reply[9].tracktitle
   local current_artist = reply[10].creator
   local current_album = reply[11].album
   local current_albumart = reply[12].albumart
   local current_mediatype = reply[11].mediatype
 end
end

Full set of possible actions:

Code:
-- SONOS server side API interface for homeLYnk and spaceLYnk apps version 0.1 (DEV VERSION)
-- Includes SONOS auto IP discovery and all needed commands to perform basic and extended operation

-- Commands for SONOS API Interface

-- Get sonos data from players, only new found players are added to the existing array, earlier discovered players are already stored and not updated to keep fast performance
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getsonosdata

-- Remove all items from stored array and rediscover all players again from start, this will reduce speed performance (only trigger by button)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=refreshsonosdata

-- Refresh group data, no new sonos will be discovered, all groupings are (re)checked for current state
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=refreshgroupdata

-- Set player as standalone group (remove player from grouping)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setplayerasstandalonegroup&uuid=RINCON_000E5821B62C01400
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setplayerasstandalonegroup&ip=192.168.10.31
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setplayerasstandalonegroup&name=Woon_Kamer -- use _ for spaces in the name

-- Get extra / more details from player like MAC address and icons etc, can be resolved by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getsonosplayer&uuid=RINCON_000E5821B62C01400
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getsonosplayer&ip=192.168.10.31
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getsonosplayer&name=Woon_Kamer -- use _ for spaces in the name

-- Get limited transport details from player like position, duration and volume, can be resolved by RINCON or IP (IP and RINCON are found by getsonosdata (fastpolling)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getstate&uuid=RINCON_000E5821B62C01400
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getstate&ip=192.168.10.31
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getstate&name=Woon_Kamer -- use _ for spaces in the name

-- Get extended transport details from player same as getstate with extra's like current albumart, shuffle, crossfade, repeats etc, can be resolved by RINCON or IP (IP and RINCON are found by getsonosdata (slowpolling)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getextendedstate&uuid=RINCON_000E5821B62C01400&createbaseimg=false
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getextendedstate&ip=192.168.10.31&createbaseimg=false
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getextendedstate&name=Woon_Kamer&createbaseimg=false -- use _ for spaces in the name

-- Get current albumart URL, can be resolved by RINCON or IP (IP and RINCON are found by getsonosdata (slowpolling)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getalbumart&uuid=RINCON_000E5821B62C01400
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getalbumart&ip=192.168.10.31
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getalbumart&name=Woon_Kamer -- use _ for spaces in the name

-- Get stored playlist(s) and corresponding playlist numbers (numbers are needed to call them), can be resolved by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getplaylists&uuid=RINCON_000E5821B62C01400
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getplaylists&ip=192.168.10.31
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getplaylists&name=Woon_Kamer -- use _ for spaces in the name

-- Store current qeueu as new playlist, there must be a paramater 'listname' send for the name of the new list 'listname', can be resolved by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=saveplaylist&uuid=RINCON_000E5821B62C01400&listname=newplaylist
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=saveplaylist&ip=192.168.10.31&listname=newplaylist
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=saveplaylist&name=Woon_Kamer&listname=newplaylist  -- use _ for spaces in the name

-- Get stored items inside playlist, must be called by corresponding playlist numbers (numbers are needed to call them), can be resolved by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getplaylistitems&uuid=RINCON_000E5821B62C01400&listnumber=9
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getplaylistitems&ip=192.168.10.31&listnumber=9
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getplaylistitems&name=Woon_Kamer&listnumber=9 -- use _ for spaces in the name

-- Get current items in queueu including all additional information like track URI, Artist, Album, Albumart etc. can be resolved by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getqueue&uuid=RINCON_000E5821B62C01400&createbaseimg=false
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getqueue&ip=192.168.10.31&createbaseimg=false
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getqueue&name=Woon_Kamer&createbaseimg=false -- use _ for spaces in the name

-- Get current items in favorites including all additional information like track URI, Station, Track, Remote Albumart (not always present) and Local Albumart URI (always present) etc. can be resolved by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getfavorites&uuid=RINCON_000E5821B62C01400&createbaseimg=false
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getfavorites&ip=192.168.10.31&createbaseimg=false
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getfavorites&name=Woon_Kamer&createbaseimg=false -- use _ for spaces in the name

-- Execute 'play' command on player, can be called by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=play&uuid=RINCON_000E5821B62C01400
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=play&ip=192.168.10.31
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=play&name=Woon_Kamer -- use _ for spaces in the name

-- Execute 'play with queue check' command on player, this will check if there is a track in the 'queue', if not the first stored playlist will be loaded to avoid no sound situations, can be called by RINCON or IP (IP and RINCON are found by getsonosdata
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=playqueue&uuid=RINCON_000E5821B62C01400
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=playqueue&ip=192.168.10.31
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=playqueue&name=Woon_Kamer -- use _ for spaces in the name

-- Execute 'seek' command on player, this will require the paramter position to jump to that time, can be called by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=seek&uuid=RINCON_000E5821B62C01400&position=0:01:23
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=seek&ip=192.168.10.31&position=0:01:23
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=seek&name=Woon_Kamer&position=0:01:23 -- use _ for spaces in the name

-- Execute 'load uri' from queue or favorites (radio streams) command on player, set listtype to 'queue' or 'favorites' and 'listnumber' to the x number track/station in the list. The listnumber is checked on valid range.
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=loaduri&uuid=RINCON_000E5821B62C01400&listtype=queue&listnumber=1
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=loaduri&ip=192.168.10.31&listtype=queue&listnumber=1
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=loaduri&name=Woon_Kamer&listtype=queue&listnumber=1 -- use _ for spaces in the name

-- Execute 'load and play uri' from queue or favorites (radio streams) command on player, set listtype to 'queue' or 'favorites' and 'listnumber' to the x number track/station in the list. The listnumber is checked on valid range.
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=playuri&uuid=RINCON_000E5821B62C01400&listtype=queue&listnumber=1
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=playuri&ip=192.168.10.31&listtype=queue&listnumber=1
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=playuri&name=Woon_Kamer&listtype=queue&listnumber=1 -- use _ for spaces in the name

-- Execute 'load and play uri' from queue list by number (needed to keep next and previous working) command on player, set listtype to 'queue' or 'favorites' and 'listnumber' to the x number track/station in the list. The listnumber is checked on valid range.
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=playqueueuri&uuid=RINCON_000E5821B62C01400&listnumber=1
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=playqueueuri&ip=192.168.10.31&listnumber=1
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=playqueueuri&name=Woon_Kamer&listnumber=1 -- use _ for spaces in the name

-- Execute 'stop' command on player, can be called by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=stop&uuid=RINCON_000E5821B62C01400
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=stop&ip=192.168.10.31
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=stop&name=Woon_Kamer -- use _ for spaces in the name

-- Execute 'next' command on player, can be called by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=next&uuid=RINCON_000E5821B62C01400
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=next&ip=192.168.10.31
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=next&name=Woon_Kamer -- use _ for spaces in the name

-- Execute 'previous' command on player, can be called by RINCON or IP (IP and RINCON are found by getsonosdata
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=previous&uuid=RINCON_000E5821B62C01400
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=previous&ip=192.168.10.31
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=previous&name=Woon_Kamer -- use _ for spaces in the name

-- Execute 'mute' command on player, can be called by RINCON or IP (IP and RINCON are found by getsonosdata
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=mute&uuid=RINCON_000E5821B62C01400
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=mute&ip=192.168.10.31
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=mute&name=Woon_Kamer -- use _ for spaces in the name

-- Execute 'groupmute' command on player, can be called by RINCON or IP (IP and RINCON are found by getsonosdata
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=groupmute&uuid=RINCON_000E5821B62C01400
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=groupmute&ip=192.168.10.31
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=groupmute&name=Woon_Kamer -- use _ for spaces in the name

-- Execute 'unmute' command on player, can be called by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=unmute&uuid=RINCON_000E5821B62C01400
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=unmute&ip=192.168.10.31
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=unmute&name=Woon_Kamer -- use _ for spaces in the name

-- Execute 'groupunmute' command on player, can be called by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=groupunmute&uuid=RINCON_000E5821B62C01400
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=groupunmute&ip=192.168.10.31
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=groupunmute&name=Woon_Kamer -- use _ for spaces in the name

-- Execute 'set volume' command on player, volume must be send as parameter and will be checked on scope 0-100, can be called by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setvolume&uuid=RINCON_000E5821B62C01400&volume=10
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setvolume&ip=192.168.10.31&volume=10
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setvolume&name=Woon_Kamer&volume=10 -- use _ for spaces in the name

-- Execute 'group set volume' command on player, volume must be send as parameter and will be checked on scope 0-100, can be called by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=groupsetvolume&uuid=RINCON_000E5821B62C01400&volume=10
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=groupsetvolume&ip=192.168.10.31&volume=10
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=groupsetvolume&name=Woon_Kamer&volume=10 -- use _ for spaces in the name

-- Execute 'volume up' command on player, volume step must be send as parameter and will be checked on scope 0-50 and top / floor limits, can be called by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setvolumeup&uuid=RINCON_000E5821B62C01400&step=10
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setvolumeup&ip=192.168.10.31&step=10
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setvolumeup&name=Woon_Kamer&step=10 -- use _ for spaces in the name

-- Execute 'group volume up' command on player, volume step must be send as parameter and will be checked on scope 0-50 and top / floor limits, can be called by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=groupsetvolumeup&uuid=RINCON_000E5821B62C01400&step=10
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=groupsetvolumeup&ip=192.168.10.31&step=10
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=groupsetvolumeup&name=Woon_Kamer&step=10 -- use _ for spaces in the name

-- Execute 'volume down' command on player, volume step must be send as parameter and will be checked on scope 0-50 and top / floor limits, can be called by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setvolumedown&uuid=RINCON_000E5821B62C01400&step=10
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setvolumedown&ip=192.168.10.31&step=10
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setvolumedown&name=Woon_Kamer&step=10 -- use _ for spaces in the name

-- Execute 'group volume down' command on player, volume step must be send as parameter and will be checked on scope 0-50 and top / floor limits, can be called by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=snapshotgroupvolume&uuid=RINCON_000E5821B62C01400
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=snapshotgroupvolume&ip=192.168.10.31
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=snapshotgroupvolume&name=Woon_Kamer -- use _ for spaces in the name

-- Execute 'snapshot group volume' command on player, volume step must be send as parameter and will be checked on scope 0-50 and top / floor limits, can be called by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=groupsetvolumedown&uuid=RINCON_000E5821B62C01400&step=10
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=groupsetvolumedown&ip=192.168.10.31&step=10
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=groupsetvolumedown&name=Woon_Kamer&step=10 -- use _ for spaces in the name

-- Execute 'crossfade' command on player, state must be send as parameter, can be called by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setcrossfade&uuid=RINCON_000E5821B62C01400&state=false
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setcrossfade&ip=192.168.10.31&state=true
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setcrossfade&name=Woon_Kamer&state=true -- use _ for spaces in the name

-- Execute 'playmode' command on player, mode must be send as parameter (options: normal, repeat_all, repeat_one, shuffle_no_repeat, shuffle and shuffle_one , can be called by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setplaymode&uuid=RINCON_000E5821B62C01400&mode=normal
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setplaymode&ip=192.168.10.31&mode=normal
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=setplaymode&name=Woon_Kamer&mode=normal -- use _ for spaces in the name

-- Execute 'load playlist into queue' command on player, 'listname' must be send as parameter and corresponding listnumber will be searched automaticly, also a autoplay parameter must be send to play direct after load, can be called by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=loadplaylist&uuid=RINCON_000E5821B62C01400&listname=My Playlist&autoplay=false
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=loadplaylist&ip=192.168.10.31&listname=My Playlist&autoplay=false
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=loadplaylist&name=Woon_Kamer&listname=My Playlist&autoplay=false -- use _ for spaces in the name

-- Execute 'load playlist into queue' command on player, 'listnumber' must be send as parameter, also a autoplay parameter must be send to play direct after loading, can be called by RINCON or IP (IP and RINCON are found by getsonosdata)
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=loadplaylist&uuid=RINCON_000E5821B62C01400&listnumber=9&autoplay=false
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=loadplaylist&ip=192.168.10.31&listnumber=9&autoplay=false
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=loadplaylist&name=Woon_Kamer&listnumber=9&autoplay=false -- use _ for spaces in the name

-- Execute 'getbase64img' command on current selected player, 'listnumber' and 'tablename' must be send as parameter
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getbase64img&tablename=favorites&listnumber=1 --get's a base64 image of albmuart of the first item in the favorites list
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getbase64img&tablename=queue&listnumber=4 --get's a base64 image of albumart of the 4th item in the queue list
--http://192.168.10.202/apps/data/sonos/sonos.lp?action=getbase64img&tablename=state&listnumber=0 --get's a base64 image of albumart of the current playing item ( listnumber is always '0' must always be send because of checks in script )

BR,

Erwin van der Zwart

Hello I tested them below to play a song from a playlist but it does not work me can someone help me?

http://10.10.20.99/apps/data/sonos/sonos....10.20.254
http://10.10.20.99/apps/data/sonos/sonos...stnumber=1
http://10.10.20.99/apps/data/sonos/sonos...play=false
Hello I tried this: http://10.10.20.99/apps/data/sonos/sonos...oplay=true and it works but if a song is already playing in sonos it does not stop and start playing what's in the playlist. If a song does not play then it normally plays. Can someone help me?
Reply


Messages In This Thread
SONOS app - by edgars - 07.10.2016, 09:28
RE: SONOS app - by FatMax - 07.10.2016, 12:24
RE: SONOS app - by Erwin van der Zwart - 07.10.2016, 12:59
RE: SONOS app - by andeug - 09.10.2016, 17:33
RE: SONOS app - by rocfusion - 10.10.2016, 18:03
RE: SONOS app - by Erwin van der Zwart - 10.10.2016, 19:59
RE: SONOS app - by rocfusion - 11.10.2016, 00:26
RE: SONOS app - by Erwin van der Zwart - 11.10.2016, 09:29
RE: SONOS app - by Erwin van der Zwart - 13.10.2016, 20:28
RE: SONOS app - by andeug - 11.10.2016, 08:18
RE: SONOS app - by andeug - 11.10.2016, 10:05
RE: SONOS app - by andeug - 19.10.2016, 07:44
RE: SONOS app - by Erwin van der Zwart - 19.10.2016, 09:51
RE: SONOS app - by kythas100 - 18.08.2017, 12:08
RE: SONOS app - by kythas100 - 29.08.2017, 10:16
RE: SONOS app - by Erwin van der Zwart - 29.08.2017, 10:58
RE: SONOS app - by kythas100 - 31.08.2017, 13:02
RE: SONOS app - by kythas100 - 05.09.2017, 09:53
SONOS app - by Erwin van der Zwart - 21.10.2016, 17:51
RE: SONOS app - by andeug - 21.10.2016, 18:04
RE: SONOS app - by Erwin van der Zwart - 21.10.2016, 19:06
RE: SONOS app - by andeug - 21.10.2016, 22:32
RE: SONOS app - by Erwin van der Zwart - 22.10.2016, 09:00
RE: SONOS app - by Erwin van der Zwart - 25.10.2016, 13:32
RE: SONOS app - by andeug - 25.10.2016, 13:49
RE: SONOS app - by Erwin van der Zwart - 25.10.2016, 14:25
RE: SONOS app - by andeug - 25.10.2016, 15:08
RE: SONOS app - by Erwin van der Zwart - 25.10.2016, 16:06
RE: SONOS app - by Erwin van der Zwart - 25.10.2016, 18:55
RE: SONOS app - by Erwin van der Zwart - 25.10.2016, 23:13
RE: SONOS app - by PassivPluss - 26.10.2016, 23:36
RE: SONOS app - by andeug - 26.10.2016, 23:51
RE: SONOS app - by andeug - 03.11.2016, 00:06
RE: SONOS app - by Erwin van der Zwart - 04.11.2016, 13:48
RE: SONOS app - by Erwin van der Zwart - 04.11.2016, 16:54
RE: SONOS app - by andeug - 04.11.2016, 14:07
RE: SONOS app - by andeug - 04.11.2016, 22:15
RE: SONOS app - by bmodeco - 13.01.2017, 08:35
RE: SONOS app - by Erwin van der Zwart - 13.01.2017, 16:52
RE: SONOS app - by bmodeco - 14.01.2017, 07:20
RE: SONOS app - by Habib - 14.01.2017, 08:24
RE: SONOS app - by Erwin van der Zwart - 14.01.2017, 11:51
RE: SONOS app - by admin - 14.01.2017, 11:50
RE: SONOS app - by bmodeco - 14.01.2017, 12:41
RE: SONOS app - by admin - 14.01.2017, 11:52
RE: SONOS app - by Erwin van der Zwart - 14.01.2017, 12:49
RE: SONOS app - by bmodeco - 15.02.2017, 19:14
RE: SONOS app - by Erwin van der Zwart - 15.02.2017, 19:19
RE: SONOS app - by bmodeco - 15.02.2017, 19:27
RE: SONOS app - by bmodeco - 15.02.2017, 19:33
RE: SONOS app - by admin - 15.02.2017, 19:30
RE: SONOS app - by Erwin van der Zwart - 15.02.2017, 19:34
RE: SONOS app - by admin - 15.02.2017, 19:34
RE: SONOS app - by bmodeco - 15.02.2017, 19:38
RE: SONOS app - by josep - 23.02.2017, 15:36
RE: SONOS app - by Erwin van der Zwart - 23.02.2017, 23:05
RE: SONOS app - by josep - 24.02.2017, 09:04
RE: SONOS app - by Erwin van der Zwart - 24.02.2017, 09:26
RE: SONOS app - by josep - 24.02.2017, 10:31
RE: SONOS app - by admin - 24.02.2017, 10:38
RE: SONOS app - by josep - 24.02.2017, 12:11
RE: SONOS app - by josep - 24.02.2017, 14:07
RE: SONOS app - by Erwin van der Zwart - 24.02.2017, 14:11
RE: SONOS app - by josep - 24.02.2017, 14:26
RE: SONOS app - by Erwin van der Zwart - 25.02.2017, 09:28
RE: SONOS app - by josep - 25.02.2017, 11:30
RE: SONOS app - by Erwin van der Zwart - 25.02.2017, 12:01
RE: SONOS app - by josep - 25.02.2017, 18:58
RE: SONOS app - by Erwin van der Zwart - 25.02.2017, 19:12
RE: SONOS app - by bmodeco - 25.02.2017, 19:36
RE: SONOS app - by Erwin van der Zwart - 25.02.2017, 20:08
RE: SONOS app - by Erwin van der Zwart - 27.02.2017, 13:59
RE: SONOS app - by josep - 25.02.2017, 22:12
RE: SONOS app - by Erwin van der Zwart - 25.02.2017, 22:38
RE: SONOS app - by josep - 27.02.2017, 14:21
RE: SONOS app - by Erwin van der Zwart - 27.02.2017, 16:52
RE: SONOS app - by josep - 27.02.2017, 17:32
RE: SONOS app - by Erwin van der Zwart - 28.02.2017, 01:11
RE: SONOS app - by admin - 28.02.2017, 07:44
RE: SONOS app - by admin - 28.02.2017, 07:51
RE: SONOS app - by Erwin van der Zwart - 28.02.2017, 07:58
RE: SONOS app - by josep - 28.02.2017, 08:29
RE: SONOS app - by Erwin van der Zwart - 28.02.2017, 08:56
RE: SONOS app - by josep - 28.02.2017, 09:07
RE: SONOS app - by Erwin van der Zwart - 28.02.2017, 09:21
RE: SONOS app - by josep - 28.02.2017, 10:20
RE: SONOS app - by Erwin van der Zwart - 28.02.2017, 10:32
RE: SONOS app - by josep - 28.02.2017, 10:53
RE: SONOS app - by Erwin van der Zwart - 28.02.2017, 11:27
RE: SONOS app - by josep - 28.02.2017, 11:32
RE: SONOS app - by Erwin van der Zwart - 28.02.2017, 11:37
RE: SONOS app - by josep - 28.02.2017, 14:31
RE: SONOS app - by domotiqa - 06.04.2017, 07:59
RE: SONOS app - by Erwin van der Zwart - 06.04.2017, 14:09
RE: SONOS app - by domotiqa - 07.04.2017, 16:55
RE: SONOS app - by Mr.D - 01.05.2017, 19:11
RE: SONOS app - by Erwin van der Zwart - 01.05.2017, 19:16
RE: SONOS app - by Mr.D - 01.05.2017, 21:29
RE: SONOS app - by Erwin van der Zwart - 01.05.2017, 22:48
RE: SONOS app - by Mr.D - 02.05.2017, 20:38
RE: SONOS app - by rocfusion - 16.05.2017, 05:12
RE: SONOS app - by Erwin van der Zwart - 16.05.2017, 07:39
RE: SONOS app - by josep - 05.06.2017, 14:38
RE: SONOS app - by Erwin van der Zwart - 05.06.2017, 15:02
RE: SONOS app - by josep - 05.06.2017, 15:25
RE: SONOS app - by Erwin van der Zwart - 05.06.2017, 15:45
RE: SONOS app - by josep - 05.06.2017, 15:55
RE: SONOS app - by Erwin van der Zwart - 05.06.2017, 16:12
RE: SONOS app - by Mr.D - 21.06.2017, 15:49
RE: SONOS app - by Erwin van der Zwart - 21.06.2017, 15:59
RE: SONOS app - by Erwin van der Zwart - 21.07.2017, 15:27
RE: SONOS app - by Mr.D - 29.07.2017, 09:56
SONOS app - by Erwin van der Zwart - 30.07.2017, 07:23
RE: SONOS app - by Mr.D - 10.08.2017, 19:37
RE: SONOS app - by morak - 11.08.2017, 14:40
RE: SONOS app - by Hippolyte - 18.08.2017, 05:33
RE: SONOS app - by Erwin van der Zwart - 18.08.2017, 06:33
RE: SONOS app - by ivanposada - 18.08.2017, 10:42
RE: SONOS app - by Erwin van der Zwart - 18.08.2017, 11:02
RE: SONOS app - by ivanposada - 18.08.2017, 14:25
RE: SONOS app - by Erwin van der Zwart - 18.08.2017, 20:55
RE: SONOS app - by ivanposada - 19.08.2017, 12:25
RE: SONOS app - by admin - 18.08.2017, 10:52
SONOS app - by Erwin van der Zwart - 19.08.2017, 12:54
RE: SONOS app - by ivanposada - 19.08.2017, 20:21
RE: SONOS app - by Erwin van der Zwart - 19.08.2017, 22:10
RE: SONOS app - by ivanposada - 20.08.2017, 17:27
RE: SONOS app - by Erwin van der Zwart - 20.08.2017, 18:28
RE: SONOS app - by ivanposada - 20.08.2017, 20:42
RE: SONOS app - by Erwin van der Zwart - 21.08.2017, 08:21
RE: SONOS app - by ivanposada - 21.08.2017, 10:01
RE: SONOS app - by admin - 19.08.2017, 14:13
RE: SONOS app - by ivanposada - 29.08.2017, 09:34
RE: SONOS app - by Erwin van der Zwart - 29.08.2017, 09:45
RE: SONOS app - by ivanposada - 05.09.2017, 10:54
RE: SONOS app - by Erwin van der Zwart - 05.09.2017, 11:16
RE: SONOS app - by ivanposada - 05.09.2017, 13:30
RE: SONOS app - by Erwin van der Zwart - 05.09.2017, 13:47
RE: SONOS app - by Mr.D - 24.09.2017, 07:23
RE: SONOS app - by Erwin van der Zwart - 24.09.2017, 08:18
RE: SONOS app - by Mr.D - 24.09.2017, 08:45
RE: SONOS app - by Erwin van der Zwart - 24.09.2017, 09:19
RE: SONOS app - by Mr.D - 24.09.2017, 09:27
RE: SONOS app - by Erwin van der Zwart - 24.09.2017, 09:49
RE: SONOS app - by Mr.D - 27.01.2018, 12:33
RE: SONOS app - by Mr.D - 13.03.2018, 12:51
RE: SONOS app - by Mr.D - 24.09.2017, 09:59
RE: SONOS app - by Erwin van der Zwart - 24.09.2017, 10:04
RE: SONOS app - by Mr.D - 24.09.2017, 10:08
RE: SONOS app - by marc - 25.09.2017, 16:55
RE: SONOS app - by Erwin van der Zwart - 25.09.2017, 17:15
RE: SONOS app - by marc - 02.10.2017, 12:15
RE: SONOS app - by Erwin van der Zwart - 02.10.2017, 19:59
RE: SONOS app - by marc - 03.10.2017, 12:30
RE: SONOS app - by John94 - 25.10.2017, 13:16
RE: SONOS app - by Erwin van der Zwart - 25.10.2017, 13:28
RE: SONOS app - by John94 - 25.10.2017, 13:55
RE: SONOS app - by GenaV - 26.10.2017, 14:09
RE: SONOS app - by John94 - 30.10.2017, 14:49
RE: SONOS app - by Erwin van der Zwart - 31.10.2017, 20:40
RE: SONOS app - by galust - 07.11.2017, 13:57
RE: SONOS app - by Erwin van der Zwart - 07.11.2017, 16:16
RE: SONOS app - by galust - 07.11.2017, 16:20
RE: SONOS app - by John94 - 07.11.2017, 19:02
RE: SONOS app - by galust - 08.11.2017, 10:34
RE: SONOS app - by Erwin van der Zwart - 09.11.2017, 11:20
RE: SONOS app - by unaxboy - 21.11.2017, 21:46
RE: SONOS app - by unaxboy - 28.11.2017, 19:16
RE: SONOS app - by Erwin van der Zwart - 29.11.2017, 11:46
RE: SONOS app - by unaxboy - 29.11.2017, 12:45
RE: SONOS app - by Northwind - 23.11.2017, 10:35
RE: SONOS app - by balatis - 19.03.2018, 18:06
RE: SONOS app - by Daniel. - 28.03.2018, 12:15
RE: SONOS app - by CHOUAIBOU - 28.03.2018, 13:18
RE: SONOS app - by Daniel. - 28.03.2018, 13:40
RE: SONOS app - by Erwin van der Zwart - 28.03.2018, 17:22
RE: SONOS app - by balatis - 02.04.2018, 16:54
RE: SONOS app - by Erwin van der Zwart - 02.04.2018, 21:04
RE: SONOS app - by balatis - 05.04.2018, 11:51
RE: SONOS app - by balatis - 05.04.2018, 17:00
RE: SONOS app - by Erwin van der Zwart - 05.04.2018, 18:18
RE: SONOS app - by balatis - 05.04.2018, 18:52
RE: SONOS app - by Erwin van der Zwart - 05.04.2018, 20:04
RE: SONOS app - by balatis - 05.04.2018, 20:07
RE: SONOS app - by Erwin van der Zwart - 05.04.2018, 20:55
RE: SONOS app - by balatis - 05.04.2018, 22:16
RE: SONOS app - by admin - 06.04.2018, 06:37
RE: SONOS app - by balatis - 06.04.2018, 08:57
RE: SONOS app - by Daniel. - 11.04.2018, 14:12
RE: SONOS app - by Mr.D - 04.05.2018, 09:35
RE: SONOS app - by balatis - 04.05.2018, 10:50
RE: SONOS app - by Erwin van der Zwart - 04.05.2018, 12:00
RE: SONOS app - by Mr.D - 04.05.2018, 12:08
RE: SONOS app - by Erwin van der Zwart - 04.05.2018, 12:09
RE: SONOS app - by Bitver - 23.05.2018, 11:05
RE: SONOS app - by Erwin van der Zwart - 23.05.2018, 20:42
Balance control on SONOS:AMP - by puntukas - 22.07.2018, 19:41
RE: SONOS app - by Jose - 06.08.2018, 12:10
RE: SONOS app - by Mr.D - 16.10.2018, 18:28
RE: SONOS app - by Erwin van der Zwart - 16.10.2018, 21:34
RE: SONOS app - by Daniel. - 17.10.2018, 07:10
RE: SONOS app - by FatMax - 17.10.2018, 09:31
RE: SONOS app - by Daniel. - 17.10.2018, 09:43
RE: SONOS app - by CHOUAIBOU - 20.10.2018, 06:04
RE: SONOS app - by Erwin van der Zwart - 20.10.2018, 07:23
RE: SONOS app - by CHOUAIBOU - 21.10.2018, 06:01
RE: SONOS app - by Mr.D - 01.11.2018, 18:44
RE: SONOS app - by Daniel. - 01.11.2018, 18:48
RE: SONOS app - by Mr.D - 05.02.2019, 18:39
RE: SONOS app - by Erwin van der Zwart - 05.02.2019, 19:12
RE: SONOS app - by lenze90 - 22.02.2019, 16:39
RE: SONOS app - by Daniel. - 22.02.2019, 16:43
RE: SONOS app - by lenze90 - 22.02.2019, 19:08
RE: SONOS app - by Erwin van der Zwart - 23.02.2019, 18:35
RE: SONOS app - by lenze90 - 24.02.2019, 13:39
RE: SONOS app - by Daniel. - 25.02.2019, 09:20
RE: SONOS app - by Firechief - 15.03.2019, 16:03
RE: SONOS app - by Mr.D - 16.03.2019, 17:01
RE: SONOS app - by Erwin van der Zwart - 16.03.2019, 17:55
RE: SONOS app - by lenze90 - 17.03.2019, 14:16
RE: SONOS app - by Mr.D - 16.03.2019, 17:58
RE: SONOS app - by admin - 16.03.2019, 19:36
RE: SONOS app - by Erwin van der Zwart - 16.03.2019, 20:42
RE: SONOS app - by Evens - 16.03.2019, 22:59
RE: SONOS app - by Mr.D - 17.03.2019, 12:07
RE: SONOS app - by admin - 18.03.2019, 07:41
RE: SONOS app - by Daniel. - 18.03.2019, 08:56
RE: SONOS app - by phongvucba - 01.04.2019, 10:42
RE: SONOS app - by admin - 01.04.2019, 11:17
RE: SONOS app - by phongvucba - 02.04.2019, 01:58
RE: SONOS app - by Daniel. - 02.04.2019, 07:28
RE: SONOS app - by Kai-Roger - 24.04.2019, 13:41
RE: SONOS app - by Daniel. - 24.04.2019, 13:47
RE: SONOS app - by Kai-Roger - 24.04.2019, 13:54
RE: SONOS app - by andeug - 01.05.2019, 12:12
RE: SONOS app - by Daniel. - 01.05.2019, 14:09
RE: SONOS app - by andeug - 01.05.2019, 22:18
RE: SONOS app - by Daniel. - 02.05.2019, 07:07
RE: SONOS app - by Bitver - 24.05.2019, 08:53
RE: SONOS app - by Daniel. - 24.05.2019, 09:04
RE: SONOS app - by Kam - 13.06.2019, 12:47
RE: SONOS app - by admin - 13.06.2019, 13:00
RE: SONOS app - by Kam - 13.06.2019, 13:46
RE: SONOS app - by Daniel. - 13.06.2019, 13:02
RE: SONOS app - by Kam - 14.06.2019, 09:38
RE: SONOS app - by Daniel. - 14.06.2019, 10:21
RE: SONOS app - by Kam - 14.06.2019, 10:58
RE: SONOS app - by theodosiou - 17.06.2019, 15:54
RE: SONOS app - by Evens - 08.07.2019, 18:21
RE: SONOS app - by andeug - 21.07.2019, 10:06
RE: SONOS app - by Erwin van der Zwart - 21.07.2019, 11:11
RE: SONOS app - by thomasoppida - 01.08.2019, 05:20
RE: SONOS app - by admin - 01.08.2019, 06:05
RE: SONOS app - by thomasoppida - 01.08.2019, 06:14
RE: SONOS app - by admin - 01.08.2019, 06:18
RE: SONOS app - by thomasoppida - 01.08.2019, 14:48
RE: SONOS app - by Hippolyte - 09.09.2019, 11:45
RE: SONOS app - by Erwin van der Zwart - 10.09.2019, 21:47
RE: SONOS app - by Daniel. - 11.09.2019, 07:47
RE: SONOS app - by Trond Hoyem - 06.10.2019, 13:09
RE: SONOS app - by Hippolyte - 11.09.2019, 14:00
RE: SONOS app - by Daniel. - 07.10.2019, 07:36
RE: SONOS app - by Daniel. - 07.10.2019, 11:54
RE: SONOS app - by Trond Hoyem - 14.10.2019, 17:12
RE: SONOS app - by Igor68 - 26.10.2019, 04:28
RE: SONOS app - by Igor68 - 26.10.2019, 05:42
RE: SONOS app - by Erwin van der Zwart - 28.10.2019, 13:18
RE: SONOS app - by Igor68 - 28.10.2019, 14:12
RE: SONOS app - by Erwin van der Zwart - 28.10.2019, 15:42
RE: SONOS app - by Daniel. - 28.10.2019, 08:18
RE: SONOS app - by Igor68 - 29.10.2019, 15:24
RE: SONOS app - by Erwin van der Zwart - 29.10.2019, 15:31
RE: SONOS app - by Igor68 - 29.10.2019, 16:02

Forum Jump: