This commit includes critical updates for PPR deployment: 1. Environment-Specific Field Mappings: - Created field_mappings_ppr.yaml with agency code "Oliver" - Created field_mappings_prod.yaml with agency code "0000221659" - Updated config_loader.py to auto-detect environment based on DAM URL - Enables seamless deployment between PPR and PROD environments 2. Metadata Extractor Enhancements: - Added MetadataTable extraction support for nested fields - Enables extraction of "Type of Video & Static Right" multi-value field - Added logic to apply defaults to existing but empty fields - Fixed agency name display_value handling for domain fields 3. Default Values Added: - VIDEO_POST_PROD_COMPANY: "Oliver Marketing Ltd" - AUDIO_POST_PROD_COMPANY: "Oliver Marketing Ltd" - PROD_COMPANY (Production House): "-" These changes ensure: - Correct agency codes per environment (PPR/PROD) - Proper extraction of nested tabular fields - Default values for empty production company fields - Seamless deployment workflow Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __pycache__ | ||
| __init__.py | ||
| box_client.py | ||
| common.py | ||
| config_loader.py | ||
| dam_client.py | ||
| database.py | ||
| filename_parser.py | ||
| filename_parser_v1_backup.py | ||
| metadata_extractor_mvp.py | ||
| metadata_extractor_mvp.py.backup | ||
| metadata_extractor_mvp_PROD.py | ||
| notifier.py | ||