Skip to content
udoprogPublic

About

Conveniently convert a batch of directories into a book formats like .cbz

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

mediavert

github crates.io docs.rs build status manual

Batch-convert comics, manga, and music libraries without the mess.

mediavert turns scattered folders and archives (.zip, .cbz, .rar, .cbr, .7z, .cb7) into cleanly named .cbz books and tag-organized music collections in a single pass.

  • Archives without unpacking. Read .zip, .rar, and .7z archives directly in memory—no temporary extraction folders or leftover clutter.
  • Safe by default. Preview every plan with --dry-run, detect destination collisions before work begins, write atomically via .part files, and never overwrite existing files without --force.
  • Interactive TUI or scripted policies. Resolve duplicate comic chapters visually in a terminal UI or automate selection with --pick predicates.
  • ComicInfo.xml built in. Embed series, author, artist, publisher, genre, language, and manga reading direction into generated .cbz books.
  • Tag-aware music sorting. Transcode lossless audio (flac, wav) with custom bitrates and organize tracks into Artist/Album (Year) hierarchies from embedded tags.
  • Non-destructive cleanup. Hard-link unchanged lossy audio by default and move processed sources to a clash-free trash directory only after every task succeeds.

It combines two specialized tools as subcommands (also available as standalone binaries):

  • bookvert (git) — mediavert books: batch-convert directories and archives of images into .cbz books.
  • audiovert (git) — mediavert audio: batch-convert and organize tagged or untagged music libraries.

Read the manual for step-by-step guides and examples.


Getting started

Install a prebuilt binary on Linux or macOS (see Installing mediavert for Windows, .rpm, .deb, and Cargo):

curl -fsSL https://udoprog.github.io/mediavert/install.sh | sh

Or install from crates.io with Cargo:

cargo install --locked mediavert

Examples

Try mediavert audio on the bundled example. The unsorted directory holds one album both as a folder and as an archive, so --keep-going reports the duplicate as a collision and converts the rest:

mediavert audio --meta -D -k examples/unsorted --to examples/sorted

Or preview mediavert books on the bundled comic chapters:

mediavert books --dry-run --out /tmp/out "examples/That time I sorted books"

About

Conveniently convert a batch of directories into a book formats like .cbz

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages