Skip to content

Commit

Permalink
variable name error - vrezh->vrez_height in replace function
Browse files Browse the repository at this point in the history
  • Loading branch information
yajrendrag committed Oct 1, 2024
1 parent c403be8 commit 7fd7518
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions source/rename_file/changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

**<span style="color:#56adda">0.0.10</span>**
- fix error in replace function variable - vrezh->vrez_height

**<span style="color:#56adda">0.0.9</span>**
- add option to use non-standard resolution based on height only and field_order value
- cleaned up logger output and made consistent between replace and append modes
Expand Down
2 changes: 1 addition & 1 deletion source/rename_file/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
"on_postprocessor_task_results": 0
},
"tags": "rename, postprocessor",
"version": "0.0.9"
"version": "0.0.10"
}
2 changes: 1 addition & 1 deletion source/rename_file/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def replace(data, settings, abspath, streams):
if not non_std_rez:
logger.info("Leaving video resolution as WxH - cannot match to standard resolution: '{}'".format(vrez))
else:
vrez = str(vrezh) + "p"
vrez = str(vrez_height) + "p"
if field_order != "progressive": vrez = vrez.replace("p","i")
logger.info("using non standard resolution name - cannot match to standard resolution: '{}'".format(vrez))

Expand Down

0 comments on commit 7fd7518

Please sign in to comment.