view tests/examples/horizontal_example.xml @ 2376:c41caaa96633

Some fixes for #90. Also a failsafe loop if the server never responds with meaningul information from saves (for instance, running only on apache or basic http servers). More changes to pythonServer for python 3.5. Please check if still valid on 2.7
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Thu, 19 May 2016 10:44:19 +0100
parents 43ab418ba4b8
children b7ed9d43ea87
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" ?>
<waet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="test-schema.xsd">
	<setup interface="ABC" projectReturn="save.php">
		<metric>
			<metricenable>testTimer</metricenable>
			<metricenable>elementTimer</metricenable>
			<metricenable>elementInitialPosition</metricenable>
			<metricenable>elementTracker</metricenable>
			<metricenable>elementFlagListenedTo</metricenable>
			<metricenable>elementFlagMoved</metricenable>
			<metricenable>elementListenTracker</metricenable>
		</metric>
		<interface>
			<interfaceoption type="check" name="fragmentMoved"/>
			<interfaceoption type="check" name="scalerange" min="25" max="75"/>
			<interfaceoption type="show" name='playhead'/>
			<interfaceoption type="show" name="page-count"/>
            <interfaceoption type="show" name="volume"/>
		</interface>
	</setup>
	<page id='test-0' hostURL="media/example/" randomiseOrder='true' repeatCount='0' loop='true' showElementComments='true' loudness="-12">
		<interface>
			<scales>
				<scalelabel position="0">-50</scalelabel>
				<scalelabel position="50">0</scalelabel>
				<scalelabel position="100">50</scalelabel>
			</scales>
		</interface>
		<audioelement url="0.wav" id="track-1"/>
		<audioelement url="1.wav" id="track-2"/>
	</page>
</waet>