Skip to content

Conversation

@mm12
Copy link

@mm12 mm12 commented Nov 15, 2025

closes #1203

Summary

This adds a macro that allows users to convert information in file paths into fields for those files.

New menu item:
image

Upon selection, the user is presented with the following window:
image

Which can be used to populate fields:
image image

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality
    • PyInstaller executable

TODOs

  • Look into ** TODO items suggested by code review
  • QOL: Do something about the logging of data on each update
    • Perhaps tell the user which item it is on in the preview, some update indicator
    • Hopefully this also prevents the program from going into a "not responding" status, otherwise explicit reports to watchdog may be needed.
  • Bug: Multiline fields should display multiline text boxes and properly handle newlines.
  • Bug: Allowing multiple of the same field type should work
  • Feat: Ability to save presets of pattern?
    • It would probably be better to put this off for the future.
    • Perhaps providing presets for common naming schemes (such as camera timestamps) would be good.
  • Feat: Format regex for readability? (particularly for escaped / and . characters, possible disallowed characters. In addition, highlighting groupings might be helpful). might be better to make this part of bigger text input fixup to avoid feature creep.
  • Feat: Something for tags? unlikely (feature creep), but would be nice to have. Like if we allowed items parsed here to be added to tags.
  • Make sure we don't reapply fields to items. Will need to figure out a good way to do this without fully disallowing changes on items that have fields already
  • Add documentation to site

mm12 added 2 commits November 15, 2025 17:33
 * Enable multi-line input for multi-line text fields

 * Allow multiple fields of the same type to be added
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

Successfully merging this pull request may close these issues.

[Feature Request]: Adding fields based on paths

1 participant