File: //proc/thread-self/root/tmp/cs-sound-ready-brief-fields-2.patch
*** Begin Patch
*** Update File: /home/kiwerkzeuge.de/public_html/creator-studio/_lib/bootstrap.php
@@
'description' => $description,
'description_hash' => $description !== '' ? substr(hash('sha256', strtolower($description)), 0, 16) : '',
+ 'cta_url' => $ctaUrl,
+ 'cta_host' => $ctaHost,
+ 'cta_url_hash' => $ctaUrl !== '' ? substr(hash('sha256', strtolower($ctaUrl)), 0, 16) : '',
+ 'sound_direction' => $soundDirection,
+ 'sound_direction_hash' => $soundDirection !== '' ? substr(hash('sha256', strtolower($soundDirection)), 0, 16) : '',
+ 'visible_url_required' => $visibleUrlRequired,
+ 'qr_required' => $qrRequired,
+ 'ai_disclosure_required' => $aiDisclosureRequired,
+ 'editor_aigc_switch_required' => $aiDisclosureRequired,
+ 'mp4_workaround_required' => $deliveryMode === 'sound_ready_mp4',
+ 'normalization_requirements' => $deliveryMode === 'sound_ready_mp4'
+ ? ['image_format' => 'JPEG/sRGB', 'video_format' => '1080×1920 MP4', 'audio' => 'embedded', 'url' => 'visible URL/QR inside the video']
+ : ['image_format' => 'JPEG/sRGB recommended for TikTok Photo MEDIA_UPLOAD'],
'agency_notes' => cs_clean_lead_text($input['agency_notes'] ?? '', 1200, true),
*** End Patch