{"id":399,"date":"2007-05-12T18:58:29","date_gmt":"2007-05-12T23:58:29","guid":{"rendered":"http:\/\/ywwg.com\/wordpress\/?p=399"},"modified":"2007-05-12T22:54:19","modified_gmt":"2007-05-13T03:54:19","slug":"audioscrobbler-support-in-sonata","status":"publish","type":"post","link":"https:\/\/ywwg.com\/wordpress\/archives\/399","title":{"rendered":"Audioscrobbler support in Sonata"},"content":{"rendered":"<p>As I&#8217;ve mentioned before, <a href=\"http:\/\/sonata.berlios.de\/\">Sonata<\/a> is my favorite music player.  One shortcoming, however, is that it lacks support for <a href=\"http:\/\/last.fm\">last.fm&#8217;s audioscrobbler<\/a>, which allows music players to automatically submit songs to the service and help build one&#8217;s musical profile.<\/p>\n<p>No more: <a href=\"http:\/\/ywwg.com\/src\/sonata-audioscrobbler.diff\">sonata-audioscrobbler.diff<\/a><\/p>\n<p>I whipped this up in a couple hours, so be on the lookout for bugs.  It&#8217;s not so good at reporting bad passwords, so you have to look at the console output for that information.  Either you see &#8220;BADAUTH&#8221; (bad) or &#8220;Uploaded 1 tracks successfully&#8221; (good).  If the Sonata author adds feedback for mpd authentication problems, I&#8217;ll hook up to that.<\/p>\n<p>I&#8217;ll also update my sonata olpc package to include this patch.<\/p>\n<p>Update: Added a check to ignore songs that don&#8217;t have all the metadata that audioscrobbler wants.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I&#8217;ve mentioned before, Sonata is my favorite music player. One shortcoming, however, is that it lacks support for last.fm&#8217;s audioscrobbler, which allows music players to automatically submit songs to the service and help build one&#8217;s musical profile. No more: sonata-audioscrobbler.diff I whipped this up in a couple hours, so be on the lookout for &hellip; <a href=\"https:\/\/ywwg.com\/wordpress\/archives\/399\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Audioscrobbler support in Sonata&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,23,26],"tags":[],"_links":{"self":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts\/399"}],"collection":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/comments?post=399"}],"version-history":[{"count":0,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts\/399\/revisions"}],"wp:attachment":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/media?parent=399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/categories?post=399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/tags?post=399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}