Added
- A pattern can be limited to one ad-insertion platform. Set its scope to
platformthrough the API, with adaiPlatformfrom the platform list, and it matches only feeds served by that platform. A feed with no effective platform never matches it. Nothing creates platform patterns automatically, and AdSieve patterns are never promoted to a wider scope. - A feed's detected platform comes from the host of its feed URL or an enclosure URL, including enclosures wrapped in tracking redirects such as Podtrac or Chartable. A link in the show notes cannot place a feed on a platform. A platform found only in the feed text stays a label, returned as the read-only
daiPlatformHint. - On upgrade, a feed keeps its detected platform only when its URLs name it. A stored platform with no matching URL moves to the label, and Use as platform in feed settings sets it again.
- A feed's ad platform can be set by hand. Feed settings show the detected platform and an override control, with a Detected choice that returns to detection. The override is
daiPlatformOverridein the API and in config export and import. It must be a platform from the platform list, it wins over detection for pattern matching and sharing, and a refresh never changes it. - The Patterns page shows platform patterns. A scope badge names the platform, the Scope filter has an Ad platform value, and a stat tile counts them.
GET /api/v1/platformslists the active platforms with their display names. Scope is still not editable on the Patterns page. - Each feed records the source show's
podcast:guidassourceGuid, andsourceGuidStatussays whether the feed declared it or MinusPod derived it from the feed's canonical URL. Feeds fill in as they refresh. A feed that looks private or paid, or that another MinusPod instance serves, keeps none. Both fields are read only in the feed API. - The pattern readiness check lists the sharing tiers each ready pattern can use (all, network, ad platform or show) and the narrowest that fits. The export dialog shows that tier on each ready pattern, with the wider tiers it could also use. A pattern with no usable tier is listed as not ready with the reason, for example that its show's feed is private.
- Pattern Cleanup reviews sponsor names. A run asks the model about a few sponsors learned on this instance, taking a fifth of the run's batch size. It can suggest renaming a sponsor to its correct spelling or merging it into another sponsor as an alias when both are one company. It can also mark a show or network as not a sponsor. The model sees only a sponsor's name, aliases, the nearest reference names and up to three short samples of its pattern text.
- Sponsor suggestions use the same approve, reject and undo steps as pattern suggestions. They are listed at
GET /api/v1/patterns/cleanup/sponsor-suggestionsand on the Cleanup tab of the Patterns page, above the pattern suggestions. Each card says what approving will do, including how many patterns a merge moves and any tags the kept sponsor gains. Undo restores the exact tag set. - A sponsor merge moves the sponsor's patterns, corrections, aliases and tags to the surviving sponsor and retires the other. The readiness check then stops rejecting a pattern for naming it. Not a sponsor retires the sponsor and keeps its patterns, which keep matching on the same feeds. Seed-list sponsors and sponsors created by a sync are never renamed, merged away or retired.
- Groundwork for AdSieve sync: a sync cannot change your own patterns. The database refuses any sync write to a local or imported pattern, and AdSieve patterns you protected from sync keep their text and variants.
- Also for AdSieve sync: MinusPod saves a copy of the AdSieve patterns before each sync that changes them and keeps the newest three by default (
communitySnapshotsKeep, 1 to 3). Settings lists them under Sync history with a Restore button. Restoring brings back patterns a sync removed, undoes its edits and removes patterns it added. Restored patterns keep their ids when those are still free. The next sync runs again from the restored set. The API isGET /api/v1/community-patterns/snapshotsandPOST /api/v1/community-patterns/snapshots/{id}/restore. - A restored pattern gets its audio fingerprint and match history back exactly as saved. If its old id has been taken, its corrections follow it to the new one. Protected patterns, match counts and on/off choices you made by hand stay as they are. A pattern a sync turned on or off goes back to its saved state.
- A new switch, Use AdSieve patterns to find ads, turns AdSieve patterns off for text matching, audio matching and the known-sponsor hint. They stay on your instance, and the Patterns page labels them "Not used" and shows a notice. An AdSieve pattern you protected from sync keeps matching. The setting is
communityPatternsMatchingEnabledon/api/v1/settings/community-syncand applies from the next episode.
Changed
- Community patterns are now AdSieve (Beta), and the patterns are called AdSieve patterns. Syncing from the bundled community set has ended, and that set is no longer updated or supported. Patterns already on your instance stay and keep matching. Turning sync on returns 409, and
POST /api/v1/community-patterns/syncreturns 410. AdSieve sync comes in a later release. - Learning a sponsor name also matches the aliases of an active sponsor, and an active sponsor wins over a retired one. After a merge, the merged-away name attaches new patterns to the surviving sponsor, and undoing the merge restores the old sponsor. A name retired as not a sponsor is reused. Creating or renaming a sponsor through the API is refused when another sponsor holds the name as an alias. Undoing a rename says why when another sponsor has taken the old name.
- AdSieve patterns carry a sharing tier (all, network, ad platform or show) and the network id, platform id or show guid that goes with it. No feed name, feed URL or local id is included.
- Your own patterns and AdSieve patterns are never merged with each other. Deduplication, promotion to a wider scope, merge suggestions, the manual merge, learning from a confirmed ad and file import keep the two apart. The merge API returns 409 for a mixed request. A learned ad that resembles an AdSieve pattern creates its own local pattern. Splitting an AdSieve pattern keeps the pieces as AdSieve patterns and protects them, and the original, from sync.
- Pattern file import no longer edits AdSieve patterns. In merge and supplement modes, a file row that matches an AdSieve pattern is skipped and that pattern is left unchanged. Before, the import edited it and protected it from sync. In replace mode, only your own patterns are deleted and replaced, AdSieve patterns are kept, and a file row equal to an AdSieve pattern is added as a local pattern.
- Remove all AdSieve patterns also deletes the saved sync history, and no copy is saved first, so Restore cannot bring them back.
- The first start after upgrading rebuilds the patterns table once to allow the new scope. It needs free disk space for a second copy of the patterns table and takes about 2 seconds per 100,000 patterns. Every pattern and the rows that reference it are copied unchanged. If the rebuild fails, for example when the disk is full, it rolls back and tries again on the next start. Until it succeeds, asking for platform scope through the API returns 409.
- Skipped pattern learning is logged at INFO, not WARNING. These lines record a guard working as intended, such as a span that is too long or names several brands.
- Imported patterns are treated the same as local ones everywhere, including Pattern Cleanup, automatic trimming and the readiness check. Only AdSieve patterns are handled differently.
Fixed
- AdSieve scope fields now use
network_id,ad_platform_idandshow_guid. Imports also accept the oldertier_id, allow show-only patterns without sponsors, and retain the server's duration on new patterns. Retired network and platform ids remain valid for incoming patterns. - Readiness uses the originating feed's language and show names after a pattern becomes global. An episode id shared by several feeds cannot select an arbitrary show.
- Snapshot restore handles deleted sponsors and reused pattern ids, and preserves a later manual disable when the saved row was disabled by sync.
- Rejected and undone sponsor cleanup suggestions now show their outcome without claiming that a rename, merge or retirement remains applied.
- The pending-recuts bar no longer lists episodes whose audio was deleted by hand or by retention cleanup. Stale entries already in the list are cleared on startup.
- The readiness check no longer sends a stored duration of 0. It leaves the duration out, as the server expects.
- A YouTube episode on a pass-through feed, or set to pass-through itself, no longer waits for SponsorBlock marks before it is served.