Files
gronod 7bcf5322e1 feat: emby-mcp 1.0.16 player owner filter and HA links
Expose session/last-used user and device IP on player rows. Filter
retrieve_player_list by users, merge GET /Devices when include_offline
is set, and resolve spoken names to HA media_player entities via
player_links (device_id or IP). PlayNow still requires a live session.
2026-09-25 19:58:58 +00:00

27 lines
749 B
Docker

# syntax=docker/dockerfile:1
ARG BUILD_FROM
ARG GO_VERSION=1.27.1
FROM golang:${GO_VERSION}-alpine AS build
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download
COPY cmd/ ./cmd/
COPY internal/ ./internal/
ARG TARGETOS=linux
ARG TARGETARCH
RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o /out/emby-mcp ./cmd/emby-mcp
FROM $BUILD_FROM
COPY --from=build /out/emby-mcp /emby-mcp
COPY rootfs /
RUN chmod a+x /run.sh
LABEL \
io.hass.name="Emby MCP" \
io.hass.description="Emby Model Context Protocol server with REST bridge" \
io.hass.type="addon" \
io.hass.version="1.0.16" \
org.opencontainers.image.title="emby-mcp" \
org.opencontainers.image.source="https://git.i3omb.com/gronod/ha-gronod-addons"
CMD [ "/run.sh" ]