bme

package module
v0.0.0-...-96542ce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2025 License: BSD-3-Clause Imports: 21 Imported by: 0

README

go-bme

LICENSE GoReportCard GoDoc

Tool to rip CDs and encode to ALAC in bulk

I've written this three times over the past 20 years. First in sh, then in python2, now in Go. First it did mp3, then flac, now ALAC. It's been 14 years since the last time I ripped a mess of CDs in bulk and yet I keep buying them... so it's time to rip more. The old Python2 tool had rotted to the point of being more work to update than it was worth. So, time to rewrite it.

I'm using purego to wrap libcdio (because I know that code) and libmusicbrainz5 (because I love MusicBrainz and none of the exiting go libraries would do what I needed).

This is for me; if it doesn't do what you want/need, either find another tool or modify the code to suit your needs.

It's a batch system, designed to keep the system as busy as possible while working. Just keep feeding it CDs and eventually the final result will pop out in the "done" directory.

If the discID is in MusicBrainz, it will be great. If the cd has cd-text you should be fine. If neither is true, well, use MusicBrainz Picard and contrbute the discID to MB and try again.

Documentation

Index

Constants

View Source
const CDDA_MESSAGE_FORGETIT int = 0
View Source
const CDDA_MESSAGE_LOGIT int = 2
View Source
const CDDA_MESSAGE_PRINTIT int = 1
View Source
const CDIO_CDROM_LEADOUT_TRACK track_t = 0xAA
View Source
const CDIO_CD_FRAMESIZE_RAW int = 2352
View Source
const PARANOIA_MODE_FULL paranoia_mode_t = paranoia_mode_t(0xff)
View Source
const PARANOIA_MODE_NEVERSKIP paranoia_mode_t = paranoia_mode_t(0x20)
View Source
const SEEK_SET int = 0 // libc

Variables

This section is empty.

Functions

func Debug

func Debug(d bool)

func Start

func Start(wd string) error

Types

type BufWriter

type BufWriter interface {
	Write([]byte) (int, error)
	WriteString(string) (int, error)
}

Directories

Path Synopsis
cmd
bme command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL