summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/Ev0InFetcher.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/Ev0InFetcher.py')
-rw-r--r--module/plugins/hooks/Ev0InFetcher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/Ev0InFetcher.py b/module/plugins/hooks/Ev0InFetcher.py
index f573d28a3..5eb4e09c1 100644
--- a/module/plugins/hooks/Ev0InFetcher.py
+++ b/module/plugins/hooks/Ev0InFetcher.py
@@ -75,7 +75,7 @@ class Ev0InFetcher(Hook, PluginStorage):
links = self.filterLinks(item['description'].split("<br />"))
packagename = item['title'].encode("utf-8")
self.core.log.info("Ev0InFetcher: new episode '%s' (matched '%s')" % (packagename, show))
- self.core.server_methods.add_package(packagename, links, queue=(1 if self.getConfig("queue") else 0))
+ self.core.api.addPackage(packagename, links, queue=(1 if self.getConfig("queue") else 0))
self.setStorage("show_%s_lastfound" % show, int(mktime(item.date_parsed)))
found = True
if not found: