{"id":3461,"date":"2018-01-04T20:45:35","date_gmt":"2018-01-04T20:45:35","guid":{"rendered":"http:\/\/www.piglet-net.net\/pigblog\/?p=3461"},"modified":"2018-01-04T20:47:05","modified_gmt":"2018-01-04T20:47:05","slug":"ubuntu-17-10-and-an-abcde-ripping-failure","status":"publish","type":"post","link":"https:\/\/www.piglet-net.net\/pigblog\/?p=3461","title":{"rendered":"Ubuntu 17.10 and an abcde ripping failure"},"content":{"rendered":"<p>Recorded here as I couldn&#8217;t find any mention online: abcde is a fantastic command-line CD ripper for Linux that does something very clever- it glues together lots of individual tools to automate ripping, encoding, and tagging music files. Handily it can rip to FLAC and MP3 (for the car stereo) in one hit, like this:<\/p>\n<p><a href=\"http:\/\/www.piglet-net.net\/pigblog\/images\/\/Screenshot-from-2018-01-04-20-44-08.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.piglet-net.net\/pigblog\/images\/\/Screenshot-from-2018-01-04-20-44-08-300x199.png\" alt=\"\" width=\"300\" height=\"199\" class=\"aligncenter size-medium wp-image-3462\" srcset=\"https:\/\/www.piglet-net.net\/pigblog\/images\/Screenshot-from-2018-01-04-20-44-08-300x199.png 300w, https:\/\/www.piglet-net.net\/pigblog\/images\/Screenshot-from-2018-01-04-20-44-08.png 734w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>I recently had a bit of a mishap involving a laptop, so had to fresh-install Ubuntu, and copied over the config file for abcde. It sort-of worked, but at the point where it has ripped tracks, and is meant to tag them and move them from the working folder to $HOME\/Music\/mp3 and $HOME\/Music\/flac it bombed with<br \/>\n<code><br \/>\ntagtrack-mp3-03: returned code 1: nice -n 10 eyeD3 [arguments sent to eyeD3]<br \/>\n<\/code><\/p>\n<p>Running eyeD3 with the same arguments manually gave<\/p>\n<p><code>Traceback (most recent call last):<br \/>\n  File \"\/usr\/bin\/eyeD3\", line 6, in <module><br \/>\n    from pkg_resources import load_entry_point<br \/>\nImportError: No module named pkg_resources<\/module><\/code><\/p>\n<p>The simple answer is<br \/>\n<code><br \/>\nsudo apt-get install python-pkg-resources<br \/>\n<\/code><\/p>\n<p>and away it goes. I&#8217;m not sure if that package is suggested for eyeD3 or abcde, but it&#8217;s clearly not set as a dependency, or apt would install it- apt is usually extremely good at this kind of stuff.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recorded here as I couldn&#8217;t find any mention online: abcde is a fantastic command-line CD ripper for Linux that does something very clever- it glues together lots of individual tools to automate ripping, encoding, and tagging music files. Handily it can rip to FLAC and MP3 (for the car stereo) in one hit, like this: &hellip; <a href=\"https:\/\/www.piglet-net.net\/pigblog\/?p=3461\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Ubuntu 17.10 and an abcde ripping failure<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,23],"tags":[],"class_list":["post-3461","post","type-post","status-publish","format-standard","hentry","category-computers","category-tech"],"_links":{"self":[{"href":"https:\/\/www.piglet-net.net\/pigblog\/index.php?rest_route=\/wp\/v2\/posts\/3461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.piglet-net.net\/pigblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.piglet-net.net\/pigblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.piglet-net.net\/pigblog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.piglet-net.net\/pigblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3461"}],"version-history":[{"count":0,"href":"https:\/\/www.piglet-net.net\/pigblog\/index.php?rest_route=\/wp\/v2\/posts\/3461\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.piglet-net.net\/pigblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.piglet-net.net\/pigblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.piglet-net.net\/pigblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}