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
20
examples/plugins/cbz-comics/plugin.toml
Normal file
20
examples/plugins/cbz-comics/plugin.toml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[plugin]
|
||||
name = "cbz-comics"
|
||||
version = "1.0.0"
|
||||
api_version = "1.0"
|
||||
description = "Supports CBZ (Comic Book ZIP) and CBR files with metadata extraction and thumbnail generation"
|
||||
kind = ["media_type", "metadata_extractor", "thumbnail_generator"]
|
||||
priority = 500
|
||||
|
||||
[plugin.binary]
|
||||
wasm = "cbz_comics.wasm"
|
||||
|
||||
[capabilities]
|
||||
network = false
|
||||
|
||||
[capabilities.filesystem]
|
||||
# Users must add their media root directories here. Example:
|
||||
# read = ["/home/user/comics"]
|
||||
# write = ["/home/user/.cache/pinakes/thumbnails"]
|
||||
read = []
|
||||
write = []
|
||||
Loading…
Add table
Add a link
Reference in a new issue