Snapping MP3s with cue sheets faster than your mom pops Pringle tops.
Setup
Tested on Mac OS X 10.7 (Lion).
Prerequisites
- Mac OS X
- Homebrew
- Ruby 1.8.7 or Greater Comes pre-installed in OS X
Okay, let's go
-
brew install mp3splt
Install the mp3 clipping lbrary, it does the heavy-lifting. -
sudo gem install cuesnap
The cuesnap command will now be available. -
cuesnap phattrack.mp3 phattrack.cue
snap -- zzrgt -- crack -
open phattrack
Gaze into the eyes of your slim mp3 files
Usage
Run
cuesnap supercool_but_so_large.mp3 supercool.cue
and you get
supercool_but_so_large\
|
|- 01 Intro.mp3
|- 02 Holy Crap - So Cool.mp3
|- 03 Slower Crap - Pretty Coo.mp3
|- 04 It's On - Like Donkey Kong.mp3
Command Line Options
--no-numbers (-nn) -
Because, fuck sorting.
e.g. Holy Crap - So Cool.mp3
-q, --quiet
Shut the hell up cuensap. Just be quiet.
Setup for Development
- Follow the steps in the Setup section.
-
git clone http://github.com/mutewinter/cuesnap
Clone this repo, duh. -
cd cuesnap
Change directory into the folder. -
bundle
Setup those pretty Ruby gems.
That's it, now code something awesome and tell me about it.
Changelog
1.2.5
- Added error when cue file is larger than 1MB.
1.2.4
- Fixed error with CueSnap::VERSION not being defined.
1.2.3
- Fixed extraneous output from calling
which
. - Fixed
already initialized constant
error in Ruby 1.8.7.
1.2.2
- Added mp3splt installation instructions if missing.
- Added test for command_missing?
1.2.1
- Fixed homepage in gemspec.
1.2.0
Features
- Now showing error when mp3splt is missing.
Bug Fixes
- Extra requires added for Ruby 1.8.7.
1.1.1
- Now properly escaping shell characters found in file names
Todo
- Unicode Support Fail test is already in.
-
Error Message when mp3splt is missing.(Thanks goni)
Contributing
- Fork it.
- Create your feature branch (
git checkout -b my_sweet_feature
). - Write some kickass code.
- Commit your changes (
git commit -am 'Added a sweet feature'
). - Push to the branch (
git push origin my_sweet_feature
). - Create new Pull Request.