style: Pint 포맷팅 적용
This commit is contained in:
@@ -355,12 +355,12 @@ private function buildYoutubeText(VideoGeneration $video, array $scenario, array
|
||||
// 해시태그 생성
|
||||
$hashtags = ['#shorts', '#쇼츠'];
|
||||
if ($keyword) {
|
||||
$hashtags[] = '#' . str_replace(' ', '', $keyword);
|
||||
$hashtags[] = '#'.str_replace(' ', '', $keyword);
|
||||
}
|
||||
// 시나리오에서 추가 태그 추출
|
||||
$bgmMood = $scenario['bgm_mood'] ?? '';
|
||||
if ($bgmMood) {
|
||||
$hashtags[] = '#' . $bgmMood;
|
||||
$hashtags[] = '#'.$bgmMood;
|
||||
}
|
||||
$hashtags = array_merge($hashtags, ['#건강', '#건강정보', '#헬스']);
|
||||
|
||||
@@ -373,7 +373,7 @@ private function buildYoutubeText(VideoGeneration $video, array $scenario, array
|
||||
foreach ($scenes as $scene) {
|
||||
$narration = $scene['narration'] ?? '';
|
||||
if ($narration && ($scene['scene_type'] ?? '') !== 'HOOK') {
|
||||
$descLines[] = '- ' . mb_substr($narration, 0, 60);
|
||||
$descLines[] = '- '.mb_substr($narration, 0, 60);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user