CommunityScripts
CommunityScripts copied to clipboard
renamerOnUpdate Checksum, oshash options not working.
A working fix was posted to discord by another user -- the checksum and oshash fields aren't being replaced.
https://discord.com/channels/559159668438728723/742220889017417738/1222363718785044592
bump Fix from Discord worked for me.
For the record:
old
for f in scene_file["fingerprints"]:
if f.get("oshash"):
stash_scene["oshash"] = f["oshash"]
if f.get("md5"):
stash_scene["checksum"] = f["md5"]
if f.get("checksum"):
stash_scene["checksum"] = f["checksum"]
fixed
for f in scene_file["fingerprints"]:
if f.get("type") == "oshash":
stash_scene["oshash"] = f["value"]
if f.get("type") == "md5":
stash_scene["checksum"] = f["value"]
if f.get("type") == "checksum":
stash_scene["checksum"] = f["value"]