示例#1
0
def show_tvguide_detail(channel=None, date=None):
    """ Shows the programs of a specific date in the tv guide """
    from resources.lib.modules.tvguide import TvGuide
    TvGuide().show_tvguide_detail(channel, date)
示例#2
0
def show_tvguide_channel(channel):
    """ Shows the dates in the tv guide """
    from resources.lib.modules.tvguide import TvGuide
    TvGuide().show_tvguide_channel(channel)
示例#3
0
def show_program_from_epg(channel, program):
    """ Show a program based on the channel and information from the EPG """
    from resources.lib.modules.tvguide import TvGuide
    TvGuide(kodi).show_program_from_epg(channel, program)
示例#4
0
def play_epg_program(channel, program_type, epg_id, airing=None):
    """ Play a program based on the channel and information from the EPG """
    from resources.lib.modules.tvguide import TvGuide
    TvGuide(kodi).play_epg_program(channel, program_type, epg_id, airing)
示例#5
0
def play_epg_datetime(channel, timestamp):
    """ Play a program based on the channel and the timestamp when it was aired """
    from resources.lib.modules.tvguide import TvGuide
    TvGuide(kodi).play_epg_datetime(channel, timestamp)
def play_epg(channel, timestamp):
    """ Play the requested item """
    from resources.lib.modules.tvguide import TvGuide
    TvGuide().play_epg_datetime(channel, timestamp)