{"id":389,"date":"2007-02-25T17:21:57","date_gmt":"2007-02-25T22:21:57","guid":{"rendered":"http:\/\/ywwg.com\/wordpress\/?p=389"},"modified":"2007-02-25T17:21:57","modified_gmt":"2007-02-25T22:21:57","slug":"olpc-as-a-music-player","status":"publish","type":"post","link":"https:\/\/ywwg.com\/wordpress\/archives\/389","title":{"rendered":"OLPC as a music player"},"content":{"rendered":"<p>One side project I&#8217;ve been having fun with is creating an activity to allow the olpc to play music.  At first I was just going to port a <a href=\"http:\/\/musicpd.org\/wiki\">MusicPD (mpd)<\/a> client over to olpc to allow me to use the laptop as a remote control at parties.  Mpd runs as a system-level service that plays music, and then users can connect to it with many dozens of available clients to tell it to play music.  It turned out that porting over a client was so easy that I decided to create a bundle that had its own mpd daemon builtin as well.<\/p>\n<p>The client I chose is <a href=\"http:\/\/sonata.berlios.de\/\">Sonata<\/a>.  I&#8217;ve used a lot of music players, including xmms, rhythmbox, amarok, banshee, and muine, but the combination of Sonata+mpd is the best way to enjoy music on Linux.  It&#8217;s really, really good, and it&#8217;s worth the slight headache of setting up mpd.conf to get it working on your machine.<\/p>\n<p>Sonata is also written in Python and only took maybe 20 lines of alteration to sugar-ize it.  The author, Scott Horowitz, was even nice enough to incorporate my alterations into the main codebase, meaning that my bundle isn&#8217;t a fork of his project.<\/p>\n<p>The bundle also contains a specially-compiled and configured version of the mpd daemon.  And since I hate freedom, I&#8217;ve bundled an mp3 library along with it (But it also plays ogg). Music should be stored in \/home\/olpc\/.mpd\/Music, which could be symlinked to a mounted mmc device or USB key for greater storage.  When the activity is started, the daemon is automagically started as well.<\/p>\n<p>By default the client will connect to the olpc&#8217;s mpd daemon, but one can right-click on the main window and change the preferences to connect to any other mpd daemon on the network.<\/p>\n<p>While I don&#8217;t know if this bundle will be useful to the kids, it&#8217;s useful to me and it shows the power of the bundle architecture.  It really is plug and play \ud83d\ude42<\/p>\n<p><a href=\"http:\/\/ywwg.com\/olpc\/sonata-7.xo\">Sonata OLPC bundle (v7)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>One side project I&#8217;ve been having fun with is creating an activity to allow the olpc to play music. At first I was just going to port a MusicPD (mpd) client over to olpc to allow me to use the laptop as a remote control at parties. Mpd runs as a system-level service that plays &hellip; <a href=\"https:\/\/ywwg.com\/wordpress\/archives\/389\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;OLPC as a music player&#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":[23,2,26],"tags":[],"_links":{"self":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts\/389"}],"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=389"}],"version-history":[{"count":0,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/posts\/389\/revisions"}],"wp:attachment":[{"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/media?parent=389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/categories?post=389"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ywwg.com\/wordpress\/wp-json\/wp\/v2\/tags?post=389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}