diff options
| author | 2013-08-07 19:35:43 +0200 | |
|---|---|---|
| committer | 2013-08-07 19:35:43 +0200 | |
| commit | 681609d8fa13677f3e7756dc50a8483a7e8b72e5 (patch) | |
| tree | 9c7b5771a9f1529edd91a6dfa1a0d00a46f91a84 /pyload/plugins/accounts | |
| parent | Updated translations (diff) | |
| download | pyload-681609d8fa13677f3e7756dc50a8483a7e8b72e5.tar.xz | |
MultiHosters: moved settings to account plugins
* removed addon plugins
Diffstat (limited to 'pyload/plugins/accounts')
| -rw-r--r-- | pyload/plugins/accounts/AlldebridCom.py | 9 | ||||
| -rw-r--r-- | pyload/plugins/accounts/DebridItaliaCom.py | 5 | ||||
| -rw-r--r-- | pyload/plugins/accounts/FastixRu.py | 4 | ||||
| -rw-r--r-- | pyload/plugins/accounts/MultiDebridCom.py | 5 | ||||
| -rw-r--r-- | pyload/plugins/accounts/MultishareCz.py | 3 | ||||
| -rw-r--r-- | pyload/plugins/accounts/PremiumizeMe.py | 5 | ||||
| -rw-r--r-- | pyload/plugins/accounts/RealdebridCom.py | 6 | ||||
| -rw-r--r-- | pyload/plugins/accounts/ZeveraCom.py | 3 | 
8 files changed, 39 insertions, 1 deletions
diff --git a/pyload/plugins/accounts/AlldebridCom.py b/pyload/plugins/accounts/AlldebridCom.py index ed2d70855..7669a68d3 100644 --- a/pyload/plugins/accounts/AlldebridCom.py +++ b/pyload/plugins/accounts/AlldebridCom.py @@ -10,6 +10,12 @@ class AlldebridCom(MultiHoster):      __name__ = "AlldebridCom"      __version__ = "0.21"      __type__ = "account" +    __config__ = [("activated", "bool", "Activated", "False"), +                  ("https", "bool", "Enable HTTPS", "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__ = """AllDebrid.com account plugin"""      __author_name__ = ("Andy, Voigt")      __author_mail__ = ("spamsales@online.de") @@ -51,5 +57,6 @@ class AlldebridCom(MultiHoster):              self.wrongPassword()      def loadHosterList(self, req): -        page = req.load("http://www.alldebrid.com/api.php?action=get_host").replace("\"","").strip() +        https = "https" if self.getConfig("https") else "http" +        page = req.load(https + "://www.alldebrid.com/api.php?action=get_host").replace("\"","").strip()          return [x.strip() for x in page.split(",") if x.strip()] diff --git a/pyload/plugins/accounts/DebridItaliaCom.py b/pyload/plugins/accounts/DebridItaliaCom.py index 30bfa65f9..d6521261f 100644 --- a/pyload/plugins/accounts/DebridItaliaCom.py +++ b/pyload/plugins/accounts/DebridItaliaCom.py @@ -25,6 +25,11 @@ class DebridItaliaCom(MultiHoster):      __name__ = "DebridItaliaCom"      __version__ = "0.1"      __type__ = "account" +    __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 standard download if download fails", "False"), +                  ("interval", "int", "Reload interval in hours (0 to disable)", "24")]      __description__ = """debriditalia.com account plugin"""      __author_name__ = ("stickell")      __author_mail__ = ("l.stickell@yahoo.it") diff --git a/pyload/plugins/accounts/FastixRu.py b/pyload/plugins/accounts/FastixRu.py index 34d88dd25..ae775bd23 100644 --- a/pyload/plugins/accounts/FastixRu.py +++ b/pyload/plugins/accounts/FastixRu.py @@ -6,6 +6,10 @@ class FastixRu(MultiHoster):      __name__ = "FastixRu"      __version__ = "0.02"      __type__ = "account" +    __config__ = [("activated", "bool", "Activated", "False"), +                  ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"), +                  ("unloadFailing", "bool", "Revert to standard download if download fails", "False"), +                  ("interval", "int", "Reload interval in hours (0 to disable)", "24")]      __description__ = """Fastix account plugin"""      __author_name__ = ("Massimo, Rosamilia")      __author_mail__ = ("max@spiritix.eu") diff --git a/pyload/plugins/accounts/MultiDebridCom.py b/pyload/plugins/accounts/MultiDebridCom.py index a98b8abae..0109d89de 100644 --- a/pyload/plugins/accounts/MultiDebridCom.py +++ b/pyload/plugins/accounts/MultiDebridCom.py @@ -25,6 +25,11 @@ class MultiDebridCom(MultiHoster):      __name__ = "MultiDebridCom"      __version__ = "0.01"      __type__ = "account" +    __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 standard download if download fails", "False"), +                  ("interval", "int", "Reload interval in hours (0 to disable)", "24")]      __description__ = """Multi-debrid.com account plugin"""      __author_name__ = ("stickell")      __author_mail__ = ("l.stickell@yahoo.it") diff --git a/pyload/plugins/accounts/MultishareCz.py b/pyload/plugins/accounts/MultishareCz.py index a50ced431..a3e69dce0 100644 --- a/pyload/plugins/accounts/MultishareCz.py +++ b/pyload/plugins/accounts/MultishareCz.py @@ -28,6 +28,9 @@ class MultishareCz(MultiHoster):      __name__ = "MultishareCz"      __version__ = "0.02"      __type__ = "account" +    __config__ = [("activated", "bool", "Activated", "False"), +                  ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"), +                  ("hosterList", "str", "Hoster list (comma separated)", "uloz.to")]      __description__ = """multishare.cz account plugin"""      __author_name__ = ("zoidberg")      __author_mail__ = ("zoidberg@mujmail.cz") diff --git a/pyload/plugins/accounts/PremiumizeMe.py b/pyload/plugins/accounts/PremiumizeMe.py index 8b4569f06..af7956627 100644 --- a/pyload/plugins/accounts/PremiumizeMe.py +++ b/pyload/plugins/accounts/PremiumizeMe.py @@ -6,6 +6,11 @@ class PremiumizeMe(MultiHoster):      __name__ = "PremiumizeMe"      __version__ = "0.11"      __type__ = "account" +    __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__ = """Premiumize.Me account plugin"""      __author_name__ = ("Florian Franzen")      __author_mail__ = ("FlorianFranzen@gmail.com") diff --git a/pyload/plugins/accounts/RealdebridCom.py b/pyload/plugins/accounts/RealdebridCom.py index e47c68d6c..0d006d08d 100644 --- a/pyload/plugins/accounts/RealdebridCom.py +++ b/pyload/plugins/accounts/RealdebridCom.py @@ -7,6 +7,12 @@ class RealdebridCom(MultiHoster):      __name__ = "RealdebridCom"      __version__ = "0.5"      __type__ = "account" +    __config__ = [("activated", "bool", "Activated", "False"), +                  ("https", "bool", "Enable HTTPS", "False"), +                  ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported):", "all"), +                  ("hosterList", "str", "Hoster list (comma separated)", ""), +                  ("unloadFailing", "bool", "Revert to standard download if download fails", "False"), +                  ("interval", "int", "Reload interval in hours (0 to disable)", "24")]      __description__ = """Real-Debrid.com account plugin"""      __author_name__ = ("Devirex, Hazzard")      __author_mail__ = ("naibaf_11@yahoo.de") diff --git a/pyload/plugins/accounts/ZeveraCom.py b/pyload/plugins/accounts/ZeveraCom.py index 8f05f1d76..6e7246fb7 100644 --- a/pyload/plugins/accounts/ZeveraCom.py +++ b/pyload/plugins/accounts/ZeveraCom.py @@ -8,6 +8,9 @@ class ZeveraCom(MultiHoster):      __name__ = "ZeveraCom"      __version__ = "0.21"      __type__ = "account" +    __config__ = [("activated", "bool", "Activated", "False"), +                  ("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"), +                  ("hosterList", "str", "Hoster list (comma separated)", "")]      __description__ = """Zevera.com account plugin"""      __author_name__ = ("zoidberg")      __author_mail__ = ("zoidberg@mujmail.cz")  | 
