NZB/Torrent provider base

This commit is contained in:
Ruud committed 2011-04-12 10:43:37 +02:00
1 parent 3833b6ead1
commit 05f6d57ea3
21 files changed
+395 -73

No files matched your search

+22
View File
@@ -8,3 +8,25 @@ class Provider(Plugin):
type = None # movie, nzb, torrent, subtitle, trailer
timeout = 10 # Default timeout for url requests
class MovieProvider(Provider):
type = 'movie'
class NZBProvider(Provider):
type = 'nzb'
time_between_searches = 10 # Seconds
class TorrentProvider(Provider):
type = 'torrent'
class SubtitleProvider(Provider):
type = 'subtitle'
class TrailerProvider(Provider):
type = 'trailer'