-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement definable Inputs, pass on to recording command #34
Comments
We should take another look at #23 IMO. This would be be a good basis for this. |
Yes, now that Opencast does support JSON for this interface, it would be worth a shot. I guess it will now be easier and less a hack like concatenating strings for building XML (which is the main reason I never merged it). |
Btw, would you create a map of command lines for that? |
I'd rather have the option to config a dict of [variable, title, type, filename, flavour]. Title and type will be reported to opencast (can opencast even handle different types? thinking about boolean or numeric), and substituted for the variable in the recording command. I do appreciate the flexibility and simplicity of pyCA only launching one command with arguments that you can layout however you want. actual recording should stay out of pyCA IMO. |
Notes from a voicechat between lkiesow and me just now:
|
Question: Is this still being worked on? I would be interested in such a feature for pyCA, and would be willing to work on it as well, if this issue is still in active development. |
Hey @mpmuc84, I'm not currently working on it, neither is Lars as far as I know. So if you want to give it a try, we would appreciate it! |
Hi @JanKoppe, thanks for the quick reply! If I understand your previous notes correctly, the idea was to set the capabilities to register with OC in pyCA's config, and to export this e.g. to a JSON file somewhere (location also to be set in config?) for the user's command/script to pick up and process, correct? |
Cool, thanks for taking a shot at this :)
Yes, a rough overview of the aspects that would need to be implemented would be
Maybe it would make sense to split these parts up and implement it (together?) in smaller chunks. What do you think? |
I'm not. Feel free to grab this.
All necessary endpoints for this should be part of the
Not sure but you could start by just sending the information to Opencast. Picking them up for capture would then be part 2. |
Thanks, sounds good. :) |
We too would like to see this pyCA. |
Interesting to see that you found a copy of the official Opencast documentation on my server :-D I'm not sure if this is well documented. I wrote the other capture agent documentation, but since I never used the inputs, I never write that down. For setting the inputs, you would use the REST endpoint Use a configuration payload like this: {"capture.device.names":"a,b,x"} where the You can just use the REST docs to set this for any capture agent: This will then automatically show up as input fields in the admin interface: Capture agents will then get the selection as part of the scheduling information. If you want to work on this, please let me know. I think there are lots of things to stumble over if you like to tackle this, and you could easily waste a lot of time. It's probably easier to go through what you want to do and how you can gather information about that in a conference call. |
Opencast gives the user the ability to select different inputs when scheduling a recording.
pyCA should be able to define such inputs with a set of keywords, report them to opencast and pass on the selection in a scheduled recording to the recording command.
I would be willing to work on such a feature.
The text was updated successfully, but these errors were encountered: