PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
| Dir : /usr/lib64/python3.8/email/mime/__pycache__/ |
| Server: Linux tamarillo.o2switch.net 4.18.0-553.33.1.lve.el8.x86_64 #1 SMP Tue Dec 24 22:25:00 UTC 2024 x86_64 IP: 109.234.166.180 |
| Dir : //usr/lib64/python3.8/email/mime/__pycache__/audio.cpython-38.pyc |
U
e5d�
� @ s` d Z dgZddlZddlmZ ddlmZ ddlmZ ddd d d
�Z dd� Z
G d
d� de�ZdS )z/Class representing audio/* type MIME documents.� MIMEAudio� N)�BytesIO)�encoders)�MIMENonMultipartZbasiczx-wavzx-aiff)ZauZwavZaiffZaifcc C sH | dd� }t |�}tjD ](}|||�}|dk rt�|d � S qdS )a Try to identify a sound file type.
sndhdr.what() has a pretty cruddy interface, unfortunately. This is why
we re-do it here. It would be easier to reverse engineer the Unix 'file'
command and use the standard 'magic' file, as shipped with a modern Unix.
Ni r )r �sndhdrZtests�_sndhdr_MIMEmap�get)�dataZhdrZfakefileZtestfn�res� r �(/usr/lib64/python3.8/email/mime/audio.py�_whatsnd s
r
c @ s&