Repository navigation
Sublarr v1.18.0
·
120 commits
to master
since this release
Added
- Standalone series and movies use their own language profile — A
profile assigned to a standalone series or movie on the Library or movie
page was ignored almost everywhere: the scan, the series page, searches,
provider and scoring choice, the translation backend and the glossary all
used the default profile. They now use the title's profile. The series
page and the Library show it. - Subtitle health covers standalone series — The series health scan and
the nightly health sweep did nothing without Sonarr. They now scan the
episodes of standalone series too, also next to Sonarr. - Rescanning a single standalone title — Asking the Wanted scanner to
rescan one standalone series or movie answered "Sonarr not configured"; it
now rescans that series folder or movie file.
Fixed
- Every standalone episode keeps its id — An episode that already had all
its subtitles got a placeholder id, so its Tracks, Health, Combine and
subtitle actions answered "not found", and the other episodes' ids changed
with every rescan. Each episode file now has a permanent id, and all
episode actions work for every episode. - Standalone and Sonarr/Radarr titles no longer mix — With Sonarr or
Radarr configured next to watched folders, a standalone series or movie
could pick up the settings, profile, glossary or cleanup switch of the
Sonarr series or Radarr movie with the same number, and a Radarr movie
page could show a standalone movie instead. The settings overview of a
Sonarr series or Radarr movie could also carry the name of a standalone
title with the same number. Standalone titles now have their own ids, and
pages, names and settings stay with the right title. - Fewer false "subtitle of another episode" findings for standalone
anime — The repair scan flagged releases that count episodes from the
start of the show ("One Piece - 892" for season 21 episode 1). It now
uses the AniDB episode number when it knows it and leaves such numbers
alone for anime otherwise. Real mix-ups are still found. - Standalone files are checked where they are used — A standalone
episode or movie file is only used when it still lies inside its series
folder or a watched folder, also after a symlink was changed. - Existing standalone settings keep working, nothing is moved — Profiles,
settings, glossary terms and fansub preferences saved for standalone
series and movies before 1.18 stay where they are; no upgrade step
rewrites them. A standalone title keeps using them as long as Sonarr (for
series) or Radarr (for movies) is not configured and nothing shows it ever
was (a saved Sonarr/Radarr address, or wanted items, translation jobs or
queue entries with Sonarr/Radarr ids). New changes are stored per title:
the first change copies the title's old settings along, so the others are
kept. With Sonarr or Radarr configured, its settings are never used for a
standalone title with the same number. - The absolute-order switch of a standalone series stays on — The
standalone series page always showed the AniDB absolute-order switch as
off after a reload, although the setting was saved and used. It now shows
the saved value. - The series health scan saves its results — Scanning a whole series
for subtitle problems ran without access to the database. For a standalone
series it stopped before scanning anything, and for a Sonarr series the
results were not saved, so the episode pages did not show them afterwards.
The scan now finishes and saves its findings for both. - A new standalone title no longer inherits a deleted title's settings —
On SQLite, a series or movie added after another one was deleted could get
the deleted title's number, and with it its language profile, its
settings (including the switch that removes foreign audio and subtitle
tracks) and its glossary terms. Numbers are no longer reused, and deleting
a standalone title now also deletes its profile assignment, settings,
fansub preferences and glossary terms. The upgrade makes sure no number of
an earlier deleted title is handed out again. - The series health scan finds Sonarr's files and their sidecars — The
scan of a whole Sonarr series, and the nightly sweep, used Sonarr's own
file paths without the path mapping, so with a mapping (for example
/tv→/media) they checked no episode at all and still reported
success. They also ignored subtitle files next to the video, reported
those episodes as missing a language and overwrote the findings of a
single-episode scan. All scans now open the same files, and a series
scan that finds no file says so. The nightly sweep now resumes where it
stopped the night before instead of starting over at the first series,
and pauses itself before its time limit instead of being cut off with
an error. - Health scans report their progress — The progress and finish events
of a series health scan were dropped, so the page never learned that the
scan was done. It now shows a message when the scan finishes. Three
other events (batch processing and a failed wanted search) were dropped
the same way and now reach the UI, hooks and webhooks. - Removing a watched folder removes its titles — Deleting a watched
folder left its series and movies in the library. They are now removed
with their wanted items, settings and health findings, unless another
watched folder still covers them (also through a symlink or as a season
folder of the series). If a remaining folder cannot be read, nothing is
removed. A scan that is running while the folder is removed no longer
brings its titles or their wanted items back, and a scan requested
during a running scan is no longer dropped but runs once the current one
ends. Removing the same folder twice at once no longer fails. Files on
disk are never touched. - Changing a watched folder's path no longer duplicates it — Saving a
watched folder with a new path created a second folder and left the old
one unchanged. The folder is now updated in place, and a path another
folder already uses is refused. - The settings overview of a Sonarr series or Radarr movie loads — A
Sonarr series or Radarr movie with no saved settings and no wanted items
showed "not found" in its settings overview. It now shows the inherited
values. - Health turns unhealthy when the database upgrade fails — When the
database upgrade at startup failed, Sublarr kept running on the old
schema and still reported itself healthy./api/v1/healthnow answers
503 "unhealthy" with the reason, so Docker marks the container unhealthy,
and the dashboard shows a red banner. - Recap files are not taken for the episode before them — A subtitle
named like "Show - 11.5.srt" (a recap between episodes 11 and 12) could
be saved for episode 11. The recap number is now also recognised right
before the file extension. - OpenSubtitles gives no series bonus for an episode title — When
OpenSubtitles named another series as the parent but no IMDb id, an
episode whose own title matched the searched series still counted as
the right series and was ranked too high. - Phone layout — Settings pages, Settings → Connections (where the
watched-folder buttons could not be tapped), series pages (the episode
list scrolls on its own), Activity and Logs no longer scroll sideways on
a phone. Series with many seasons get a
scrollable season strip on every screen size. - German UI — The series page stats, the season summary, "Add instance",
the Connections breadcrumb and the "Advanced" badge were English in the
German interface (or German in the English one) and are now translated.
Security
- Standalone files outside the media folder are no longer touched — A
standalone series folder that was a symlink out of the media folder let
search, download, the health scan and the nightly health auto-fix read and
rewrite subtitle files outside it. Every standalone episode and movie file,
and every sidecar the auto-fix rewrites, must now also lie inside the media
folder. The scanner and the folder watcher no longer pick up files behind
symlinks that lead outside it (one log line says how many were skipped),
and a watched folder that itself leads outside it is not scanned. The
series page, bulk actions, the sidecar list and the health scans no longer
look into a series folder that leads outside it, and Wanted search,
download, embedded extraction and translation skip stored standalone
items whose file now lies outside it (the item is kept).
Changed
- Watched folders must be inside the media folder — A watched folder
outside the media folder was accepted with only a log line. Its files were
scanned into the library, but search, download, sync and the track tools
refused them. Adding or moving a folder there is now refused with a
message that says how to mount it, and the settings mark existing folders
outside the media folder. The add and edit forms also show the server's
reason instead of a generic "could not add the folder". - Standalone ids in the API are negative — The library, series and movie
responses give standalone series, movies and episodes a negativeid; the
database row id is instandalone_id. The old positive ids keep working
when Sonarr or Radarr is not configured. Sonarr and Radarr ids are
unchanged. The series and movie lists under/api/v1/standalone/keep
their positiveidand now also carrystandalone_idandsource. - Database migrations wait for each other on PostgreSQL — Two instances
starting at once could read the old database layout while the other was
still saving its changes. The second one now waits until the first is
done.