Skip to content

feat(logging): show file verification in progress - #8

Merged
naveedious merged 1 commit into
mainfrom
feat/integrity-verifying-logging
Aug 29, 2026
Merged

naveedious merged 1 commit into
mainfrom
feat/integrity-verifying-logging

Conversation

@naveedious

Copy link
Copy Markdown
Owner

Summary

  • Emits an integrity_verifying activity-log row (and SSE push) before ffprobe/ffmpeg runs, so the live log shows verification in progress, not just the outcome
  • Gated behind the existing integrity_log_checks toggle
  • Series title now passed through to ensureUpcomingEpisodes so rows carry the show name
  • UI: new Verifying… badge (muted blue) plus log filter options for Verifying / Integrity OK / Corrupt File

Changes

  • src/sonarr.js — emit integrity_verifying event pre-probe; accept seriesTitle param
  • src/watcher.js — pass series.title through
  • src/public/index.html — badge style, event label, filter entries

Test plan

  • node --test tests/*.test.js — 4/4 pass
  • node --check on modified JS files
  • Deployed image verified in container (post-merge)

- Log an integrity_verifying activity row (and SSE push) before ffprobe/ffmpeg
  runs, so the live log shows verification in progress, not just the result
- Gated behind the existing integrity_log_checks toggle
- Series title passed through to ensureUpcomingEpisodes so rows carry the show
- UI: Verifying… badge, muted style, log filter entries for
  Verifying / Integrity OK / Corrupt File
@naveedious
naveedious merged commit 1fd19d1 into main Aug 29, 2026
1 check 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