github ShokoAnime/ShokoServer v6.0.0
Shoko Server 6.0.0 Released

58 minutes ago

We are excited to announce the release of the next major version of Shoko Server! Shoko Server 6.0.0 is the biggest release we have made in years: the plugin system was rebuilt from the ground up, again, and this time almost everything the server does can be extended or replaced by a plugin. Hashing, release info, file relocation, metadata sources, images, orderings, airing schedules, scheduled actions, streaming and settings pages can now come from plugins. TMDB, the WebAOM renamer and the legacy Plex support moved out of the core and into plugins, the job queue was replaced with one built for Shoko, and every metadata source is now a first-class citizen. Note that Shoko Desktop no longer works with the server, since APIv1, which it relied on, was removed.

For our detailed report, we highly recommend reading the accompanying blog post.

Read the blog post on our site

Read the changelog on our site

Read the full changelog on GitHub

Important

Before you upgrade: (see the Upgrading to Shoko 6 guide for the full walkthrough)

  • Web UI 2.6.0 ships with this release. The 2.5.x Web UI only works with 5.x servers, so let the server install 2.6.0 if you manage the Web UI yourself.
  • The first start after upgrading may take a while. Release info, images, every title and overview, and the TMDB data are moved into their new tables on that first start, which can take quite some time on large collections. Progress is shown while the server starts; let it finish, and back up your database before upgrading.
  • Upgrades are only supported from 5.x. If you're on an older version, upgrade to 5.3.3 first.
  • Plugins need updating. Plugins built for 5.x (Shoko.Plugin.Abstractions) or for an older major version of Shoko.Abstractions will not load. The server starts in failure mode and names them, so you can disable, update or remove them from the Web UI and restart. Plugin authors: see the new Writing Plugins guide and the migration guide from 5.x.
  • TMDB and WebAOM are now plugins. Official builds include both. If you build Shoko yourself, or had either plugin disabled when you upgraded, install it from the plugin catalog (Settings → Plugin Management → Browse; both are in the Shoko Core Repository) and restart. Your existing TMDB links, metadata and artwork, and your WebAOM renamer settings, are kept either way; new TMDB artwork, like logos, is fetched as each show is refreshed.
  • APIv1 is gone. It had no authentication at all (see Security), and Shoko Desktop relied on it, so Desktop no longer works with the server. APIv2 clients such as Shokodi keep working. For playing videos on your own computer, Shoko Companion is in testing.
  • Forgot your password? Put a password-reset.json file in the data folder with the username and the new password, then start the server. It sets the password, deletes the file and shuts down; start it again and sign in. See the FAQ for where the data folder is.
  • The server now runs on .NET 10. If you run the framework-dependent build, install the .NET 10 runtime first.
  • Your settings file is backed up to SettingsBackup in the data folder before it is migrated, so you can go back to 5.x if you need to.

Security

  • Removed APIv1, which had no authentication. Anyone who could reach a 5.x server could read and change its settings, manage users and their passwords, add and remove managed folders, and delete files, without signing in. If your 5.x server is reachable from outside your home network, upgrade or stop exposing it until you do. This is also why Shoko Desktop no longer works with the server. (642e527) by @revam

  • Fixed restricted users (users with hidden tags) being able to read and stream the files of series hidden from them by requesting the file by ID, hash, AniDB file ID or location ID. They now get a 403 on the file metadata and stream routes, stream sessions included, and such files are left out of listings and path searches. See GHSA-xpwh-jh8w-7fhh. A big thank you to @kats1123 for reporting it responsibly. (949866f) by @revam

  • Checked restricted tags in many more places: every file listing, search and action, the APIv2 file, episode and series lookups and counts, episodes looked up by AniDB episode ID, generated playlists, the AniDB search, similar, related and relation routes, and the dashboard. Restricted users now also see a group that holds a series they may see, and unrecognized files are only shown to users without restricted tags. The list of every stored release is now admin-only; it let restricted users see the releases of hidden series in the 6.0 daily builds (see GHSA-cw8p-qgw9-r8q5, thanks again to @kats1123). (e91227c, 2f0b1e4, 0c8597d, 183f8cd, 54f9f31, c82acbe, 693558e, f11c638, aac5d6b, 5a1aa7d, f0fb865) by @revam

  • Fixed path traversal in the external subtitle endpoint: only subtitle files listed in the file's media info can be fetched now. (#1385) (0ab9138) by @Foowy

  • Restricted routes that let any signed-in user change the server to admins: the file actions (Ignore, Variation, AVDump, Rescan, Rehash, AddToMylist, link/unlink), group editing and Recalculate, the AVDump batch, the series AniDB refresh routes, the TMDB auto search, the folder browser (/api/v3/Folder), the live log hub, pausing and resuming the queue over SignalR, and the APIv2 folder, import, rescan, rehash and queue routes. (56afb7a, 720559c, e7f709b, 22343a9, 7c23282, b17d233) by @revam

  • Added a setup token (setting Web.SetupToken, variable SHOKO_SETUP_TOKEN). While it's set, setup and failure mode only take requests that give it as their API key, so nobody else on the network can finish your setup or reach a failed server. (3e0f61e) by @revam

  • Added a way to reset a forgotten password: put a password-reset.json file in the data folder with the user's username and new password. On the next start the server sets the new password, revokes that user's API keys, deletes the file and shuts down; start it again and sign in. A file naming a user that doesn't exist is kept, so you can fix it and try again. See the FAQ for the steps. (462734a) by @da3dsoul

  • Stopped sending secrets to clients in plain text. Passwords, API keys and other secrets in the settings and in plugin configurations are masked whenever they leave the server, and sending the mask back keeps the stored value. Before this, the AniDB password, AVDump key, database password and TMDB API key were all returned as is. Also disabled APIv2's config/export, which returned every secret unmasked. (9f884d0, 199513f, ac53f09, 09bd1c7, eed0796, 5aca674) by @revam

  • Added login throttling per username and per client, with escalating lockouts and 429 with Retry-After. Password hashes are compared in constant time and failed logins are logged. (462734a, 6950f12) by @da3dsoul and @revam

  • Added expiring API tokens, and SignalR connections now close when their API token is invalidated or expires. (ea5e3f8, 67aa7df, ac1a923, e7152c8, bc90968, 4bffbb3) by @revam

  • The APIv3 file streaming endpoints now require authentication by default. Clients that can't send headers can use the apikey query parameter, or an admin can allow anonymous streaming at their own risk (setting Web.AllowAnonymousFileStreamingInAPIv3, variable SHOKO_API_V3_ALLOW_ANONYMOUS_FILE_STREAMING, off by default). The server status also leaves out the uptime and other details for anonymous requests. (2fd609c, d820284) by @revam

  • Masked the AniDB password in the request logs: the HTTP connection logged request URLs that carried it at trace level, and the UDP mask missed some sessions. (e1f7e96) by @Cazzar

  • Bounded regular expressions with a match timeout, so a user-supplied pattern can't run away, and served stored images and plugin icons with nosniff and a sandboxing CSP. (10eb41c, 61387f9, 7695e7c) by @revam

  • Added trusted proxies (setting Web.TrustedProxies, variable SHOKO_TRUSTED_PROXIES): X-Forwarded-* headers are only honoured from the proxies or ranges you list, and allowed origins (setting Web.AllowedOrigins, variable SHOKO_CORS_ORIGINS) to limit the allowed CORS origins. Both are empty by default. (f66ece3, a7ea052) by @revam

Breaking Changes

  • .NET 10: Moved the server, tray service, CLI and Docker images to .NET 10, and updated every dependency, with later NuGet package updates and a .NET 10 devcontainer. (#1441) (101351a, 22e1f38, 3878304, 82522dd, 619f27f, 3d4e467, 090946f, 74ebf76) by @revam and @Foowy

  • New plugin abstraction: Replaced the Shoko.Plugin.Abstractions NuGet package with the new Shoko.Abstractions package, with a new structure, new namespaces and a lot of new services. Plugins built for 5.x must be rebuilt, and most need changes. IRenamer and IRenamerConfig were replaced by IRelocationProvider and IRelocationPreset (see below). IShokoEventHandler is gone, but its events live on in the services that own them, so inject the service to keep listening: IVideoService (VideoFileDetected, VideoFileHashed, VideoFileRelocated, VideoFileDeleted), IVideoReleaseService (ReleaseSaved, SearchCompleted, …), IVideoRelocationService (FileRelocated), IMetadataService (SeriesUpdated, EpisodeUpdated, MovieUpdated, …), IAnidbService (BanOccurred, BanExpired), IAnidbAvdumpService (AvdumpEvent) and IConfigurationService (Saved). Plugin registration uses static abstract methods, DataSource became the MetadataSource registry, entries are named by a MetadataGuid (anidb://series/1234) instead of a number, and descriptions were renamed to overviews. Plugins built for the legacy package, or for an older major version of the new one, fail the start instead of being skipped. (#1228) (d27b0e2, a96e8a8, 9ad4e96, afe0455, 2a08009, 909cd68) by @revam

    See the migration guide from 5.x for what changed and how to port a plugin.

  • TMDB is now a plugin: Moved TMDB out of the core into the bundled TMDB plugin. The upgrade copies the old TMDB_* tables into the shared metadata tables, giving the copied cast their characters, and moves the TMDB settings, the cast and network download switches included, into the plugin's own configuration. The APIv3 TMDB routes and models stay, now read from the shared tables, but TMDB's settings and actions moved to the plugin and IsLocked is gone from seasons. (2a08009, 9ed8aff, 65fb338, 58c7118, eff8b5d) by @revam

  • WebAOM is now a plugin: Moved the WebAOM renamer out of the core into the bundled WebAOM plugin, which is the default relocation provider. Existing presets move over to it. The renamer is now feature-frozen; use the Lua renamer or another relocation provider for anything beyond it. (2a08009, ce62085, 0744a2b) by @revam

  • Legacy Plex support is now a plugin: Moved the Plex client, the /plex routes, /api/v3/Action/PlexSyncAll, the watched-state sync and the "Plex Sync All" action into the bundled Shoko.Plugin.LegacyPlex plugin. Disabling the plugin turns it all off. (c48122f, 4b2ce7e) by @revam

    The legacy Plex support is kept for existing setups, but won't grow. For a modern Plex integration, keep an eye on Shoko Relay by @natyusha, an upcoming community plugin that turns Shoko into a Plex Custom Metadata Provider (and more), succeeding the ShokoRelay.bundle agent. Plex is removing the legacy agents system from new Plex Media Server releases in 2026, which the old Python-based bundles like ShokoRelay.bundle depend on, in favour of HTTP-based Custom Metadata Providers (PMS 1.43.0+). A provider has to be a web service Plex can reach, so it lives best inside Shoko as a plugin, and since providers can't hook into Plex's scanner the way the old bundles did, Shoko Relay builds a virtual file system to keep any folder layout working.

  • Removed APIv1, along with the code only it used: change tracking, the legacy playlists, the PlayedCount/StoppedCount user data columns and the legacy CL_ServerSettings model. The /Stream routes legacy clients use moved into APIv2, while the /Stream/Filename/{base64filename}/… routes, which streamed a file by its path, were removed. (642e527, 44791d3, 0b79c11, ca2007f, 5822ccb, 2a3d81a, cb900c1, ce050a2) by @revam and @da3dsoul

  • Removed Trakt support from the core: the Trakt settings, the Trakt link flag on users, the Trakt jobs and every Trakt endpoint. Between Trakt's API limits and nobody wanting to keep maintaining it in the core, it was time to let it go. If someone wants to take up the torch as a community plugin, the new plugin system has everything it needs. Just before the removal, the integration got better handling of revoked or expired tokens. (#1325) (768e416, 55f8171, f8a1566, 34512cb, 30df463) by @revam and @krbrs

  • Quartz is gone: Replaced the Quartz.NET-based job queue with Shoko.QueueProcessor, a queue engine built for Shoko (see New Additions). Unsupported jobs are dropped at start-up and the old Quartz tables are removed. (c4801f1, 3881390, 2fac2f4, be8c178, 40902cd) by @da3dsoul

  • Renamers became relocation providers: Replaced the renamer system with the relocation system: IRenamer became IRelocationProvider and IRenamerConfig became IRelocationPreset. Renamer configs are stored with their preset in the database instead of on disk, and existing renamer scripts, configs and the default renamer are migrated to presets on upgrade; a preset whose renamer can't be read yet is kept and re-imported once its provider is installed. In APIv3 the RenamerController was replaced by the RelocationController (/api/v3/Relocation). The conversion logs the script or settings of any renamer it cannot migrate. (#1228, #1312) (d27b0e2, 9742988, a72805c, 7e75e16, f6c9803, 170febc, 2f51608, 08ffcee) by @revam, @harshithmohan and @Mik1ll

  • Release info replaced AniDB files: Replaced the AniDB_File, AniDB_FileUpdate, AniDB_ReleaseGroup and the file language tables with provider-neutral release info (StoredReleaseInfo), migrated on upgrade. Every existing file link was marked as a manual link. APIv1/APIv2 release info only covers releases from the AniDB provider. (#1228) (d27b0e2, 6fe8eaf, 9fccda6, 8ec1681, 02776e2, b377eeb, 13b6d46) by @revam and @harshithmohan

  • Tables renamed after their models: JMMUser is now ShokoUser (its JMMUserID is ID, and the user data tables' JMMUserID is UserID), ImportFolder is now ShokoManagedFolder (with ID, Name and Path columns), VideoLocal_Place's columns are ID, VideoID, ManagedFolderID and RelativePath, and AniDB_Tag.TagName is TagNameSource. This only affects scripts and tools that read the database directly. (3e79ae3) by @revam

  • Removed the legacy File Quality Filter (settings FileQualityFilterEnabled and FileQualityPreferences). Its role is taken over by the rewritten release management (see New Additions), where automatic deletion on import is opt-in. PurgeAllUsedReleases/PurgeAllUnusedReleases replaced removeFromMylist with skipEvents. (fef6713, edcf46e) by @da3dsoul

  • APIv3 changes:

    • File.Hashes is now a list of hash digests (only ED2K is guaranteed), File.AniDB was replaced by File.Release, and includeDataFrom=AniDB on file endpoints was replaced by include=ReleaseInfo. (d27b0e2) by @revam
    • Import folders are now managed folders, a more neutral name, since "import folder" kept being mistaken for a folder files are only imported from: ImportFolderController became ManagedFolderController (/api/v3/ManagedFolder). (d27b0e2) by @revam
    • Release management routes were flattened: /api/v3/ReleaseManagement/MultipleReleases is now /api/v3/ReleaseManagement, and the duplicate files and missing episodes endpoints moved to /api/v3/DuplicateFiles and /api/v3/MissingEpisodes. The obsolete ReleaseManagement/Series and …/Episodes routes were removed. (#1396) (709bb8d, 653f428, c7261be, 5cad257) by @harshithmohan and @revam
    • Image endpoints moved onto the new image system: image types use Primary, Backdrop, Banner, Logo and Disc instead of Poster/Fanart, defaults are picked by GUID at /{id}/Images/{imageType}/Default, the legacy /api/v3/Image/{source}/{type}/{value} endpoint was removed, and the Image DTO lost its integer ID and RelativeFilepath. (#1402, #1403, #1407) (ee2f0eb, 48bac7f, a14aed7, 057040e, c4da567) by @harshithmohan and @revam
    • Resource.Type is now Website, Streaming, Metadata or CrossReference, with a LanguageCode. (fdf26db) by @revam
    • Air and end dates may be partial (yyyy or yyyy-MM) when a source only knows that much. (90362a0, e465b78, 425f41b, 2ee590e, 6f2c205) by @revam and @da3dsoul
    • MetadataSource is sent as its plain value (anidb, tmdb, …). The AniDB SignalR status events send UpdateType as a string. (afe0455, ad1a3f6) by @revam and @harshithmohan
    • Filter expressions keep their values in Parameter/SecondParameter and every parameter is nullable; stored presets are migrated. (5001a23, 8d9b525, b8ae2f9) by @revam
    • Removed Dashboard/CalendarEpisodes in favour of /api/v3/AiringSchedule, the integrity scanner (/api/v3/IntegrityCheck), the updateStats option of Episode/{episodeID}/SetHidden, and the Commons/Models versions. (2fe3ec8, 2759df8, 3c06a68, 62fb32c) by @revam
    • The scrobble endpoint answers every outcome with Accepted and a message, and the API version can no longer be picked by the api-version query parameter or header. (bfe9b4a, 7568bc7) by @revam
  • APIv2 changes: Removed the cast and staff data, which was badly broken anyway. (5f6e483) by @da3dsoul

  • Settings moved around, all carried over by settings migrations:

    • Logging settings moved under Logging, nlog.config is gone (log level rules live in the settings now), and logs are stored as JSON Lines (.jsonl) and rotated to .jsonl.gz; old .log files and .zip archives from 5.x are kept as .log.gz. (#1317) (a99c969, fb44fa8, ef936cb, 81ee6a1) by @revam and @fearnlj01
    • The MyList settings are nested under AniDb.MyList, image settings moved to Metadata.SourceDefaults.Images, and the connectivity monitors became a list of monitor definitions. (0fe4fc5, 8c81478, e1c9933) by @harshithmohan and @revam
    • Removed the application-level database lock (setting Database.UseDatabaseLock); the in-memory cache is thread-safe instead. (881a071) by @da3dsoul
    • Server and Web UI update checks no longer use the GitHub API, so the GITHUB_TOKEN variable is no longer read. (8bc4c75, 3c7f6a6, 1f28656) by @revam
    • The instance <name> command line argument was replaced by --home <dir>, matching the SHOKO_HOME variable. (2661fe7) by @revam
  • AniDB: The file lookup no longer adds files to MyList itself; the AniDB release provider and the MyList sync do that now. AniDB messages are no longer acknowledged as soon as they are fetched (setting AniDb.Notification_AcknowledgeOnFetch, off by default, brings that back). (d27b0e2, b3bdd29) by @revam

  • Generated playlists: The playlist DSL's prefixes changed: a<id> is now an AniDB anime ID (it used to be s<id>), s<id> is now a Shoko series ID, and E<id> was added for Shoko episode IDs next to e<id> for AniDB episode IDs. Playlist episodes also use their own model now. (0da8e5e, a71464a, 0912ccf, 588c412) by @revam

First-Party Plugins

These plugins are made by the Shoko team. Apart from Legacy Plex, each lives in its own repository and is released on its own schedule, so from now on their changes are in their own release notes. Official builds include all of them except AniList, which you install from the plugin catalog (it's in the Shoko Core Repository).

  • TMDB (bundled): shows, movies, collections, cast and crew, studios and images from TMDB. It moved out of the core in this release; see "TMDB is now a plugin" under Breaking Changes for what the upgrade carries over. (65fb338) by @revam

  • WebAOM (bundled): the classic WebAOM renamer, and the default relocation provider. It moved out of the core in this release, and your WebAOM renamer settings carry over. (2a08009) by @revam

  • Offline Importer (bundled, new): a release provider that works out a file's anime and episodes from its file name, instead of looking the file up by its hash through AniDB's UDP API. It matches against the AniDB anime data Shoko already has, and fetches anime it doesn't have yet from AniDB's HTTP API, or a cache you've set up in its place, unless you turn off its "Enable remote refresh" setting (on by default). So it helps with files AniDB doesn't know and while the UDP API is banning you. Custom parsing rules handle your own naming. Out of the box it only links files you link by hand; set up auto-match rules for it to match files by itself. It started in the core during this cycle and moved to its own repository before release. Shoko 6.0 ships with version 2.0.0, which opens it up to other plugins through its own NuGet package, Shoko.Plugin.OfflineImporter.Abstractions, and to clients through a REST API under /api/plugin/offline/v1, which can test matching without importing anything. (4454c82, a0c167a, ae9d953, 8b0efdf, e827234, ca39536, ShokoAnime/Shoko.Plugin.OfflineImporter#1, ShokoAnime/Shoko.Plugin.OfflineImporter#2) by @revam, @da3dsoul and @Kcronshaw

  • AniList (in the catalog, new): AniList as a metadata source: anime and their episodes, tags, studios, cast and crew, relations, recommendations and images, linked to your AniDB anime. It started in the core during this cycle and moved to its own repository before release. (b2b0c8a, c73dcdf, afe0455) by @harshithmohan and @revam

    This covers the metadata and linking side of the long-standing AniList support request (#738). List syncing is not part of it: the official plugin won't sign in to AniList on your behalf. If you want AniList list syncing, it's open for the community to build as a plugin of its own, either on top of the official plugin's links or in its own way.

  • Legacy Plex (bundled, in the server's repository): the old Plex sync, now a plugin you can turn off; see "Legacy Plex support is now a plugin" under Breaking Changes. Its modern successor is the upcoming community plugin Shoko Relay by @natyusha, a Plex Custom Metadata Provider. (c48122f) by @revam

New Additions

Plugin System

  • Plugin manager: Added IPluginManager to list installed plugins, enable or disable them, pin a version when several are installed, and uninstall them. Every plugin gets a LocalPluginInfo even when it fails to load, and plugins have icons, thumbnails, pages they can advertise (for every user or only admins), features they can advertise to clients (/api/v3/Plugin/Features) and a Swagger document of their own. Plugins can resolve their own dependencies when they ship a .deps.json. (#1228) (d27b0e2, b7f37dd, 5afe8ff, 3212bf2, 147fc9d, 7568bc7, 61152dd, ed5cfed, f6c7731) by @revam and @Mik1ll

  • Plugin catalog and package repositories: Added IPluginPackageManager to install plugins from package repositories, with checksum verification, compatibility checks against the server's ABI and runtime, release channels, and automatic upgrades. The server ships with two repositories, core (enabled) and community (disabled for you to opt into), and repositories can be added, disabled and restored. A manifest served over https can never send you to a plain http download. Installs run one at a time through an install queue of their own, and asking for the same install twice joins the one already queued; archives carry their sizes, so an install is refused up front when there isn't enough free space (setting Plugins.Updates.IsFreeSpaceCheckEnabled, variable SHOKO_PLUGIN_FREE_SPACE_CHECK_ENABLED, on by default); and each plugin shows its installed size. (2af11d1, 1e42b81, 97bcc29, 885c722, a483fc4, 463dbfe, 4a4e096, 3fe3795, 2cecb8d, e26842f, 121a6bb, aa7ad60) by @revam

  • Third-party notices: The build tools collect the licences of the packages the core and each plugin ship, and /api/v3/ThirdPartyNotice lists them, one section per plugin. (0a65ff2, 4ee2f28) by @revam

  • Upgrades before start: Plugin upgrades are installed before the plugins load (setting Plugins.Updates.IsUpgradeOnStartEnabled, variable SHOKO_PLUGIN_UPGRADE_ON_START_ENABLED, on by default). A release built for a newer server waits while the older version loads, skipping bundled upgrades (setting Plugins.Updates.SkipBundledPluginUpgrades, variable SHOKO_PLUGIN_SKIP_BUNDLED_UPGRADES, off by default) leaves the bundled plugins alone, and a daily action purges old plugin versions (protect one with a .keep marker). Upgrades follow a release channel (setting Plugins.Updates.Channel, variable SHOKO_PLUGIN_UPDATE_CHANNEL): Stable takes stable releases only, Dev takes development releases too, and Auto, the default, follows the server's own channel. Each plugin can override it, and installing a given release by hand works on any channel. (a77b729, 59f19c1, bf882ca, b5e237c, ce04581, af942cb) by @revam

  • Plugin dependencies: Plugins can declare the plugins they need, with version ranges, optional or required. They load in dependency order, installing a package installs its dependencies all or nothing, versions are compared by semantic versioning (prereleases written as -dev.N), dependencies are enabled while something needs them and cleaned up as orphans when nothing does, and the server can show what an install, uninstall or disable would do before doing it. (664da63, 3568aa4, c301f67, 53242ea, 02ce86e, 1eb5ebc, c4fd551, 64cc2d3, 3506a9d, 104d08b, 4822d90) by @revam

  • Failure mode instead of a dead server: A plugin that fails to load, set up or start no longer gets skipped quietly or crashes the server. The server comes up with the web host running in failure mode, naming each failing plugin, and stays there until an admin (or an agent, if that's your cup of tea) disables, replaces or uninstalls it from the Web UI and restarts. This is on purpose: carrying on with a plugin missing or half-working may or may not be more dangerous than stopping, depending on which plugins you have and what they do, so Shoko doesn't guess. A plugin built for types the server no longer has is caught before it loads, and a failure that takes down the web host is remembered so the next start leaves that plugin out and says why. A new startup feed (/signalr/startup) streams the start-up messages and the start's state until the server has started. (0a874d6, 6bd003e, 4654509, ddeefc4, 0c30521, f5bbb6b, 8da0a06, 51e5f24, b9cd7d0) by @revam

  • Isolated plugins: Each plugin loads into a load context of its own, so plugins can ship different versions of the same library, and an optional dependency that doesn't fit is left out instead of failing the start. Plugins can also reserve a namespace for their routes and sockets. (8b258c8, fd70795, 182a521, d7d7729, f8653bc) by @revam

  • Plugin lifecycle: Added IPlugin.Setup(IServiceProvider) and IPlugin.Ready(), and ISystemService, so plugins can follow start-up, setup and shutdown, read the start-up messages, and request a restart or shutdown (opt-in with --restart-enabled/--shutdown-enabled, or ENABLE_RESTART/ENABLE_SHUTDOWN in Docker). Plugins can also test the database connection and, during setup, set the default user and the setup token. (0a874d6, 9ad4e96, 5fd73ef, 9f6ec3b, da21599, d9c9d16, b9970a2, 3e0f61e) by @revam

  • Configurations with generated UIs: Added IConfigurationService, so plugins and the core can create, load, save and validate configurations, with a JSON schema and render-ready UI definitions the Web UI turns into a settings page. Settings can be loaded from environment variables and marked as needing a restart, and the server tracks and tells you why it needs one. Plugins can declare a main configuration, and per-user configurations (IUserConfigurationService) are stored for each user. A Roslyn analyzer in the build tools catches configuration shapes the UI can't render at compile time. Stored select values from before the UI namespace move are migrated on load. Read-only properties are never stored, and reads can leave them out. (#1228, #1414) (d27b0e2, 8c372a8, 580b18a, 69e9c04, 7c012a9, 1bc4d77, 7275b3d, 4709122, afe0455, 1574ad5, 0333063, 825cb45, 2da23bb, afbbfb2, adeb4ea, 95d25f2, 8de6c40) by @revam and @Foowy

  • Plugin databases and folders: Added AddPluginDbContext, giving a plugin a database of its own: SQLite next to the plugin's data by default, or, with the experimental setting Database.UseMainDatabaseForPlugins (variable DB_PLUGINS_IN_MAIN_DATABASE, off by default), prefixed tables inside the core's MySQL or SQL Server database. They are migrated right after the core's own database. Plugins also get their own configuration, data and cache folders. (afe0455, 4c072fe, faa5f92) by @revam

  • Web UIs from plugins: Plugins can serve a whole web UI through IWebUIProvider, and the Shoko Web UI became the core's own provider. You can pick the default web UI, and can serve a different one per host name. GET /api/v3/WebUI tells other applications where the web UI is and how to link into it. A web UI says which core APIs it needs, and the server keeps them on while it is in use. (1ff8386, f864b9c, 046e79e, f66ece3, 16cdc3d, 8699dc3, fa7194c) by @revam

  • SignalR feeds, events and an actor behind every change: Plugins can add their own feeds to the aggregate SignalR hub, and there are events, with who made the change, for nearly everything: configuration and user saves, plugins being enabled or disabled, API tokens, failed logins, custom tags, filters, orderings, groups, the metadata stores and more. So a plugin can finally keep an audit log. (afe0455, 0559af7, e9c5d1e, 5919c26, 606b05b, 6a7aee1, 89901b7) by @revam

  • Plugin streaming pipeline: Plugins can transform video streams (progressive or HLS), serve subtitles and fonts beside the stream, and observe playback through IVideoStreamPipelineService. Scrobbling is now one of these observers, and sessions survive long pauses. (785bfa6, 963c5c6, 6a045c6, 13c10a2, 0e6d2da, c1462b6, 87aca05, 49e6db7, dcf5e5e, 66011ae, 020a9a3) by @da3dsoul and @revam

  • Much bigger plugin surface: Plugins can now do almost everything the API does through services: users and user data, videos, managed folders, groups, filters and filter presets, images, AniDB (including the MyList, AVDump and the AniDB message inbox), fuzzy search, release management, connectivity, update checks, authentication throttling, and the file system (IFileSystem: file, directory and link stats in one call, hard and symbolic links, moves that replace, merge or only change case, and mounted volumes, with the server's own changes hidden from the file watcher). The plugin-facing contracts all come with READMEs. (#1228) (d27b0e2, 3e6981b, 950452b, 0f9d9df, 869a263, d584614, b3bdd29, c9345cc, 4849a91, 2210763, cf25905, 3c2cbdd, dc48689, 64eec84, 59b97a1, c796703, d6ef97b, 605d94d, 8172a52, 1a8881a, 06014fe) by @revam and @da3dsoul

  • Build tools for plugin authors: Added shoko-build (a dotnet tool), Shoko.BuildTools.Targets (an MSBuild package) and Shoko.BuildTools.Analyzers (Roslyn analyzers). The tool and targets stamp a plugin's identity, dependencies and git metadata into its assembly, so the server can read it without running any of its code, generate the plugin class (PluginGenerateClass), embed its icon and thumbnail, pack release archives, and keep the repository manifest up to date. A plugin with no code of its own becomes a meta plugin that only brings in its dependencies. Plugins can hook into how shoko-build writes each release's manifest entry, to add extensions of their own. The analyzers catch configuration and action parameter shapes the server would refuse at startup, such as a list of lists, as compile errors. (#1414) (a1b6d67, c5d883f, ceeae3e, f003434, c0120f3, 5bf50c9, 0755f1e, cd5e989, 69e9c04, fa1e319) by @revam

Providers

  • Hashing providers: Added IVideoHashingService and IHashProvider, so plugins can provide hashes, with a built-in hasher for ED2K, MD5, CRC32, SHA1, SHA256 and SHA512. Providers can be enabled per hash type and ordered. ED2K and CRC32 are on by default; MD5, SHA1, SHA256 and SHA512 can be turned on per provider. The old force-all-hashes option (setting Import.Hasher.ForceGeneratesAllHashes) is gone, since the hasher now works out on its own which enabled hashes a file is missing. Upgrades keep the MD5, SHA1 and CRC32 choices from 5.x. (#1228) (fb53b4e, d27b0e2, fb8e2ed, 14c9331, e517245) by @revam

  • Release providers: Added IVideoReleaseService and IReleaseInfoProvider, so any plugin can tell Shoko which episodes a file belongs to. AniDB is now just one provider, each provider runs as its own queue job, providers report whether they are configured or suspended, and file linking uses the same service, so any release can be edited or removed, AniDB ones included. A daily job rescans release info with an unknown source or missing languages. Releases can link the series, episodes and movies of any source, checked on save by validators plugins can add, and a search moves on to the next provider when one gets suspended mid-search, such as AniDB after a failed login. A provider can also take only the searches a person starts, leaving automatic matching to the others. (#1228, #1378) (d27b0e2, 3e183df, 8d3618a, 491623a, 2a7bbe1, f13af6d, 54b9d2a, 6626089, cda353c, fecf6c4, 8e6a683, 8379328, 6570828, 1526326, 5fb517f, 2237366, ebb3053, 2559d15, 6232b07, 255490b, 16b0980, b515619, a79b4a8, fcdf851) by @revam, @da3dsoul, @SilentBot1 and @Foowy

  • Relocation providers: Added IVideoRelocationService and IRelocationProvider, which replace IRenamer, so plugins can rename and move files, with the whole relocation pipeline in the abstraction. Relocation presets (IRelocationPreset, stored and managed through IRelocationPresetManager) hold each provider's validated configuration, and providers can say whether they support moving and renaming. The relocation event now has the right previous path. (#1228) (d27b0e2, efbb9c7, a5b9369, cd95e41, 7b1523c) by @revam, @da3dsoul and @Baine

Metadata

  • Every source is a first-class citizen: Plugins can add whole metadata sources, with series, movies, collections, people, studios, tags, relations and suggestions written through shared typed stores, or answered from their own storage. Links between AniDB and any source live in shared cross-reference tables, entries other sources only mention are kept as stubs and refreshed by their owner, admins choose which provider answers for what, and generic Metadata/{source} routes read and link any source. A "Download Missing Linked Metadata" action fetches any linked entries that aren't stored yet. (afe0455, 2a08009, 2bf5213, 6eee9eb, a612943, b611dc5) by @revam

  • Smarter linking: Providers return scored candidates, and the core decides, links and logs with a shared matching engine that lines series and episodes up by air dates, episode counts and titles, using AniDB's own TMDB and IMDb links as hints. Links remember their match rating, so you can filter for unverified links, and every link can be exported and imported as CSV. TMDB matching got candidate scoring, short OVAs tried as movies, original-language episode titles, a nearest-air-date fallback, and restricted auto-matches that accept Japanese, Chinese and Korean as original languages. A series or movie is no longer linked on its year alone, a film is no longer taken for its series, and the new "Re-judge Dated Metadata Links" action re-checks the links made on dates, alone or with a title, by the current rules. (#1363, #1372, #1376, #1379, #1389) (afe0455, f409e35, 6c809df, 21193e6, 590c67b, 4ad5d34, 288ed52, 3b99fc0, 4dd63de, ec8d86e, abc9502, a62b003) by @revam and @Foowy

  • One text system for every title and overview: Every title and overview from every source now lives in one place, replacing the separate title and description tables each source had, and you can pick, add, disable and remove them for any entry. User overrides work on any entry, though in practice they'll mostly be used for Shoko series and episodes. The names you gave groups, series and episodes moved over as your own texts. (afe0455, cbc9851, 5805f9a, 88f030c) by @revam

  • Alternate orderings for any series: global orderings from plugins, local orderings you make yourself, a preferred ordering per series and hidden episodes, all exportable and importable. Specials are placed inside every ordering (AniDB specials by their titles, like "Episode 6.5"), and orderings can carry absolute episode numbers. Sources can mark their default ordering, and episodes can say what kind of extra they are and whether they are canon. (afe0455, 2a08009, 6d1614a) by @revam

  • Suggestions: AniDB's similar anime and TMDB's recommendations, with votes and scores, on series and movies, and filters built on them. (bc3b219, 1742bb4) by @revam

  • AniDB relations verified: AniDB's "Alternative Setting" and "Alternative Version" relations, which its HTTP API has long mixed up, are now checked against the UDP API and flagged as verified. (3626a52, 11271e8) by @revam

  • TMDB resilience: A circuit breaker pauses TMDB jobs while TMDB answers with server errors, a daily job purges TMDB entries nothing links to, and the sync uses TMDB's Changes API with a sliding window rate limiter. Deleting a series purges TMDB data no other anime links to. (#1370, #1371, #1352, #1358, #1393) (1098c94, 446fb5b, 42b52bc, ccf8559, c0b30d1, 58d1593, 765dea8, f93ab22, b577f54) by @Foowy and @da3dsoul

  • Suspensions: A universal way for a service to say it can't take work right now. AniDB bans and backoffs and TMDB rate limits show up as suspensions (/api/v3/Suspension), and the queue holds a suspended provider's jobs until it can work again. (ec149a0, dbedd21, dc9580c) by @revam

Images

  • One image system for every source: Any image can be linked to any series, episode, group or other entity, with a streamlined set of image types, image management endpoints, uploads of your own images (which win over the rest), SVG support, and image pickers that can show originals not downloaded yet. Plugins can add images from their own source to entries of any source (image contributors). Images are migrated on the first start, and a daily job purges orphaned images (setting Image.AutoPurge, on by default) and can validate and repair broken ones (setting Image.AutoValidate, off by default). A "Validate Images" action checks, and optionally re-downloads, the images of the whole collection or of one group, series, episode or video. (c4da567, e7fefde, ea7ae0f, 3d3c179, b814c32, e28c5fe, afe0455, cde8b83, e918c1c, d5a09c0, 2d7c0dd) by @revam and @harshithmohan

  • Added settings to override the AniDB HTTP API URL (setting AniDb.HTTPServerUrl, variable ANIDB_HTTP_API_URL), image CDN URL (setting AniDb.ImageCdnUrl, variable ANIDB_IMAGE_CDN_URL) and title cache URL (setting AniDb.TitleCacheUrl, variable ANIDB_TITLE_CACHE_URL), and the TMDB image CDN URL, for regions where the default hosts can't be reached. (04e0aa7) by @revam

Queue and Actions

Airing Schedules

  • Airing schedules and calendar: Channels, schedules and per-episode airings, filled by provider plugins, with delays, hiatuses and moved slots worked out by the server and estimated airings for episodes not listed yet. A server-side calendar and season views (/api/v3/AiringSchedule) can be narrowed by any filter, detect reruns, and place yearly seasons by whole weeks to match AniDB's own seasons for about 97% of anime. You can override an anime's start season, and plugins and clients get notified when an episode airs. (d6ca986, a15da40, 5808f89, fc57ce2, 3c92059, 90b3755, 28d80f2, 5c2b1e0, 13d92ad, 0a29139) by @revam

AniDB MyList

  • MyList, rebuilt: A local MyList cache makes lookups instant, and you can add, remove and sync at group, series, episode or file level. Syncs handle episodes watched without a file and manually linked episodes, and a sync can return its plan for you to review and trim before it's applied. (d584614, 2a82c2a, 8887bc9, 42133f7, 60a0f6c, 0930bfa) by @revam

    This also fixes a large sync re-queuing thousands of no-op edits on every run (#1419).

Release Management

Filters and Search

  • Many new filter and sorting options: episode counts per type (missing, unaired, watched, hidden), file sources, release providers, user and custom tags, file and folder paths, TMDB keywords and genres, suggestions, unverified links, group IDs and names, and fuzzy relevance. Filters gained labelled scopes and switches (keep only, leave out, or ignore what a condition matches), and quick count endpoints. (dbe5c5b, f8343c5, 1909424, 5948162, 8d727a1, b456861, ddec6b1, c79e3a6, c58c9d9, a419e4a) by @revam

  • Improved fuzzy search with a new search index, and titles match when the query carries a trailing qualifier. (dc48689, 5a5d3a8, 31bc3be) by @da3dsoul and @revam

Users and API

  • User data: Ratings, favorites and user tags live in Shoko's own user data now (existing AniDB votes are migrated), groups have user data of their own, and a file's user data keeps the last audio, subtitle and video stream picked, and user tags. Invalid votes are dropped during the migration. (d27b0e2, 20b2405, 6190419, 311d3f8, 996327f, d8f7f74, a11d26a) by @revam and @harshithmohan

  • Auth API: New routes under /api/v3/Auth to sign in, issue, list and revoke tokens and change the password, with Authorization: Bearer accepted everywhere. Tokens have an ID, a creation time and a last-use time, and can be revoked by ID. (ea5e3f8, 67aa7df, c0c63b2) by @revam

  • Logs: A new log service stores entries as JSON Lines, with an API (and SignalR stream) to list, page, filter and download logs, log level overrides and per-target levels in the settings. Default log level changes now apply right away. Plugins can add default log level rules of their own, and the API lists the rules in effect and where each one comes from. (ef936cb, 2a18d5d, f87ca6b, 9414f45, 82403b2, 9b84ac8, 294b625, 7071041, c29813b, b76d3b5) by @revam and @Cazzar

  • Made the completion threshold a setting (setting CompletionThresholdPercent, 95% by default). The scrobble endpoint takes the resume position in ticks or as HH:mm:ss.ffff. (9c8915c, b3e4482, 99fc453) by @revam and @da3dsoul

  • Added kill-switches for APIv2 (setting Web.EnableAPIv2, variable SHOKO_API_V2_ENABLED) and APIv3 (setting Web.EnableAPIv3, variable SHOKO_API_V3_ENABLED), both on by default. Turning either on or off applies at once, without a restart. (18991de, bba7007, 9dff3b3, c337832, 640540e, cf1c876) by @revam

  • Added AudioLanguages and SubtitleLanguages to the APIv3 file model. (657b78b, 4aabad5) by @revam and @harshithmohan

Platform

  • OpenTelemetry export: Shoko can now send its traces, metrics and logs to your own OpenTelemetry collector over OTLP, covering requests, jobs, the database, AniDB and plugins. It's off by default: set the collector (setting Telemetry.Endpoint, variable SHOKO_OTLP_ENDPOINT), then turn on each signal you want (settings Telemetry.TracesEnabled, Telemetry.MetricsEnabled and Telemetry.LogsEnabled, variables SHOKO_OTLP_TRACES_ENABLED, SHOKO_OTLP_METRICS_ENABLED and SHOKO_OTLP_LOGS_ENABLED), and paths, URLs' secrets and job arguments are kept out. (e1685c1, 5a04054, 49d815e, b591d6f, 2cfd458, da9f698, 17ee767, edcf2f2, b630bcc, e5fd46d, 3119df1, 3dc50dd, 09fd17a, 7b0feef, 4bec4b5, c988b51, 2357cf9, 88329ac) by @Cazzar

  • Error reporting: Errors thrown by third-party plugins are no longer reported to the Shoko team's Sentry, only those of the server and the first-party plugins. You can also send error reports to a Sentry-compatible service of your own, such as a self-hosted Sentry, GlitchTip or Bugsink (setting Sentry.Dsn, variable SHOKO_SENTRY_DSN), with its own sample rate (setting Sentry.SampleRate, variable SHOKO_SENTRY_SAMPLE_RATE) and the plugins whose errors it gets (setting Sentry.ReportedPlugins, variable SHOKO_SENTRY_PLUGINS, a JSON array of plugin IDs, or [] for every plugin). Opting out moved to the same setting: set it to off, which an existing opt-out is migrated to. (8bc16e2, 2483e7f, 703a646, e165650) by @revam

  • Cross-platform tray app: The tray app moved from WPF to Avalonia, so it now runs on Windows, Linux and macOS. (ee131e6, f7dbd09) by @revam

  • Docker: Added the variables ENABLE_RESTART (on by default) and ENABLE_SHUTDOWN (off by default), NO_CHOWN (off by default), INSTALL_PACKAGES (e.g. GPU drivers for transcoding plugins) and EXTRA_GROUPS, forwarded SIGINT/SIGTERM to the server, and validated SHOKO_HOME before starting. (267d8c7, da21599, e82dc48, 1e183d3, 7b1fa06, 76d6c0b) by @revam

  • Added a minimum thread pool size (setting ThreadPoolMinThreads, variable THREADPOOL_MIN_THREADS), and MSSQL/MariaDB as aliases for the database type. (556e84b, c9dfc2d) by @revam

Minor Changes

  • Cut the memory the caches hold, bringing a large library's heap from 5.9 GB to 2.3 GB. (8c6c27a, 292216e) by @revam

  • Sped up the dashboard, filters, missing episode and missing file queries, and added indexes that took the missing episodes queries from over two minutes to a few seconds on large collections. Filter evaluation stops when the client disconnects. (68903c6, c21936e, 3510b46, 80ddcad, 999dc03, a9126a4, 3c02e5f, b042851, 9892b1f, 730731a) by @da3dsoul and @revam

  • Allowed concurrent reads on the uncached repositories. (#1321) (572dfeb) by @krbrs

  • Separated AniDB's deprecated and corrupted file states; refresh the AniDB file info to get the real corruption state. (#1446) (e8fd06d) by @krbrs

  • Dropped the leftover AniDB_Vote and TvDB tables after migrating any votes still in them. (#1326) (b9c3ac3, e005155) by @krbrs and @revam

  • Made the file system watcher more robust, and file operations on managed folders safe for long paths on Windows. (6dd36ed, 1cbd8f7, e8c3820) by @da3dsoul

  • Linked files: Hard links, and symbolic links with their file, are kept together as one file group of their video (setting Import.GroupLinkedFiles, on by default). Duplicate detection and removal count whole groups, so a link is never left broken, and a location can be marked as kept. A new name of a file Shoko already knows is linked to its video without hashing it again, and a relocation can replace another copy of the same video at its destination (setting Plugins.Renamer.ReplaceSameVideoAtDestination, off by default). (64eec84, af26f3a, 434f41f, 4103455) by @revam

  • Sort names now skip leading punctuation and a leading "Gekijouban" (in any spelling) or 劇場版 as well as an article, ignoring case, so movies sort by their own title (closes #33). (01c5827) by @revam

  • Restructured the AniDB connection layer around async requests, with the ban state in one place. (e967bfc) by @da3dsoul

  • Improved the HTTP client configuration so pooled connections expire and responses are disposed. (#1309) (4a20c02, 25a01de) by @fearnlj01 and @revam

  • Configurations are always saved after a settings migration, and the backup name was simplified. (#1310) (6f38d19, 56c5849) by @fearnlj01 and @revam

  • Added a "Check File Size on Managed Folder Scan" import setting (setting Import.CheckFileSize, off by default), and every hash is recomputed when a file's size changed. (5ec22ab, a5f5764) by @revam

  • Added [Required] to every non-nullable APIv3 model property, so generated clients know which fields are always present, grouped the endpoints into Swagger tags, and made the OpenAPI documents match the models: nullability, descriptions and enum defaults. (aaac030, a10ba2c, 31a8337, b34292f, b847a9c, 9694912) by @revam

  • New SQLite installs name their database Shoko.db3. (aaa3013) by @revam

  • Added 8mm, 16mm and 35mm film reel as release sources, and more title languages. (8281444, f40f8aa, 0e06028) by @revam and @da3dsoul

  • Fixed managed folder scans ignoring the forceScan and onlyNewFiles flags. (#1373) (7947612, 9b585bf) by @natyusha and @revam

  • Grammar fixes in the managed folder messages and spacing in log messages. (d4b9fc1, ec50588) by @harshithmohan

Bug Fixes

  • Fixed the server refusing to start on Windows when its files carry the downloaded-from-the-internet mark (it now clears the mark from its executables only, so Explorer, shortcuts and autostart don't ask before starting them), shutdown and restart hanging or crashing when a service is slow to stop, media info reads not stopping when their job is cancelled or times out, and a rehash leaving a stray video record behind. (6529c2a, 4152d56, ee28b23, badd23e, 11a1fd4, 4b1e8e8, 88329ac) by @revam

  • Read MediaInfo's output as UTF-8, fixing reads for files with non-ASCII names. (#1306) (d53856a) by @fearnlj01

  • Fixed a race in NHibernate's entity instantiation that could break every database read until a restart, and bad locking in the repository change tracker. (fe3363c, 8b3f145, e9072b7) by @Foowy and @da3dsoul

  • Fixed the three database backends drifting apart: added missing primary keys on SQL Server, tightened columns that lost NOT NULL (mostly to the old MySQL UTF-8 conversions), and kept MySQL's case-sensitive columns case-sensitive. Also fixed SQL Server catalog queries on case-sensitive collations. (dd8a6fe, 47c7408, 5f335c7, 2cdb99e, 18ec616, 2150d70, 4166606) by @Foowy, @Cazzar and @revam

  • Fixed list-valued columns being written back on every flush, and type scans failing intermittently, which could make a stored filter come back blank. (8544e24, ec8ba98, 212e9a7, 77b26ad) by @Cazzar

  • Fixed search not matching fullwidth, halfwidth or compatibility characters. (#1332) (112aa4a) by @Foowy

  • Fixed many stream and subtitle languages not being recognised: region-tagged languages (ja-JP, pt-BR, es-419), external subtitles named like basename_eng.ass, stream titles like English (Japanese Audio), and about 60 more ISO 639 codes. (#1442, #1452, #1454, #1455, #1457, #1461) (0e211a0, 80f1a7a, 61de6ba, 13dee91, 8a84375, 16ed0f0) by @Foowy

  • Fixed case-only renames being refused on case-sensitive file systems, and a file move being allowed when the paths differ only by case. (#1451) (ddb25b2, 14c0a00, 410c1bc) by @Foowy and @revam

  • Fixed TMDB bugs: removing one of several show links also deleted the other shows' episode links, refreshes saved when nothing changed, missing translations, network logos downloaded with studio images off, season images missing from a series, titles staying stale until a restart, person biographies only stored in English, and the same file listed twice. (#1374) (49c0bdf, c90a36c, 3b2b920, 41b17a3, db3d344, 9c815e9, c099a26, 898d208, 03a76c2) by @Foowy and @revam

  • Fixed the MyList HTTP export crashing on any AniDB error, and watched dates being sent to AniDB in local time. (#1440) (fb254f8, 2e6cfc7) by @Foowy and @revam

  • Fixed watched state not carrying over when a watched release is replaced after the old file was deleted (e.g. TV to Blu-ray). (590863c) by @da3dsoul

  • Unified what counts as a missing episode, so series sizes, the missing episodes list and the stored counts agree, and fixed episodes with an unknown air date and split movie parts being counted wrong. (#1421) (ea2b604, 9b46821, 94196c3, df4c0d3) by @harshithmohan, @Foowy and @revam

  • Fixed episodes being marked as aired when the series' end date is wrong. (c513e0c) by @harshithmohan

  • Fixed season and year classification for anime with partial or overlapping dates, which spread movies and OVAs across every season up to today. (b1397d0) by @da3dsoul

  • Fixed JSON Patch operations on settings lists (Import.Exclude, TMDB.ImageLanguageOrder) being lost, and invalid patches being saved. (15cc66a) by @harshithmohan

  • Applied Import.Exclude patterns to directories, so an excluded folder is no longer walked at all. (#1464) (cc7315e) by @Baine

  • Fixed CORS headers missing from every endpoint's answer. (a7ea052) by @revam

  • Fixed groups: renaming, PATCH resetting fields that weren't patched, sub-groups sorted by name instead of sort name, sizes not scoped to the current filter, sub-groups with files left out, a series stored without a group failing every save, and an empty group left behind by a failed series import or by deleting two series of one group at once. (dabf419, 3a93eab, b548f69, cf18aed, f1b3f20, 388cc40, 5e0bcc1, d316a74) by @revam

  • Fixed filters: "Missing Permanent Votes" matched series still airing instead of finished ones, "Shared Video Source" matched a source any file had instead of one every file shares, the built-in Years directory filter was typed as a season filter (so APIv2 sorted the years as seasons), and number parameters were read and written in the server's language settings. (2149211, 8383d6d, 3fc2b3e, a419e4a) by @revam

  • Fixed "Remove Missing Files" removing every file record of a managed folder whose drive or share was unmounted. A scan whose folder goes away part way through now stops instead of removing the rest. (b31f26b) by @revam

  • Fixed files Shoko had just moved or renamed being picked up again by the file watcher, especially on network shares, which report changes late or in batches. Managed folders can now be marked as network shares, or are detected as such from their volume, and the watcher ignores the server's own changes for 45 seconds on them and 2 seconds elsewhere. (58fc687, a7eb0a5) by @revam

  • Fixed two watch-state updates or scrobbles for the same file arriving at once failing with a database error. (5cd5baa) by @revam

  • Fixed episode titles following the series title source order, and the dashboard showing AniDB titles where a Shoko title exists, and the dashboard's next up and continue watching lists. (c56940c, 821c3fe, ada8884, 5107593) by @revam

  • Fixed several APIv2 issues affecting Shokodi and other legacy clients: the group search, series-by-folder listing one entry per file, episode artwork, the resume position, setters not saving, unmapped watch routes, and 500s for series without a poster. (5822ccb, fa8473b, ebd1710, 3b7d1f5, 3894ca5, ab8820c) by @da3dsoul and @revam

  • Fixed a release that lists the same episode more than once failing to save, and retried a release search when AniDB answers busy instead of leaving the file unrecognized. (a6ef4f7, 1a15431) by @revam

  • Fixed missing anime not being scheduled at start-up, user management issues around password changes, a crash in the AniDB vote sync, a server crash when an exception escaped a SignalR emitter, the inverted censored tag in the WebAOM renamer, and system mount points listed in the folder browser. (bb3a03b, aee34a1, 1d1ac50, 259dc7e, 7fc25dc, 37c03e7) by @revam

Misc Changes

Repository Changes

New Contributors

Thank You

A release this big doesn't happen without a lot of help. A huge thank you to everyone who lent us their code, experience and feedback across the server, the Web UI and the plugins this cycle, including @da3dsoul, @Foowy, @harshithmohan, @Cazzar, @fearnlj01, @krbrs, @Baine, @Mik1ll, @SilentBot1, @natyusha, @Oghara, @MarkCiliaVincenti and @Kcronshaw; to everyone who braved the daily builds and reported what broke; and to @kats1123 for responsibly reporting the security issue fixed in this release.

And a special thanks to the community members who answer questions and guide new users alongside our team. You make Shoko a much friendlier place to be. If you haven't yet, come say hi on our community Discord server.

Don't miss a new ShokoServer release

NewReleases is sending notifications on new releases.