Hi, Hope my message finds you well.
OS:- ubuntu 18.04
xibo version :- Xibo 2.1.0 with docker
xibo player version:- 1.8 R3
I am trying to change layout of xibo player using the xibo api. But it didn’t change layout on ubuntu 18.04 xibo player , meanwhile i also had tried on android and windows xibo player its changing layout successfully.
here is my request code :-
def changeXiboLayout(self):
url = "http://192.168.1.68:80/api/displaygroup/2/action/changeLayout?envelope=1"
data = {
'layoutId': '1',
'changeMode': 'replace',
}
headers = {
'Authorization': "Bearer " + self.access_token,
}
response = requests.request("POST", url, data=data, headers=headers)
return response.text
Response of Change layout Api:-
{
“grid”: false,
“success”: true,
“status”: 204,
“message”: “Command Sent to Api testing”,
“id”: 2,
“data”:
}
I had found the error in player console (ReferenceError : Can’t find variable Jquery)
I also had found one more error while i send changelayout request to cms.
xmr RSA/EME-PKCS1-v1_5 invalid ciphertext
So please let me know if i have to do something else for linux player.
Best regards.