Update core.py

plex不能使用预告片功能,有trailer导致plex无法识别nfo文件,这里做个判断
This commit is contained in:
Feng4
2021-01-09 22:32:33 +08:00
committed by GitHub
parent d54f293ee8
commit 92d9786257

View File

@@ -466,6 +466,7 @@ def print_files(path, c_word, naming_rule, part, cn_sub, json_data, filepath, fa
print(" <num>" + number + "</num>", file=code)
print(" <premiered>" + release + "</premiered>", file=code)
print(" <cover>" + cover + "</cover>", file=code)
if config.Config().is_trailer():
print(" <trailer>" + trailer + "</trailer>", file=code)
print(" <website>" + website + "</website>", file=code)
print("</movie>", file=code)