tag:pragdevnotes.com,2008:/gui Gui - Pragmatic Development Notes 2010-01-26T21:06:37Z Enki Boško Ivanišević bosko.ivanisevic@gmail.com tag:pragdevnotes.com,2008:Post/9 2010-01-27T00:06:00Z 2010-01-26T21:06:37Z RStreamTuner in action <p>Friend of mine criticised me why I didn&#8217;t put some screenshots on <a href="http://github.com/bosko/rstreamtuner">project page</a>. Since I couldn&#8217;t find a way to do it there I&#8217;ve decided to put some screenshots here, so here they are.</p> <div id="gallery"> <ul> <li> <a href="/images/rst-screenshots/rst_xiph.png" title="RST Xiph plugin."> <img src="/images/rst-screenshots/rst_xiph_thumb.png" width="170" height="95" alt="" /> </a> </li> <li> <a href="/images/rst-screenshots/rst_search.png" title="RST SHOUTcast search in action."> <img src="/images/rst-screenshots/rst_search.png" width="170" height="95" alt="" /> </a> </li> <li> <a href="/images/rst-screenshots/rst_preferences.png" title="RST plugin preferences."> <img src="/images/rst-screenshots/rst_preferences.png" width="125" height="95" alt="" /> </a> </li> </ul> </div> tag:pragdevnotes.com,2008:Post/8 2010-01-22T13:51:01Z 2010-01-22T20:51:01Z RStreamTuner - new streaming directories browser <p>I like to listen various Internet radio stations while I work. My favourite application was <a href="http://www.nongnu.org/streamtuner">streamtuner</a> mostly because it had support for SHOUTcast. Unluckily new SHOUTcast design cannot be handled by <strong>streamtuner</strong> and future development on this application is stopped. In other words there is a little chance for streamtuner to be upgraded so I&#8217;ve decided to make my own streaming directories browser &#8211; <a href="http://github.com/bosko/rstreamtuner" title="Ruby Stream Tuner">RStreamTuner</a>.</p> <p>As usual developing in Ruby was real pleasure and only doubt was what to use for <span class="caps">GUI</span> part. I&#8217;ve started with Ruby/Tk and left it very quickly due to very poor documentation (and probably lack of Tcl knowledge). I had to find replacement and my primary goal was to find library that works equally well on Linux and Windows. WxWidgets with WxRuby gem was my final choice. Although <strong>RStreamTuner</strong> is still in early development phase it is quite usable. At the moment it supports SHOUTcast and Xiph directories, but I plan to add more as soon as I find good one. Good candidate could be Live365 but they&#8217;ve made their pages quite hard to parse so I&#8217;ll probably leave it for later.</p> <p>Once I reach beta version, making support for new streaming directories will be quite easy and will require implementation of just a few methods. As a matter of act it is already so simple but I&#8217;m not satisfied with the code and will change it once I find a little bit more time. Code is quite rough (I had little time to make <strong>RStreamTuner</strong> and was eager to get working version as soon as possible). Besides I want to write detailed instructions how to add support for new directories. Anyway if you like to listen Internet radion stations and like Ruby clone <a href="http://github.com/bosko/rstreamtuner">RStreamTuner</a>. Of course if you have suggestions do not hasitate to drop me a note and if you make support for new streaming directory just send me a pull request and I&#8217;ll try to grab it as soon as possible.</p>