feat: manual categories for torznab - #841
Open
DrachenClon22 wants to merge 5 commits into
Open
Conversation
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.
English
Description:
Previously, Torznab tracker categories were hardcoded to
2000,5000(Movies and TV). This PR replaces the hardcoded values with a user-configurable setting when adding or editing a Torznab tracker. Setting is only available in PRO modeThis was a problem for me when searching on some trackers, where all movies were on 8000 cat
Default or empty value is still 5000,2000, so users w/ old settings are safe
Русский
Описание:
Раньше категории для Torznab-трекеров были захардкожены значениями
2000,5000(Movies и TV). Этот пул-реквест убирает хардкод и делает список категорий настраиваемым параметром при добавлении трекера. Настройка доступна только в ПРО режимеЭто было для меня проблемой при поиске на некоторых трекерах, где все фильмы и сериалы были в категории 8000
Значение по умолчанию или отсутствие значения так же осталось 5000,2000, так что люди со старыми настройками в безопасности