Archive | April 2010

Development towards 0.6

 Hi, I just wanted to tell you that the development of radio tray 0.6 is up and running. I’ve been receiving more contributions , which is great. Thanks to Ed Bruck, Radio Tray now has volume control, by using the scroll wheel on the icon. It’s pretty cool. I then added that information to the tooltip to improve feedback to the user. Here’s how it looks:

 

Another cool thing added is a DBus interface. Having a DBus interface means that the doors are open for other applications to interact with radio tray. Here’s the list of functions available trough DBus:

  • listRadios()
  • getCurrentRadio()
  • playRadio(name)
  • turnOff()
  • volumeUp()
  • volumeDown()
  • getCurrentMetaData()

It’s possible that some more might be added, like mute(), etc. So, basically I’m hoping someone finds this interesting and start making all sort of integrations 🙂 There’s also a "testdbus.py" in the repository, so if you have no experience with DBus and want to hack into radio tray, it should now be easy.

So, despite all of this, there’s still much work to finish version 0.6. Although I’ll probably postpone some features to version 0.7, there’s also bug list to attack. I want to close down most of the bugs for this next version.

Stay tuned and happy listening.

Advertisements

Radio Tray 0.5.1 is finally out

After a lot of work, from me and from Og Maciel that has been contributing a lot to Radio Tray, this version is full of small fixes and huge amounts of code restructuring. And thanks to everyone that took the time to translate Radio Tray, we now have support for 15 languages !! Unfortunately, we had to change some of the text that was being translated, which resulted in more work for the translators. But in the end just a few languages remained incomplete. Again, thank you for your participation.

Besides the language files, there has been a lot of improvements in different parts of the code. Too many to list them. A few bugs were fixed also, but not every bug was closed. Some were left for the next version 🙂

Meanwhile, like I said, there was a transition from Subversion repository to Mercurial. I’m quite happy with the transition, and enjoying working with Mercurial. Just to be clear: I didn’t change from Subversion because of any specific issue. It was proposed to me to use Mercurial and I accepted, because I also had the curiosity of using this kind of distributed version control systems.

 New Features

Despite the focus was on restructuring some code and improving a few issues, there’s also some new things in Radio Tray. One of them is a different icon depending on application state. If Radio Tray is not playing any radio, the icon is now gray. When it’s playing, the normal blue one is displayed. I was also working on an animated icon for the "connecting" state, but I couldn’t get it work well, so it got postponed for the next version.

 Many people also asked to display the song that was playing, on the notification system. At first I wasn’t planning to add this feature, due to the bad behaviour of some radios. But let’s hope most of you choose radios that don’t have this issue 🙂 I plan to add some way of disabling this on the next version, anyway.

 There’s now a list of radios by default on a fresh installation. If you already used Radio Tray, your old bookmarks will remain the same. Note that the bookmarks file (bookmarks.xml) is now located on "~/.local/share/radiotray" instead of "~/.radiotray". This is to make Radio Tray more compliant with current linux standards. If all goes well, your old bookmarks file will be moved to the new location. However, it’s always good to first make a backup 😉

 I hope I haven’t forgot any new feature 🙂 It’s not much, but it was more than I was planning for this version. Anyhow I think this kind of enhancements really improve the user experience, so I hope you like it.

Next Version

 I have several ideas for the next version. I already told you that I was planning to add D-Bus interface. For the end-user this will probably mean an easier way to add radios, but this is a story for another post. I also want to add XSPF support and study more formats that could be added. There’s also a list some bugs to be addressed. I’ve collected far more ideas (some fo them from comments on this blog) and maybe some more can be implemented in the next version.

 

Final notes

 I’ve always distributed two files: a tarball and a debian package. But this debian package is in fact not meant for the Debian distribution but for Ubuntu. It would be great if it worked on Debian also, but I haven’t tested it. Can please someone test it on Debian ? If it doesn’t work it would also be great if someone could maintain the Debian version of the package.

Hope you like this version as much as I liked developing it 😉

Happy listening!