summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/opensubtitles/opensubtitles.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/opensubtitles/opensubtitles.py b/src/plugins/opensubtitles/opensubtitles.py
index 7396d80a6..8f4be065f 100644
--- a/src/plugins/opensubtitles/opensubtitles.py
+++ b/src/plugins/opensubtitles/opensubtitles.py
@@ -429,6 +429,10 @@ class OpenSubtitles (GObject.Object, # pylint: disable=R0902
server = xmlrpc.client.Server ('http://api.opensubtitles.org/xml-rpc')
self._model = OpenSubtitlesModel (server)
+ mrl = self._totem.get_current_mrl ()
+ if mrl:
+ self.__on_totem__file_opened(self._totem, self._totem.get_current_mrl ())
+
def do_deactivate (self):
if self._dialog:
self._dialog.destroy ()