Skip to content

Releases

v1.0.8 — Fixed Release Age Parsing & Automatic Sonarr/Radarr RSS Sync

Choose a tag to compare

@huseyincig huseyincig released this 30 Nov 12:48

What's Changed in v1.0.8

🐛 Fixed "0 minutes" Release Age Parsing (server.js)

  • Real EXT /browse/ rows wrap cell labels inside <span class="add-block">Age</span><span title="14 November 2026">2 weeks</span>. Previously stripTags() produced "Age 2 weeks", which failed the relative-date regex and fell back to Date.now() ("0 minutes" ago) for every release—breaking Sonarr/Radarr age display and Delay Profiles / Minimum Age rules.
  • Added label-aware extractRowCell() (Size, Age, Seeds, Leechs, with positional <td> fallback) and upgraded parseDateToRfc822() to use sub-day relative precision (45 minutes, an hour ago, 3 hours) for recent uploads and EXT's exact UTC calendar date (title="dd MMMM yyyy", DD.MM.YYYY) for multi-day/week/month/year uploads, plus compound ages (1 year, 2 months).

📡 Fixed Automatic Grabbing / RSS Sync in Sonarr, Radarr & Prowlarr (server.js)

  • Empty-query RSS Sync requests from Radarr (t=movie&cat=2000), Sonarr (t=tvsearch&cat=5000, cat=5070, cat=5000,5070), and Prowlarr (t=search) previously fell back to q=warm, causing automated RSS polling to return only old titles matching "warm" instead of newly uploaded releases.
  • Added inferExtCatFromTorznabCat() and isRssSync routing so automatic RSS Sync fetches the newest uploads directly:
    • Movies RSS (t=movie&cat=2000) → /browse/?cat=1&sort=age&order=desc
    • TV RSS (t=tvsearch&cat=5000) → /browse/?cat=2&sort=age&order=desc
    • Anime RSS (t=tvsearch&cat=5070) → /browse/?cat=7&sort=age&order=desc
    • Multi-category / Prowlarr RSS (cat=5000,5070, cat=2000,5000,5070, or generic t=search) → /browse/?age=0&sort=age&order=desc
  • Background doWarm() continues to warm the session using q=warm.

🔍 Category Filtering, Row-Level IMDb IDs & Magnet Resilience (server.js)

  • Extended categoryFromRow() to map /music/ (3000), /applications/ (4000), /games/ (4050), /xxx/ (6000), /books/ (7020), and /other/ (8000) so filterItemsByCategory() drops non-video uploads during multi-category Movies/TV/Anime RSS Sync while preserving truly unclassified (7000) season-pack rows for Prowlarr.
  • Added extractRowImdbId() to automatically extract <a href="...imdb_id=tt..."> links directly from EXT browse/RSS rows for more accurate Sonarr/Radarr matching.
  • Added extractDetailTokens() and extractAjaxMagnet() to support <meta name="csrf-token"> fallback alongside window.csrfToken, { url: "magnet:?..." } AJAX responses alongside json.magnet, and inline magnet:? links on detail pages.
  • Aligned doWarm() cache invalidation with buildBrowsePath(q) and guarded the background idle session cleanup interval with try/catch.

🧪 Verification

  • 43 / 43 unit and regression tests passing (npm test).
  • 6 / 6 live end-to-end acceptance checks verified against Prowlarr v3.0.2.5780, Sonarr v4.0.20.3014, and Radarr v7.0.3.10918 (including live RssSync, real ageMinutes / publishDate validation, non-video category filtering, and 3-format /download 302 magnet redirects).

Full Changelog: v1.0.7...v1.0.8

v1.0.7 — Custom EXT Filtering & Sorting Options + Web UI RSS Feed Builder

Choose a tag to compare

@huseyincig huseyincig released this 22 Nov 08:02

What's Changed in v1.0.7

📡 Torznab EXT Filtering & Sorting Options for qBittorrent RSS & Custom Clients (#5)

  • Added extractBrowseFilters() and extended buildBrowsePath(), fetchBrowse(), and handleApi() to validate and forward native EXT /browse/ filter and sort parameters directly from /api?t=search requests without requiring a search keyword q (no fallback to q=warm when filters are active):
    • user_nick (alias: uploader): Filter uploads by EXT uploader nickname (e.g. PSA, QxR, MeGusta).
    • sort: Sort results by age (aliases: created, date, time), seed (aliases: seeds, seeders), leech (aliases: leechs, leechers, peers), size, files, or comments.
    • order: Sort direction (desc or asc; defaults to desc when sort is specified).
    • age: Upload time window (0 = Last 24 Hours, 1 = Last 3 Days, 2 = Last Week, 3 = Last 2 Weeks, 4 = Last Month).
    • ext_cat (alias: site_cat, or cat when 1..10): Native EXT site category ID (1 = Movies, 2 = TV, 3 = Music, 4 = Games, 5 = Applications, 6 = Books, 7 = Anime, 8 = Other, 10 = XXX), while preserving standard Torznab cat filtering (2000, 5000, 5070).
    • sub_cat: Native EXT subcategory ID (1..999).
    • page: Upstream /browse/ page number (1..100).
    • with_adult: Per-request adult content override (0/1 or false/true) without altering global Prowlarr/Sonarr/Radarr settings.

🎛️ Interactive Web UI RSS & Filtered Feed URL Builder

  • Added an interactive "RSS & Filtered Feed URL Builder (qBittorrent / RSS)" card to the Web UI (http://YOUR_HOST_IP:8998/), localized across all 8 supported languages (en, tr, es, ru, pt, fr, de, pl — 117 keys per language) with live URL generation, one-click clipboard copy, and direct XML feed preview.

🙏 Acknowledgments

  • Special thanks to @blowfish602 for proposing custom EXT filtering and sorting parameters for qBittorrent RSS feeds in #5.

🧪 Verification

  • 39 / 39 automated unit and regression tests passing (npm test), including inline Web UI <script> compilation verification via vm.Script.

Full Changelog: v1.0.6...v1.0.7

v1.0.6

Choose a tag to compare

@huseyincig huseyincig released this 21 Nov 17:02

What's Changed in v1.0.6

  • Auto-Detected 8-Language Multilingual Web UI (server.js): Expanded automatic browser language detection (navigator.languages / navigator.language, SUPPORTED_UI_LANGS, UI_I18N, resolveUiLang()) to support English (en), Turkish (tr), Spanish (es), Russian (ru), Portuguese (pt), French (fr), German (de), and Polish (pl) with 100% key parity across all 82 UI strings.
  • Prowlarr {ImdbId:...} & q=tt... Token Extraction (server.js): Added extractSearchInputs() to automatically extract IMDb IDs passed inside q ({ImdbId:tt0903747}, {ImdbId:903747}, or tt0903747) during Prowlarr manual searches and trigger the hybrid IMDb + title search pipeline while requiring the tt prefix in free text so numeric titles (90210, 1917) are never misclassified.
  • Native Docker Environment Variable Overrides (server.js, examples/docker-compose.yml): Added applyEnvOverrides() directly in loadConfig() to support FLARESOLVERR_URL (for FlareSolverr or compatible services such as Byparr), BASE_URL, PUBLIC_URL, SESSION_NAME, and API_KEY environment variables without requiring an external wrapper script.
  • Unsupported External ID Query Guard (server.js): When a caller queries by an unsupported external ID parameter (tmdbid, tvdbid, tvmazeid, rid, traktid, doubanid) or by imdbid while enableImdbSearch is disabled—without a title q—/api now returns an empty Torznab <channel> immediately instead of falling back to q=warm and returning unrelated "warm" torrents.
  • HTML Parser, Date/Size & Reverse Proxy Hardening (server.js):
    • decodeEntities(): Added safeFromCodePoint() bounds checking (0..0x10FFFF, excluding UTF-16 surrogates 0xD800..0xDFFF) and case-insensitive entity matching (/&nbsp;/gi) so malformed numeric entities (&#99999999;) never throw RangeError.
    • parseSizeToBytes(): Differentiated thousands-separator commas (1,234.56 MB) from decimal commas (1,5 GB) and guarded against NaN so <size>NaN</size> is never emitted.
    • parseDateToRfc822(): Restricted the fallback new Date(text) parser to strings containing a 4-digit year (19xx / 20xx) so bare numbers ("5", "12") are never parsed by V8 as year 2001.
    • toRelativeTorrentPath(): Normalized absolute mirror URLs (https://ext.to/...) in findTorrentAnchor() and parseResults() to relative pathnames so cross-mirror links are never dropped.
    • getPublicBaseUrl(): Added X-Forwarded-Proto (https/http) and X-Forwarded-Host support for reverse proxy deployments when publicUrl is empty.
    • /warm, /cache/clear, /session/reset & saveConfig(): Enabled both GET and POST methods on action endpoints, included imdbTitleCache in cache eviction/clearing, cleared stale search cache on baseUrl/publicUrl changes, and stopped the warm timer immediately when warmEnabled is unchecked.
  • GitHub Actions Buildx Caching (.github/workflows/docker-image.yml, .github/workflows/docker-publish.yml): Added cache-from: type=gha and cache-to: type=gha,mode=max to accelerate multi-arch container builds.
  • Verification: 37/37 unit & regression tests passing (npm test).

Acknowledgments

Special thanks to @ryandash for the ideas around Prowlarr {ImdbId:...} / q=tt... query token handling, FLARESOLVERR_URL environment variable configuration for FlareSolverr-compatible endpoints (such as Byparr), and GitHub Actions Buildx caching!

v1.0.5

Choose a tag to compare

@huseyincig huseyincig released this 21 Nov 11:26

What's Changed in v1.0.5

  • Hybrid IMDb + Title Search Architecture: When imdbid is queried (t=tvsearch or t=movie), combines primary imdb_id=tt... results, season-only full-pack ("Season X Complete") lookups, and automatic IMDb title/year resolution (resolveImdbTitle, 24h cache) + text search fallback (mergeSearchItems), attaching <torznab:attr name="imdb"> strictly to IMDb-verified rows.
  • Unclassified (7000) Category Resolution for Prowlarr: Added resolveItemCategories() and expanded categoryFromRow() so rows without explicit /movies/, /tv/, or /anime/ links are mapped to advertised categories (2000, 5000, 5070) instead of being dropped by Prowlarr's ReleaseSearchService.cs:222.
  • Web UI enableImdbSearch Toggle: Added persistent Enable IMDb ID search (imdbid) checkbox (true by default) with Turkish/English localization.
  • Torznab Pagination (offset & limit): Updated <limits max="100" default="100" /> and added paginateItems() to prevent redundant multi-page fetch loops.
  • Season-to-Episode Token Upgrade & Daily Series (YYYY.MM.DD): Upgrades Season X / Sxx in q to SxxExx when ep is provided, and formats daily episode queries (season=YYYY&ep=MM/DD) into YYYY.MM.DD.
  • Codec, Audio Channel & Date Dot Preservation: Preserves dots in 5.1, 7.1, 2.0, DDP5.1, AAC2.0, DD+5.1, H.264, H.265, and YYYY.MM.DD.
  • Public Tracker Freeleech Attributes: Emits downloadvolumefactor=0 and uploadvolumefactor=1.
  • *Verified arr Stack Compatibility: Verified end-to-end against Prowlarr v3.0.2.5780, Sonarr v4.0.20.3014, and Radarr v7.0.3.10918 (29/29 tests passing).

v1.0.4

Choose a tag to compare

@huseyincig huseyincig released this 21 Nov 10:04

What's Changed

  • IMDb ID Search Support (#3):
    • Advertise imdbid in /api?t=caps for movie-search (q,imdbid) and tv-search (q,season,ep,imdbid).
    • Normalize incoming imdbid / imdb_id values (with or without tt prefix, zero-padded to 7+ digits) and route upstream queries to /browse/?imdb_id=tt... (combined with normalized q / SxxExx tokens when present, without falling back to the warm query when q is empty).
    • Include both <torznab:attr name="imdb" value="..." /> and <torznab:attr name="imdbid" value="tt..." /> in Torznab XML results for full Prowlarr, Sonarr, and Radarr compatibility.
    • Return standard Torznab error code 201 (Incorrect parameter (imdbid)) on malformed imdbid values.
    • Added unit tests covering normalizeImdbId, buildBrowsePath, torznabCapsXml, torznabResultsXml, and /api validation (21/21 passing).

v1.0.3

Choose a tag to compare

@huseyincig huseyincig released this 18 Nov 07:29

What's Changed

  • Restrict advertised Torznab /api?t=caps categories strictly to Movies (2000), TV (5000), and Anime (5070), matching the proxy's intended scope for Sonarr/Radarr/Prowlarr.
  • Includes all diagnostics, parser, concurrency, and validation improvements from v1.0.2.

v1.0.2

Choose a tag to compare

@huseyincig huseyincig released this 18 Nov 07:18

What's Changed

  • Diagnostics & Timeouts: Surface underlying network error causes (e.g. ECONNREFUSED, ENOTFOUND) and target URL in fsCall() / postMagnetDirect(), and add AbortSignal.timeout() to prevent indefinite queue hangs.
  • Parser & Torznab Fixes:
    • Parse relative age strings (2 hours, 3 months ago, 1 year, etc.) accurately in parseDateToRfc822().
    • Parse comma-formatted seeder/leecher counts (1,234).
    • Add missing category 7000 (Other) to /api?t=caps and return valid Torznab XML errors from /api search endpoints.
    • Fix &amp; double-unescaping and add numeric entity decoding in decodeEntities(); strip invalid XML 1.0 control characters in xmlEscape().
  • Runtime & Concurrency:
    • Respect stripSeasonFromSearch setting in buildSearchQuery().
    • Include baseUrl in search cache keys, reset session readiness on URL/session changes, and reschedule the warm interval timer when settings are saved.
    • Use pending counters for fsBusy/sessionBusy, lock /session/reset and idle session destruction, deduplicate concurrent /warm calls, and retry once on empty HTML responses.
    • Harden /download parameter validation, readBody() stream destruction on >1 MB payloads, and parseForm() numeric bounds.
  • Tests & Docs: Added comprehensive unit tests in test/server.test.js (17/17 passing) and aligned README.md and examples/config.example.json to v1.0.2.