Change default automation interval
This commit is contained in:
@@ -13,7 +13,7 @@ class Automation(Provider):
|
|||||||
enabled_option = 'automation_enabled'
|
enabled_option = 'automation_enabled'
|
||||||
http_time_between_calls = 2
|
http_time_between_calls = 2
|
||||||
|
|
||||||
interval = 86400
|
interval = 1800
|
||||||
last_checked = 0
|
last_checked = 0
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ class Goodfilms(Automation):
|
|||||||
|
|
||||||
url = 'http://goodfil.ms/%s/queue?page=%d&without_layout=1'
|
url = 'http://goodfil.ms/%s/queue?page=%d&without_layout=1'
|
||||||
|
|
||||||
|
interval = 1800
|
||||||
|
|
||||||
def getIMDBids(self):
|
def getIMDBids(self):
|
||||||
|
|
||||||
if not self.conf('automation_username'):
|
if not self.conf('automation_username'):
|
||||||
|
|||||||
@@ -12,6 +12,8 @@ class Letterboxd(Automation):
|
|||||||
url = 'http://letterboxd.com/%s/watchlist/'
|
url = 'http://letterboxd.com/%s/watchlist/'
|
||||||
pattern = re.compile(r'(.*)\((\d*)\)')
|
pattern = re.compile(r'(.*)\((\d*)\)')
|
||||||
|
|
||||||
|
interval = 1800
|
||||||
|
|
||||||
def getIMDBids(self):
|
def getIMDBids(self):
|
||||||
|
|
||||||
urls = splitString(self.conf('automation_urls'))
|
urls = splitString(self.conf('automation_urls'))
|
||||||
|
|||||||
Reference in New Issue
Block a user