mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Add phash generation and dupe checking (#1158)
This commit is contained in:
@@ -219,10 +219,24 @@ export const SceneFileInfoPanel: React.FC<ISceneFileInfoPanelProps> = (
|
||||
);
|
||||
}
|
||||
|
||||
function renderPhash() {
|
||||
if (props.scene.phash) {
|
||||
return (
|
||||
<div className="row">
|
||||
<abbr className="col-4" title="Perceptual hash">
|
||||
PHash
|
||||
</abbr>
|
||||
<TruncatedText className="col-8" text={props.scene.phash} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="container scene-file-info">
|
||||
{renderOSHash()}
|
||||
{renderChecksum()}
|
||||
{renderPhash()}
|
||||
{renderPath()}
|
||||
{renderStream()}
|
||||
{renderFileSize()}
|
||||
|
||||
Reference in New Issue
Block a user