Struct sublercli::Subler[][src]

pub struct Subler {
    pub source: String,
    pub dest: Option<String>,
    pub optimize: bool,
    pub atoms: Atoms,
    pub media_kind: Option<MediaKind>,
}

Fields

The path to the source file

The path to the destination file

The Subler optimization flag

The atoms that should be written to the file

The Mediakind of the file

Methods

impl Subler
[src]

creates a new SublerCli Interface with a set of Atoms that should be set to the the file at the source By default MediaKind is set to MediaKind::Movie and optimization level is set to true

returns the path to the sublercli executeable Assumes a homebrew installtion by default under /usr/local/bin/SublerCli, can be overwritten setting the SUBLER_CLI_PATH env variable

Executes the tagging command as a child process, returning a handle to it.

create the subler process command

Apply the specified metadata to the source file and output it to the specified destination file

sets the optimization flag

sets the destination of the output file

Trait Implementations

impl Debug for Subler
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Subler

impl Sync for Subler