<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def youtube_meta(client, channel, nick, message, match):
 """ Return meta information about a video """

    if not API_KEY:
        return 'You must set YOUTUBE_DATA_API_KEY in settings!'
    identifier = match[0]
    params = {
        'id': identifier,
        'key': API_KEY,
        'part': 'snippet,statistics,contentDetails',
    }
    response = requests.get(API_ROOT, params=params)

    if response.status_code != 200:
        return 'Error in response, ' + str(response.status_code) + ' for identifier: ' + identifier
    try:
        data = response.json()['items'][0]
    except:
        print('Exception requesting info for identifier: ' + identifier)
        traceback.print_exc()

    response_dict = {
        'title': data['snippet']['title'],
        'poster': data['snippet']['channelTitle'],
        'date': str(parse_date(data['snippet']['publishedAt'])),
        'views': data['statistics']['viewCount'],
        'likes': data['statistics']['likeCount'],
        'dislikes': data['statistics']['dislikeCount'],
        'duration': parse_duration(data['contentDetails']['duration']),
    }

    return RESPONSE_TEMPLATE.format(**response_dict).encode('utf-8').strip()