Bump media-node target version to 1.3.9 for the Plex-style parser fix.
Admin Nodes shows an update when connected nodes are still on 1.3.8.
This commit is contained in:
parent
84e09bdf36
commit
075153da8f
5 changed files with 5 additions and 5 deletions
|
|
@ -65,7 +65,7 @@ export default function NodesPage() {
|
||||||
const [editRoots, setEditRoots] = useState<ScanRootRow[]>([]);
|
const [editRoots, setEditRoots] = useState<ScanRootRow[]>([]);
|
||||||
const [editBusy, setEditBusy] = useState(false);
|
const [editBusy, setEditBusy] = useState(false);
|
||||||
const [upgradingId, setUpgradingId] = useState<string | null>(null);
|
const [upgradingId, setUpgradingId] = useState<string | null>(null);
|
||||||
const [targetNodeVersion, setTargetNodeVersion] = useState("1.3.8");
|
const [targetNodeVersion, setTargetNodeVersion] = useState("1.3.9");
|
||||||
|
|
||||||
function loadNodes() {
|
function loadNodes() {
|
||||||
fetch("/api/v1/admin/nodes", { credentials: "include" })
|
fetch("/api/v1/admin/nodes", { credentials: "include" })
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/** Target media-node version served from /install/media-node-linux-* */
|
/** Target media-node version served from /install/media-node-linux-* */
|
||||||
export const MEDIA_NODE_TARGET_VERSION =
|
export const MEDIA_NODE_TARGET_VERSION =
|
||||||
process.env.MEDIA_NODE_VERSION?.trim() || "1.3.8";
|
process.env.MEDIA_NODE_VERSION?.trim() || "1.3.9";
|
||||||
|
|
||||||
/** Minimum node version that handles UPGRADE over WebSocket */
|
/** Minimum node version that handles UPGRADE over WebSocket */
|
||||||
const REMOTE_UPGRADE_MIN_VERSION = "1.3.3";
|
const REMOTE_UPGRADE_MIN_VERSION = "1.3.3";
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ WORKDIR /app
|
||||||
|
|
||||||
FROM golang:1.22-alpine AS node-build
|
FROM golang:1.22-alpine AS node-build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
ARG MEDIA_NODE_VERSION=1.3.8
|
ARG MEDIA_NODE_VERSION=1.3.9
|
||||||
RUN apk add --no-cache git ca-certificates
|
RUN apk add --no-cache git ca-certificates
|
||||||
COPY node/media-node/ ./
|
COPY node/media-node/ ./
|
||||||
RUN go mod tidy \
|
RUN go mod tidy \
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ mv "$BIN_PATH.new" "$BIN_PATH"
|
||||||
if docker_cmd ps -a --format '{{.Names}}' | grep -qx "$CONTAINER"; then
|
if docker_cmd ps -a --format '{{.Names}}' | grep -qx "$CONTAINER"; then
|
||||||
echo "Container herstarten..."
|
echo "Container herstarten..."
|
||||||
docker_cmd restart "$CONTAINER" >/dev/null
|
docker_cmd restart "$CONTAINER" >/dev/null
|
||||||
echo "Klaar. Controleer versie in Admin → Nodes (verwacht ${MEDIA_NODE_VERSION:-1.3.8}+)."
|
echo "Klaar. Controleer versie in Admin → Nodes (verwacht ${MEDIA_NODE_VERSION:-1.3.9}+)."
|
||||||
else
|
else
|
||||||
echo "Waarschuwing: container '$CONTAINER' niet gevonden — binary is wel bijgewerkt."
|
echo "Waarschuwing: container '$CONTAINER' niet gevonden — binary is wel bijgewerkt."
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ import (
|
||||||
"github.com/sthmedia/media-node/internal/streaming"
|
"github.com/sthmedia/media-node/internal/streaming"
|
||||||
)
|
)
|
||||||
|
|
||||||
var version = "1.3.8"
|
var version = "1.3.9"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
if len(os.Args) < 2 {
|
if len(os.Args) < 2 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue