caesura 0.30.2

An all-in-one command line tool to transcode FLAC audio files and upload to gazelle based indexers/trackers
Documentation
use crate::prelude::*;

/// Actions that can fail when inspecting audio files.
#[derive(Clone, Copy, Debug, Eq, PartialEq, ThisError)]
pub(crate) enum InspectAction {
    #[error("read directory")]
    ReadDir,
    #[error("open audio file")]
    OpenFile,
    #[error("seek audio file")]
    SeekFile,
    #[error("read FLAC file")]
    ReadFlacFile,
    #[error("read MPEG file")]
    ReadMpegFile,
}

/// Errors returned when inspecting audio files.
#[derive(Clone, Copy, Debug, Eq, PartialEq, ThisError)]
pub(crate) enum InspectError {
    #[error("unsupported file extension")]
    UnsupportedExtension,
}