Compare commits

...

2 commits

Author SHA1 Message Date
dece 0c5831bbd4 fix function that should not be static 2024-09-01 22:38:15 +02:00
dece 90f34b12a7 fix bad env var name 2024-09-01 22:38:07 +02:00
2 changed files with 2 additions and 2 deletions

2
.env
View file

@ -42,5 +42,5 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
# Specify paths to the external programs you use to avoid path issues.
YTDLP_PATH=""
YTDLP_COOKIES_FILE=""
YTDLP_COOKIES_PATH=""
FFPROBE_PATH=""

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. */
protected static function getFileDuration(string $filepath): string
protected function getFileDuration(string $filepath): string
{
$ffprobeConfig = [];
if ($this->ffprobePath) {