Skip to content

crf8472/arcs-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Toolkit for AccurateRip checksums

MIT licensed C++17 Release

Introduction

This is an example command line frontend to libarcstk. It contains tools to work with AccurateRip checksums of your CD rip, namely

  • arcstk-verify - Verify local AccurateRip checksums against reference checksums from AccurateRip
  • arcstk-calc - Calculate actual AccurateRip checksums locally for albums (single audio files) and single tracks
  • arcstk-id - Calculate AccurateRip id of a local album for requesting checksums
  • arcstk-parse - Parse AccurateRip response to plaintext

Tool arcstk-calc makes use of libarcsdec and will accept nearly any losslessly encoded audio input depending on the decoder libraries your system provides. (WMALossless is currently not supported, but this is solely due to the current lack of a Windows port. But wav, flac, wavpack, ALAC, ape, AIFF input is possible and currently at least smoke-tested.)

How to build

Arcs-tools require libarcstk and libarcsdec to build and run. Note that libarcsdec may pull in more dependencies if configured to do so. (For the details, consult the libarcsdec build manual).

Build and install to just use the tools:

$ cd arcs-tools     # your arcs-tools root directory where README.md resides
$ mkdir build && cd build
$ cmake ..          # defaults to 'Release' build
$ cmake --build .
$ sudo make install # installs to /usr/local

See a detailed HowTo explaining different build scenarios and all build switches.

Examples

Calculate the AccurateRip URL of a local CD image (audiofile may be omitted if referenced in the CUESheet):

$ arcstk-id --url /path/to/metafile.cue -a /path/to/audiofile.flac

Calculate AccurateRip checksums from local CD images:

$ arcstk-calc -m /path/to/metafile.cue /path/to/audiofile.flac

Fetch AccurateRip data for a CD and save it in binary format (requires curl):

$ curl -o response.bin "$(arcstk-id --url /path/to/metafile.cue -a /path/to/audiofile.flac)"

Verify AccurateRip checksums from local CD images:

$ arcstk-verify -r /path/to/dBAR-responsefile.bin -m /path/to/metafile.cue -a /path/to/audiofile.flac

Fetch AccurateRip data for a CD and parse it to readable text format (requires curl):

$ curl "$(arcstk-id --url /path/to/metafile.cue -a /path/to/audiofile.flac)" | arcstk-parse > response.txt

Fetch AccurateRip data for a CD and verify the local image (requires curl):

$ curl "$(arcstk-id --url /path/to/cuefile.cue -a /path/to/audiofile.flac)" | arcstk-verify -m /path/to/cuefile.cue /path/to/audiofile

About

Example Toolkit for AccurateRip checksums

Resources

License

Stars

Watchers

Forks

Packages

No packages published