Skip to content

feat(refresh): implement adding file creation and modification date to database when creating new entries #1383

Open
JonathanGlixman wants to merge 1 commit into
TagStudioDev:mainfrom
JonathanGlixman:add_file_metadata
Open

feat(refresh): implement adding file creation and modification date to database when creating new entries #1383
JonathanGlixman wants to merge 1 commit into
TagStudioDev:mainfrom
JonathanGlixman:add_file_metadata

Conversation

@JonathanGlixman

Copy link
Copy Markdown

Summary

Implements adding file creation and modification date into the database for new entries during a library refresh, aligning with the v9.6.0 roadmap.

The entry generation logic has been extracted into a private helper method (__create_entry) to cleanly resolve absolute paths for OS stat extraction while keeping the list comprehension scannable.

Tasks Completed

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

@CyanVoxel CyanVoxel self-assigned this Jun 13, 2026
@CyanVoxel

Copy link
Copy Markdown
Member

Thank you for taking a look at the roadmap and wanting to contribute!

This is actually something I'm already actively working on in the file-metadata-table branch. That implementation also restructures the database to split off file metadata into its own tables, populates file metadata for all existing entries on top of new ones, and keeps that data updated on new scans. Here the file metadata is only added once for new entries, which is still incomplete as a feature implementation. But again, this is something I'm already working on and covering in that other branch, but I appreciate you looking to contribute!

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.

2 participants