diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-10-24 09:33:49 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-10-24 09:33:49 +0000 |
| commit | f5bf05bbc0480a7edcd098a8e40c6c16af5d5f68 (patch) | |
| tree | 05208e8a3ad180457b0a3619e9da2b1a29568cda /app | |
| parent | cd497f8972ab9a5225813f2106f89f255a291c35 (diff) | |
Fix the shadow run: resolve audio paths, and survive a bad file
The first real shadow run died on its first batch. Two faults, and
the second is the one worth keeping.
store.Episode.Path is relative to the audio directory. Detection joins
it before handing it to the decoder and this did not, so ffmpeg went
looking in the working directory and found nothing.
Then that single failure aborted the whole show's learning. Every
other per-item loop in this server isolates one item's failure --
the refresh sweep, the poll loop, the detection pass all say so in
their own comments -- and this one propagated instead. An unreadable
episode is now counted and stepped over.
Counted once per episode rather than once per failure: a file that
cannot be read fails both the matching pass and the harvesting pass,
and reporting it twice would overstate the damage.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018AwnALZL6bD4VBtATDVv3B
Diffstat (limited to 'app')
0 files changed, 0 insertions, 0 deletions
