Skip to content

Develop#659

Merged
ShaneIsrael merged 7 commits into
mainfrom
develop
Jun 9, 2026
Merged

Develop#659
ShaneIsrael merged 7 commits into
mainfrom
develop

Conversation

@ShaneIsrael

Copy link
Copy Markdown
Owner

This pull request introduces a new feature for rescanning and updating the dates of all images and videos in the library, improves the reliability of poster generation for videos, and enhances the webhook notification logic to ensure notifications are only sent when posters are ready. It also includes minor improvements to API security and metadata extraction.

New Feature: Date Rescanning

  • Added a backend API endpoint (/api/manual/rescan-dates) that re-extracts and overwrites the recorded_at field for all videos and the created_at field for all images, running the operation in a background thread for scalability.
  • Added a corresponding frontend button in the Settings page, with user feedback, to trigger the new date rescan operation. [1] [2] [3] [4]

Poster Generation and Webhook Improvements

  • Improved the create_poster utility to use fast keyframe seeking, added error handling and fallback logic, and made it return a success status.
  • Updated video scan and import logic to only send webhook notifications (Discord and generic) after confirming that the poster image for a video was successfully generated, logging warnings if not. [1] [2] [3]

Metadata Extraction

  • Changed image scanning to use extract_date_from_image_file for more accurate date extraction, instead of relying solely on file modification time.

API Security

  • Added @login_required to the Discord and generic webhook test endpoints to restrict access to authenticated users. [1] [2]

Version Bump

  • Incremented the frontend package version to 1.6.16 to reflect the new features and improvements. [1] [2]

@ShaneIsrael ShaneIsrael merged commit 1984ced into main Jun 9, 2026
8 of 9 checks passed
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.

1 participant