Skip to content

Map standard Newznab console categories to platforms - #60

Merged
JeremiahM37 merged 1 commit into
JeremiahM37:mainfrom
zelladir:newznab-console-categories
Sep 29, 2026
Merged

JeremiahM37 merged 1 commit into
JeremiahM37:mainfrom
zelladir:newznab-console-categories

Conversation

@zelladir

Copy link
Copy Markdown
Contributor

Fixes #59

Adds the standard Newznab console categories to PlatformMap so results from Usenet indexers (and Torznab trackers that use the standard IDs) are detected as the right platform, show up in platform-filtered searches, and can be organized on import:

1010 NDS, 1020 PSP, 1030 Wii, 1040 Xbox, 1050 Xbox 360, 1080 PS3, 1110 3DS, 1120 PS Vita, 1130 Wii U, 1180 PS4 (DLC/WiiWare/Xbox One/Other left unmapped).

Tests: three new TestDetectPlatform cases (plain IDs, object form, parent 1000 + child 1010) and TestGetCategoriesForPlatformIncludesNewznab. go test ./... passes; the patched image is running against Prowlarr + SABnzbd + qBittorrent.

Code drafted with AI assistance; tests run before submitting.

Usenet indexers (and most Torznab trackers) tag console releases with the
standard Newznab categories (1010 NDS, 1020 PSP, 1030 Wii, 1040 Xbox,
1050 Xbox 360, 1080 PS3, 1110 3DS, 1120 PS Vita, 1130 Wii U, 1180 PS4).
PlatformMap only knew the custom tracker IDs (1000xx), so those results
were detected as Unknown, excluded from platform-filtered searches, and
could not be organized on import.

Add the standard IDs to PlatformMap and cover them in the platform tests.
@JeremiahM37
JeremiahM37 merged commit 8ee36b8 into JeremiahM37:main Sep 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Usenet/Newznab console results detected as Unknown platform (standard categories 1010-1180 not mapped)

2 participants