Repository navigation
Map standard Newznab console categories to platforms - #60
Merged
JeremiahM37 merged 1 commit intoSep 29, 2026
Merged
Conversation
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.
This was referenced Sep 28, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #59
Adds the standard Newznab console categories to
PlatformMapso 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:1010NDS,1020PSP,1030Wii,1040Xbox,1050Xbox 360,1080PS3,11103DS,1120PS Vita,1130Wii U,1180PS4 (DLC/WiiWare/Xbox One/Other left unmapped).Tests: three new
TestDetectPlatformcases (plain IDs, object form, parent 1000 + child 1010) andTestGetCategoriesForPlatformIncludesNewznab.go test ./...passes; the patched image is running against Prowlarr + SABnzbd + qBittorrent.Code drafted with AI assistance; tests run before submitting.