File: //proc/self/root/tmp/cs-sound-ready-cli.patch
*** Begin Patch
*** Update File: /home/kiwerkzeuge.de/private/creator-studio/bin/creator_studio_photo_carousel_brief.php
@@
'description:',
'template:',
+ 'delivery-mode:',
+ 'cta-url:',
+ 'sound-direction:',
+ 'visible-url-required:',
+ 'qr-required:',
+ 'ai-disclosure-required:',
'cover-index:',
@@
'template_id' => (string) ($brief['template_id'] ?? ''),
'template_label' => (string) ($brief['template_label'] ?? ''),
+ 'delivery_mode' => (string) ($brief['delivery_mode'] ?? 'photo_media_upload'),
+ 'delivery_label' => (string) ($brief['delivery_label'] ?? ''),
'image_count' => (int) ($brief['image_count'] ?? 0),
'image_hosts' => array_values(array_filter($brief['image_hosts'] ?? [], 'is_string')),
'image_batch_hash' => (string) ($brief['image_batch_hash'] ?? ''),
+ 'cta_host' => (string) ($brief['cta_host'] ?? ''),
+ 'cta_url_hash' => (string) ($brief['cta_url_hash'] ?? ''),
+ 'visible_url_required' => !empty($brief['visible_url_required']),
+ 'qr_required' => !empty($brief['qr_required']),
+ 'ai_disclosure_required' => !empty($brief['ai_disclosure_required']),
+ 'mp4_workaround_required' => !empty($brief['mp4_workaround_required']),
'cover_index' => (int) ($brief['cover_index'] ?? 0),
@@
'description' => photo_brief_cli_option($options, 'description'),
'template_id' => photo_brief_cli_option($options, 'template', 'product_demo'),
+ 'delivery_mode' => photo_brief_cli_option($options, 'delivery-mode', 'photo_media_upload'),
+ 'cta_url' => photo_brief_cli_option($options, 'cta-url'),
+ 'sound_direction' => photo_brief_cli_option($options, 'sound-direction'),
+ 'visible_url_required' => photo_brief_cli_option($options, 'visible-url-required', '1'),
+ 'qr_required' => photo_brief_cli_option($options, 'qr-required', '1'),
+ 'ai_disclosure_required' => photo_brief_cli_option($options, 'ai-disclosure-required', '1'),
'cover_index' => (int) (photo_brief_cli_option($options, 'cover-index', '0') ?: '0'),
@@
- echo '- ', $brief['brief_id'], ' ', $brief['template_id'], ' · ', $brief['image_count'], ' images · ', $brief['agency_review_status'], $brief['is_test'] ? ' · test' : '', PHP_EOL;
+ echo '- ', $brief['brief_id'], ' ', $brief['template_id'], ' · ', $brief['delivery_mode'], ' · ', $brief['image_count'], ' images · ', $brief['agency_review_status'], $brief['is_test'] ? ' · test' : '', PHP_EOL;
}
*** End Patch