def fpt_exact_name(keyword=None):
	movie_scraper = Movies()
	if keyword is None:
		keyword = kodiutilsitem.user_input()

	direct_url = movie_scraper.get_by_exact_name(keyword)
	movie = movie_scraper.get_movie(keyword, direct_url)

	FPTMovieView().show_scraped_url(movie)
Ejemplo n.º 2
0
def tvshow_by_keyword(page=1, keyword=None):
    if keyword is None:
        keyword = kodiutilsitem.user_input()
        if keyword is not None:
            results = tmdb.search_tvseries(keyword, page)
    else:
        results = tmdb.search_tvseries(keyword, page)

    TmdbView.show_moviedb_results(results, TV_MEDIA_TYPE,
                                  'menu/tvshow/keyword', page, keyword)
Ejemplo n.º 3
0
def people_by_keyword(page=1, keyword=None):
    if keyword is None:
        keyword = kodiutilsitem.user_input()
        if keyword is not None:
            results = tmdb.search_people(keyword, page)
    else:
        results = tmdb.search_people(keyword, page)

    TmdbView.show_moviedb_cast_results(results, PEOPLE_MEDIA_TYPE,
                                       'menu/people/keyword', page, keyword)
Ejemplo n.º 4
0
def movie_by_keyword(page=1, keyword=None):
    if keyword is None:
        keyword = kodiutilsitem.user_input()
        if keyword is not None:
            results = tmdb.search_moviesdb(keyword, page)
    else:
        results = tmdb.search_moviesdb(keyword, page)

    TmdbView.show_moviedb_results(results, MOVIE_MEDIA_TYPE,
                                  'menu/movies/keyword', page, keyword)
def search_tv_from_websites(keyword=None):
    if keyword is None:
        keyword = kodiutilsitem.user_input()

    select_tv_from_website(keyword)