track2line_lib

Crates.iotrack2line_lib
lib.rstrack2line_lib
version0.10.0
created_at2025-03-27 08:40:39.224402+00
updated_at2025-03-27 08:40:39.224402+00
descriptionIt is a lib that converts the name of the audio file output by voisona Talk, etc. by referring to a text file containing the lines of the same name.
homepage
repository
max_upload_size
id1607745
size2,227,512
Uliboooo(うりぼう) (Uliboooo)

documentation

README

track2line lib

this lib version is 0.1.x

about transcription mod

this is still doesn't work properly.therefore, if you use this, turn on "experimental" in feature flag.

tools

known Issues

usage

track2line_lib = { git = "https://github.com/Uliboooo/track2line_lib", tag = "0.3.0" }
use track2line_lib;

fn main() {
    let path = PathBuf::from("target_folder_path");
    let mut sets = track2line_lib::PathSets::new(&path, "wav", "txt").unwrap();

    // print list of path to be changed(not renamed yet)
    println!("{}", sets.check().unwrap());

    // rename
    sets.rename().unwrap();
}

use config (feature)

Cargo.toml

[dependencies]
track2line_lib = { git = "https://github.com/Uliboooo/track2line_lib", tag = "v0.8.0", features = ["config"]}
use track2line_lib;

// use default config(wav, txt)
let default_config: Config = track2line_lib::config::Config::default();

//save
default_config.save()

// load
// もしconfigファイルがない場合、デフォルト設定でファイルを作成します
let setting = track2line_lib::config::Config::load();

description

this is a library for converting track files to line files.

Commit count: 0

cargo fmt