Skip to content

Commit

Permalink
[pHashDuplicateTagger] fix compare_encoding return value (#294)
Browse files Browse the repository at this point in the history
* [PDT] fix compare_encoding return value

return the better object

* [PDT] bump version
  • Loading branch information
leadwolfx authored Jun 2, 2024
1 parent 25ce987 commit f3ee199
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/phashDuplicateTagger/config_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def compare_encoding(self, other):
worse, better = self, other
worse.remove_reason = "video_codec"
return (
self,
better,
f"Prefer Codec {better.codec}({better.id}) over {worse.codec}({worse.id})",
)

Expand Down
2 changes: 1 addition & 1 deletion plugins/phashDuplicateTagger/phashDuplicateTagger.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "PHash Duplicate Tagger"
description: Will tag scenes based on duplicate PHashes for easier/safer removal.
version: 0.1.3
version: 0.1.4
url: https://github.com/stashapp/CommunityScripts/tree/main/plugins/phashDuplicateTagger
exec:
- python
Expand Down

0 comments on commit f3ee199

Please sign in to comment.