mirror of
https://github.com/iluvcapra/wavinfo.git
synced 2025-12-31 08:50:41 +00:00
fix bugs
This commit is contained in:
@@ -2,8 +2,8 @@ dist: xenial
|
||||
language: python
|
||||
python:
|
||||
# - "2.7"
|
||||
- "3.6"
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
- "3.7"
|
||||
- "3.8"
|
||||
script:
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
# wavinfo
|
||||
|
||||
|
||||
The `wavinfo` package allows you to probe WAVE and [RF64/WAVE files][eburf64] and extract extended metadata, with an emphasis on film, video and professional music production metadata.
|
||||
|
||||
`wavinfo` reads:
|
||||
@@ -32,8 +31,6 @@ In progress:
|
||||
[eburf64]:https://tech.ebu.ch/docs/tech/tech3306v1_1.pdf
|
||||
[info-tags]:https://exiftool.org/TagNames/RIFF.html#Info
|
||||
|
||||
|
||||
|
||||
## Demonstration
|
||||
|
||||
The entry point for wavinfo is the WavInfoReader class.
|
||||
@@ -67,11 +64,6 @@ The length of the file in frames (interleaved samples) and bytes is available, a
|
||||
|
||||
Python 3.5 support is deprecated.
|
||||
|
||||
|
||||
## Other Resources
|
||||
|
||||
* For other file formats and ID3 decoding, look at [audio-metadata](https://github.com/thebigmunch/audio-metadata).
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -132,7 +132,7 @@ class WavInfoReader:
|
||||
scopes = ('fmt', 'data') # 'bext', 'ixml', 'info')
|
||||
|
||||
for scope in scopes:
|
||||
attr: WavAudioFormat = self.__getattribute__(scope)
|
||||
attr = self.__getattribute__(scope)
|
||||
for field in attr._fields:
|
||||
yield scope, field, attr.__getattribute__(field)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user