diff --git a/src/Pumukit/EncoderBundle/Services/ProfileService.php b/src/Pumukit/EncoderBundle/Services/ProfileService.php index 8a5e4920c..30e8e0c2a 100644 --- a/src/Pumukit/EncoderBundle/Services/ProfileService.php +++ b/src/Pumukit/EncoderBundle/Services/ProfileService.php @@ -208,6 +208,6 @@ private function imageRawProfiles(): array private function imageGenericProfiles(): array { - return array_filter($this->profiles, function ($profile) { return isset($profile['image']) && true === $profile['image'] && false === $profile['master'] && !str_contains($profile['tags'], 'raw'); }); + return array_filter($this->profiles, function ($profile) { return isset($profile['image']) && true === $profile['image'] && false === $profile['master']; }); } } diff --git a/src/Pumukit/EncoderBundle/Services/ProfileValidator.php b/src/Pumukit/EncoderBundle/Services/ProfileValidator.php index ef9477546..bd05b295a 100644 --- a/src/Pumukit/EncoderBundle/Services/ProfileValidator.php +++ b/src/Pumukit/EncoderBundle/Services/ProfileValidator.php @@ -44,10 +44,6 @@ public function searchBestProfileForFile(string $genericProfile, string $pathFil } if (str_contains($mimeType, 'audio/')) { - if ('broadcastable' === $genericProfile) { - return 'audio_broadcastable'; - } - return 'master_copy'; }