jellyfin-plugin-metatube icon indicating copy to clipboard operation
jellyfin-plugin-metatube copied to clipboard

[Bug] 手动刮削参数拼接问题

Open newcoderlife opened this issue 5 months ago • 1 comments

Verify steps

  • [x] Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
  • [x] I have read the Wiki, especially the FAQ page.
  • [x] I have searched on the issue tracker for a related issue.

MetaTube Plugin Version

2025.410.110.0

MetaTube Server Version

v1.3.1-754f637

What OS are you seeing the problem on?

No response

Description

在 Jellyfin 上手动触发刮削,填入 Metatube 影片ID(番号),会把番号拼在 provider 上。此时服务端日志打印 request 为:

[GIN] 2025/06/15 - 19:14:30 | 400 |     195.314µs |  x.x.x.x | GET      "/v1/movies/search?provider=SMA-247&fallback=True"

通过 curl 手动触发,请求报错:

{"error":{"code":400,"message":"Key: 'searchQuery.Q' Error:Field validation for 'Q' failed on the 'required' tag"}}

阅读 server 代码推测(我并不太懂 C#),实际请求应为:"/v1/movies/search?q=SMA-247&fallback=true",通过 curl 验证确实能取得正确结果。

复现方式:Jellyfin 点击“刮削元数据”,填入番号并点击搜索即可复现。 Image

MetaTube Server

No response

Jellyfin/Emby Logs

No response

MetaTube Server Logs

No response

How to Reproduce

No response

newcoderlife avatar Jun 15 '25 19:06 newcoderlife