def compare_media_trs(trs1, trs2, meta=True):
    """Compare media of the tiers of 2 sppasTranscription().

    :param trs1: (sppasTranscription)
    :param trs2: (sppasTranscription)
    :param meta: (bool)

    """
    for t1, t2 in zip(trs1, trs2):
        m1 = t1.get_media()  # a sppasMedia() instance or None
        m2 = t2.get_media()  # a sppasMedia() instance or None

        if m1 is None and m2 is None:
            continue
        if meta is True:
            return m1 == m2
        else:
            if m1.get_filename() != m2.get_filename():
                return False
            if m1.get_mime_type() != m2.get_mime_type():
                return False
    return True