Count audio files in a directory.
Project description
audioinfo
A tool to check audio file durations in a directory.
Usage
Install the audioinfo package with:
pip install audioinfo
Check the help with:
$ audioinfo --help
usage: audioinfo [-h] [--directory DIRECTORY] [--ext EXT [EXT ...]] [--recurse] [--case-sensitive]
A tool to check audio file durations in a directory.
options:
-h, --help show this help message and exit
--directory DIRECTORY, -d DIRECTORY
The directory to search
--ext EXT [EXT ...], -e EXT [EXT ...]
The extension to search for
--recurse, -r Recurse into subdirectories
--case-sensitive, -c Case sensitive search
Examples
Check all audio files with the ".wav" suffix in the directory "~/Music":
audioinfo --directory ~/Music --ext wav
# or use the short form:
audioinfo -d ~/Music -e wav
Check all audio files with ".wav" and ".flac" suffixes in the directory "~/Music":
audioinfo --directory ~/Music --ext wav flac
Check audio files with the ".wav" suffix in the directory "~/Music" and do not recurse into subdirectories:
audioinfo --directory ~/Music --ext wav --recurse=false
License
This software is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
audioinfo-0.1.0.tar.gz
(19.8 kB
view hashes)
Built Distribution
Close
Hashes for audioinfo-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b903ba6132db28efb3bc467a7f13b2f7e5aa40e2c932b0a3298d5606d0b95f04 |
|
MD5 | 0d3519d3f052564079644953e0535425 |
|
BLAKE2b-256 | f14aa04e45cce7585dc4d08ef395ea2e7441ae8f8c502a4601fa09cf0137b918 |