File: //proc/self/root/tmp/cs-sound-ready-summary.patch
*** Begin Patch
*** Update File: /home/kiwerkzeuge.de/public_html/creator-studio/_lib/bootstrap.php
@@
$real = 0;
$test = 0;
$readyForReview = 0;
+ $soundReadyMp4 = 0;
+ $soundReadyMp4Tests = 0;
$latest = '';
@@
- if (cs_photo_carousel_brief_is_test($brief)) {
+ $isTest = cs_photo_carousel_brief_is_test($brief);
+ if ($isTest) {
$test += 1;
} else {
$real += 1;
}
+ if (($brief['delivery_mode'] ?? '') === 'sound_ready_mp4') {
+ if ($isTest) {
+ $soundReadyMp4Tests += 1;
+ } else {
+ $soundReadyMp4 += 1;
+ }
+ }
@@
- return ['total' => count($briefs), 'real_total' => $real, 'test_total' => $test, 'ready_for_review' => $readyForReview, 'latest_created_at' => $latest];
+ return ['total' => count($briefs), 'real_total' => $real, 'test_total' => $test, 'ready_for_review' => $readyForReview, 'sound_ready_mp4' => $soundReadyMp4, 'sound_ready_mp4_tests' => $soundReadyMp4Tests, 'latest_created_at' => $latest];
}
*** End Patch