Hi Charity I don't know how your integration with the LMS works, so I will try to answer at least some of your questions.
> At the moment I am using the search delete service to delete videos. > However, this only deletes them from the search index and doesn't delete the > files (they are still listed in the UI). From what I've found online, it > looks like I can delete them by using the workflow stop service. I tried it > using the sample forms for the services that came with Matterhorn, and it > does remove it from the ui. I didn't check to see if the files were actually > gone though. You are right, delete videos from the search service just removes it from the index. Removing the files should happens via the distribution service. Every distribution service has a retract method which retracts the files from their distribution (Engage, Youtube, etc.). If you are running Matterhorn 1.4 release candidate it is possible to retract the files and remove from search service in one step in the EpisodeService/Archive. Unfortunately at the moment this is not working 100%, but will be fixed with the 1.4. release comming out soon. > The problem with the workflow stop service is that it requires a "workflow > id" which I can find in the ui. But when I use the search service to get a > listing, it returns an id, but not the one that matches the workflow id. I > thought I could get a listing of workflows using a keyword search for the id > that I get from the search listing, but I'm getting a 404 response from the > server (using the sample forms that came with Matterhorn) for it - actually > for many of the workflow services actually (but not all). Anyone know why > this is happening? The id that is returned by the search service reflects the media package id and not the workflow instance id. To find the workflow instance id use the workflow service endpoint /workflow/instances.json, the docs explains how to use it /workflow/docs. Hopefully this answers your questions. Lukas Am 22.01.2013 um 08:34 schrieb Charity <[email protected]>: > Hello, > I have been using Matterhorn with Big Blue Button to process recorded > webinars. Everything is working, but now I'm trying to integrate some video > management functionality into an LMS. > My goal is to get a list of available videos (which is working using the > search service), and give the user the ability to publish/unpublish videos > and delete them from within the LMS. > > At the moment I am using the search delete service to delete videos. > However, this only deletes them from the search index and doesn't delete the > files (they are still listed in the UI). From what I've found online, it > looks like I can delete them by using the workflow stop service. I tried it > using the sample forms for the services that came with Matterhorn, and it > does remove it from the ui. I didn't check to see if the files were actually > gone though. > > The problem with the workflow stop service is that it requires a "workflow > id" which I can find in the ui. But when I use the search service to get a > listing, it returns an id, but not the one that matches the workflow id. I > thought I could get a listing of workflows using a keyword search for the id > that I get from the search listing, but I'm getting a 404 response from the > server (using the sample forms that came with Matterhorn) for it - actually > for many of the workflow services actually (but not all). Anyone know why > this is happening? > > I'm thinking the best approach is to unpublish/publish with the search > services, however it looks like the add service requires xml that contains > more information than the original id. I was hoping to just pass it an id, > have matterhorn unpublish it (no problem here - can just delete it from the > search index), then pass a service an id and it publishes it (again it > appears it can't be added back with just an id). Is there a way to do that? > Then use the workflow stop service to actually delete the video (if I could > find a way to get the associated workflow id). > > Is this possible? Or are there alternatives that I am unaware of? > > Any help is much appreciated. > > Thanks! > Charity > _______________________________________________ > Matterhorn-users mailing list > [email protected] > http://lists.opencastproject.org/mailman/listinfo/matterhorn-users _______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
