From 304ee8766ce592a5f4457e7c8d62a24ef69969e4 Mon Sep 17 00:00:00 2001 From: German Gutierrez Date: Sat, 18 Jan 2020 12:59:14 +0100 Subject: [PATCH] Adding release info to bsplayer and subdvix providers --- libs/subliminal_patch/providers/bsplayer.py | 4 ++++ libs/subliminal_patch/providers/subdivx.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/libs/subliminal_patch/providers/bsplayer.py b/libs/subliminal_patch/providers/bsplayer.py index 877db2523..33077895b 100644 --- a/libs/subliminal_patch/providers/bsplayer.py +++ b/libs/subliminal_patch/providers/bsplayer.py @@ -44,6 +44,10 @@ class BSPlayerSubtitle(Subtitle): def id(self): return self.page_link + @property + def release_info(self): + return self.filename + def get_matches(self, video): matches = set() diff --git a/libs/subliminal_patch/providers/subdivx.py b/libs/subliminal_patch/providers/subdivx.py index ab7db33b6..74b3c4f7b 100644 --- a/libs/subliminal_patch/providers/subdivx.py +++ b/libs/subliminal_patch/providers/subdivx.py @@ -35,6 +35,10 @@ class SubdivxSubtitle(Subtitle): def id(self): return self.page_link + @property + def release_info(self): + return self.description + def get_matches(self, video): matches = set()