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
