CD Ripping in OS X Without iTunes

If you’ve been following my posts here, you know I’ve been trying to get Ubuntu to run on this MacBook Pro I bought last year.  Bottom line is, Linux works fine on the Mac, however, it still doesn’t handle the MacBook Pro 11,3’s graphics subsystems very well.

As long as I’m willing to stick with only one display, everything is great.  When I add a second display, which is usually a 1080p display of some sort, scaling issues come into play that make the whole experience less than desirable.

This puts me back in OS X again.  So, I’ve been working on getting OS X to behave a little less Mac-like, doing things like putting the Dock over on the left side of the screen, changing the theme to suit me, adding MenuMeters to monitor system functions in the menu bar and XtraFinder to solve some excessively annoying aspects of Apple’s Finder.

I’ve also been working on bringing some of my favorite Linux Bash scripts and utilities over, too.  I chose the Homebrew sytem to facilitate this.  Homebrew is like Ubuntu’s apt-get for OS X.  I used it to install the command-line utility I’ve been using for years to rip my CD’s.

Yes, I still buy CD’s.  I like having the physical disk in my possession.  I rip them to FLAC and ALAC formats, edit the metadata and add in album art.

I use abcde.  It’s a complex bash script that utilizes several other Linux CLI (Command Line Interface) utilities to copy and encode CD contents into the file format of your choice.  After you have installed Homebrew, you can install abcde by opening the Terminal and typing:

brew install abcde

Abcde has a ton of options and some of them require other packages be installed to support the options you choose.  It’s not at all unusual to have to install a few things before everything runs as planned.  Installing these supporting utilities is as easy as installing abcde.  “brew install needed_package_name”  That usually does it.

I call abcde in a bash script I wrote that takes the FLAC output of abcde and creates an ALAC copy of it in another folder.

The /home Problem

‘abcde’ has intrinsic coding that expects my user’s home folder to be in /home, not /Users as it is in OS X.  Normally I would just create a /home directory and link it to /Users, but OS X has a /home directory already, which it uses for some obtuse nefarious purpose related to connecting your computer to a directory service.

To get around this I learned I could remove the lock they have on /home using these commands:

sudo nano /etc/auto_master (put a # in front of /home )
sudo automount -cv

. . . and then create a symbolic link thus:

sudo ln -s /Users/* /home

This allows my Linux-based scripts to run without issue.

The xargs Delimiter Problem

After I got my /home directory issue resolved, I got this error in my script.

xargs illegal option –d

Apparently the BSD version of xargs (OS X is based on BSD) doesn’t support the –d variable.  This variable allows you to specify which type of delimiter you’re looking for in the input passed to xargs.  The quick fix is to use gxargs from the Homebrew package ‘findutils’.  To do this, type:

brew install findutils

Once that’s done, I just add a ‘g’ to my ‘xargs’ in my script so it says ‘gxargs –d’\n’ mkdir’, and everything works great.

Abcde reads the CD, snags the metadata from, offers a chance for me to edit it, then pulls the files off the CD and converts them to the format I specified in the config file.

I jump on Amazon and copy the album art to ‘folder.jpg’ inside the album’s directory.  I then open Tagger and add the album art I downloaded to all of the songs’ metadata.

All this really isn’t as much trouble as it might sound.  And I like it way better than letting iTunes screw around with my collection.

I’m going to try to put together another post outlining the packages I’ve downloaded and installed that make my life in OS X more tolerable.  Until then, sigh ah nah rah.

Posted in GenericTech | Leave a comment

Blogpad Pro and iOS 8.3

I, like many people, use an app called Blogpad Pro to post to my blogs from my iPad.  It is probably the best tool for that purpose.

Recently, however, it started crashing every time I went to open it.  It would show the logo screen and then just blink out of existence.  It all started after an Apple update to iOS.  Very suspicious.

I checked the App Store to see if anybody else was having this problem, and discovered several others were indeed experiencing the same appular dysfunction.

I waited a few days, then found a link to the developer’s website, where I posted a note about my predicament.

The developer responded in one day, and told me the iOS update to 8.3 was the culprit.  I can tell you that in a few more days, version 1.7 which fixes the iOS 8.3 issue should be available.

This is just another in a line of experiences in the Apple world that shows me clearly that there really is no superior operating system out there.  Apple software is just as prone to problems as is any of the other three OS’s I use.

So, all you Blogpad Pro users hang on.  Help is coming.

– – –

Update April 26, 2015:  I received an email saying 1.7 should be available on Monday, April 27, 2015.  If you are helped by this update, please give the app a good review on the App Store.  The developers have been beat up pretty bad for something that was Apple’s fault.  They need the positive reviews to counteract all the negative publicity.

Posted in GenericTech | Leave a comment