Update core.py
plex不能使用预告片功能,有trailer导致plex无法识别nfo文件,这里做个判断
This commit is contained in:
3
core.py
3
core.py
@@ -466,7 +466,8 @@ 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)
|
||||
print(" <trailer>" + trailer + "</trailer>", file=code)
|
||||
if config.Config().is_trailer():
|
||||
print(" <trailer>" + trailer + "</trailer>", file=code)
|
||||
print(" <website>" + website + "</website>", file=code)
|
||||
print("</movie>", file=code)
|
||||
print("[+]Wrote! " + path + "/" + number + part + c_word + ".nfo")
|
||||
|
||||
Reference in New Issue
Block a user