From fc3f1b94f4e8f59dbc4c989967e54e2c079f5a21 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 26 May 2011 23:17:48 +0200 Subject: realdebrid fix --- module/plugins/hoster/RealdebridCom.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'module/plugins') diff --git a/module/plugins/hoster/RealdebridCom.py b/module/plugins/hoster/RealdebridCom.py index 5db81b713..d86259c4c 100644 --- a/module/plugins/hoster/RealdebridCom.py +++ b/module/plugins/hoster/RealdebridCom.py @@ -58,7 +58,9 @@ class RealdebridCom(Hoster): self.log.debug("Real-Debrid: New URL: %s" % new_url) try: - pyfile.name = self.getFilename(new_url) + if pyfile.name.startswith("http") or pyfile.name.startswith("Unknown"): + #only use when name wasnt already set + pyfile.name = self.getFilename(new_url) except IndexError: pyfile.name = "Unknown_Filename.ext" -- cgit v1.2.3