github.com/Worph/MetaAppStore answers 404, and with it every jsDelivr cdn.jsdelivr.net/gh/Worph/MetaAppStore@main/ URL: the icons, thumbnails and screenshots of all 44 apps were missing from the store listing, and the store source in the README no longer downloaded. - Asset URLs in every Apps/*/docker-compose.yml now point at https://gitea-watch.nsl.sh/metastar/MetaAppStore/raw/branch/main/Apps/{AppName}/ (103 of the 109 distinct URLs checked: 200 image/png). The other 6, MetaGateway and MetaWatch screenshot-1..3, name files that have never been in this repo. - README: the store source is https://gitea-watch.nsl.sh/metastar/MetaAppStore/archive/main.zip (public, checked to download anonymously). - CLAUDE.md and CONTRIBUTING.md: the asset rule and its grep guard follow, so an import cannot bring back a jsDelivr URL unnoticed.
137 lines
6.2 KiB
YAML
137 lines
6.2 KiB
YAML
name: metapluginsubtitle
|
|
|
|
# =============================================================================
|
|
# MetaPlugin · Subtitle — the `subtitle` enrichment plugin, as a standalone app.
|
|
#
|
|
# A MetaMesh enrichment plugin is a HEADLESS worker: it speaks the four-verb
|
|
# plugin HTTP contract (`/manifest`, `/health`, `/configure`, `/process`) and
|
|
# nothing else. There is no dashboard — the web UI on this tile is the plugin's
|
|
# own `/manifest`, which is how you confirm it is alive and what version it is.
|
|
#
|
|
# ⚠ NOTHING IN THE FAMILY CONSUMES IT BY URL YET — install it knowing that.
|
|
# MetaSort starts its own plugin containers from `plugins.yml` (`image:`) and
|
|
# has no URL slot. The feeder SDK has exactly three sidecar slots
|
|
# (`FILENAME_PARSER_URL`, `TMDB_PLUGIN_URL`, `OPENSUBTITLES_PLUGIN_URL`) and
|
|
# `subtitle` is not one of them. What this app gives you today is the plugin
|
|
# running and addressable at `http://metapluginsubtitle-plugin:8080` for anything that
|
|
# speaks the four-verb plugin contract — your own caller, a probe, a future
|
|
# consumer. It is packaging ahead of the consumer, on purpose.
|
|
#
|
|
# ⚠ IT HOLDS NO CREDENTIALS. The caller POSTs `/configure` with its own key
|
|
# (TMDB token, OpenSubtitles account) before use. Two consumers sharing one
|
|
# instance are last-writer-wins on that config — same key, no problem; different
|
|
# keys, install a second copy.
|
|
#
|
|
# Everything is scoped under the `metapluginsubtitle-*` prefix + the per-stack `metapluginsubtitle`
|
|
# network, so it installs beside the other Meta* apps with zero
|
|
# collisions.
|
|
# =============================================================================
|
|
|
|
services:
|
|
# ---------------------------------------------------------------------------
|
|
# metapluginsubtitle-plugin — the plugin. Listens on 8080; joined to `pcs` so any
|
|
# consumer on the box can reach it by name. Default queue: fast.
|
|
# ---------------------------------------------------------------------------
|
|
metapluginsubtitle-plugin:
|
|
image: ipcr-watch.nsl.sh/ipns/metadec.eth/metadec.eth/metamesh-plugin-subtitle:1.0.3
|
|
cpu_shares: 30
|
|
container_name: metapluginsubtitle-plugin
|
|
# Hard RAM cap, swap disabled (memswap_limit == mem_limit) → OOM
|
|
# instead of swap. Mirrors the limits the bundled sidecars run with.
|
|
mem_limit: 256m
|
|
memswap_limit: 256m
|
|
hostname: metapluginsubtitle-plugin
|
|
restart: unless-stopped
|
|
user: "0:0"
|
|
expose:
|
|
- 8080
|
|
environment:
|
|
# Where the plugin writes the artefacts it produces (posters, stills,
|
|
# extracted subtitles) — the shared MetaCore's WebDAV over `pcs`.
|
|
# LOAD-BEARING: the published images resolve WebDAV from this var, and
|
|
# without it they log "WebDAV client unavailable" and silently write
|
|
# nothing. Every record then fails MetaWatch's poster gate.
|
|
WEBDAV_URL: "http://metacore-app:9000/webdav"
|
|
TZ: "$TZ"
|
|
networks:
|
|
- pcs
|
|
networks:
|
|
pcs:
|
|
name: ${APP_NET:-pcs}
|
|
external: true
|
|
|
|
x-casaos:
|
|
architectures:
|
|
- amd64
|
|
- arm64
|
|
author: Worph Team
|
|
category: Developer
|
|
developer: Aptero Team
|
|
|
|
description:
|
|
en_us: |
|
|
**The `subtitle` enrichment plugin for MetaMesh, as its own app.**
|
|
|
|
Links subtitle sidecar files sitting next to a video to that video, and detects each one's language.
|
|
|
|
It only *links* what is already on disk. For subtitles embedded in the
|
|
container see **MetaPlugin · Subtitle Extractor**; to fetch missing ones
|
|
see **MetaPlugin · OpenSubtitles**.
|
|
|
|
**Headless.** It answers the plugin HTTP contract — `/manifest`, `/health`,
|
|
`/configure`, `/process` — and has no dashboard; this tile opens its
|
|
`/manifest`. Point a consumer at `http://metapluginsubtitle-plugin:8080`.
|
|
|
|
⚠ **No MetaMesh app calls it by URL yet.** MetaSort starts its own plugin
|
|
containers from `plugins.yml`, and the MetaFeeder SDK's sidecar slots cover
|
|
only filename-parser, TMDB and OpenSubtitles — not `subtitle`. Installing this
|
|
gives you the plugin running and addressable on the `pcs` network for
|
|
anything that speaks the plugin contract; it does **not** add `subtitle` to
|
|
MetaSort.
|
|
fr_fr: |
|
|
**Le plugin d'enrichissement `subtitle` de MetaMesh, en app autonome.**
|
|
|
|
Associe les fichiers de sous-titres posés à côté d'une vidéo à cette vidéo et détecte la langue de chacun.
|
|
|
|
**Sans interface.** Il répond au contrat HTTP des plugins — `/manifest`,
|
|
`/health`, `/configure`, `/process` — et n'a pas de tableau de bord ; cette
|
|
tuile ouvre son `/manifest`. Dirigez un consommateur vers
|
|
`http://metapluginsubtitle-plugin:8080`.
|
|
|
|
**Ce n'est pas un plugin MetaSort** : MetaSort démarre ses propres
|
|
conteneurs de plugins depuis `plugins.yml` et n'accepte pas d'URL.
|
|
tagline:
|
|
en_us: Links subtitle sidecars to their video and detects language
|
|
fr_fr: Associe les sous-titres à leur vidéo et détecte la langue
|
|
|
|
title:
|
|
en_us: MetaPlugin · Subtitle
|
|
|
|
icon: https://gitea-watch.nsl.sh/metastar/MetaAppStore/raw/branch/main/Apps/MetaPluginSubtitle/icon.png
|
|
thumbnail: https://gitea-watch.nsl.sh/metastar/MetaAppStore/raw/branch/main/Apps/MetaPluginSubtitle/thumbnail.png
|
|
|
|
store_app_id: metapluginsubtitle
|
|
is_uncontrolled: false
|
|
|
|
tips:
|
|
before_install:
|
|
en_us: |
|
|
⚠ **Read this first: nothing calls `subtitle` by URL yet.** MetaSort spawns
|
|
its own plugin containers from `plugins.yml` (`image:`) and has no URL
|
|
slot, and the MetaFeeder SDK's three sidecar slots are filename-parser,
|
|
TMDB and OpenSubtitles only. Install this if you want `subtitle` running and
|
|
addressable at `http://metapluginsubtitle-plugin:8080` for your own caller — not
|
|
expecting it to light up MetaSort or a MetaFeeder on its own.
|
|
|
|
**Requires MetaCore** on the same box: this plugin writes what it
|
|
produces to MetaCore's WebDAV (`http://metacore-app:9000/webdav`).
|
|
|
|
**No web UI:** a headless service. Its consumers reach it directly on the
|
|
`pcs` network.
|
|
|
|
# Maison (Yundera dashboard) configuration. Read in preference to x-casaos.
|
|
# schema_version 2 is required for `folders`: an older Maison refuses the app
|
|
# outright rather than starting it without its directories.
|
|
x-compose-app:
|
|
schema_version: 2
|