예제 #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)