Giter Club home page Giter Club logo

mpdp2acd's Introduction

mpdp2acd

mpd playlist to audio CD

A perl script to burn an audio CD from an mpd playlist. Made primarily for the tiny subset of people who love to use MPD but also for some reason need to still use Audio CDs (for older vehicles, perhaps)

Dependencies

Required tools/dependencies ffmpeg, ffprobe, mpc, mpd, perl, perl-json

Audio CD dependencies cdrdao, wavegain (optional), tar (optional)

mp3 disc dependencies mkisofs, cdrecord

WAV or MP3?

The script will allow you to pick between an audio/"Red book" CD (lossless, but maximum of ~80 minutes of audio) or an ISO-9660 filesystem with mp3 files on it. Depending on the bitrate you pick for the mp3 files, you can fit far more music on it. At 256kbps (maximum supported by the script at this time) you can fit approximately 6 hours on a disc, and that time only goes up as you decrease the quality. You will also want to pick the ISO-9660 option if you intend on adding more files at a later date, as audio CDs typically do not support multi session.

Why are some options unavailable?

The script only allows you to pick options that will actually fit on a CD. If your playlist is longer than 80 minutes, the WAV option is going to be grayed out. The MP3 options will also become unavailable as your playlist continues to grow in length (though this shouldn't really be a big issue unless you have 10+ hours of music)

Notes

If the burn fails or the CD-Text data fails to be burned to the CD, try switching the driver in burn.sh from generic-mmc:0x10 to generic-mmc-raw. This will just depend on what burner you're using. I have a TSSTcorp SH-224BB which I think may be a Samsung SH-224BB in disguise. Regardless, I had to use generic-mmc:0x10.

I also notice that sometimes even when reading CD-Text back, cdrdao won't detect it. However, my car stereo (2011 Honda CR-V) does.

Big thanks to apocalyptech as their site had a lot of the information I needed to get this project off the ground.

mpdp2acd's People

Contributors

brod8362 avatar

Watchers

James Cloos 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.