Skip to content

Commit

Permalink
Merge pull request #1 from LSD08KM/main_edit
Browse files Browse the repository at this point in the history
2处参数错误
  • Loading branch information
LSD08KM authored Feb 10, 2023
2 parents fee7873 + 05b5904 commit d559d4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Movie_Data_Capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ def set_bool_or_none(sk, value):
set_str_or_none("common:source_folder", args.path)
set_bool_or_none("common:auto_exit", args.auto_exit)
set_natural_number_or_none("common:nfo_skip_days", args.days)
set_natural_number_or_none("common:stop_counter", args.cnt)
set_natural_number_or_none("advenced_sleep:stop_counter", args.cnt)
set_bool_or_none("common:ignore_failed_list", args.ignore_failed_list)
set_str_or_none("common:rerun_delay", args.delaytm)
set_str_or_none("advenced_sleep:rerun_delay", args.delaytm)
set_str_or_none("priority:website", args.site)
if isinstance(args.dnimg, bool) and args.dnimg:
conf.set_override("common:download_only_missing_images=0")
Expand All @@ -119,7 +119,7 @@ def set_bool_or_none(sk, value):
if conf.main_mode() == 3:
no_net_op = args.no_network_operation
if no_net_op:
conf.set_override("common:stop_counter=0;rerun_delay=0s;face:aways_imagecut=1")
conf.set_override("advenced_sleep:stop_counter=0;advenced_sleep:rerun_delay=0s;face:aways_imagecut=1")

return args.file, args.number, args.logdir, args.regexstr, args.zero_op, no_net_op, args.specified_source, args.specified_url

Expand Down
4 changes: 2 additions & 2 deletions core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1027,5 +1027,5 @@ def core_main(movie_path, number_th, oCC, specified_source=None, specified_url=N

# 最后输出.nfo元数据文件,以完成.nfo文件创建作为任务成功标志
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, fanart_path, poster_path,
_4k, thumb_path)
tag, json_data.get('actor_list'), liuchu, uncensored, hack, hack_word, _4k, fanart_path, poster_path,
thumb_path)

0 comments on commit d559d4a

Please sign in to comment.