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
|
language: python
|
||||||
python:
|
python:
|
||||||
# - "2.7"
|
# - "2.7"
|
||||||
- "3.6"
|
|
||||||
- "3.5"
|
- "3.5"
|
||||||
|
- "3.6"
|
||||||
- "3.7"
|
- "3.7"
|
||||||
- "3.8"
|
- "3.8"
|
||||||
script:
|
script:
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
# wavinfo
|
# 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.
|
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:
|
`wavinfo` reads:
|
||||||
@@ -32,8 +31,6 @@ In progress:
|
|||||||
[eburf64]:https://tech.ebu.ch/docs/tech/tech3306v1_1.pdf
|
[eburf64]:https://tech.ebu.ch/docs/tech/tech3306v1_1.pdf
|
||||||
[info-tags]:https://exiftool.org/TagNames/RIFF.html#Info
|
[info-tags]:https://exiftool.org/TagNames/RIFF.html#Info
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Demonstration
|
## Demonstration
|
||||||
|
|
||||||
The entry point for wavinfo is the WavInfoReader class.
|
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.
|
Python 3.5 support is deprecated.
|
||||||
|
|
||||||
|
|
||||||
## Other Resources
|
## Other Resources
|
||||||
|
|
||||||
* For other file formats and ID3 decoding, look at [audio-metadata](https://github.com/thebigmunch/audio-metadata).
|
* 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')
|
scopes = ('fmt', 'data') # 'bext', 'ixml', 'info')
|
||||||
|
|
||||||
for scope in scopes:
|
for scope in scopes:
|
||||||
attr: WavAudioFormat = self.__getattribute__(scope)
|
attr = self.__getattribute__(scope)
|
||||||
for field in attr._fields:
|
for field in attr._fields:
|
||||||
yield scope, field, attr.__getattribute__(field)
|
yield scope, field, attr.__getattribute__(field)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user