got fading to work, mostly;
added test of storage -> audio player playback to products/gLiveSupport
This commit is contained in:
parent
01745e8374
commit
4b060aeca0
17 changed files with 871 additions and 38 deletions
|
@ -8,6 +8,6 @@
|
|||
xmlns:xml="http://www.w3.org/XML/1998/namespace"
|
||||
>
|
||||
<dc:title>one</dc:title>
|
||||
<dcterms:extent>01:00:00.000000</dcterms:extent>
|
||||
<dcterms:extent>00:00:11.000000</dcterms:extent>
|
||||
</metadata>
|
||||
</audioClip>
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
xmlns:xml="http://www.w3.org/XML/1998/namespace"
|
||||
>
|
||||
<dc:title >two</dc:title>
|
||||
<dcterms:extent >00:30:00.000000</dcterms:extent>
|
||||
<dcterms:extent >00:00:12.200000</dcterms:extent>
|
||||
</metadata>
|
||||
</audioClip>
|
||||
|
|
13
livesupport/modules/storageServer/var/tests/mdata10003.xml
Normal file
13
livesupport/modules/storageServer/var/tests/mdata10003.xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<audioClip>
|
||||
<metadata
|
||||
xmlns="http://mdlf.org/livesupport/elements/1.0/"
|
||||
xmlns:ls="http://mdlf.org/livesupport/elements/1.0/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:dcterms="http://purl.org/dc/terms/"
|
||||
xmlns:xml="http://www.w3.org/XML/1998/namespace"
|
||||
>
|
||||
<dc:title>three</dc:title>
|
||||
<dcterms:extent>00:00:11.500000</dcterms:extent>
|
||||
</metadata>
|
||||
</audioClip>
|
44
livesupport/modules/storageServer/var/tests/plist2.xml
Normal file
44
livesupport/modules/storageServer/var/tests/plist2.xml
Normal file
|
@ -0,0 +1,44 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<playlist id="0000000000000001"
|
||||
title="My Second Playlist"
|
||||
playlength="00:00:29.700000" >
|
||||
<playlistElement id="0000000000000101"
|
||||
relativeOffset="0" >
|
||||
<audioClip id="0000000000010001"
|
||||
playlength="00:00:11"
|
||||
title = "one"
|
||||
uri="file:var/test10001.mp3" />
|
||||
<fadeInfo id="0000000000009901"
|
||||
fadeIn="0"
|
||||
fadeOut="00:00:05" />
|
||||
</playlistElement>
|
||||
<playlistElement id="0000000000000102"
|
||||
relativeOffset="00:00:06" >
|
||||
<audioClip id="0000000000010002"
|
||||
playlength="00:00:12.200000"
|
||||
title = "two"
|
||||
uri="file:var/test10002.mp3" />
|
||||
<fadeInfo id="0000000000009902"
|
||||
fadeIn="00:00:05"
|
||||
fadeOut="0" />
|
||||
</playlistElement>
|
||||
<playlistElement id="0000000000000103"
|
||||
relativeOffset="00:00:18.200000" >
|
||||
<audioClip id="0000000000010003"
|
||||
playlength="00:00:11.500000"
|
||||
title = "three"
|
||||
uri="file:var/test10003.mp3" />
|
||||
<fadeInfo id="0000000000009903"
|
||||
fadeIn="00:00:03"
|
||||
fadeOut="00:00:03" />
|
||||
</playlistElement>
|
||||
<metadata xmlns="http://mdlf.org/livesupport/elements/1.0/"
|
||||
xmlns:ls="http://mdlf.org/livesupport/elements/1.0/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:dcterms="http://purl.org/dc/terms/"
|
||||
xmlns:xml="http://www.w3.org/XML/1998/namespace" >
|
||||
<dc:title>My Second Playlist</dc:title>
|
||||
<dc:creator>Nobody</dc:creator>
|
||||
<dcterms:extent>00:00:29.700000</dcterms:extent>
|
||||
</metadata>
|
||||
</playlist>
|
|
@ -12,6 +12,12 @@
|
|||
'xml' => '../tests/mdata10002.xml',
|
||||
'gunid' => '0000000000010002'
|
||||
),
|
||||
array(
|
||||
'type' => 'audioclip',
|
||||
'media' => '../tests/test10003.mp3',
|
||||
'xml' => '../tests/mdata10003.xml',
|
||||
'gunid' => '0000000000010003'
|
||||
),
|
||||
array(
|
||||
'type' => 'audioclip',
|
||||
'media' => '../tests/ex1.mp3',
|
||||
|
@ -34,6 +40,11 @@
|
|||
'xml' => '../tests/plist1.xml',
|
||||
'gunid' => '0000000000000001'
|
||||
),
|
||||
array(
|
||||
'type' => 'playlist',
|
||||
'xml' => '../tests/plist2.xml',
|
||||
'gunid' => '0000000000000002'
|
||||
),
|
||||
array(
|
||||
'type' => 'webstream',
|
||||
'xml' => '../tests/wstream1.xml',
|
||||
|
|
Binary file not shown.
Binary file not shown.
BIN
livesupport/modules/storageServer/var/tests/test10003.mp3
Normal file
BIN
livesupport/modules/storageServer/var/tests/test10003.mp3
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue