diff options
Diffstat (limited to 'module/plugins/crypter')
| -rw-r--r-- | module/plugins/crypter/C1neonCom.py | 11 | 
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(',') | 
