{"id":525,"date":"2006-04-18T06:16:09","date_gmt":"2006-04-18T04:16:09","guid":{"rendered":"http:\/\/frenchfragfactory.net\/ozh\/archives\/2006\/04\/18\/lastfm-stream-ripper\/"},"modified":"2007-05-08T15:58:56","modified_gmt":"2007-05-08T13:58:56","slug":"lastfm-stream-ripper","status":"publish","type":"post","link":"https:\/\/planetozh.com\/blog\/2006\/04\/lastfm-stream-ripper\/","title":{"rendered":"Last.fm Stream Ripper"},"content":{"rendered":"<p>I just found about <a href=\"http:\/\/search.cpan.org\/~jochen\/last.fm-ripper-1.2.1\/\">last.fm-ripper<\/a>, a Perl CPAN module that saves <a href=\"http:\/\/www.last.fm\/\">last.fm<\/a> radio streams to individual mp3&#39;s. How cool does that sound ? The readme even says that with a proper <em>MP3::Tag<\/em> module, mp3 files are saved with correct ID3 tags, which I haven&#39;t tried yet.<\/p>\n<p>Usage is cake easy. Once the archive untarred, you just :<\/p>\n<div id=\"ig-sh-1\" class=\"syntax_hilite\">\n\n\t\t<div class=\"toolbar\">\n\n\t\t<div class=\"view-different-container\">\n\t\t\t\t\t\t<a href=\"#\" class=\"view-different\">&lt; View <span>plain text<\/span> &gt;<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t<div class=\"language-name\">code<\/div>\n\n\t\t\n\t\t<br clear=\"both\">\n\n\t<\/div>\n\t\n\t<div class=\"code\">\n\t\t<ol class=\"code\" style=\"font-family:monospace\"><li style=\"font-weight: normal;vertical-align:top\"><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\">[ozh@BOX ~\/last.fm-ripper-1.2.1]$ .\/last.fm-ripper -u yourlogin -p yourpass -a metallica -o \/home\/ozh\/mp3\/ &amp;<\/div><\/li>\n<\/ol>\t<\/div>\n\n<\/div>\n\n<p>Sounds great, except that mp3 files generated on my box seem empty. Got to play a bit with this :\u00c3\u017e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just found about last.fm-ripper, a Perl CPAN module that saves last.fm radio streams to individual mp3&#39;s. How cool does that sound ? The readme even says that with a proper MP3::Tag module, mp3 files are saved with correct ID3 tags, which I haven&#39;t tried yet. Usage is cake easy. Once the archive untarred, you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[2,158,132,26,9],"class_list":["post-525","post","type-post","status-publish","format-standard","hentry","tag-code","tag-lastfm","tag-mp3","tag-music","tag-perl"],"_links":{"self":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts\/525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/comments?post=525"}],"version-history":[{"count":0,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts\/525\/revisions"}],"wp:attachment":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/media?parent=525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/categories?post=525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/tags?post=525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}