Compare commits
2 commits
f94a594409
...
0c5831bbd4
Author | SHA1 | Date | |
---|---|---|---|
dece | 0c5831bbd4 | ||
dece | 90f34b12a7 |
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_FILE=""
|
YTDLP_COOKIES_PATH=""
|
||||||
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 static function getFileDuration(string $filepath): string
|
protected function getFileDuration(string $filepath): string
|
||||||
{
|
{
|
||||||
$ffprobeConfig = [];
|
$ffprobeConfig = [];
|
||||||
if ($this->ffprobePath) {
|
if ($this->ffprobePath) {
|
||||||
|
|
Loading…
Reference in a new issue