I'm building a prototype of a distribution service to distribute to a
Fedora repository and I've run into a snag. I'm submitting a file to be
ingested to the addMediaPackage web service with the title field set to
a Fedora id. When distributing, I use this id to lookup the object in
the Fedora repository and modify it. The problem I'm running into is
that the distribution service operates on MediaPackageElements and the
only way I've found in the APIs to get the title from it's owning
MediaPackage is by calling getMediaPackage() on the element and then
calling getTitle(). This method works in testing when I create the
MediaObject, add a track, and call getMediaObject() locally but
getMediaObject() returns null when used in the distribution service
which only sees the MediaPackageElement and not the owning MediaPackage.
So my question is if there is something I'm missing when calling
getMediaObject(). Alternatively is there any way to get a MediaPackage
using the MediaPackageId that is passed to the distribution service?
Thanks,
Chris Colvard
Variations on Video
Indiana University
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users