Repository navigation
v1.20.1-rc.2 (Release Candidate)
Pre-release
Pre-release
Fixed
- Wanted scans on large libraries never completed (#248) — A full scan
that needed longer than the job's two-hour ceiling was stopped, pruned
nothing and kept its watermark, so every following scan was full again and
stopped again; rows for moved or deleted files stayed forever. A stopped
full scan now resumes where it stopped on the next run, and the pass
finished in parts prunes against everything its parts covered. A stopped
scan also still removes rows whose file is gone or whose subtitle is
already there, stops between series instead of fetching and probing the
rest only to discard it, and releases the scan lock before its final
report, so a stalled report no longer answers every refresh with 409.
Thanks @Svnow132 for the detailed report. - A Sonarr hiccup could delete a series' wanted items — When Sonarr did
not answer the episode list of one series during a full scan, the scan saw
that series as empty and its cleanup removed all its wanted items (one
series never trips the cleanup fuse). Its items are now kept. - Dubtitle sweep only ever looked at the first 1,600 files — Every run read
the same alphabetically first paths, so a larger library was never covered.
The sweep now continues where the last run stopped. - Standalone: a profile read error deleted pending items — The scan fell
back to the global language and "no forced subtitles" and dropped the
pending items of the title's real languages. A title whose profile cannot be
read is now skipped and logged. - Standalone: deleted or moved films stayed in the library — Films whose
file is gone are now removed with their wanted items (only under enabled,
reachable watched folders); a moved film no longer shows up twice. - "Already running" until a restart — The dedup scan, the subtitle repair,
the wrong-episode requeue and the MT approval batch now release their
running flag when their background worker cannot be started. - Foreign-track sweep never finished on slow storage — Every run walked
the library from the start; a walk longer than the job's two hours (a
Raspberry Pi, a slow network share, a very large library) was stopped every
time, so the sweep never got past it. A stopped walk now continues where it
stopped. Files in a folder the walk cannot read keep their cached result
instead of being treated as deleted. - A stopped wanted scan waited for every probe of the current series —
Probes not yet started are now dropped when the scan is asked to stop. - MT: a profile read error deleted the wanted item — With "keep seeking
the original" on, the item was deleted instead of kept provisional when the
profile could not be read. It is now left alone until the profile reads. - Scheduler: a stalled history write blocked the job — The run-history
row is now written after the job lock is released. - An offline share deleted its library's items — Cleanups treated every
file they could not see as deleted: a NAS that dropped, an I/O error or a
share that was not mounted removed wanted items (up to the fuse), standalone
series, movies and episode ids, download history and probe cache entries. A
file now counts as deleted only when the disk vouches for it; unreadable or
unmounted ones are kept. A full wanted scan also keeps the items of episodes
it could not read, and standalone cleanups only judge enabled watched
folders. A disk whose mount folder disappears on unmount (udisks under
/media, autofs) is treated as off, not deleted. - Standalone: a large first folder starved the others — Folders are now
scanned least recently scanned first, so a pass the scheduler stops after a
slow first folder continues with the next one. - MT re-seek starved behind pinned items — Pinned items and items whose
profile stopped seeking no longer hold the front of every batch. - Several Sonarr or Radarr instances — Profile assignments are keyed by the
title id, which two instances number independently. While more than one
instance is configured, the scan no longer drops items for languages "not in
the profile", since that profile may belong to another instance's title. - Windows path mappings ignored case —
D:\TVandd:\tvnow map the same. - Lighter on small hardware — The upgrade scan reads four columns instead
of whole download rows and commits in batches; a large series' episode ids
are written in one transaction; the wrong-episode audit loads only the
newest download per file; the probe-cache cleanup deletes in chunks below
SQLite's parameter limit. - "Keep seeking the original" never sought it for translated ASS — The
scan filed an item served by Sublarr's own .ass translation as provisional,
and the cleanup right after it removed the item because an .ass was there.
Every full scan added and removed the same items (about 1,600 on a test
library) and the re-seek never saw them. The cleanup now keeps them. An
embedded track next to our own .ass no longer sends the item into an
extraction that never writes beside an .ass. - Provenance lookups scanned the whole download history — The index on
subtitle_downloads.file_pathis back (migration), so scans and cleanups
no longer read the full table once per file.