From 139722a9355947f8e0696f46e3bb97c239514a37 Mon Sep 17 00:00:00 2001 From: zoidberg10 Date: Mon, 8 Oct 2012 22:28:35 +0200 Subject: filebeer workaround, rehost.to chunklimit, multihoster config --- module/plugins/hooks/RehostTo.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'module/plugins/hooks/RehostTo.py') diff --git a/module/plugins/hooks/RehostTo.py b/module/plugins/hooks/RehostTo.py index 8903bd07f..7ca5e5cde 100644 --- a/module/plugins/hooks/RehostTo.py +++ b/module/plugins/hooks/RehostTo.py @@ -5,10 +5,14 @@ from module.plugins.internal.MultiHoster import MultiHoster class RehostTo(MultiHoster): __name__ = "RehostTo" - __version__ = "0.41" + __version__ = "0.42" __type__ = "hook" - __config__ = [("activated", "bool", "Activated", "False")] + __config__ = [("activated", "bool", "Activated", "False"), + ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"), + ("hosterList", "str", "Hoster list (comma separated)", ""), + ("unloadFailing", "bool", "Revert to stanard download if download fails", "False"), + ("interval", "int", "Reload interval in hours (0 to disable)", "24")] __description__ = """rehost.to hook plugin""" __author_name__ = ("RaNaN") @@ -34,4 +38,4 @@ class RehostTo(MultiHoster): self.ses = data["ses"] self.long_ses = data["long_ses"] - return MultiHoster.coreReady(self) + return MultiHoster.coreReady(self) \ No newline at end of file -- cgit v1.2.3