Hi Tobias,

once again, thank you for the clarifications! I'll discuss your suggestions today with my colleague hoping that she will succeed in her attempts to change the series in which a video belongs to. This has, after all, been haunting us now for several months, so if we're lucky to come up with a solution, it will be a great day for us. :)

Olli



On 4.10.2012 1:56, Tobias Wunden wrote:
Hi Olli,

we tried this method today, and so far we've been able to proceed thru the steps 1 and 2. 
We have problems in the step 3, however, as we're unable to figure out what exactly is 
the "catalog" in the mediapackage which we should create/modify. We can find 
the isPartOf-part and the catalog itself, but what we don't know is:


- how to manage the catalog, especially the series-id part in it?

Get yourself a copy of the catalog (using the mediapackage element's uri) and 
modify it according to your needs. As long as you are using the Java 
Mediapackage api, it is rather simple to get the actual metadata as a 
DublinCore catalog. That catalog offers method for getting and setting 
individual fields. After you are done, use the working file repository to push 
the file as a catalog and keep the URI that you are getting back.

- how to alter the xml file, to which there is a reference in the catalog?

Then simply change the URI in the mediapackage element, make sure to update 
relevant metadata such as the checksum (if present). Even easier would be to 
remove the old catalog from the mediapackage, then create a new Catalog 
element, set the correct flavor, tracks and uri and add it to the mediapackage.

Tobias

_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users



--
Olli Salo
Tietotekniikkakeskus
Helsingin yliopisto
Tel: +358 9  191 21782
Gsm: +358 50 407 5509
Email: [email protected]
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to