parent
05bfa58df8
commit
8bd20aae17
3 changed files with 7 additions and 2 deletions
|
|
@ -19,6 +19,8 @@ FROM python:3.13.7-alpine3.22
|
|||
ENV MR_DOWNLOAD_DIR="/download"
|
||||
|
||||
RUN apk add --update --no-cache \
|
||||
# https://github.com/yt-dlp/yt-dlp/issues/14404 \
|
||||
deno \
|
||||
curl
|
||||
|
||||
# https://hub.docker.com/r/mwader/static-ffmpeg/tags
|
||||
|
|
|
|||
|
|
@ -1,13 +1,14 @@
|
|||
package media
|
||||
|
||||
import (
|
||||
"github.com/matishsiao/goInfo"
|
||||
"github.com/rs/zerolog/log"
|
||||
"html/template"
|
||||
"media-roller/src/utils"
|
||||
"net/http"
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/matishsiao/goInfo"
|
||||
"github.com/rs/zerolog/log"
|
||||
)
|
||||
|
||||
var aboutIndexTmpl = template.Must(template.ParseFiles("templates/media/about.html"))
|
||||
|
|
@ -28,6 +29,7 @@ func AboutIndex(w http.ResponseWriter, _ *http.Request) {
|
|||
"pythonVersion": strings.TrimPrefix(pythonVersion, "Python "),
|
||||
"ffmpegVersion": newlineRegex.Split(utils.RunCommand("ffmpeg", "-version"), -1),
|
||||
"ffprobeVersion": newlineRegex.Split(utils.RunCommand("ffprobe", "-version"), -1),
|
||||
"deno": strings.TrimPrefix(utils.RunCommand("deno", "--version"), "go version "),
|
||||
"os": gi.OS,
|
||||
"kernel": gi.Kernel,
|
||||
"core": gi.Core,
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@
|
|||
<td><a href="https://www.python.org/downloads/">Python</a></td>
|
||||
<td>{{ $.pythonVersion }}</td>
|
||||
</tr>
|
||||
<tr><td>deno</td><td>{{ $.deno }}</td></tr>
|
||||
<tr><td>os</td><td>{{ $.os }}</td></tr>
|
||||
<tr><td>kernel</td><td>{{ $.kernel }}</td></tr>
|
||||
<tr><td>core</td><td>{{ $.core }}</td></tr>
|
||||
|
|
|
|||
Loading…
Reference in a new issue