fix function that should not be static

This commit is contained in:
dece 2024-09-01 22:38:15 +02:00
parent 90f34b12a7
commit 0c5831bbd4

View file

@ -98,7 +98,7 @@ class FeedService
} }
/** Use FFProbe to get the media duration, probably the easiest way but requires a working FFMpeg install. */ /** Use FFProbe to get the media duration, probably the easiest way but requires a working FFMpeg install. */
protected static function getFileDuration(string $filepath): string protected function getFileDuration(string $filepath): string
{ {
$ffprobeConfig = []; $ffprobeConfig = [];
if ($this->ffprobePath) { if ($this->ffprobePath) {