Xibo player don't change layout using api on ubuntu 18.04

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.

Thank you for your message, Xibo for Linux does not currently support API actions, my apologies for any inconvenience.

Support for Xibo API actions is currently on the road map for the R5 release of Xibo for Linux, all new announcements about the revision will be posted on the Xibo Blog.

Many Thanks.

1 Like