Compare commits
No commits in common. "0c5831bbd42f26be3f33ae423612c37f0728a6b9" and "f94a5944090420fc4abf9504ffb0d0be8ca0fefd" have entirely different histories.
0c5831bbd4
...
f94a594409
2
.env
2
.env
|
@ -42,5 +42,5 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
|
||||||
|
|
||||||
# Specify paths to the external programs you use to avoid path issues.
|
# Specify paths to the external programs you use to avoid path issues.
|
||||||
YTDLP_PATH=""
|
YTDLP_PATH=""
|
||||||
YTDLP_COOKIES_PATH=""
|
YTDLP_COOKIES_FILE=""
|
||||||
FFPROBE_PATH=""
|
FFPROBE_PATH=""
|
||||||
|
|
|
@ -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 function getFileDuration(string $filepath): string
|
protected static function getFileDuration(string $filepath): string
|
||||||
{
|
{
|
||||||
$ffprobeConfig = [];
|
$ffprobeConfig = [];
|
||||||
if ($this->ffprobePath) {
|
if ($this->ffprobePath) {
|
||||||
|
|
Loading…
Reference in a new issue