Metadata-Version: 2.1
Name: audiodata
Version: 1.1.1
Summary: Get accurate audio metadata from any audio file. Supports MP3, FLAC, WAV, OGG and more.
Author-email: Shreyan Basu Ray <shreyan.github@gmail.com>
License: Copyright (c) 2012-2024 Scott Chacon and others
        
        Permission is hereby granted, free of charge, to any person obtaining
        a copy of this software and associated documentation files (the
        "Software"), to deal in the Software without restriction, including
        without limitation the rights to use, copy, modify, merge, publish,
        distribute, sublicense, and/or sell copies of the Software, and to
        permit persons to whom the Software is furnished to do so, subject to
        the following conditions:
        
        The above copyright notice and this permission notice shall be
        included in all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
        EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
        MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
        NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
        LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
        OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
        WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project-URL: Issues, https://github.com/Shreyan1/WhisperMe-Audio-Transcriber/issues
Keywords: audio,metadata,audiodata,data,secret
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pydub
Requires-Dist: mutagen

# Audio Metadata Extractor

This script extracts metadata from audio files using `pydub` and `mutagen` libraries with customised and fine-tuned outputs.

## Installation

To use this script, you need to have Python installed on your system. You can install the required dependencies using pip:

```
pip install pydub mutagen
```

## Usage

```
from audiodata import metadata

file_path = "path/to/audio.extension"
length_seconds, metadata = metadata.get_audio_metadata(file_path)

print(f"Audio Length: {length_seconds} seconds")
print("Metadata: \n" + metadata)
```

## Sample Output

```
Example:
----------------
Audio Length: 26.006 seconds
Metadata: 
tracknumber: 9, title: Komplexe Zahl, album: Funktionentheorie, artist: Engelbert Niehaus
```

## Support

If you find this script helpful, please do consider supporting the developer at [GitHub Sponsors](https://github.com/sponsors/Shreyan1)

## License

This project is licensed under the MIT License. See the [LICENSE](https://github.com/git/git-scm.com/blob/main/MIT-LICENSE.txt) file for details.

## Issues

Have any suggestions for imptovement ? Open an issue here - "https://github.com/Shreyan1/WhisperMe-Audio-Transcriber/issues"
