Private GIT

Skip to content
Snippets Groups Projects
Commit a42c3122 authored by supergonkas's avatar supergonkas
Browse files

Add Ratio to Strike

parent 34a0befc
Branches
Tags
No related merge requests found
...@@ -28,7 +28,7 @@ class STRIKEProvider(generic.TorrentProvider): ...@@ -28,7 +28,7 @@ class STRIKEProvider(generic.TorrentProvider):
self.supportsBacklog = True self.supportsBacklog = True
self.public = True self.public = True
self.url = 'https://getstrike.net/' self.url = 'https://getstrike.net/'
self.ratio = 0
self.cache = StrikeCache(self) self.cache = StrikeCache(self)
self.minseed, self.minleech = 2 * [None] self.minseed, self.minleech = 2 * [None]
...@@ -86,6 +86,10 @@ class STRIKEProvider(generic.TorrentProvider): ...@@ -86,6 +86,10 @@ class STRIKEProvider(generic.TorrentProvider):
return results return results
def seedRatio(self):
return self.ratio
class StrikeCache(tvcache.TVCache): class StrikeCache(tvcache.TVCache):
def __init__(self, provider_obj): def __init__(self, provider_obj):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment