[Plugin/renamer] Fix issue #37C

This commit is contained in:
bill
2022-01-21 13:09:41 +02:00
parent e3584bdc16
commit 15e13d9a84
2 changed files with 2 additions and 2 deletions

View File

@@ -605,7 +605,7 @@ if PLUGIN_ARGS == "Process_dry":
with open(FILE_DRYRUN_RESULT, 'r') as f:
for line in f:
scene_id_file = line.split("|")[0]
scenes["scenes"].append(scene_id_file)
scenes["scenes"].append({"id": scene_id_file})
else:
exit_plugin(err="Can't find the file from the dry-run ({}). Be sure to run a Dry-Run task before.".format(FILE_DRYRUN_RESULT))

View File

@@ -1,7 +1,7 @@
name: renamerTask
description: Rename filename based to a template.
url: https://github.com/stashapp/CommunityScripts
version: 1.0
version: 1.1
exec:
- python
- "{pluginDir}/renamerTask.py"