audiometa-python 1.4.4__py3-none-any.whl → 1.4.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- audiometa/__init__.py +2 -0
- audiometa/_audio_file.py +6 -2
- audiometa/test/tests/integration/technical_info/test_duration_in_sec.py +19 -6
- audiometa/test/tests/unit/audio_file/technical_info/test_duration_in_sec.py +4 -0
- audiometa/test/tests/unit/utils/test_mp3_gapless_duration.py +139 -0
- audiometa/utils/mp3_gapless_duration.py +73 -0
- {audiometa_python-1.4.4.dist-info → audiometa_python-1.4.5.dist-info}/METADATA +1 -1
- {audiometa_python-1.4.4.dist-info → audiometa_python-1.4.5.dist-info}/RECORD +12 -10
- {audiometa_python-1.4.4.dist-info → audiometa_python-1.4.5.dist-info}/WHEEL +1 -1
- {audiometa_python-1.4.4.dist-info → audiometa_python-1.4.5.dist-info}/entry_points.txt +0 -0
- {audiometa_python-1.4.4.dist-info → audiometa_python-1.4.5.dist-info}/licenses/LICENSE +0 -0
- {audiometa_python-1.4.4.dist-info → audiometa_python-1.4.5.dist-info}/top_level.txt +0 -0
audiometa/__init__.py
CHANGED
|
@@ -1216,6 +1216,8 @@ def is_audio_file(file: PublicFileType) -> bool:
|
|
|
1216
1216
|
def get_duration_in_sec(file: PublicFileType) -> float:
|
|
1217
1217
|
"""Get the duration of an audio file in seconds.
|
|
1218
1218
|
|
|
1219
|
+
MP3 durations exclude encoder delay and padding when the Xing/Info frame's LAME extension provides them.
|
|
1220
|
+
|
|
1219
1221
|
Args:
|
|
1220
1222
|
file: Audio file path (str or Path)
|
|
1221
1223
|
|
audiometa/_audio_file.py
CHANGED
|
@@ -26,6 +26,7 @@ from .manager._rating_supporting.id3v2._id3v2_constants import ID3V2_HEADER_SIZE
|
|
|
26
26
|
from .manager._rating_supporting.riff._riff_constants import RIFF_HEADER_SIZE
|
|
27
27
|
from .utils.flac_md5_state import FlacMd5State
|
|
28
28
|
from .utils.metadata_format import MetadataFormat
|
|
29
|
+
from .utils.mp3_gapless_duration import read_mp3_gapless_duration
|
|
29
30
|
from .utils.mutagen_exception_handler import handle_mutagen_exception
|
|
30
31
|
from .utils.tool_path_resolver import get_tool_path
|
|
31
32
|
|
|
@@ -92,8 +93,11 @@ class _AudioFile:
|
|
|
92
93
|
|
|
93
94
|
if self.file_extension == ".mp3":
|
|
94
95
|
try:
|
|
95
|
-
|
|
96
|
-
|
|
96
|
+
info = MP3(path).info
|
|
97
|
+
gapless_duration = read_mp3_gapless_duration(path, info)
|
|
98
|
+
if gapless_duration is not None:
|
|
99
|
+
return gapless_duration
|
|
100
|
+
return float(info.length)
|
|
97
101
|
except Exception as exc:
|
|
98
102
|
# If MP3 fails, try other formats as fallback
|
|
99
103
|
try:
|
|
@@ -18,12 +18,25 @@ class TestGetDurationInSec:
|
|
|
18
18
|
assert isinstance(duration, float)
|
|
19
19
|
assert duration > 0
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
@pytest.mark.parametrize(
|
|
22
|
+
"relative_path",
|
|
23
|
+
[
|
|
24
|
+
"sample.mp3",
|
|
25
|
+
"shared/duration=277s.mp3",
|
|
26
|
+
"shared/recording=Y do i - Carmina Burana Remix - 7m52.mp3",
|
|
27
|
+
"shared/duration=182.mp3",
|
|
28
|
+
"size_small=0.01mo.mp3",
|
|
29
|
+
"sample.flac",
|
|
30
|
+
],
|
|
31
|
+
)
|
|
32
|
+
def test_get_duration_in_sec_matches_external_tool(self, assets_dir: Path, relative_path: str):
|
|
33
|
+
file_path = assets_dir / relative_path
|
|
34
|
+
external_tool_duration = TechnicalInfoInspector.get_duration(file_path)
|
|
35
|
+
assert external_tool_duration is not None, "External tool could not get duration"
|
|
36
|
+
|
|
37
|
+
duration = get_duration_in_sec(file_path)
|
|
38
|
+
# External tools differ by version in whether they subtract MP3 encoder delay and padding (up to ~51 ms here)
|
|
39
|
+
assert duration == pytest.approx(external_tool_duration, abs=0.1)
|
|
27
40
|
|
|
28
41
|
def test_get_duration_in_sec_supports_all_formats(
|
|
29
42
|
self, sample_mp3_file: Path, sample_flac_file: Path, sample_wav_file: Path
|
|
@@ -14,6 +14,10 @@ class TestAudioFileDurationInSec:
|
|
|
14
14
|
assert duration > 0
|
|
15
15
|
assert duration < 1000 # Reasonable bounds check
|
|
16
16
|
|
|
17
|
+
def test_get_duration_in_sec_mp3_excludes_encoder_delay_and_padding(self, sample_mp3_file: Path):
|
|
18
|
+
audio_file = _AudioFile(sample_mp3_file)
|
|
19
|
+
assert audio_file.get_duration_in_sec() == pytest.approx(1.0, abs=1e-6)
|
|
20
|
+
|
|
17
21
|
def test_get_duration_in_sec_flac(self, sample_flac_file: Path):
|
|
18
22
|
audio_file = _AudioFile(sample_flac_file)
|
|
19
23
|
duration = audio_file.get_duration_in_sec()
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
from pathlib import Path
|
|
2
|
+
|
|
3
|
+
import pytest
|
|
4
|
+
from mutagen.mp3 import MP3
|
|
5
|
+
|
|
6
|
+
from audiometa.utils.mp3_gapless_duration import read_mp3_gapless_duration
|
|
7
|
+
|
|
8
|
+
MPEG1_STEREO_44100_HEADER = bytes([0xFF, 0xFB, 0x90, 0x00])
|
|
9
|
+
MPEG2_STEREO_22050_HEADER = bytes([0xFF, 0xF3, 0x90, 0x00])
|
|
10
|
+
MPEG1_FRAME_SIZE = 417
|
|
11
|
+
MPEG2_FRAME_SIZE = 261
|
|
12
|
+
MPEG1_LAYER2_FRAME_SIZE = 522
|
|
13
|
+
MPEG1_SIDE_INFO_STEREO = 32
|
|
14
|
+
MPEG2_SIDE_INFO_STEREO = 17
|
|
15
|
+
FRAMES_FLAG = 0x1
|
|
16
|
+
BYTES_FLAG = 0x2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def _xing_frame(
|
|
20
|
+
header: bytes,
|
|
21
|
+
side_info: int,
|
|
22
|
+
frames: int,
|
|
23
|
+
encoder: bytes = b"Lavc59.37",
|
|
24
|
+
delay: int = 0,
|
|
25
|
+
padding: int = 0,
|
|
26
|
+
flags: int = FRAMES_FLAG,
|
|
27
|
+
) -> bytes:
|
|
28
|
+
body = header + bytes(side_info) + b"Info" + flags.to_bytes(4, "big")
|
|
29
|
+
if flags & FRAMES_FLAG:
|
|
30
|
+
body += frames.to_bytes(4, "big")
|
|
31
|
+
if flags & BYTES_FLAG:
|
|
32
|
+
body += bytes(4)
|
|
33
|
+
delay_padding = bytes([delay >> 4, ((delay & 0xF) << 4) | (padding >> 8), padding & 0xFF])
|
|
34
|
+
return body + encoder.ljust(21, b"\0") + delay_padding + bytes(64)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def _stream(first_frame: bytes, header: bytes, frame_size: int, prefix: bytes = b"") -> bytes:
|
|
38
|
+
padded = first_frame.ljust(frame_size, b"\0")
|
|
39
|
+
silent_frame = (header + bytes(frame_size))[:frame_size]
|
|
40
|
+
return prefix + padded + silent_frame * 4
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def _gapless(path: Path) -> float | None:
|
|
44
|
+
return read_mp3_gapless_duration(path, MP3(path).info)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def _id3v2_header(size: int, flags: int = 0) -> bytes:
|
|
48
|
+
syncsafe = bytes([(size >> 21) & 0x7F, (size >> 14) & 0x7F, (size >> 7) & 0x7F, size & 0x7F])
|
|
49
|
+
return b"ID3\x04\x00" + bytes([flags]) + syncsafe
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
@pytest.mark.unit
|
|
53
|
+
class TestReadMp3GaplessDuration:
|
|
54
|
+
@pytest.mark.parametrize(
|
|
55
|
+
("relative_path", "expected"),
|
|
56
|
+
[
|
|
57
|
+
("sample.mp3", 1.0),
|
|
58
|
+
("shared/duration=277s.mp3", 277.839433),
|
|
59
|
+
("shared/recording=Y do i - Carmina Burana Remix - 7m52.mp3", 472.594286),
|
|
60
|
+
("shared/duration=182.mp3", 181.696145),
|
|
61
|
+
],
|
|
62
|
+
)
|
|
63
|
+
def test_fixture_matches_ffprobe(self, assets_dir: Path, relative_path: str, expected: float):
|
|
64
|
+
assert _gapless(assets_dir / relative_path) == pytest.approx(expected, abs=1e-6)
|
|
65
|
+
|
|
66
|
+
def test_file_without_xing_frame_returns_none(self, assets_dir: Path):
|
|
67
|
+
assert _gapless(assets_dir / "size_small=0.01mo.mp3") is None
|
|
68
|
+
|
|
69
|
+
@pytest.mark.parametrize("encoder", [b"LAME3.100", b"Lavc59.37", b"Lavf60.16", b"L3.99r1"])
|
|
70
|
+
def test_known_encoder_subtracts_delay_and_padding(self, tmp_path: Path, encoder: bytes):
|
|
71
|
+
path = tmp_path / "a.mp3"
|
|
72
|
+
frame = _xing_frame(MPEG1_STEREO_44100_HEADER, MPEG1_SIDE_INFO_STEREO, 100, encoder, 576, 1105)
|
|
73
|
+
path.write_bytes(_stream(frame, MPEG1_STEREO_44100_HEADER, MPEG1_FRAME_SIZE))
|
|
74
|
+
assert _gapless(path) == pytest.approx((100 * 1152 - 576 - 1105) / 44100)
|
|
75
|
+
|
|
76
|
+
def test_unknown_encoder_ignores_delay_and_padding(self, tmp_path: Path):
|
|
77
|
+
path = tmp_path / "a.mp3"
|
|
78
|
+
frame = _xing_frame(MPEG1_STEREO_44100_HEADER, MPEG1_SIDE_INFO_STEREO, 100, b"Other1.0", 576, 1105)
|
|
79
|
+
path.write_bytes(_stream(frame, MPEG1_STEREO_44100_HEADER, MPEG1_FRAME_SIZE))
|
|
80
|
+
assert _gapless(path) == pytest.approx(100 * 1152 / 44100)
|
|
81
|
+
|
|
82
|
+
def test_mpeg2_uses_576_samples_per_frame(self, tmp_path: Path):
|
|
83
|
+
path = tmp_path / "a.mp3"
|
|
84
|
+
frame = _xing_frame(MPEG2_STEREO_22050_HEADER, MPEG2_SIDE_INFO_STEREO, 100, b"LAME3.100", 528, 0)
|
|
85
|
+
path.write_bytes(_stream(frame, MPEG2_STEREO_22050_HEADER, MPEG2_FRAME_SIZE))
|
|
86
|
+
assert _gapless(path) == pytest.approx((100 * 576 - 528) / 22050)
|
|
87
|
+
|
|
88
|
+
def test_missing_frame_count_flag_returns_none(self, tmp_path: Path):
|
|
89
|
+
path = tmp_path / "a.mp3"
|
|
90
|
+
frame = _xing_frame(MPEG1_STEREO_44100_HEADER, MPEG1_SIDE_INFO_STEREO, 100, flags=0)
|
|
91
|
+
path.write_bytes(_stream(frame, MPEG1_STEREO_44100_HEADER, MPEG1_FRAME_SIZE))
|
|
92
|
+
assert _gapless(path) is None
|
|
93
|
+
|
|
94
|
+
def test_bytes_field_is_skipped_before_encoder(self, tmp_path: Path):
|
|
95
|
+
path = tmp_path / "a.mp3"
|
|
96
|
+
frame = _xing_frame(
|
|
97
|
+
MPEG1_STEREO_44100_HEADER,
|
|
98
|
+
MPEG1_SIDE_INFO_STEREO,
|
|
99
|
+
100,
|
|
100
|
+
b"LAME3.100",
|
|
101
|
+
576,
|
|
102
|
+
1105,
|
|
103
|
+
FRAMES_FLAG | BYTES_FLAG,
|
|
104
|
+
)
|
|
105
|
+
path.write_bytes(_stream(frame, MPEG1_STEREO_44100_HEADER, MPEG1_FRAME_SIZE))
|
|
106
|
+
assert _gapless(path) == pytest.approx((100 * 1152 - 576 - 1105) / 44100)
|
|
107
|
+
|
|
108
|
+
def test_delay_and_padding_exceeding_samples_returns_none(self, tmp_path: Path):
|
|
109
|
+
path = tmp_path / "a.mp3"
|
|
110
|
+
frame = _xing_frame(MPEG1_STEREO_44100_HEADER, MPEG1_SIDE_INFO_STEREO, 1, b"LAME3.100", 1000, 1000)
|
|
111
|
+
path.write_bytes(_stream(frame, MPEG1_STEREO_44100_HEADER, MPEG1_FRAME_SIZE))
|
|
112
|
+
assert _gapless(path) is None
|
|
113
|
+
|
|
114
|
+
def test_truncated_xing_header_returns_none(self, tmp_path: Path):
|
|
115
|
+
path = tmp_path / "a.mp3"
|
|
116
|
+
frame = _xing_frame(MPEG1_STEREO_44100_HEADER, MPEG1_SIDE_INFO_STEREO, 100)[:42]
|
|
117
|
+
path.write_bytes(_stream(frame, MPEG1_STEREO_44100_HEADER, MPEG1_FRAME_SIZE))
|
|
118
|
+
assert _gapless(path) is None
|
|
119
|
+
|
|
120
|
+
@pytest.mark.parametrize("tag_count", [1, 2])
|
|
121
|
+
def test_stacked_id3v2_tags_are_skipped(self, tmp_path: Path, tag_count: int):
|
|
122
|
+
tag = _id3v2_header(300) + bytes(300)
|
|
123
|
+
frame = _xing_frame(MPEG1_STEREO_44100_HEADER, MPEG1_SIDE_INFO_STEREO, 100, b"LAME3.100", 576, 1105)
|
|
124
|
+
path = tmp_path / "a.mp3"
|
|
125
|
+
path.write_bytes(_stream(frame, MPEG1_STEREO_44100_HEADER, MPEG1_FRAME_SIZE, tag * tag_count))
|
|
126
|
+
assert _gapless(path) == pytest.approx((100 * 1152 - 576 - 1105) / 44100)
|
|
127
|
+
|
|
128
|
+
def test_false_sync_in_junk_before_first_frame_is_ignored(self, tmp_path: Path):
|
|
129
|
+
junk = bytes([0xFF, 0xFB, 0x90, 0x00]) + bytes(20)
|
|
130
|
+
frame = _xing_frame(MPEG1_STEREO_44100_HEADER, MPEG1_SIDE_INFO_STEREO, 100, b"LAME3.100", 576, 1105)
|
|
131
|
+
path = tmp_path / "a.mp3"
|
|
132
|
+
path.write_bytes(_stream(frame, MPEG1_STEREO_44100_HEADER, MPEG1_FRAME_SIZE, junk))
|
|
133
|
+
assert _gapless(path) == pytest.approx((100 * 1152 - 576 - 1105) / 44100)
|
|
134
|
+
|
|
135
|
+
def test_non_layer3_stream_returns_none(self, tmp_path: Path):
|
|
136
|
+
layer2_header = bytes([0xFF, 0xFD, 0x90, 0x00])
|
|
137
|
+
path = tmp_path / "a.mp3"
|
|
138
|
+
path.write_bytes((layer2_header + bytes(MPEG1_LAYER2_FRAME_SIZE - 4)) * 6)
|
|
139
|
+
assert _gapless(path) is None
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"""Gapless MP3 duration from the Xing/Info frame and its LAME or ffmpeg (Lavc/Lavf) extension.
|
|
2
|
+
|
|
3
|
+
mutagen only subtracts encoder delay and padding when the LAME extension's encoder string starts with
|
|
4
|
+
"LAME"; ffmpeg writes the same extension with "Lavc"/"Lavf", so mutagen over-reports those files.
|
|
5
|
+
Frame sync is taken from mutagen's MPEGInfo.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
|
|
10
|
+
from mutagen.mp3 import MPEGInfo
|
|
11
|
+
|
|
12
|
+
_MPEG1_VERSION = 1.0
|
|
13
|
+
_LAYER3 = 3
|
|
14
|
+
_MONO_MODE = 3
|
|
15
|
+
_MPEG1_SAMPLES_PER_FRAME = 1152
|
|
16
|
+
_MPEG2_SAMPLES_PER_FRAME = 576
|
|
17
|
+
_FRAME_HEADER_SIZE = 4
|
|
18
|
+
_READ_SIZE = 512
|
|
19
|
+
_XING_TAGS = (b"Xing", b"Info")
|
|
20
|
+
_XING_FRAMES_FLAG = 0x1
|
|
21
|
+
_XING_BYTES_FLAG = 0x2
|
|
22
|
+
_XING_TOC_FLAG = 0x4
|
|
23
|
+
_XING_SCALE_FLAG = 0x8
|
|
24
|
+
_XING_TOC_SIZE = 100
|
|
25
|
+
|
|
26
|
+
_LAME_ENCODER_PREFIXES = (b"LAME", b"L3.99", b"Lavc", b"Lavf")
|
|
27
|
+
_LAME_DELAY_PADDING_OFFSET = 21
|
|
28
|
+
_LAME_DELAY_PADDING_SIZE = 3
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def read_mp3_gapless_duration(path: str | Path, info: MPEGInfo) -> float | None:
|
|
32
|
+
"""Return the gapless duration in seconds, or None if the first frame has no Xing/Info frame count."""
|
|
33
|
+
if info.layer != _LAYER3:
|
|
34
|
+
return None
|
|
35
|
+
|
|
36
|
+
with Path(path).open("rb") as f:
|
|
37
|
+
f.seek(info.frame_offset)
|
|
38
|
+
buf = f.read(_READ_SIZE)
|
|
39
|
+
|
|
40
|
+
mono = info.mode == _MONO_MODE
|
|
41
|
+
if info.version == _MPEG1_VERSION:
|
|
42
|
+
side_info_size = 17 if mono else 32
|
|
43
|
+
samples_per_frame = _MPEG1_SAMPLES_PER_FRAME
|
|
44
|
+
else:
|
|
45
|
+
side_info_size = 9 if mono else 17
|
|
46
|
+
samples_per_frame = _MPEG2_SAMPLES_PER_FRAME
|
|
47
|
+
|
|
48
|
+
xing = _FRAME_HEADER_SIZE + side_info_size
|
|
49
|
+
if buf[xing : xing + 4] not in _XING_TAGS or len(buf) < xing + 12:
|
|
50
|
+
return None
|
|
51
|
+
flags = int.from_bytes(buf[xing + 4 : xing + 8], "big")
|
|
52
|
+
if not flags & _XING_FRAMES_FLAG:
|
|
53
|
+
return None
|
|
54
|
+
frames = int.from_bytes(buf[xing + 8 : xing + 12], "big")
|
|
55
|
+
|
|
56
|
+
pos = xing + 12
|
|
57
|
+
if flags & _XING_BYTES_FLAG:
|
|
58
|
+
pos += 4
|
|
59
|
+
if flags & _XING_TOC_FLAG:
|
|
60
|
+
pos += _XING_TOC_SIZE
|
|
61
|
+
if flags & _XING_SCALE_FLAG:
|
|
62
|
+
pos += 4
|
|
63
|
+
|
|
64
|
+
delay = padding = 0
|
|
65
|
+
delay_padding = buf[pos + _LAME_DELAY_PADDING_OFFSET : pos + _LAME_DELAY_PADDING_OFFSET + _LAME_DELAY_PADDING_SIZE]
|
|
66
|
+
if buf[pos:].startswith(_LAME_ENCODER_PREFIXES) and len(delay_padding) == _LAME_DELAY_PADDING_SIZE:
|
|
67
|
+
delay = (delay_padding[0] << 4) | (delay_padding[1] >> 4)
|
|
68
|
+
padding = ((delay_padding[1] & 0x0F) << 8) | delay_padding[2]
|
|
69
|
+
|
|
70
|
+
samples = frames * samples_per_frame - delay - padding
|
|
71
|
+
if samples <= 0:
|
|
72
|
+
return None
|
|
73
|
+
return float(samples / info.sample_rate)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: audiometa-python
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.5
|
|
4
4
|
Summary: A comprehensive Python library for reading and writing audio metadata across multiple formats
|
|
5
5
|
Author: AudioMeta Python Contributors
|
|
6
6
|
Author-email: Andreas Garcia <garcia.andreas.1991@gmail.com>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
audiometa/__init__.py,sha256=
|
|
1
|
+
audiometa/__init__.py,sha256=FG-NFT1DPmxWScUYiZ5ffpOPjqMG86tAxpJx21OzafA,66722
|
|
2
2
|
audiometa/__main__.py,sha256=puqdVBXESbIJxcSqVUGsXq3836d2DP0UUES63NPxjj0,119
|
|
3
|
-
audiometa/_audio_file.py,sha256=
|
|
3
|
+
audiometa/_audio_file.py,sha256=HfAT1avebiLJEPFMehAFvSw-3AUaVzmUsSwJx9Qglno,25052
|
|
4
4
|
audiometa/cli.py,sha256=iirvSWH1CLfd68Sma6tfmN5PzvVRUqhKCvTNyUK9IGw,26167
|
|
5
5
|
audiometa/exceptions.py,sha256=uD950BNx0IdUKLKkAOb7PG8cChyZrCgE3RnvoEtWXCI,6049
|
|
6
6
|
audiometa/manager/_MetadataManager.py,sha256=7kzkgiuO7tQHT6dDUzsep253o2Vpghj01l5dczgBiGs,38269
|
|
@@ -280,7 +280,7 @@ audiometa/test/tests/integration/real_audio_files/test_writing.py,sha256=MEjIYKx
|
|
|
280
280
|
audiometa/test/tests/integration/technical_info/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
281
281
|
audiometa/test/tests/integration/technical_info/test_bitrate.py,sha256=YnUhrMQHnNnimcTQdlYlxj0FCwS-IZb9uZjTAwKwK-c,3469
|
|
282
282
|
audiometa/test/tests/integration/technical_info/test_channels.py,sha256=hCooSh-TwCZvqc8yfCtOLTIxHtyiDcYg4qwR9JK8khg,1413
|
|
283
|
-
audiometa/test/tests/integration/technical_info/test_duration_in_sec.py,sha256=
|
|
283
|
+
audiometa/test/tests/integration/technical_info/test_duration_in_sec.py,sha256=0P2h6GdpGj6LlfxksqLCrk9H6y51VKGzpTsmNtbvRJ8,2089
|
|
284
284
|
audiometa/test/tests/integration/technical_info/test_sample_rate.py,sha256=EGzuehs7GA58WbuUqSwFi2Dg-C5OT_U7t2dHVc5PWrU,1622
|
|
285
285
|
audiometa/test/tests/integration/technical_info/flac_md5/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
286
286
|
audiometa/test/tests/integration/technical_info/flac_md5/conftest.py,sha256=g-z4ibM7rydJG-2G28tvMdMOw1Tk4bWVhdsjXJjkAhI,3863
|
|
@@ -333,7 +333,7 @@ audiometa/test/tests/unit/audio_file/test_path_handling.py,sha256=6-NnVSBiWAW47p
|
|
|
333
333
|
audiometa/test/tests/unit/audio_file/technical_info/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
334
334
|
audiometa/test/tests/unit/audio_file/technical_info/test_bitrate.py,sha256=54MD3iEc0zHspdL84Ud-qsERE4rr_Tl__RLzXUAMo9w,793
|
|
335
335
|
audiometa/test/tests/unit/audio_file/technical_info/test_channels.py,sha256=J8Dj2dCOkQSOBxjOYPkZu-Z7HN-IuWKQ26-N6YAozk4,1013
|
|
336
|
-
audiometa/test/tests/unit/audio_file/technical_info/test_duration_in_sec.py,sha256=
|
|
336
|
+
audiometa/test/tests/unit/audio_file/technical_info/test_duration_in_sec.py,sha256=mY4lbgrdplvLM36gHgXauZn7H6k8JWyLP897goK1QUo,1626
|
|
337
337
|
audiometa/test/tests/unit/audio_file/technical_info/test_error_handling.py,sha256=3CUoftvkuxHAHnDjdkAnU4UgrPY67Jh2udnFOEqeGhM,7194
|
|
338
338
|
audiometa/test/tests/unit/audio_file/technical_info/test_file_size.py,sha256=TQC_RiR78DF-QWxsWFfoh1Zuul45Y8JyGwPtwObQQqI,1839
|
|
339
339
|
audiometa/test/tests/unit/audio_file/technical_info/test_format_name.py,sha256=vfL4S-1D215KheDbA6KUlUeNOKqPrw8VjvcqriBhatA,860
|
|
@@ -388,6 +388,7 @@ audiometa/test/tests/unit/metadata_managers/metadata_field/track_number/__init__
|
|
|
388
388
|
audiometa/test/tests/unit/metadata_managers/metadata_field/track_number/test_track_number_validation.py,sha256=LsSbbwLCgvIE26rAW6FZQXdpr13F6NxRiD4WdPcc7dw,1685
|
|
389
389
|
audiometa/test/tests/unit/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
390
390
|
audiometa/test/tests/unit/utils/test_disc_number_read.py,sha256=f4kmunPZmWys4_7i1tpNRSMvFxk4tPOx--5YpvE8rOw,1747
|
|
391
|
+
audiometa/test/tests/unit/utils/test_mp3_gapless_duration.py,sha256=0_wE24SyiVz0Kv4hEi09qK_tH0GFbnd9TWHW4ykrrGA,6259
|
|
391
392
|
audiometa/test/tests/unit/utils/test_raw_metadata_sanitizer.py,sha256=gDwlSSaGHXDi4yHILAri4710v1-YBIgKr3M3SQS1o5Y,2772
|
|
392
393
|
audiometa/test/tests/unit/utils/test_unified_metadata_field_schema.py,sha256=XBc9PhFQYjyeoOdQ0RbTYaVDIc8W0IOIF5fhBvJCcsA,3639
|
|
393
394
|
audiometa/utils/__init__.py,sha256=xqgLC3jfpEEBM-p88ZwqcEM-iduMKtbZG3xba4Iu6z0,67
|
|
@@ -396,6 +397,7 @@ audiometa/utils/flac_md5_state.py,sha256=sCV5Ku1uv7AEVwuAFTD_sT_7ZM5-169w0KWFBfG
|
|
|
396
397
|
audiometa/utils/id3v1_genre_code_map.py,sha256=5P-qjbtfuu3xW8UQqdyTnpNdHHGfD3K1pyl-LpXDNYY,4387
|
|
397
398
|
audiometa/utils/metadata_format.py,sha256=_IfBul0a2hRgg6-HXi9344GwRD-5Ucf8-24VntKHTEg,998
|
|
398
399
|
audiometa/utils/metadata_writing_strategy.py,sha256=ksXaLvAqZQ1jw_BaKMmrxqxz5iQ5Y2i807jEY31mOL0,583
|
|
400
|
+
audiometa/utils/mp3_gapless_duration.py,sha256=JxCk14Rcvqsv3BrIo_yZrwxlffDZ-nU8TEEfRy1X8Pc,2481
|
|
399
401
|
audiometa/utils/mutagen_exception_handler.py,sha256=UcX0-dik1Q7uhDXC_AmQsiIfyVQfhWTRJlEYHxse3Ps,1015
|
|
400
402
|
audiometa/utils/rating_profiles.py,sha256=_nsVh_lkEAAQDhifSIGvsihUi0cFDlNST6eXxNA47FY,4972
|
|
401
403
|
audiometa/utils/raw_metadata_sanitizer.py,sha256=OMWxnoxCDDiTkmH5cG2unaOW6bY1Ikq5qKhuIrKMMqw,2815
|
|
@@ -409,9 +411,9 @@ audiometa/utils/os_dependencies_checker/config.py,sha256=fYyNTL_xCj6Q3e2_B-yXYvI
|
|
|
409
411
|
audiometa/utils/os_dependencies_checker/macos.py,sha256=9JGbYqhzi4LPQCtEyJhbomoeV7j8Dy2jtWMlJVODN48,9913
|
|
410
412
|
audiometa/utils/os_dependencies_checker/ubuntu.py,sha256=ScIPUok2ZR-c2Eg9B_lLJrGgC24ARY4UYie75_5mtmI,4969
|
|
411
413
|
audiometa/utils/os_dependencies_checker/windows.py,sha256=ZT1u08ikb7Q1Votkh1UmBoKipiwPakC5YwijJOi9Wo8,8684
|
|
412
|
-
audiometa_python-1.4.
|
|
413
|
-
audiometa_python-1.4.
|
|
414
|
-
audiometa_python-1.4.
|
|
415
|
-
audiometa_python-1.4.
|
|
416
|
-
audiometa_python-1.4.
|
|
417
|
-
audiometa_python-1.4.
|
|
414
|
+
audiometa_python-1.4.5.dist-info/licenses/LICENSE,sha256=j1kssByxxoFgs35PBgJX2ReI8uVNNYzPK2hFW84ZVL4,11402
|
|
415
|
+
audiometa_python-1.4.5.dist-info/METADATA,sha256=YNaoLIE9G8Q4fKn-aOxYxVSatNDLy18i5w6Ue50K-Ss,69473
|
|
416
|
+
audiometa_python-1.4.5.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
417
|
+
audiometa_python-1.4.5.dist-info/entry_points.txt,sha256=IlcsOEkazYbUdynOAuGQPoDjbejVQuR5xbJs-8jER-E,49
|
|
418
|
+
audiometa_python-1.4.5.dist-info/top_level.txt,sha256=1z-X7IN6-DpD3IfQWAMQ5bIz6v2Ltgk1w7zwiXOpqDc,10
|
|
419
|
+
audiometa_python-1.4.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|