def process_results(results):
    """
    Gets user choice that needs to be played
    :param results: stores the results which we got from get_items
    :return: user choice
    """
    if len(results) >= 1:
        temp_data = {}
        count = 1
        print(
            'Here are the top {} results for your query, which one would you like to stream'
            .format('4' if len(results) > 4 else str(len(results))))
        for label in results.keys():
            temp_data[count] = label
            count = count + 1
            print(label)
            if count == 5:
                print('Enter your choice:')
                break
        try:
            choice = int(input())
            if choice < 1 or choice > 4:
                a = 0 / 4
            else:
                print('***____________________________________________***')
                print('Give me 2-3 minutes to generate a video buffer....')
                return [temp_data[choice], results[temp_data[choice]]]
        except:
            print('Try Again.. Enter a valid choice')
    else:
        return []
