examples: add WASM plugin examples

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Id4b791396ab37827caced2c8cc03ec356a6a6964
This commit is contained in:
raf 2026-05-20 21:52:21 +03:00
commit 934fcba8ca
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
16 changed files with 1720 additions and 0 deletions

View file

@ -0,0 +1,18 @@
[plugin]
name = "subtitle-detector"
version = "1.0.0"
api_version = "1.0"
description = "Registers SRT, VTT, and ASS subtitle formats and extracts language and entry count metadata"
kind = ["media_type", "metadata_extractor"]
priority = 500
[plugin.binary]
wasm = "subtitle_detector.wasm"
[capabilities]
network = false
[capabilities.filesystem]
# Users must add their media root directories here. Example:
# read = ["/home/user/media", "/mnt/nas/subtitles"]
read = []