mediafile
mediafile copied to clipboard
elegant audio file tagging
While testing beets with `pytest` under windows python 3.12 the following warning appears: ``` C:\Users\arogl\AppData\Local\Programs\Python\Python312\Lib\site-packages\mediafile.py:52 C:\Users\arogl\AppData\Local\Programs\Python\Python312\Lib\site-packages\mediafile.py:52: DeprecationWarning: 'imghdr' is deprecated and slated for removal in Python 3.13 import imghdr ```
### Simple reproduction: Get empty file: ``` $ ffmpeg -f lavfi -i 'anullsrc=channel_layout=5.1:sample_rate=48000' -t 1 file.flac ``` Write track field ``` >>> from mediafile import MediaFile >>> f = MediaFile('file.flac')...
Hello, I'm just wondering what the release process is for this repo. A few months ago I authored 93c6c3bc7541ad169824ac603267e9c02fe4ecd5 which unfortunately still hasn't been tied to an official release of...
The `imghdr` package from the Python standard library is [deprecated and will be removed in Python 3.13][1]. The deprecated PEP suggests packages filetype, puremagic, python-magic as replacements. I chose filetype...
rtng is the rating field. it's 1 if the track is explicit and 0 if it's clean.
The Python standard library will be removing [`imghdr`](https://docs.python.org/3/library/imghdr.html) in Python 3.13. Per [PEP-594](https://peps.python.org/pep-0594/#deprecation-schedule) suggested replacements are [filetype](https://pypi.org/project/filetype/), [puremagic](https://pypi.org/project/puremagic/), and [python-magic](https://pypi.org/project/python-magic/).
Beets seems to write replaygain tags in upper-case regardless of changelog entry 1.3.2 (https://beets.readthedocs.io/en/stable/changelog.html#december-22-2013) There are music player in the wild which only understand lower-case ReplayGain tags (Poweramp, KODI), Using...
I need to read/write the [ID3 Popularimeter tag](http://id3.org/id3v2.3.0#Popularimeter) within my app, specifically in the way that [Native Instruments Traktor](https://www.native-instruments.com/de/products/traktor/dj-software/traktor-pro-3/) writes them. This is a sample file containing the tag as...
As discussed in https://github.com/beetbox/beets/issues/3849 and https://github.com/beetbox/beets/pull/4060, we would like most/all of beets file operations to be atomic. This requires support by mediafile, which in turn either requires that we shuffle...
I think we should have some tests for this as It's supported but not checked if works. I'm pretty sure big part of multi-valued tags would fail and this should...