Sunday, November 16, 2008

Web Panel

As per the last post, it would make sense that a Web Panel has begun to emerge, which is not quite like we thought it was going to be. At one point I had actually written a full web browser using the awesome new QWebView class, but the public (i.e. DraX) simply did not like it, so I decided to kind of refactor a little. For one, the Web Panel has become an Internet Panel, which contains only a tab widget. This tab widget has a tab for every web "service" which konfetka will allow, which will make the addition of new services, such those provided by service clients, very easy. All we have to do is write a quick class that inherits WebService (basically a QWidget with some additional functions) that interfaces with a service, and that's all there is to it. I guess one might call these plugin-like.

For now, as service clients are not quite done, I will be writing some of the backends manually. As of right now the only one even close to completion is the shoutcast browser, which will be sweet when it is done.

Obligatory screen shot:


As you can probably see, it isn't quite done yet, but hey, at least it is getting somewhere.

Monday, November 3, 2008

Getting back on the Horse

After a long break from coding konfetka (6 months almost), I have decided to start working on it again. One thing that I think we had a lot of problems with before was that people did not know all the cool stuff konfetka can do, like creating bins (basically a playlist that can't be played), creating collections from a mlib search, searching specific things only in mlib (Parse:artist~Link would return a query where the artist needs to match Link), etc ... etc... soooo I've decided to start this blog, with the intention of informing you all, all 5 of you, with the new and cool features of konfetka.


So, to get started, today I reworked two major parts of konfetka, Album Art and the Wikipedia browser, to use Webkit and QNetworkManager. Now let me just say this, Webkit is like crack, it is so easy to use I rewrote the wiki classes from ~230 lines of code to ~50 (and those 50 are mostly just setting up the buttons). Album Art correctly downloads the entire xml, thank you very much, and now actually gets you your albums.


Ever since I started using WebKit today I was like "Oh I know, I could do this ... or this ..." and just as a starter these are some of the things I think I can implement in the next few days with practically no effort:
  • Last.fm integration
  • a web browser (yes a full web browser)
  • cool drag drop stuff between mlib/playlists and the browser
If you guys can think of anything else just leave a comment.