I'll have to work with this awhile, because sometimes .../search#DELETE/{id}
removes the recording from the list and sometimes it does not.
However, I already see that the Working File Repository DELETE mediapackage
REST call only deletes elements from the media package, like track-1, then
track-2, etc... It does not have the capability of deleting the entire
directory. And, it won't let me use * to delete all the elements of a
mediapackage.
Nor does it delete the workspace files. However, perhaps the workspace files
are supposed to get deleted during cleanup after a successful ingest?????
Stephanie
>>> Lukas Rohner <[email protected]> 10/26/2012 12:54 AM >>>
Hi Stephanie
First you can activate the episode UI in your tenant configuration file
$FELIX_HOME/etc/load named org.opencastproject.organization-<tenant>.cfg:
prop.adminui.i18n_tab_episode.enable=true.
Then you will see a new tab 'Episode' in the admin UI. Archived recordings are
stored under felix/work/opencast/archive/, you can changes this path in the
config.properties.
Now if you remove an episode from the archive, you can see it.
Removing a recording completley from the system is not so easy, you have to
remove it from the search service which removes it from the recording UI and
engange UI.
And then you can remove it from the file system by using the Working File
Repositroy endpoint or do it manually. After that the recording is still in the
DB job table, but this shouldn't be a problem.
Search Endpoint: http://localhost:8080/docs.html?path=/search DELETE /{id}
Working File Repository Endpoint: http://localhost:8080/docs.html?path=/files
DELETE /mediapackage/{mediaPackageID}/{mediaPackageElementID}
More Infos about the episode service:
http://opencast.jira.com/wiki/display/MH/The+Episode+Service
Lukas
Am 26.10.2012 um 00:07 schrieb Stephanie Fuller <[email protected]>:
I have been trying to use the Episode Service REST call to remove old
recordings from my matterhorn system.
It appears to remove the episode from the archive (where is the archive, where
can I look to determine where my archive is???). I get a 204 response the
first time I delete a media package, then I get a 400 error, so it removed
something, and then can't remove it again.
I have been expecting it to remove the files in
/opt/matterhorn/felix/work/opencast/files/mediapackage/<mediapackage id>/
but that does not seem to be the case.
Is there another REST call to use to delete the files from my
.../opencast/files/mediapackage/<id> and
.../opencast/workspace/mediapackage/<id>
And, perhaps can anyone point me in the direction of the location of the code
for the REST calls, so if they don't do what I want, I can change them or add a
new one???
Or, maybe someone can point me in the direction of the documentation that
explains this...
Thanks so much for anyone's input.
Stephanie
_______________________________________________
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