Comments (1)
The implementation comes from a time before there was enum in the standard library. Switching to the built-in enum might be a breaking change in some way. But implementing the name
and value
properties makes sense to me.
there's no easy way for me to just get CBR as you've forced the string representation to be BitrateMode.CBR. I have no idea why anyone would ever want the Enum class in their string representation and is very non-standard.
I wouldn't call it "very non-standard". It is exactly what Python's enum.__str__
does as well:
from enum import Enum
Color = Enum('Color', ['RED', 'GREEN', 'BLUE'])
str(Color.RED) # This is "Color.RED"
from mutagen.
Related Issues (20)
- Duration not displayed for some MPEG-4 audio files.
- Writing new ID3 tags to .aiff files HOT 5
- Can I sort by track number? HOT 1
- IOError (not enough bytes) in read_full() on WAV file with extended ID3 header HOT 4
- EasyID3 is not used for wav files
- mid3v2 produces file that mutagen can't read again HOT 1
- AcoustID Fingerprint HOT 2
- mutagen - 1.47.0 - Error with reading FLAC tags and values HOT 7
- Bad chapter timestamps for Mp4 files HOT 2
- Errors with opus files previously tagged with picard/mutagen HOT 5
- Writing Library Tag HOT 2
- collections renamed to collections.abc HOT 1
- Register all public exports as public HOT 1
- mid3v2 crashes with "UnicodeEncodeError: surrogates not allowed" on files with accented characters in the filename HOT 2
- A
- keep only ID3v2.4 tags, remove ID3v1 and ID3v2.3 tags
- struct.error While assembling a wav file with fresh added tags. HOT 2
- File(path.m4a) broken on linux HOT 8
- COMM not saved in id3v1 tag
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mutagen.