Skip to content

videos: add model and rules for digitized records#399

Merged
zzacharo merged 2 commits intoCERNDocumentServer:masterfrom
zubeydecivelek:digitized-metadata
Apr 2, 2026
Merged

videos: add model and rules for digitized records#399
zzacharo merged 2 commits intoCERNDocumentServer:masterfrom
zubeydecivelek:digitized-metadata

Conversation

@zubeydecivelek
Copy link
Copy Markdown
Contributor

@zubeydecivelek zubeydecivelek commented Mar 30, 2026

@zubeydecivelek zubeydecivelek force-pushed the digitized-metadata branch 2 times, most recently from 2a77585 to 8543441 Compare April 1, 2026 15:08
@zubeydecivelek zubeydecivelek marked this pull request as ready for review April 1, 2026 15:10

# Try to match metadata for multiple video record
curation = metadata.get("_curation", {})
tracked_fields = {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is the value of this dict used?

Copy link
Copy Markdown
Contributor Author

@zubeydecivelek zubeydecivelek Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These values are checked to match with correct video and this is just logging them if any of them matched with video. And if any of these keys are in curation then we try to match values

Image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unmatched values are kept in curation

@zubeydecivelek zubeydecivelek force-pushed the digitized-metadata branch 4 times, most recently from 16f8698 to e719390 Compare April 2, 2026 09:18
@zubeydecivelek zubeydecivelek force-pushed the digitized-metadata branch 4 times, most recently from f7e3630 to 69f58be Compare April 2, 2026 11:50
@zzacharo zzacharo merged commit 516985c into CERNDocumentServer:master Apr 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate lecturemedia + digitized records

2 participants