dsh-movie-workbench 1.0.3 → 1.4.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 CHANGED
@@ -2,18 +2,18 @@
2
2
 
3
3
  # dsh-movie-workbench
4
4
 
5
- A DeepSeek Harness plugin that adds a **Movies workbench** panel to the left sidebar:
6
- search movies and TV series across **TMDB**, **IMDb** and **DouBan** on a single page, and find BT
7
- resources.
5
+ DSH **Movies workbench** : Search for movies and TV series from **TMDB**, **IMDb** and **Douban** on one page and automatically discover BT resources.
8
6
 
9
- ![alt text](https://raw.githubusercontent.com/aidc-lab/dsh-movie-workbench/main/docs/home.png)
10
-
11
- ![alt text](https://raw.githubusercontent.com/aidc-lab/dsh-movie-workbench/main/docs/detail.png)
7
+ | ![alt text](https://raw.githubusercontent.com/aidc-lab/dsh-movie-workbench/main/docs/home.png) | ![alt text](https://raw.githubusercontent.com/aidc-lab/dsh-movie-workbench/main/docs/detail.png) |
8
+ |------|------|
12
9
 
13
10
  ## Features
14
11
 
15
12
  - **Film & TV search** — results grouped by channel, with posters, years, ratings and source links.
16
- - **Trending** — each channel's popular movies and TV series.
13
+ - **Trending** — each channel's popular movies and TV series on the home page; the row length follows the panel width so every channel fills exactly two rows, and it re-requests on resize.
14
+ - **Channel browse** — open any channel for its own page with category tabs (TMDB: This week /
15
+ Movies / TV; IMDb: Featured / Movies / TV; DouBan: Popular / Movies / TV) and infinite scroll for
16
+ the next pages.
17
17
  - **BT resources** — search BT resources, sortable by size, seeders or downloads; copy the magnet
18
18
  link or open the source page.
19
19
 
@@ -24,7 +24,7 @@ resources.
24
24
  Paste the plugin's GitHub repository URL
25
25
  `https://github.com/aidc-lab/dsh-movie-workbench.git` into the input field, as shown below.
26
26
 
27
- ![alt text](https://raw.githubusercontent.com/aidc-lab/dsh-movie-workbench/main/docs/image.png)
27
+ ![alt text](https://raw.githubusercontent.com/aidc-lab/dsh-movie-workbench/main/docs/install.png)
28
28
 
29
29
  ### From the CLI
30
30
 
@@ -55,6 +55,7 @@ The Host side (`index.js` + `lib/`) exposes a single prefix route, `/movie-workb
55
55
  | `GET /status` | whether each channel has credentials |
56
56
  | `GET /search?q=&source=&lang=` | dispatch to the selected channels and return normalized results |
57
57
  | `GET /trending?source=&lang=&limit=` | recommendation rows, or a longer list for one channel |
58
+ | `GET /browse?source=&category=&page=&cursor=&lang=` | one page (20 items) of a channel browse category; returns `hasMore` and, for IMDb, an opaque `next` cursor for infinite scroll |
58
59
  | `GET /detail?source=douban&id=` | synopsis and metadata for a DouBan title |
59
60
  | `GET /torrents?q=&alt=&source=&limit=` | BT resource search |
60
61
  | `GET /image?url=` | proxy posters from allowlisted image hosts |
@@ -78,9 +79,12 @@ panel (stored only in the local browser). IMDb and DouBan need no key.
78
79
  ## Notes
79
80
 
80
81
  - Requires the DSH Web GUI (it provides `ctx.webServer`) and access to `api.themoviedb.org`,
81
- `v2.sg.media-imdb.com`, `movie.douban.com`, `bt4gprx.com`, `bitsearch.to` and the poster image
82
- hosts.
82
+ `v2.sg.media-imdb.com`, `api.graphql.imdb.com`, `movie.douban.com`, `bt4gprx.com`,
83
+ `bitsearch.to` and the poster image hosts.
83
84
  - IMDb search results carry no rating; DouBan recommendations include the public `rate`; TMDB
84
85
  provides ratings and vote counts.
86
+ - Channel browse pages return 20 items per page and stop at page 100. IMDb browse pages are
87
+ cursor paged through IMDb's browser GraphQL popularity index, so scrolling keeps loading new
88
+ titles; the home Trending row still uses a curated seed list, which is why it is limited.
85
89
  - suggestion, rexxar, BT4G and BitSearch are undocumented endpoints and may change or rate-limit;
86
90
  failures are surfaced per channel and do not affect the others.
package/README.zh.md CHANGED
@@ -2,17 +2,17 @@
2
2
 
3
3
  # dsh-movie-workbench
4
4
 
5
- 一个 DeepSeek Harness 插件,在左侧栏加入 **影视工作台** 面板:
6
- 在一个页面里检索 **TMDB**、**IMDb** 和 **豆瓣** 的电影与剧集,并查找 BT 资源。
5
+ DSH **影视工作台**:在一个页面里检索 **TMDB**、**IMDb** 和 **豆瓣** 的电影与剧集,自动发现 BT 资源。
7
6
 
8
- ![alt text](https://raw.githubusercontent.com/aidc-lab/dsh-movie-workbench/main/docs/home.png)
9
-
10
- ![alt text](https://raw.githubusercontent.com/aidc-lab/dsh-movie-workbench/main/docs/detail.png)
7
+ | ![alt text](https://raw.githubusercontent.com/aidc-lab/dsh-movie-workbench/main/docs/home.png) | ![alt text](https://raw.githubusercontent.com/aidc-lab/dsh-movie-workbench/main/docs/detail.png) |
8
+ |------|------|
11
9
 
12
10
  ## 功能
13
11
 
14
12
  - **影视搜索** — 结果按渠道分组,含海报、年份、评分与来源链接。
15
- - **热门推荐** — 展示各渠道热门推荐影视。
13
+ - **热门推荐** — 首页展示各渠道热门推荐影视;每行数量随面板宽度自适应,正好铺满两行,窗口尺寸变化时自动重新请求。
14
+ - **渠道浏览** — 点进渠道进入独立页面,按分类标签切换(TMDB:本周趋势 / 电影 / 剧集;
15
+ IMDb:精选作品 / 电影 / 剧集;豆瓣:热门推荐 / 电影 / 剧集),下滑自动加载下一页。
16
16
  - **BT 资源** — 查找 BT 资源,可按大小、做种、下载排序;可复制磁力链接或打开来源页。
17
17
 
18
18
  ## 安装
@@ -21,7 +21,7 @@
21
21
 
22
22
  直接将插件的GitHub仓库地址 `https://github.com/aidc-lab/dsh-movie-workbench.git` 拷贝到输入框中,如下图。
23
23
 
24
- ![alt text](https://raw.githubusercontent.com/aidc-lab/dsh-movie-workbench/main/docs/image.png)
24
+ ![alt text](https://raw.githubusercontent.com/aidc-lab/dsh-movie-workbench/main/docs/install.png)
25
25
 
26
26
  ### 通过命令行
27
27
 
@@ -51,12 +51,14 @@ Host 端(`index.js` + `lib/`)只有一个前缀路由 `/movie-workbench/api`
51
51
  | `GET /status` | 各渠道是否已配置凭据 |
52
52
  | `GET /search?q=&source=&lang=` | 分发到所选渠道并返回归一化结果 |
53
53
  | `GET /trending?source=&lang=&limit=` | 推荐行,或单个渠道的更长列表 |
54
+ | `GET /browse?source=&category=&page=&cursor=&lang=` | 渠道浏览分类的一页(20 条),返回 `hasMore` 与 IMDb 的不透明 `next` 游标用于无限加载 |
54
55
  | `GET /detail?source=douban&id=` | 豆瓣条目的简介与元数据 |
55
56
  | `GET /torrents?q=&alt=&source=&limit=` | BT 资源搜索 |
56
57
  | `GET /image?url=` | 代理白名单图床的海报 |
57
58
 
58
59
  所有上游 HTTP 请求都在 Host 完成,因此页面保持同源,豆瓣的 `Referer` 要求也在服务端
59
- 处理。
60
+ 处理。IMDb 浏览页通过 IMDb 的浏览器 GraphQL 接口做游标分页,可以一直下滑加载新条目;
61
+ 首页推荐行仍使用固定精选列表,因此数量有限。
60
62
 
61
63
  ## 配置
62
64
 
@@ -77,5 +79,7 @@ TMDB 需要凭据:可设置 `tmdbApiKey`,或在面板的 Key 控件里粘贴
77
79
  `api.themoviedb.org`、`v2.sg.media-imdb.com`、`movie.douban.com`、`bt4gprx.com`、
78
80
  `bitsearch.to` 及海报图床。
79
81
  - IMDb 搜索结果没有评分;豆瓣推荐带公开的 `rate`;TMDB 提供评分与票数。
82
+ - 渠道浏览每页 20 条、最多 10 页;IMDb 浏览页基于精选种子列表经 suggestion API 解析,
83
+ 因此一页可能不足 20 条。
80
84
  - suggestion、rexxar、BT4G 与 BitSearch 都是未公开接口,可能变更或限流;失败时按渠道
81
85
  单独提示,不影响其他渠道。