krillplayer-plugin 0.1.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -0
- package/dist/cli.js +215 -196
- package/dist/crypto.d.ts +8 -0
- package/dist/crypto.js +1589 -0
- package/dist/zip.d.ts +13 -0
- package/dist/zip.js +68 -0
- package/package.json +11 -2
- package/skill/krillplayer-plugin/SKILL.md +2 -1
- package/skill/krillplayer-plugin/assets/samples/file-share/plugin.ts +1 -20
- package/skill/krillplayer-plugin/assets/samples/media-server/plugin.ts +1 -35
- package/skill/krillplayer-plugin/assets/samples/network-share/plugin.ts +1 -20
- package/skill/krillplayer-plugin/references/choosing-a-kind.md +2 -2
- package/skill/krillplayer-plugin/references/contract.d.ts +95 -129
- package/skill/krillplayer-plugin/references/errors-and-fixes.md +1 -1
- package/skill/krillplayer-plugin/assets/samples/file-share/cases/library-empty-folder.json +0 -11
- package/skill/krillplayer-plugin/assets/samples/file-share/cases/library-folder-gone-not-found.json +0 -12
- package/skill/krillplayer-plugin/assets/samples/file-share/cases/library-folder-lists-subfolders-and-media.json +0 -28
- package/skill/krillplayer-plugin/assets/samples/file-share/cases/library-folder-second-page.json +0 -22
- package/skill/krillplayer-plugin/assets/samples/file-share/cases/library-folder-skips-subtitles.json +0 -21
- package/skill/krillplayer-plugin/assets/samples/file-share/cases/library-root-first-page.json +0 -25
- package/skill/krillplayer-plugin/assets/samples/file-share/cases/library-root-second-page.json +0 -22
- package/skill/krillplayer-plugin/assets/samples/media-server/cases/library-changes-everything-first-page.json +0 -74
- package/skill/krillplayer-plugin/assets/samples/media-server/cases/library-changes-everything-last-page.json +0 -86
- package/skill/krillplayer-plugin/assets/samples/media-server/cases/library-changes-nothing-new.json +0 -12
- package/skill/krillplayer-plugin/assets/samples/media-server/cases/library-changes-since-a-token-with-a-removal.json +0 -88
- package/skill/krillplayer-plugin/assets/samples/media-server/cases/library-ids-first-page.json +0 -15
- package/skill/krillplayer-plugin/assets/samples/media-server/cases/library-ids-last-page.json +0 -14
- package/skill/krillplayer-plugin/assets/samples/network-share/cases/library-empty-folder.json +0 -60
- package/skill/krillplayer-plugin/assets/samples/network-share/cases/library-folder-gives-size-and-modified-time.json +0 -78
- package/skill/krillplayer-plugin/assets/samples/network-share/cases/library-folder-gone-not-found.json +0 -60
- package/skill/krillplayer-plugin/assets/samples/network-share/cases/library-folder-second-page.json +0 -71
- package/skill/krillplayer-plugin/assets/samples/network-share/cases/library-read-a-range.json +0 -62
- package/skill/krillplayer-plugin/assets/samples/network-share/cases/library-read-an-info-file.json +0 -62
- package/skill/krillplayer-plugin/assets/samples/network-share/cases/library-read-file-gone-not-found.json +0 -62
- package/skill/krillplayer-plugin/assets/samples/network-share/cases/library-root.json +0 -84
- package/skill/krillplayer-plugin/assets/samples/network-share/cases/library-source-offline-retryable.json +0 -61
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"slot": "library",
|
|
3
|
-
"call": "list",
|
|
4
|
-
"args": [
|
|
5
|
-
""
|
|
6
|
-
],
|
|
7
|
-
"files": {
|
|
8
|
-
"entries": {
|
|
9
|
-
"电影/Big Buck Bunny (2008).mkv": {
|
|
10
|
-
"size": 734003200,
|
|
11
|
-
"modified": 1795748400
|
|
12
|
-
},
|
|
13
|
-
"电影/Big Buck Bunny (2008).srt": {
|
|
14
|
-
"content": "1\n00:00:01,000 --> 00:00:02,000\n你好\n",
|
|
15
|
-
"modified": 1795748401
|
|
16
|
-
},
|
|
17
|
-
"电影/Big Buck Bunny (2008).zh-Hant.ass": {
|
|
18
|
-
"content": "[Script Info]\n"
|
|
19
|
-
},
|
|
20
|
-
"电影/Big Buck Bunny (2008).nfo": {
|
|
21
|
-
"content": "<movie><title>Big Buck Bunny</title><year>2008</year></movie>"
|
|
22
|
-
},
|
|
23
|
-
"电影/Big Buck Bunny 2.mkv": {
|
|
24
|
-
"size": 10
|
|
25
|
-
},
|
|
26
|
-
"电影/Big Buck Bunny 2.srt": {
|
|
27
|
-
"content": ""
|
|
28
|
-
},
|
|
29
|
-
"电影/.DS_Store": {
|
|
30
|
-
"size": 6148
|
|
31
|
-
},
|
|
32
|
-
"Home Videos/2025": {
|
|
33
|
-
"directory": true,
|
|
34
|
-
"modified": 1795000000
|
|
35
|
-
},
|
|
36
|
-
"Home Videos/beach.MOV": {
|
|
37
|
-
"size": 1073741824
|
|
38
|
-
},
|
|
39
|
-
"Home Videos/interview.m4a": {
|
|
40
|
-
"size": 8388608
|
|
41
|
-
},
|
|
42
|
-
"Home Videos/interview.srt": {
|
|
43
|
-
"content": ""
|
|
44
|
-
},
|
|
45
|
-
"trailer.mp4": {
|
|
46
|
-
"size": 52428800
|
|
47
|
-
},
|
|
48
|
-
"readme.txt": {
|
|
49
|
-
"content": "hello"
|
|
50
|
-
},
|
|
51
|
-
"私人": {
|
|
52
|
-
"directory": true,
|
|
53
|
-
"error": "loginRequired"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"output": {
|
|
58
|
-
"entries": [
|
|
59
|
-
{
|
|
60
|
-
"type": "directory",
|
|
61
|
-
"path": "Home Videos",
|
|
62
|
-
"name": "Home Videos"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"type": "file",
|
|
66
|
-
"path": "trailer.mp4",
|
|
67
|
-
"name": "trailer.mp4",
|
|
68
|
-
"itemId": "trailer.mp4",
|
|
69
|
-
"media": "video",
|
|
70
|
-
"size": 52428800
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"type": "directory",
|
|
74
|
-
"path": "电影",
|
|
75
|
-
"name": "电影"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"type": "directory",
|
|
79
|
-
"path": "私人",
|
|
80
|
-
"name": "私人"
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"slot": "library",
|
|
3
|
-
"call": "list",
|
|
4
|
-
"args": [
|
|
5
|
-
""
|
|
6
|
-
],
|
|
7
|
-
"files": {
|
|
8
|
-
"entries": {
|
|
9
|
-
"电影/Big Buck Bunny (2008).mkv": {
|
|
10
|
-
"size": 734003200,
|
|
11
|
-
"modified": 1795748400
|
|
12
|
-
},
|
|
13
|
-
"电影/Big Buck Bunny (2008).srt": {
|
|
14
|
-
"content": "1\n00:00:01,000 --> 00:00:02,000\n你好\n",
|
|
15
|
-
"modified": 1795748401
|
|
16
|
-
},
|
|
17
|
-
"电影/Big Buck Bunny (2008).zh-Hant.ass": {
|
|
18
|
-
"content": "[Script Info]\n"
|
|
19
|
-
},
|
|
20
|
-
"电影/Big Buck Bunny (2008).nfo": {
|
|
21
|
-
"content": "<movie><title>Big Buck Bunny</title><year>2008</year></movie>"
|
|
22
|
-
},
|
|
23
|
-
"电影/Big Buck Bunny 2.mkv": {
|
|
24
|
-
"size": 10
|
|
25
|
-
},
|
|
26
|
-
"电影/Big Buck Bunny 2.srt": {
|
|
27
|
-
"content": ""
|
|
28
|
-
},
|
|
29
|
-
"电影/.DS_Store": {
|
|
30
|
-
"size": 6148
|
|
31
|
-
},
|
|
32
|
-
"Home Videos/2025": {
|
|
33
|
-
"directory": true,
|
|
34
|
-
"modified": 1795000000
|
|
35
|
-
},
|
|
36
|
-
"Home Videos/beach.MOV": {
|
|
37
|
-
"size": 1073741824
|
|
38
|
-
},
|
|
39
|
-
"Home Videos/interview.m4a": {
|
|
40
|
-
"size": 8388608
|
|
41
|
-
},
|
|
42
|
-
"Home Videos/interview.srt": {
|
|
43
|
-
"content": ""
|
|
44
|
-
},
|
|
45
|
-
"trailer.mp4": {
|
|
46
|
-
"size": 52428800
|
|
47
|
-
},
|
|
48
|
-
"readme.txt": {
|
|
49
|
-
"content": "hello"
|
|
50
|
-
},
|
|
51
|
-
"私人": {
|
|
52
|
-
"directory": true,
|
|
53
|
-
"error": "loginRequired"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"error": "retryable"
|
|
57
|
-
},
|
|
58
|
-
"error": {
|
|
59
|
-
"kind": "retryable"
|
|
60
|
-
}
|
|
61
|
-
}
|