mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
修复 剧集nfo文件刮削了错误的tmdb id
应使用剧集id而非剧id
This commit is contained in:
@@ -297,7 +297,8 @@ class TmdbScraper:
|
|||||||
uniqueid.setAttribute("type", "tmdb")
|
uniqueid.setAttribute("type", "tmdb")
|
||||||
uniqueid.setAttribute("default", "true")
|
uniqueid.setAttribute("default", "true")
|
||||||
# tmdbid
|
# tmdbid
|
||||||
DomUtils.add_node(doc, root, "tmdbid", str(tmdbid))
|
# 应与uniqueid一致 使用剧集id 否则jellyfin/emby会将此id覆盖上面的uniqueid
|
||||||
|
DomUtils.add_node(doc, root, "tmdbid", str(episodeinfo.get("id")))
|
||||||
# 标题
|
# 标题
|
||||||
DomUtils.add_node(doc, root, "title", episodeinfo.get("name") or "第 %s 集" % episode)
|
DomUtils.add_node(doc, root, "title", episodeinfo.get("name") or "第 %s 集" % episode)
|
||||||
# 简介
|
# 简介
|
||||||
|
|||||||
Reference in New Issue
Block a user