@staticmethod
def playlist_result(entries, playlist_id=None, playlist_title=None, playlist_description=None):
    'Returns a playlist'
    video_info = {'_type': 'playlist', 'entries': entries}
    if playlist_id:
        video_info['id'] = playlist_id
    if playlist_title:
        video_info['title'] = playlist_title
    if playlist_description:
        video_info['description'] = playlist_description
    return video_info
Returns a playlist
@staticmethod
def playlist_result(entries, playlist_id=None, playlist_title=None, playlist_description=None):
    
    video_info = {'_type': 'playlist', 'entries': entries}
    if playlist_id:
        video_info['id'] = playlist_id
    if playlist_title:
        video_info['title'] = playlist_title
    if playlist_description:
        video_info['description'] = playlist_description
    return video_info