{"id":376,"date":"2012-04-07T13:20:05","date_gmt":"2012-04-07T17:20:05","guid":{"rendered":"http:\/\/www.rfdm.com\/blog\/?p=376"},"modified":"2013-04-20T11:02:12","modified_gmt":"2013-04-20T15:02:12","slug":"xmms-controller-for-desktop-dwmqmmsctl","status":"publish","type":"post","link":"https:\/\/www.rfdm.com\/blog\/?p=376","title":{"rendered":"xmms controller for desktop: dwmqmmsctl"},"content":{"rendered":"<p>I&#8217;ve been using a pair of 24&#8243; monitors for what seems like eternity.  Each is running at 1920&#215;1200 resolution.  I&#8217;ve also been using xmms for a long time, mostly for listening to live National Public Radio streams, software-related podcasts, industry podcasts, etc.<\/p>\n<p>A problem I&#8217;ve had with xmms in my setup&#8230; the default size is too small, and at double size the skins tend to look terrible.  It&#8217;s also way too much work to make my own skin that matches my desktop.<\/p>\n<p>The good news is that xmms has a remote control facility that&#8217;s nearly full-featured and accessible using an API.  On FreeBSD this API is part of the xmms port (<tt>\/usr\/ports\/multimedia\/xmms<\/tt>).  The API function prototypes wind up in <tt>\/usr\/local\/include\/xmms\/xmmsctrl.h<\/tt> on FreeBSD 8.2-STABLE.  You can find example usage in the port for the command-line tool <tt>xmmsctrl<\/tt>, which is in <tt>\/usr\/ports\/audio\/xmmsctrl<\/tt>.<\/p>\n<p>Hence I wrote my own simple xmms control application that is cosmetically similar to my dwmqlaunch program.  The background of the main window is transparent.<\/p>\n<p><img decoding=\"async\" src=\"\/Daniel\/Computing\/Software\/deskutils\/apps\/dwmqmmsctl\/screenshots\/playing1.png\"><\/p>\n<p>Here&#8217;s a picture of it with <tt>dwmqlaunch<\/tT> below it.<\/p>\n<p><img decoding=\"async\" src=\"\/Daniel\/Computing\/Software\/deskutils\/apps\/dwmqmmsctl\/screenshots\/with_dwmqlaunch1.png\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been using a pair of 24&#8243; monitors for what seems like eternity. Each is running at 1920&#215;1200 resolution. I&#8217;ve also been using xmms for a long time, mostly for listening to live National Public Radio streams, software-related podcasts, industry podcasts, etc. A problem I&#8217;ve had with xmms in my setup&#8230; the default size is &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.rfdm.com\/blog\/?p=376\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;xmms controller for desktop: dwmqmmsctl&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-376","post","type-post","status-publish","format-standard","hentry","category-software-development"],"_links":{"self":[{"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=376"}],"version-history":[{"count":3,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/376\/revisions"}],"predecessor-version":[{"id":638,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/376\/revisions\/638"}],"wp:attachment":[{"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}