Experiment to rebuild Diffuse using web applets.
1{
2 "name": "diffuse/processor/artwork",
3 "title": "Diffuse Processor | Artwork fetcher",
4 "description": "Tries to get artwork for a given URL or stream.",
5 "entrypoint": "index.html",
6 "actions": {
7 "supply": {
8 "title": "Supply",
9 "description": "Get the artwork for a given URL.",
10 "params_schema": {
11 "type": "array",
12 "items": {
13 "type": "object",
14 "properties": {
15 "cacheId": {
16 "type": "string"
17 },
18 "mimeType": {
19 "type": "string"
20 },
21 "stream": {
22 "type": "object"
23 },
24 "urls": {
25 "type": "object",
26 "properties": {
27 "get": { "type": "string" },
28 "head": { "type": "string" }
29 },
30 "required": ["get", "head"]
31 }
32 },
33 "required": ["cacheId"]
34 }
35 }
36 }
37 }
38}