-
Notifications
You must be signed in to change notification settings - Fork 11
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
State or ticket for recording independent work #218
Comments
@a-tze My issue with that approach would be, that the action is not easily repeatable with the current terms. You currently shouldn't reset a meta ticket to staged if metadata changed for example. |
You would reset it to staging.. and yes, the terms don't match and it's a huge change in concept. However, we're talking about things to be done on METAdata, and before recording starts - so from a certain point of view this looks like a match that should at least be considered. |
I think changes from the Fahrplan like missing or additional speaker already occurred during recording or even after the encoding was done – one of the reasons postencoding exists. |
regarding the meta data we may need a "meta data changed at" field. For me as an API consumer this sounds like this should be an operation with the meta ticket, even i'm aware that clients should not alter meta tickets for good reasons. I could imagen two solutions:
|
The "metadata changed" problem should be solved by using some hash. There is similar logic in the Auphonic worker. The hash can be stored as a regular property and later be rechecked by a worker script. Of course a "modification timestamp" field is nice, but the hash solution could be more specific about which metadata attributes it includes. For example it is not relevant for the prerole if the Room or Starttime changed. |
Just for clarification: The worker would build the prerole, calculate a hash over the properties it uses and store that hash in new propertie? If thats the case i don't see how we would dedect a change without recalculating the hash. As the client chooses which properties are part of the hash, this means that it has to be done by the same client as the tracker don't know whats part of the hash. As a conclusion we would need to do this again and again until the project is archived. right? |
I'm not sure I understand this yet: what would a worker change on the meta ticket?
I think we could introduce a property If-modified-since, so a worker would only get the ticket if meta property changed. The worker could then recalculate its hash and return the ticket if nothing changed. As the metadata is only changed by the Tracker on import, it always knows when changes occurred. I think we should separate detection of changes and how they are handled (and their state) in the this discussion. |
It needs to store somewhere that the job is done. This maybe also could be expressed as a state, than we need to allow the worker to change the state of the meta ticket. Or as propertie.
This sounds good to me. Does this also include changed done by the user via the webinterace ? E.g. fixing a typo in the metadata ?
ack |
FYI: |
My concerns regarding the use of the meta ticket weren't unfounded… flagging imported properties would be kind of a solution, but this might introduce other issues. |
[Disclaimer: I has only skim read the previous discussion and was not aware that you already addressed concerns]
|
I would still suggest introducing a new ticket type that handles other video independent tasks like media publishing. |
I would also prefer to follow this path as it more intutive and we don't need to discuss everthing again |
Some work is independent of the recording (and encoding) and can be done, as soon as the full metadata is available. An example can be found in voc/voctopublish#73.
The text was updated successfully, but these errors were encountered: