Skip to content

Commit

Permalink
Add proxy start time (#920)
Browse files Browse the repository at this point in the history
* Updates pbcore_xpath_helpers.rb
* Updates pbcore_xpath_helpers.rb
* Adds proxy start time to update ingester
  • Loading branch information
ekemeyer authored Nov 20, 2024
1 parent ed0cb12 commit 81e158a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/batch_ingest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ ingest_types:
- playlist_group
- playlist_order
- organization
- proxy_start_time
aapb_csv_reader_4:
label: "AAPB CSV Asset Multivalue Attribute Addition Ingester"
reader: "AAPB::BatchIngest::CSVReader"
Expand Down
2 changes: 2 additions & 0 deletions spec/support/pbcore_xpath_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def xpath_presets
supplemental_material: '//pbcoreAnnotation[@annotationType="Supplemental Material"]',
transcript_url: '//pbcoreAnnotation[@annotationType="Transcript URL"]',
transcript_source: '//pbcoreAnnotation[@annotationType="Transcript Source"]',
proxy_start_time: '//pbcoreAnnotation[@annotationType="Proxy Start Time"]',
rights_summary: '//pbcoreRightsSummary/rightsSummary',
rights_link: '//pbcoreRightsSummary/rightsLink',
local_identifier: '//pbcoreIdentifier[@source="Local Identifier"]',
Expand Down Expand Up @@ -190,6 +191,7 @@ def annotations_without_type
values_from_xpath(:outside_url) +
values_from_xpath(:special_collections) +
values_from_xpath(:transcript_status) +
values_from_xpath(:proxy_start_time) +
values_from_xpath(:licensing_info) +
values_from_xpath(:playlist_group) +
values_from_xpath(:playlist_order) +
Expand Down

0 comments on commit 81e158a

Please sign in to comment.