Ubuntu Client 1.7 series changes

Bug #1369061 reported by Dan Garner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xibo
Won't Fix
Undecided
Alex Harrington

Bug Description

Add missing 1.7 series changes - links in comments

Tags: pyclient
Revision history for this message
Dan Garner (dangarner) wrote :

XMDS GetFile - https://blueprints.launchpad.net/xibo/+spec/xmds-getfile-params
Change get file call to use only the ID (and not the path). There is a new WSDL which contains a change to the GetFile method call. The path has been removed and replaced with an ID. Background images come down as normal media nodes in the XLF. The path is still in the XLF.

Client settings in CMS - https://blueprints.launchpad.net/xibo/+spec/client-settings-central
New WSDL, register display now requires some other nodes which represent the client version, etc. Some of this information lived on media inventory, which needs to now be removed. The client type should be "ubuntu" for now. The XML return will also contain a list of settings - these will need to be put in config/client.config.php on the CMS in array format. The name of each XML node will correspond to the name of the setting on the client. Register should be polled for settings updates.

Get File over HTTP - https://blueprints.launchpad.net/xibo/+spec/xmds-getfile-http
If send file is enabled the service will send a HTTP link to be called instead of GetFile. In this mode there are 2 new attributes -
 * download = http
 * saveAs = file name
If saveAs is empty the client should assume it will save with the file name provided in the path (everything after the last /).

HTML Render mode - https://blueprints.launchpad.net/xibo/+spec/html-module-render
New "render" tag on media nodes in the XLF. When it is set to "html" the client should perform a GetResource and show it in a browser.

The XML looks like this:
<media id="1b4260e29fe6fdc40af218152c522765" type="clock" render="html" duration="15" lkid="" userId="1" schemaVersion="1">
    <options>
        <theme>2</theme>
        <clockTypeId>1</clockTypeId>
    </options>
    <raw>
        <format><![CDATA[<p>[HH:mm]</p>]]></format>
    </raw>
</media>

Image Options - https://blueprints.launchpad.net/xibo/+spec/image-scaletype
New image options:
 * scaleType (stretch or center)
 * align (left, center or right)
 * valign (top, middle, bottom)
Alignment only applies when "center" is the scaleType.

Dan Garner (dangarner)
Changed in xibo:
milestone: 1.7.0-beta → 1.7.0
Dan Garner (dangarner)
Changed in xibo:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.