def play_episode(series_id, season_number, episode_number): select_quality = plugin.request.arg('select_quality') link = select_torrent_link( series_id, season_number, episode_number, select_quality) if not link: return torrent = get_torrent(link.url) dom_parser = get_dom_parser() dom_parser.mark_episode_watched(series_id, season_number, episode_number) play_torrent(torrent) return
def play_episode(series_id, season_number, episode_number): select_quality = plugin.request.arg('select_quality') link = select_torrent_link(series_id, season_number, episode_number, select_quality) if not link: return torrent = get_torrent(link.url) dom_parser = get_dom_parser() play_torrent(torrent) dom_parser.mark_episode_watched(series_id, season_number, episode_number) return
def addtofavourites(series_id): dom_parser = get_dom_parser() added = dom_parser.addToFavorites(series_id) del dom_parser return
def favnews(): plugin.set_content('episodes') dom_parser = get_dom_parser() series = dom_parser.new_episodes_favorites() plugin.add_items(series, len(series)) plugin.finish()
def trailers(): plugin.set_content('tvshows') dom_parser = get_dom_parser() series = dom_parser.Trailers() plugin.add_items(series, len(series)) plugin.finish()
def newesttvshows(): plugin.set_content('tvshows') dom_parser = get_dom_parser() series = dom_parser.NewestSeries() plugin.add_items(series, len(series)) plugin.finish()
def allseries(): plugin.set_content('tvshows') dom_parser = get_dom_parser() series = dom_parser.AllSeries() plugin.add_items(series, len(series)) plugin.finish()
def favorites(): plugin.set_content('tvshows') dom_parser = get_dom_parser() series = dom_parser.lostfilm_library() plugin.add_items(series, len(series)) plugin.finish()
def bestfinished(): plugin.set_content('tvshows') dom_parser = get_dom_parser() series = dom_parser.Top100_finishedSeries() plugin.add_items(series, len(series)) plugin.finish()
def browse_series_episodes(series_id, series_code): plugin.set_content('episodes') dom_parser = get_dom_parser() episodes = dom_parser.series_episodes(series_id, series_code) plugin.add_items(episodes, 0) plugin.finish()
def favorites(): plugin.set_content('tvshows') dom_parser = get_dom_parser() series = dom_parser.lostfilm_library() plugin.add_items(series, len(series)) plugin.finish()
def addtofavourites(series_id): dom_parser = get_dom_parser() added = dom_parser.addToFavorites(series_id) del dom_parser return
def browse_series_episodes(series_id, series_code): plugin.set_content('episodes') dom_parser = get_dom_parser() episodes = dom_parser.series_episodes(series_id, series_code) plugin.add_items(episodes, 0) plugin.finish()
def trailers(): plugin.set_content('tvshows') dom_parser = get_dom_parser() series = dom_parser.Trailers() plugin.add_items(series, len(series)) plugin.finish()
def favnews(): plugin.set_content('episodes') dom_parser = get_dom_parser() series = dom_parser.new_episodes_favorites() plugin.add_items(series, len(series)) plugin.finish()
def allseries(): plugin.set_content('tvshows') dom_parser = get_dom_parser() series = dom_parser.AllSeries() plugin.add_items(series, len(series)) plugin.finish()
def newesttvshows(): plugin.set_content('tvshows') dom_parser = get_dom_parser() series = dom_parser.NewestSeries() plugin.add_items(series, len(series)) plugin.finish()
def bestfinished(): plugin.set_content('tvshows') dom_parser = get_dom_parser() series = dom_parser.Top100_finishedSeries() plugin.add_items(series, len(series)) plugin.finish()
def index(): plugin.set_content('tvshows') dom_parser = get_dom_parser() series = dom_parser.showmenu() plugin.add_items(series, len(series)) plugin.finish()
def index(): plugin.set_content('tvshows') dom_parser = get_dom_parser() series = dom_parser.showmenu() plugin.add_items(series, len(series)) plugin.finish()