def get_str(track, tag):
    """Get tag from Mutagen file as a string.

    Return the first value of a multivalued tag.  Return '' if the tag is
    missing or empty.
    """
    try:
        values = track[tag]
        return values[0]
    except (IndexError, KeyError):
        return ''
