mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-02-20 07:59:50 -05:00
Update media_manager/indexer/indexers/jackett.py
add default values to global values Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a230fcaa43
commit
96dbcf564c
@@ -27,7 +27,9 @@ class Jackett(GenericIndexer):
|
||||
|
||||
# NOTE: this could be done in parallel, but if there aren't more than a dozen indexers, it shouldn't matter
|
||||
def search(self, query: str, is_tv: bool) -> list[IndexerQueryResult]:
|
||||
global download_volume_factor, upload_volume_factor, seeders
|
||||
download_volume_factor = 1.0 # Default value
|
||||
upload_volume_factor = 1 # Default value
|
||||
seeders = 0 # Default value
|
||||
log.debug("Searching for " + query)
|
||||
|
||||
responses = []
|
||||
|
||||
Reference in New Issue
Block a user