Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
postprocessing
Media Metadata Indexer
Commits
fcf8f2bd
Unverified
Commit
fcf8f2bd
authored
Dec 17, 2020
by
Sebastian Schüpbach
Browse files
create new record instance in recordProcessor
parent
1343e617
Pipeline
#19044
passed with stages
in 2 minutes and 8 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
mediametadatatodb_app/resources/MediametadataToDB.py
View file @
fcf8f2bd
...
...
@@ -284,6 +284,7 @@ class MediametadataToDB:
record
=
record_object
.
value
[
'@graph'
]
record_id
=
_get_record_id
(
record
)
logging
.
debug
(
f
'Processing record
{
record_id
}
'
)
record_processor
.
new_record
(
record_id
)
access_status
=
_get_access_status
(
record
,
record_id
)
for
record_resource
in
record
:
if
_is_digital_object
(
record_resource
)
and
_is_playable
(
access_status
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment