def parse_track(trackelement):
    """Extract info from every track entry and output to list.

    :param trackelement: json element representing a track
    :return: List containing the date, title, artist and albumname corresponding to the track
    """
    artistname = trackelement['artist']['#text']
    albumname = trackelement['album']['#text']
    trackname = trackelement['name']
    date = trackelement['date']['uts']
    output = [date, trackname, artistname, albumname]
    for i, v in enumerate(output):
        if v is None:
            output[i] = ''
    return output
