No refreshing layouts (online pictures) within a campaign

Dears,

Im struggling with this, I have checked the other replies, but I dont think is my case. The set up I had before stop working.

I have 1 campaing with 5 layouts, pointing to a libray in SahrePoint. I could manage to make xibo be able to see the content in the client (in the server, if I click preview, it just black, but well if I can see in the client, is fine :wink:

So Xibo is reading images stored in a SharePoint, and the idea is to show them for sometime, and then be in a loop forever. Before it was working, i didnt add any otehr region, or loop anything, just the schedule.

The time set up for each image is 15 secs, When it reach the last one, stops.

Another problem I have is that the images are rewritten every 5 minutes in the SharePoint library, as they are downloaded from a FTP server, because the images are about real time position of things. So the images have the time stamp when they were created. but they keep showing the time from the first time it shows in xibo, then , is like xibo is not reading form the online library.

I used the HTML code to get to SharePoint.

You help is more than welcome!!!
thanks!!!

Regarding the preview it may be that Xibo or Sharepoint, on or the other are using https, when the other one is using http which would impact preview because the web browser won’t allow them to be mixed.

Regarding the images, you could try setting SharePoint to deny caching of the images, which will prevent the players from attempting to cache the images. If that’s not possible, then it may be possible to work around that by using a dataset with a column configured to be a remote image.

Thanks for your reply!
Well I could fix somehow the previews, now is fine.

For the images, I just cannot make it work.
i have version 1.7.4 (it wasnt a problem I think before) we cannot find the Option in SharePoint neither this, that I found in another discussion, Edit Display Profile - Advanced- Enable caching of web resources…

I tried to put this code which i found in another discussion
<meta http-equiv=“CACHE-CONTROL” content=“NO-CACHE”>
<meta http-equiv=“PRAGMA” content=“NO-CACHE”>
<meta http-equiv=“EXPIRES” content=“0”>
<meta http-equiv=“refresh” content=“30”>

My last idea was set up a schedule (windows 7) for restarting xibo every minute, but same problme,
It caches one time and then forever…

Is weird, because some pics, after rebooting client get updated, others, stays with the time from 1 hour ago or something like that.

Many thanks in advance
Luis

Dear all,

At then I fixed , adding this code to the HTML Embedded, in every layout of the pictures, and now the update is instant (every 5 minutes, new image is generated with same name, and xibo client is reading the last one always:)

<html>

<head>
    <meta http-equiv="PRAGMA" content="no-cache" />
    <meta http-equiv="CACHE-CONTROL" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="EXPIRES" content="0" />
    <meta http-equiv="refresh" content="30" />
</head>

<body>
    <script type="text/javascript">
        var imageSource = "https://blablabla.com//Monitoring%20Pictures/picture1.png";
        var timestamp = Math.floor(Date.now() / 1000);
        imageSource += "?v=" + timestamp;
        document.write('<img width="1920" height="1080" src="' + imageSource + '" />');
    </script>
</body>

</html>

Best regards,
Luis Miguel

1 Like