Update core.py
plex不能使用预告片功能,有trailer导致plex无法识别nfo文件,这里做个判断
This commit is contained in:
1
core.py
1
core.py
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user