CommunityScripts icon indicating copy to clipboard operation
CommunityScripts copied to clipboard

[RenamerOnUpdate] Does not respect performer rating when it's a 100.

Open phhemberg opened this issue 1 year ago • 0 comments

Hallo,

I think i may have found a bug in the RenamerOnUpdate plugin version 2.5.0-2ac142b.

I have set the performer_limit=1 and performer_sort = "rating".

I have a scene with two performers: Performer 1 - Rating 5 (star) Performer 2 - Rating 1 (star)

In my template path i have:

"TAG": r"/somepath/performer/$performer/$studio_hierarchy/$year"

I would presume that the above file should be moved to: /somepath/performer/Performer 1/studio_hierarchy/year

But it's actually moved to: /somepath/performer/Performer 2/studio_hierarchy/year

When it re-rate performer 1 to fx. 4.5 stars and run the triggar once again, is't move correctly to: /somepath/performer/Performer 1/studio_hierarchy/year

Seems like the highst score is not a valid score for the python script.

I'm running stash version v0.26.2 and plugin version 2.5.0-2ac142b on a linux rhel OS. Everything else works and it has worked in the past. I believe this bug was introduced with latest update.

phhemberg avatar Aug 14 '24 20:08 phhemberg