summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/plugins/container/DLC.pycbin5923 -> 0 bytes
-rw-r--r--module/plugins/container/DLC_25.pycbin0 -> 5910 bytes
-rw-r--r--module/plugins/container/DLC_26.pycbin0 -> 6162 bytes
-rwxr-xr-xpyLoadCore.py8
4 files changed, 6 insertions, 2 deletions
diff --git a/module/plugins/container/DLC.pyc b/module/plugins/container/DLC.pyc
deleted file mode 100644
index 14d5d39a4..000000000
--- a/module/plugins/container/DLC.pyc
+++ /dev/null
Binary files differ
diff --git a/module/plugins/container/DLC_25.pyc b/module/plugins/container/DLC_25.pyc
new file mode 100644
index 000000000..e05ef78a2
--- /dev/null
+++ b/module/plugins/container/DLC_25.pyc
Binary files differ
diff --git a/module/plugins/container/DLC_26.pyc b/module/plugins/container/DLC_26.pyc
new file mode 100644
index 000000000..29f77a9c3
--- /dev/null
+++ b/module/plugins/container/DLC_26.pyc
Binary files differ
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 1047273d6..39ea4727f 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -289,11 +289,15 @@ class Core(object):
plugins = glob(join(self.plugin_folder, "hoster", "*.py"))
plugins += glob(join(self.plugin_folder, "decrypter", "*.py"))
plugins += glob(join(self.plugin_folder, "container", "*.py"))
- plugins += glob(join(self.plugin_folder, "container", "DLC.pyc"))
+ plugins += glob(join(self.plugin_folder, "container", "DLC_*.pyc"))
for file_handler in plugins:
plugin_pattern = ""
plugin_file = sub("(\.pyc|\.py)", "", basename(file_handler))
- if plugin_file == "DLC":
+ if plugin_file.startswith("DLC"):
+ if plugin_file == "DLC_25" and not version_info < (2, 6):
+ continue
+ if plugin_file == "DLC_26" and not version_info > (2, 6):
+ continue
plugin_pattern = "(?!http://).*\.dlc"
else:
for line in open(file_handler, "r").readlines():