mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
Update audio codecs
This commit is contained in:
@@ -1818,7 +1818,7 @@ class record_adapter implements record_Interface, cache_cacheableInterface
|
||||
$pathdest = databox::dispatch($subdef->get_path());
|
||||
}
|
||||
|
||||
return $pathdest . $this->get_record_id() . '_' . $subdef->get_name() . '.' . $this->getExtensionFromSpec($subdef->getSpecs());
|
||||
return $pathdest . $this->get_record_id() . '_' . $subdef->get_name() . '.' . $this->getExtensionFromSpec($subdef->getSpecs(), $logger);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1866,6 +1866,9 @@ class record_adapter implements record_Interface, cache_cacheableInterface
|
||||
case 'flac':
|
||||
$extension = 'flac';
|
||||
break;
|
||||
case 'libvorbis':
|
||||
$extension = 'ogg';
|
||||
break;
|
||||
case 'libmp3lame':
|
||||
$extension = 'mp3';
|
||||
break;
|
||||
|
Reference in New Issue
Block a user