Add ISO mark

This commit is contained in:
yoshiko2
2023-06-10 00:34:21 +08:00
parent e10cf02347
commit 13af581e94
2 changed files with 8 additions and 6 deletions

BIN
Img/ISO.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

View File

@@ -347,7 +347,8 @@ def print_files(path, leak_word, c_word, naming_rule, part, cn_sub, json_data, f
print("<movie>", file=code) print("<movie>", file=code)
if not config.getInstance().jellyfin(): if not config.getInstance().jellyfin():
print(" <title><![CDATA[" + naming_rule + "]]></title>", file=code) print(" <title><![CDATA[" + naming_rule + "]]></title>", file=code)
print(" <originaltitle><![CDATA[" + json_data['original_naming_rule'] + "]]></originaltitle>", file=code) print(" <originaltitle><![CDATA[" + json_data['original_naming_rule'] + "]]></originaltitle>",
file=code)
print(" <sorttitle><![CDATA[" + naming_rule + "]]></sorttitle>", file=code) print(" <sorttitle><![CDATA[" + naming_rule + "]]></sorttitle>", file=code)
else: else:
print(" <title>" + naming_rule + "</title>", file=code) print(" <title>" + naming_rule + "</title>", file=code)
@@ -1025,5 +1026,6 @@ def core_main(movie_path, number_th, oCC, specified_source=None, specified_url=N
# 最后输出.nfo元数据文件以完成.nfo文件创建作为任务成功标志 # 最后输出.nfo元数据文件以完成.nfo文件创建作为任务成功标志
print_files(path, leak_word, c_word, json_data.get('naming_rule'), part, cn_sub, json_data, movie_path, print_files(path, leak_word, c_word, json_data.get('naming_rule'), part, cn_sub, json_data, movie_path,
tag, json_data.get('actor_list'), liuchu, uncensored, hack, hack_word, _4k, fanart_path, poster_path, tag, json_data.get('actor_list'), liuchu, uncensored, hack, hack_word, _4k, fanart_path,
poster_path,
thumb_path) thumb_path)