Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{Question/Feature} about Metadata Match Mode #41

Open
twist3dimages opened this issue Mar 8, 2024 · 1 comment
Open

{Question/Feature} about Metadata Match Mode #41

twist3dimages opened this issue Mar 8, 2024 · 1 comment
Assignees

Comments

@twist3dimages
Copy link

twist3dimages commented Mar 8, 2024

I am seeing it bases it off the file size (which may be why I had this issue https://github.com/ALonelyJuicebox/OFMetadataToStash/issues/30 )

I have all my videos converted to HEVC via Tdarr. is that why the files are matching correctly for the photos but not videos?

@ALonelyJuicebox
Copy link
Owner

ALonelyJuicebox commented Mar 9, 2024

Ahh...that would do it. I'll come up with a way of accounting for that in the next release.
In fact, if you're desperate for an immediate fix, set scan specificity mode to "high" and change line 875 in the script to the code below. Scan mode "high" will ask the script to match on the base filename, and the modified code below removes the filesize search that it normally does.

querySQL(sql: "SELECT folders.path, files.basename, files.size, files.id AS files_id, folders.id AS folders_id, scenes.id AS scenes_id, scenes.title AS scenes_title, scenes.details AS scenes_details FROM files JOIN folders ON files.parent_folder_id=folders.id JOIN scenes_files ON files.id = scenes_files.file_id JOIN scenes ON scenes.id = scenes_files.scene_id WHERE files.basename ='''+$OFDBfilenameForQuery+''") {

@ALonelyJuicebox ALonelyJuicebox self-assigned this Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants