summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar godofdream <soilfiction@gmail.com> 2012-08-07 20:59:46 +0200
committerGravatar godofdream <soilfiction@gmail.com> 2012-08-07 20:59:46 +0200
commit9fd7aff150ae1dbece0dbc7aed31b4e380145f7c (patch)
tree89067348062866ef0ea9cfa643dd24c388664f8e /module/plugins
parentupdated Serienjunkies, Shareonline - closed #571, #409 (diff)
downloadpyload-9fd7aff150ae1dbece0dbc7aed31b4e380145f7c.tar.xz
updates c1neonCom decrypter
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/crypter/C1neonCom.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/module/plugins/crypter/C1neonCom.py b/module/plugins/crypter/C1neonCom.py
index 1a0c3c90f..ad7f49795 100644
--- a/module/plugins/crypter/C1neonCom.py
+++ b/module/plugins/crypter/C1neonCom.py
@@ -24,7 +24,7 @@ class C1neonCom(Crypter):
__name__ = "C1neonCom"
__type__ = "container"
__pattern__ = r"http://(www\.)?c1neon.com/.*?"
- __version__ = "0.03"
+ __version__ = "0.04"
__config__ = [
("changeNameS", "Packagename;Show;Season;Episode", "Rename Show by", "Show"),
("changeName", "Packagename;Movie", "Rename Movie by", "Movie"),
@@ -99,12 +99,13 @@ class C1neonCom(Crypter):
#selects the preferred hoster, after that selects any hoster (ignoring the one to ignore)
#selects only one Hoster
def getpreferred(self, hosterslist):
+ hosterlist = {}
if hosterslist['u'] is not None:
- hosterlist = hosterslist['u']
- if hosterslist['d'] is not None:
- hosterlist.append(hosterslist['d'])
+ hosterlist.update(hosterslist['u'])
+ if (hosterslist['d'] is not None):
+ hosterlist.update(hosterslist['d'])
if self.getConfig("useStreams") and hosterslist['s'] is not None:
- hosterlist.append(hosterslist['s'])
+ hosterlist.update(hosterslist['s'])
result = []
preferredList = self.getConfig("hosterList").strip().lower().replace('|',',').replace('.','').replace(';',',').split(',')