hello. i have modify a script fot apple a1156 alternative to modifice up and down to set a volume.
all works perfectly but i want edit a menu button function to play a playlist called Rock
i read a api documentation but not work
in a documentation the command to play a playlist are:
volumio.local/api/v1/commands/?cmd=playplaylist&name=Rock
i edit a file lirirc:
`
begin
prog = irexec
button = KEY_MENU
config = /usr/local/bin/volumio playplaylist&name=Rock
end
`
but not work
i try to edit:
begin
prog = irexec
button = KEY_MENU
config = /usr/local/bin/volumio play playlist name=Rock
end
i unlucky
hello. i have modify a script fot apple a1156 alternative to modifice up and down to set a volume.
all works perfectly but i want edit a menu button function to play a playlist called Rock
i read a api documentation but not work
in a documentation the command to play a playlist are:
volumio.local/api/v1/commands/?cmd=playplaylist&name=Rock
i edit a file lirirc:
`
begin
prog = irexec
button = KEY_MENU
config = /usr/local/bin/volumio playplaylist&name=Rock
end
`
but not work
i try to edit:
begin
prog = irexec
button = KEY_MENU
config = /usr/local/bin/volumio play playlist name=Rock
end
i unlucky