ferrero-opentext/src
DJP 4e1a7fa588 Add video dimensions to upload and disable CREATOR field
Changes:
1. Default Box Folder ID
   - Pre-filled with: 348526703108
   - Saves time entering same folder repeatedly
   - Still editable for different folders

2. Video Dimensions in Upload Manifest
   - Extract video metadata via ffprobe (width, height, duration, bitrate)
   - Add width and height to upload manifest
   - Manifest now includes: file_name, file_type, width, height
   - Should fix Content Info showing -1 for Width/Height

3. CREATOR Field Disabled
   - "ExternalAgency" value still causes upload failure
   - Leaving CREATOR field from master unchanged
   - Need to investigate exact field structure

4. Working Field Updates (Re-enabled):
    ARTESIA.FIELD.ASSET DESCRIPTION → subject_title from filename
    FERRERO.FIELD.STATE → "Local"
    MAIN_LANGUAGES → language_code from filename

Upload Flow Now:
1. Parse V2 filename
2. Load master metadata from DB
3. Download file from Box
4. Extract video metadata (ffprobe)
5. Build MVP asset rep with field updates
6. Add video dimensions to upload manifest
7. Upload to DAM
8. Width/Height should populate (not -1)

Logging:
- "VideoMetadata: Extracted - 1024x576, 2s, 1006892 bps"
- "SIMPLE UPLOADER: Adding video dimensions to manifest - 1024x576"

🤖 Generated with Claude Code
2025-10-30 15:50:36 -04:00
..
ApiClient.php Initial commit: Ferrero OpenText Content Scaling Application 2025-10-17 14:29:20 -04:00
AssetDownloader.php Initial commit: Ferrero OpenText Content Scaling Application 2025-10-17 14:29:20 -04:00
AssetUploader.php Create simplified uploader matching exact standalone script 2025-10-28 09:12:51 -04:00
AssetUploaderSimple.php Add video dimensions to upload and disable CREATOR field 2025-10-30 15:50:36 -04:00
BoxClient.php Fix Box integration issues 2025-10-29 16:12:22 -04:00
BoxFileRetriever.php Fix Box integration issues 2025-10-29 16:12:22 -04:00
CampaignFormatter.php Fix status updates and enhance workflow with proper error handling 2025-10-23 16:43:09 -04:00
DatabaseClient.php Add full_metadata JSONB column - Store complete DAM metadata without truncation 2025-10-29 16:53:51 -04:00
FilenameParser.php Add Upload from Box workflow - Phase 1 Complete 2025-10-29 15:47:30 -04:00
IDGenerator.php Add PostgreSQL database integration and Box metadata template 2025-10-28 15:39:32 -04:00
Logger.php Initial commit: Ferrero OpenText Content Scaling Application 2025-10-17 14:29:20 -04:00
MetadataExtractor.php Initial commit: Ferrero OpenText Content Scaling Application 2025-10-17 14:29:20 -04:00
MetadataExtractorMVP.php Add video dimensions to upload and disable CREATOR field 2025-10-30 15:50:36 -04:00
MetadataMerger.php Rollback to simple 5-field metadata structure for uploads 2025-10-29 17:46:07 -04:00
OAuth2Handler.php Initial commit: Ferrero OpenText Content Scaling Application 2025-10-17 14:29:20 -04:00
PostmanCollectionParser.php Initial commit: Ferrero OpenText Content Scaling Application 2025-10-17 14:29:20 -04:00
ResponseFormatter.php Initial commit: Ferrero OpenText Content Scaling Application 2025-10-17 14:29:20 -04:00
StatusManager.php Fix status updates and enhance workflow with proper error handling 2025-10-23 16:43:09 -04:00
TestRunner.php Initial commit: Ferrero OpenText Content Scaling Application 2025-10-17 14:29:20 -04:00
VideoMetadataExtractor.php Add field updates from V2 filename and video file analysis 2025-10-30 14:57:54 -04:00
WorkflowManager.php Initial commit: Ferrero OpenText Content Scaling Application 2025-10-17 14:29:20 -04:00