summaryrefslogtreecommitdiff
path: root/plugin.video.eurosportplayer/resources/lib/context.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugin.video.eurosportplayer/resources/lib/context.py')
-rwxr-xr-xplugin.video.eurosportplayer/resources/lib/context.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugin.video.eurosportplayer/resources/lib/context.py b/plugin.video.eurosportplayer/resources/lib/context.py
new file mode 100755
index 0000000..644d0bb
--- /dev/null
+++ b/plugin.video.eurosportplayer/resources/lib/context.py
@@ -0,0 +1,15 @@
+# -*- coding: utf-8 -*-
+
+class Context:
+
+ def __init__(self, plugin):
+ self.cm = []
+ self.plugin = plugin
+
+ def epg_date(self):
+ d = {
+ 'mode': 'epg',
+ 'id': 'date'
+ }
+ self.cm.append((self.plugin.get_string(30230), 'ActivateWindow(Videos, {0})'.format(self.plugin.build_url(d))))
+ return self.cm