

{"id":841,"date":"2012-04-07T18:05:06","date_gmt":"2012-04-07T17:05:06","guid":{"rendered":"http:\/\/fabsk.eu\/blog\/?p=841"},"modified":"2012-04-15T20:38:26","modified_gmt":"2012-04-15T19:38:26","slug":"lfmpy-a-simple-command-line-tool-for-libre-fm","status":"publish","type":"post","link":"https:\/\/fabsk.eu\/blog\/2012\/04\/07\/lfmpy-a-simple-command-line-tool-for-libre-fm\/","title":{"rendered":"LfmPy, a simple command line tool for Libre.fm"},"content":{"rendered":"<p>I created <a href=\"https:\/\/github.com\/Fabiensk\/LfmPy\">LfmPy<\/a>, a simple command line tool to retrieve locally your <a href=\"http:\/\/alpha.libre.fm\/\">Libre.fm<\/a> data (what music you played), and allow you to get a few stats (like \u00abwhat is my favourite artist for the last two weeks\u00bb). It requires Python 3 and was tested on Ubuntu.<\/p>\n<p><!--more--><\/p>\n<p>Currently, the website Libre.fm provides only a limited set of stats (last song played, favourite artist\/song\/album all time). It also can not recognise two names as the same artist (for example \u00abTaku Iwasaki\u00bb and \u00ab\u5ca9\u5d0e\u7422\u00bb). So I wrote this tool. It&rsquo;s hosted on Github.<\/p>\n<p>The Sqlite DB is absolutely not optimized, but given the number of records it&rsquo;s not a need.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I created LfmPy, a simple command line tool to retrieve locally your Libre.fm data (what music you played), and allow you to get a few stats (like \u00abwhat is my favourite artist for the last two weeks\u00bb). It requires Python 3 and was tested on Ubuntu.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,6,19,7],"tags":[],"class_list":["post-841","post","type-post","status-publish","format-standard","hentry","category-dev","category-informatique","category-linux","category-musique"],"_links":{"self":[{"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/posts\/841","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/comments?post=841"}],"version-history":[{"count":5,"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/posts\/841\/revisions"}],"predecessor-version":[{"id":853,"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/posts\/841\/revisions\/853"}],"wp:attachment":[{"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/media?parent=841"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/categories?post=841"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fabsk.eu\/blog\/wp-json\/wp\/v2\/tags?post=841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}