control the order in which the layouts cycle around

Asked by Jonibigoud

Hi,
first of all thks for Xibo solution. We ve been useing it for a week in a school (southern france) and it works very well.

In the documentation, it is said that a feature in xibo release 1.1.1 would be intended to take control of the order in which the layouts cycle around.
But i can t control it. How can i do that?
The thing is that i m using several layouts with powerpoints in it.
When a powerpoint finishes the microsoft office app shuts down then boots up to load another powerpoint of the second layout.
There is an interval of time between the two layouts and i d like to know if there is a solution to kill that.

Thks for your reply.

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Jonibigoud
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

You can't control the order. Where does it say that you can please?

The client closes and opens PowerPoint as fast as it can. There's no
delay built in.

The only way to shorten that gap is to run on faster hardware.

Alex

Revision history for this message
Alex Harrington (alexharrington) said :
#2

http://wiki.xibo.org.uk/wiki/Manual:Scheduling

Ah, there. It does say "is expected to be included". It wasn't.

It's currently a blueprint here:
https://blueprints.launchpad.net/xibo/+spec/campaigns

We're expecting it to be in 1.3 series for a 1.4 stable release, however
the best way to keep up to date is to subscribe to the blueprint.

Alex

Revision history for this message
Jonibigoud (informatique-erea) said :
#3

Ok thanks i will subscribe to it.

Revision history for this message
vincent (vinol) said :
#4

Control the order in which the layouts cycle around.
Is also not possible in 1.3 so far I can see. For a good working Digital Signage is this option very important to control that.

Revision history for this message
Michael Klein (michael-klein) said :
#5

Hi,

perhaps this workaround is a solution for you too:
I just added one single line in xmdssoap.class.php that sorts the layouts by name.
So I can control the order of the show by naming the Layouts in an alphabetical or numbered order:
10-News Intro
11-News 1
12-News 2
20-Weather
...

I use Xibo Version 1.2.2. and added this in /lib/service/xmdssoap.class.php
around line 503:

...
        $SQL .= sprintf(" WHERE display.license = '%s' ", $hardwareKey);
        $SQL .= sprintf(" AND (schedule_detail.FromDT < %d AND schedule_detail.ToDT > %d )", $sLookahead, $currentdate - 3600);
        $SQL .= " AND layout.retired = 0 ";
        $SQL .= " ORDER BY layout.layout ASC"; <<<<<<<<<< ADD THIS LINE!

        if ($this->isAuditing == 1)
            Debug::LogEntry($db, "audit", $SQL, "xmds", "Schedule");
...

Good luck, have fun with this! ;-)

Michael