{"id":14044,"date":"2020-12-17T23:20:20","date_gmt":"2020-12-17T22:20:20","guid":{"rendered":"https:\/\/www.toomik.net\/helen\/blog\/?p=14044"},"modified":"2020-12-17T23:20:20","modified_gmt":"2020-12-17T22:20:20","slug":"daily_2164_-_my_sonos_app","status":"publish","type":"post","link":"https:\/\/www.toomik.net\/helen\/blog\/2020\/12\/17\/daily_2164_-_my_sonos_app\/","title":{"rendered":"Daily: 2164 &#8211; my Sonos app"},"content":{"rendered":"<p><img decoding=\"async\" src=\"\/helen\/blog\/images\/daily_3\/2164_s22onos.png\" class=\"x6y4\" \/><br \/>\nI wrote back in February about <a href=\"https:\/\/www.toomik.net\/helen\/blog\/2020\/02\/21\/daily_1868_-_raspberry_pi\/\">my Raspberry Pi<\/a> and the plans to use it for a music rating and recommendation app.<\/p>\n<p>Well, I actually wrote the app, and it has been running &#8220;in production&#8221; since before the summer. I&#8217;m really pleased with it &#8211; I achieved exactly what I had hoped. It often helps me rediscover music that I had forgotten we had, and listen to old favourites that I would probably have not remembered otherwise. And because it logs all the music we listen to, including music that Eric puts on, I also discover entirely new music.<\/p>\n<p>The app shows me what is currently playing on our various Sonos devices so that I can rate these albums. I can also rate recently played ones. And based on those ratings I can ask for recommendations. I get a list of suggestions with albums I have rated highly, and another list of albums I have not rated yet (to gather more data).<\/p>\n<p>I&#8217;ve been thinking of adding more smarts to it. It could suggest albums that we haven&#8217;t listened to recently (forgotten favourites, rather than all favourites). And maybe show some &#8220;flashbacks&#8221; like the blog has &#8211; &#8220;your most listened album last year&#8221; etc. Maybe a project for the Christmas break.<\/p>\n<p>From a technical point of view, I learned more Vue.js than I knew before, and played around with flex layout in CSS. My CSS is mostly hacks piled on other hacks, but in a tiny project like this that&#8217;s fine!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I wrote back in February about my Raspberry Pi and the plans to use it for a music rating and recommendation app. Well, I actually wrote the app, and it has been running &#8220;in production&#8221; since before the summer. I&#8217;m really pleased with it &#8211; I achieved exactly what I had hoped. It often helps [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,9],"tags":[],"class_list":["post-14044","post","type-post","status-publish","format-standard","hentry","category-dailies","category-geeky_things"],"_links":{"self":[{"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/posts\/14044","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/comments?post=14044"}],"version-history":[{"count":2,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/posts\/14044\/revisions"}],"predecessor-version":[{"id":14046,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/posts\/14044\/revisions\/14046"}],"wp:attachment":[{"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/media?parent=14044"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/categories?post=14044"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.toomik.net\/helen\/blog\/wp-json\/wp\/v2\/tags?post=14044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}