mirror of
https://github.com/koel/koel
synced 2024-12-23 19:13:06 +00:00
13 lines
222 B
PHP
13 lines
222 B
PHP
<?php
|
|
|
|
namespace App\Services;
|
|
|
|
use App\Models\Song;
|
|
|
|
class TranscodingService
|
|
{
|
|
public function songShouldBeTranscoded(Song $song): bool
|
|
{
|
|
return ends_with(mime_content_type($song->path), 'flac');
|
|
}
|
|
}
|