1 2 3 4 5 6 7 8 9 10 11 12 13 14 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