summaryrefslogtreecommitdiff
path: root/plugin.video.eurosportplayer/resources/lib/context.py
diff options
context:
space:
mode:
authorJinRonin <jin@xyz.de>2018-01-18 20:23:15 +0100
committerMartijn Kaijser <martijn@xbmc.org>2018-01-24 18:14:39 +0100
commit376c75a827b3064a02968888744fd25e5dd5e255 (patch)
treede33e32c55ef0403e27883848f7de1d61fd8ae7d /plugin.video.eurosportplayer/resources/lib/context.py
parentecc83e939343fbc3a00fe76fc429f1b322648761 (diff)
[plugin.video.eurosportplayer] 2.0.6
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