From 712ec761237eb989484b8c8f84fdf2d566500482 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Wed, 28 Oct 2015 00:58:56 +0100 Subject: Fix https://github.com/pyload/pyload/issues/2112 --- module/plugins/hoster/PremiumTo.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'module/plugins/hoster/PremiumTo.py') diff --git a/module/plugins/hoster/PremiumTo.py b/module/plugins/hoster/PremiumTo.py index a2ae1cb97..9f005efe0 100644 --- a/module/plugins/hoster/PremiumTo.py +++ b/module/plugins/hoster/PremiumTo.py @@ -15,9 +15,12 @@ class PremiumTo(MultiHoster): __status__ = "testing" __pattern__ = r'^unmatchable$' - __config__ = [("activated", "bool", "Activated", True), - ("use_premium" , "bool", "Use premium account if available" , True), - ("revertfailed", "bool", "Revert to standard download if fails", True)] + __config__ = [("activated" , "bool", "Activated" , True ), + ("use_premium" , "bool", "Use premium account if available" , True ), + ("fallback" , "bool", "Fallback to free download if premium fails" , False), + ("chk_filesize", "bool", "Check file size" , True ), + ("max_wait" , "int" , "Reconnect if waiting time is greater than minutes", 10 ), + ("revertfailed", "bool", "Revert to standard download if fails" , True )] __description__ = """Premium.to multi-hoster plugin""" __license__ = "GPLv3" -- cgit v1.2.3