examples: add WASM plugin examples
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Id4b791396ab37827caced2c8cc03ec356a6a6964
This commit is contained in:
parent
011e8edb28
commit
934fcba8ca
16 changed files with 1720 additions and 0 deletions
18
examples/plugins/subtitle-detector/plugin.toml
Normal file
18
examples/plugins/subtitle-detector/plugin.toml
Normal 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 = []
|
||||
Loading…
Add table
Add a link
Reference in a new issue