Thank you Rüdiger. I will try all you have told me.

Regards,

Fernando.

2012/7/12 Ruediger Rolf <[email protected]>

>  Hi Fernando,
>
> If you want to edit the title you will probably have to replace the
> episode.xml. I'm not 100% sure as I did not try to do this with the rest
> endpoints yet and I have no idea how any title information in the workflow
> is used.
>
> So I guess the default trim state is the better way for you to go and it
> is the same way like we do it here. The default (full) workflow has a
> mandatory trim in our installation.
>
> The first thing is that you have to decide which workflow will be the
> default workflow.
> One way to set the default workflow is to change this in the
> config.properties:
> org.opencastproject.workflow.default.definition=myworkflow
> The other is to rename the workflows that your own workflow has the ID
> "full" and you rename the original full workflow to something else or
> delete it. But make sure that you don't have two workflows with the same
> ID.
> I selected the second approach, as some tools use "full" by default.
>
> The you have to do changes to your workflow:
> Find every "${trimHold}" and replace it by "true" in your workflow XML.
> And it is probably the best to remove the trim-hold part from the
> configuration panel section of the XML
>
> Good luck
> Rüdiger
>
> Am 12.07.2012 04:40, schrieb 費納德費納德:
>
> And another detail, how can I add the trim/edit option to an unschedule
> recording (set it up as default option if it is possible)? so when it is
> ingested in the core server I will have the option to edit the metadata
> before it is published.
>
> Thank you again.
>
> Fernando.
>
>  2012/7/12 費納德費納德 <[email protected]>
>
>> Hi Rüdiger,
>>
>> I still face the same issue. I use the workflow ID to get the xml of the
>> package I want to edit its title, then I get a big xml piece of code (using 
>> GET
>> /instance/{id}.xml method). I try to copy the xml code in the field of
>> the "Updates a workflow instance" method, I change the <title> tag and
>> finally click on SUBMIT button. Response seems to be ok:
>>
>> Status: 204 (No Content)
>>
>>
>>  , but when I check the recording list or the media gallery the title of
>> the recording is the same Unschedule-...
>>
>> Am I doing anything wrong? Thank you.
>>
>> Fernando.
>>
>>   2012/7/11 Ruediger Rolf <[email protected]>
>>
>>>  Hi Leslaw,
>>>
>>> you are right in the way that we recommend UUIDs as mediapackage IDs
>>> (foldernames are these IDs). But unfortunately our own CA does not respect
>>> this convention when it comes to unscheduled recordings.
>>>
>>> Rüdiger
>>>
>>> Am 11.07.2012 11:49, schrieb Dr Leslaw Zieleznik:
>>>
>>> I think the folder name is wrong, it should be something like this:
>>>
>>>  743ccb86-a1b2-4894-a62e-54d17c2c04ea
>>>
>>>  I am using such names ID when I am removing mediapackage via the REST
>>> command
>>>
>>>  Leslaw
>>>
>>>  On Jul 11, 2012, at 10:42 AM, 費納德費納德 wrote:
>>>
>>>  Thanks for the answer.
>>>
>>> But I still have the same problem. I use the folder name, in this case:
>>> Unscheduled-captureagent-1347785909948, and if I try to use the REST
>>> service for workflow, read method, GET /instance/{id}.xml
>>>  I paste the folder name I I get a 404 error (but the folder is there).
>>> So I can not find a way to use REST services for workflow without
>>> getting errors.
>>>
>>> Fernando
>>>  2012/7/11 Dr Leslaw Zieleznik <[email protected]>
>>>
>>>>  You should use the recordings folder name as the ID.
>>>>
>>>>  And the easy way to get it for the REST command is to: place the
>>>> mouse on the folder, then use Rename, CTRL C and then CTRL V on the REST
>>>> command field.
>>>>
>>>>  Leslaw
>>>>
>>>>
>>>>   On Jul 11, 2012, at 9:31 AM, 費納德費納德 wrote:
>>>>
>>>>    Hello,
>>>>
>>>>  I need to edit some metadata of some already Finished recordings. I
>>>> have tried to use workflow REST service, but when I try to get the instance
>>>> of the recording using the mediapackage ID (format:
>>>> Unscheduled-captagentuser-1121342202932) I get
>>>>
>>>>
>>>> Status: 400 (Bad Request)
>>>>
>>>>
>>>>
>>>> Or 404 if I try directly from the Core Server. I I try with different
>>>> parameters to find the package I want to edit I get the same error. What am
>>>> I doing bad?
>>>>
>>>> Thanks in advance and best regards,
>>>>
>>>> Fernando Hernandez.
>>>>  _______________________________________________
>>>> Matterhorn-users mailing list
>>>> [email protected]
>>>> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>>>>
>>>>
>>>>   1
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>>  ==========
>>>
>>>
>>>
>>> _______________________________________________
>>> Matterhorn-users mailing 
>>> [email protected]http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>>>
>>>
>>>
>>>   --
>>>
>>> ________________________________________________
>>> Rüdiger Rolf, M.A.
>>> Universität Osnabrück - Zentrum virtUOS
>>> Heger-Tor-Wall 12, 49069 Osnabrück
>>> Telefon: (0541) 969-6511 - Fax: (0541) 969-16511
>>> E-Mail: [email protected]
>>> Internet: www.virtuos.uni-osnabrueck.de
>>>
>>>
>>> _______________________________________________
>>> Matterhorn-users mailing list
>>> [email protected]
>>> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>>>
>>>
>>
>
>
> _______________________________________________
> Matterhorn-users mailing 
> [email protected]http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>
>
>
> --
>
> ________________________________________________
> Rüdiger Rolf, M.A.
> Universität Osnabrück - Zentrum virtUOS
> Heger-Tor-Wall 12, 49069 Osnabrück
> Telefon: (0541) 969-6511 - Fax: (0541) 969-16511
> E-Mail: [email protected]
> Internet: www.virtuos.uni-osnabrueck.de
>
>
> _______________________________________________
> 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

Reply via email to