# Media Info
A tool to extract media information from a media source.
This is a supplemental library crate for [Media Organizer](https://crates.io/crates/media_organizer).
## Features
To enable features, do the following...
For all features: photo, video, and audio metadata...
```rust
media_info = { version = "0.3.1", features = ["all"] }
```
To enable just the photo metadata info...
```rust
media_info = { version = "0.3.1", features = ["exif"] }
```
To enable just the video metadata info...
```rust
media_info = { version = "0.3.1", features = ["ffmpeg"] }
```
To enable just the audio metadata info...
```rust
media_info = { version = "0.3.1", features = ["id3"] }
```
## API
```rust
read_audio_creation_date(path_str: &str) -> Result<String, String>
read_photo_creation_date(path_str: &str) -> Result<String, String>
read_video_creation_date(path_str: &str) -> Result<String, String>
```
## Roadmap
- More functions to read other bits of metadata info.