Giter Club home page Giter Club logo

audio-book-cde's Introduction

audio-book-cde

A simple wrapper around abcde to rip multi-disc audiobooks

This script came out of a personal need and, at this point, is designed entirely around what my workflow looks like. It was not originally designed to be a general purpose tool and might not fit your needs perfectly. If not, please fork and let me know. I'm happy to spend some more time on it.

Here's my use case for the tool. I frequently get audiobooks on CD which I want to rip to MP3 files. I want an automated system for ripping those discs, ending with a directory structure that looks like:

  author
  ├── title-Disc-1
  │   ├── 1.Track_1.mp3
  │   ├── 2.Track_2.mp3
  │   └── 3.Track_3.mp3
  ├── title-Disc-2
  │   ├── 1.Track_1.mp3
  │   ├── 2.Track_2.mp3
  │   └── 3.Track_3.mp3
  └── title-Disc-3
      └── 1.Track_1.mp3
  [etc]

Abcde does quite a lot of this, but getting the multi-disc aspect of it seemed outside the scope of that product. This script is just a bash shell wrapper around abcde to generate that format.

Installation

Simply copy the script to a location in your PATH and type

audio-book-cde [abcde conf file]

If you do not specify a conf file for abcde, one will be provided for you. The contents of this conf file are visible in the script itself, but they basically tell abcde to not prompt, to not query cddb and to put the files in the desired directory structure.

Note You must have abcde installed with all of the other applications needed to rip into your desired format.

Compatibility issues

Note that I wrote and tested this script on linux-mint 17 (Qiana). I make no promises that this will work on other versions of linux.

The most likely issue you will run into will be with the wait_for_cd function which seems like it might not be universal.

The rest of it is fairly vanilla bash.

audio-book-cde's People

Contributors

jima80525 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.