Xibo API, upload media to layout


I’m uploading new jpeg image to an active layout in Xibo.

Example of my powershell function :
Set-XiboLibraryReplaceFile -filePath “C:\temp\ForestGreen.jpg” -oldMediaId $MediaToUpdate.mediaId -updateInLayouts 1 -deleteOldRevisions 1 -name ‘blue-white-grey-3-region’

The media gets uploaded and replaces the jpeg in the layout but the displays dont update. I have tested editing a displayprofile, take a snapshot , edit displaygroup etc… but the displays still wont update.

The layout updates instant if i manually restart the client player.

Taking screenshot is instant, no problem.

I’m using the latest released CMS.

Is there any way to fix this issue?