Great. Thanks Tobias.
I needed a confirmation that there is a problem with this functionality.
Also looking at your patch I will be able to add support for this problem into
"add New Media Package" maybe........
I will test your patch a bit later (patch command failed, I probably have
different revision number than yours).
----However, after reading your previous email I tried to create mediaPackage
manually. Here is what I did, and tried couple of times with different
endpoints - but I always end up with empty recording entry with "NA" instead of
title.
Have you or somebody else tried those ingest endpoints ? Did they worked?
Or what am I doing wrong ?
Here is an example of mediapackage with dublin core only, where title is
specified. I also tried adding Tracks and attachments - but the result was
exactly the same, empty row in recordings with only "NA" instead of title.
I am using Matterhorn 1.2.
-Pawel
==============
Steps 1,2,3... -Name of Endpoint + paramteres and result.
1. createMediaPackage
Result"
<ns2:mediapackage start="2011-10-13T09:42:20Z"
id="73771d57-8fc2-453b-ba56-4d56fb6011d4" duration="0">
<media/>
<metadata/>
<attachments/>
</ns2:mediapackage>
2. addDCCatalog
mediaPackage field:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<mediapackage duration="0" id="73771d57-8fc2-453b-ba56-4d56fb6011d4">
</mediapackage>
dublinCore field:
<dublincore xmlns="http://www.opencastproject.org/xsd/1.0/dublincore/"
xmlns:dcterms="http://purl.org/dc/terms/">
<dcterms:creator>Michal</dcterms:creator>
<dcterms:contributor>Mike</dcterms:contributor>
<dcterms:isPartOf>SERIES_1</dcterms:isPartOf> <dcterms:description>This is a
descri[ption</dcterms:description> <dcterms:subject>Scheduler
test</dcterms:subject> <dcterms:language>English</dcterms:language>
<dcterms:spatial>agent_111</dcterms:spatial>
<dcterms:identifier>73771d57-8fc2-453b-ba56-4d56fb6011d4</dcterms:identifier>
<dcterms:title>Test recording no 1231</dcterms:title> </dublincore>
Response:
Status: 200 (OK)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:mediapackage
xmlns:ns2="http://mediapackage.opencastproject.org"
id="73771d57-8fc2-453b-ba56-4d56fb6011d4"
duration="0"><media/><metadata><catalog type="dublincore/episode"
id="128f9c22-2b40-4b7c-bbc0-88846f4025d4"><mimetype>text/xml</mimetype><tags/><url>http://192.168.10.113:8080/files/mediapackage/73771d57-8fc2-453b-ba56-4d56fb6011d4/128f9c22-2b40-4b7c-bbc0-88846f4025d4/dublincore.xml</url></catalog></metadata><attachments/></ns2:mediapackage>
3. ingest
mediaPackage field:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<mediapackage duration="0" id="73771d57-8fc2-453b-ba56-4d56fb6011d4">
</mediapackage>
Response:
Status: 200 (OK)
[...]
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn
To unsubscribe please email
[email protected]
_______________________________________________