Recent developments on Radio Tray

I just wanted to tell you a little about the recent developments in radio tray and its roadmap. Development hasn’t been as fast, due to several personal and professional matters. Nevertheless, issues are being solved and a few features being added (thanks specially to Ed Bruck for those).
The next version (0.6.2) is mainly a bugfix version. It has however a few new features, like a sleep function.
Also, one of the recent developments was to create an application indicator for Ubuntu. As you probably know, Ubuntu’s next version won’t have the system tray (among other changes). This is unfortunate, because the application indicator is a lot less flexible. Radio Tray is not an Ubuntu application, but a Linux application and it should run in pretty much all distributions. However, we all know that Ubuntu is the most used distribution and it would be foolish to just ignore it.
So, we now have support for both modes of operation: the usual interface in the system tray, and the new application indicator.
Because of its limited API, in application indicator mode there’s no secondary menu and no tooltips. We had to fit everything into the main menu. It’s not perfect but it ended up better than I imagined.
I don’t like the application indicator API and I don’t think it improves usability for the end user, on the contrary. Nevertheless, I don’t blame Canonical for this, I understand they’re trying to tackle several kinds of devices with just one user interface. We can’t right-click on a tablet or see a tooltip, can we ? ๐Ÿ™‚

We still miss a few things that I wanted to put in 0.6.2 version, but I don’t want to postpone it much more time. So we might release it soon and move the unfinished issues to other version.
One of the issues that won’t be on 0.6.2 will be plugin support. This is a major feature for me, as I don’t want to add too many features to the main Radio Tray application. Most of the future features will probably be based on plugins. This way we can keep the application simple and offer the option to add extra functionality through plugins (stream recording is one example).
This will take some time, as much code needs to be refactored because of this. Nevertheless, I hope we can have 0.6.2 at the begining of 2011 and 0.7 a couple months after it.

Thank you all for your support and kind words of incentive. I wish you all a wonderful Christmas and a Happy New Year!!


18 responses to “Recent developments on Radio Tray”

  1. bartman2589 says :

    One more thing that’s pretty much an essential option for RadioTray should be the option to disable the stream notification popups (the little windows that tell you the name and artist of the currently playing song). While this feature is a very nice feature if all you’re doing is listening to music, it can be a bit annoying if you’re working on something rather intently while listening to music using RadioTray. As for the part about Ubuntu not featuring the system tray in the next release then I guess I won’t be using Ubuntu anymore, they’ve been making a lot of really bad choices lately when it comes to how they bundle things in ubuntu, like the gwibber and empathy bundling which in order to remove one of them you also lose the volume control applet in gnome. Likewise in order to remove their Ubuntu Software Center and allow gdebi or other package managers to assume responsibility for managing .deb packages from the web you have to uninstall the ubuntu desktop and go back to just a gnome desktop essentially. It’s really annoying how they think everyone is going to want to have the same setup, and when the user doesn’t then they make it next to impossible for the user to set their installation up the way they want to. Now that I’ve ranted a bit about Ubuntu I have to say I really like RadioTray for it’s simplicity and ease of use, I just really hope you take into account my recommendation to add the option to disable the popup stream notifications.

  2. Carlos Ribeiro says :

    @bartman2589 There’s an option to disable the popups in the configuration file. See “$HOME/.local/share/radiotray/config.xml”.

    I understand your feelings about Ubuntu. I’m not mad at them, but it’s quite probable that I also change to another distro. After all, there’s plenty of good distributions out there. One shouln’t settle for one all the time ๐Ÿ˜‰

  3. Woodzy says :

    anyway i can get radiotray to work under kde / kubuntu ?

  4. Woodzy says :

    Is the source available on sourceforge? I don’t see it. I’d like to try an adapt it for Windows (if possible and with your permission)

  5. Carlos Ribeiro says :

    @Woodzy Hi, yes it should be no problem under kde. I’m not sure about kubuntu and how that project will evolve, now that unity will be so different from the usual gnome.

    The source is available in tar.gz download and also on the mercurial repository. See

    Yes, of course you can try to adapt it to windows if you wish. Mail me if you want any help. Thanks

  6. Valeryan_24 says :


    First a big thank for your work on this small but so useful application Radio Tray, I couldn’t live without it now ๐Ÿ˜‰

    So it’s a good news to see coming support for Ubuntu AppIndicator. But I’m sad to read that API has such limitations.

    Does it mean that we won’t be able to have sub-menus anymore and categorize radio stations (example “Info”, “Dance”, “Webradios” which opens a second menu on right side when hovered with list of radios).

    If not that’s a pity, because it is less nice or we can’t put as many stations to stay in the screen height) but the best is to know Radio Tray will still be usable in Unity.

    Good continuation !

  7. Ed Bruck says :

    @Valeryan_24 You’ll still have sub menus.

  8. Coen says :

    I just upgraded Ubuntu to 10.10… and Radio Tray to 0.6.2. Nice that it is integrated now, but where are the submenu’s? I really miss them!

  9. Carlos Ribeiro says :

    @Coen Hmmm, what do you mean ? Are you seeing the radio stations directly on the main menu and not inside their categories (Jazz, Rock, etc) ? Those submenus should appear. If they don’t, please try to remove your bookmarks file (backup first) located at /home//.local/share/radiotray/bookmarks.xml

  10. coen says :

    @carlos, first of all thanks for your quick response. That is exactly what I mean. I removed the bookmarks file, like you said, but the problem remains, also after killing and restarting the program. In fact there are only 4 reconfigured radio-stations left, none of them in submenu’s. In the ‘configure radios’ window there is no button to add a new group. I hope you or somebody else can help me figuring out what to do, because radiotray is actually one of my favorites!

  11. coen says :

    with reconfigured i mean preconfigured off course

  12. Carlos Ribeiro says :

    @Coen Are you using the development version ? if so, how exactly did you install it ? and did you have a previous version installed before ? I’m using the exact same ubuntu version and couldn’t replicate the behaviour so far

  13. coen says :

    Thanks for trying to help me!
    Things went going strange on ubuntu 10.04. I installed radiotray 0.6.1 using the .deb file. While adding radiostations, radiotray suddenly stopped working, the icon was gone and i was unable to restart the application using the menu, also after restarting the computer. Because I liked radiotray so much and knew it was in the repositories for 10.10, I upgraded. After upgrading, the softwarecentre in gnome menu, marked it as installed, but it didn’t work. I removed it completely using synaptic and installed it again. Then it was working, but, like I said before, without the submenu’s. I tried removing the bookmarks.xml file and also tried removing radiotray and also the folder in the /home directory, thus forcing radiotray to create a new one. The result was the same, no submenus. There is also no way to create the menu’s or groups. The ‘configure radiostations’ menu doesn’t have an option for it.

  14. Carlos Ribeiro says :

    @Coen Ahh, now I understand what happened. Although Radio Tray is in the ubuntu repositories, it’s not the most recent version. You first had the 0.6.1 version, but in ubuntu’s repository the version is still 0.6, which doesn’t have submenus yet. Try uninstalling that one, remove the bookmarks file and install the deb for 0.6.1. That should do it ๐Ÿ˜‰

  15. coen says :

    That leaves me with the exact same problem I had in Ubuntu 10.04 and 0.6.1. It won start up. Trying to start it in terminal gives me this:
    ** Message: pygobject_register_sinkfunc is deprecated (GstObject)
    Loading configuration…
    PLS playlist decoder
    M3U playlist decoder
    ASX-familiy playlist decoder
    XSPF playlist decoder
    ASF playlist decoder
    RAM playlist decoder
    Using url timeout = 2000
    Traceback (most recent call last):
    File “/usr/bin/radiotray”, line 15, in
    File “/usr/lib/python2.6/dist-packages/radiotray/”, line 33, in main
    File “/usr/lib/python2.6/dist-packages/radiotray/”, line 61, in __init__
    self.systray = SysTray(self.mediator, self.provider, self.log)
    File “/usr/lib/python2.6/dist-packages/radiotray/”, line 83, in __init__
    File “/usr/lib/python2.6/dist-packages/radiotray/”, line 230, in update_radios
    self.provider.walk_bookmarks(self.group_callback, self.bookmark_callback, self.radioMenu)
    File “/usr/lib/python2.6/dist-packages/radiotray/”, line 291, in walk_bookmarks
    self.walk_bookmarks(group_func, bookmark_func, new_user_data, group + “/group[@name='”+ child_name +”‘]”)
    File “/usr/lib/python2.6/dist-packages/radiotray/”, line 291, in walk_bookmarks
    self.walk_bookmarks(group_func, bookmark_func, new_user_data, group + “/group[@name='”+ child_name +”‘]”)
    File “/usr/lib/python2.6/dist-packages/radiotray/”, line 291, in walk_bookmarks
    self.walk_bookmarks(group_func, bookmark_func, new_user_data, group + “/group[@name='”+ child_name +”‘]”)
    File “/usr/lib/python2.6/dist-packages/radiotray/”, line 284, in walk_bookmarks
    children = self.root.xpath(“/bookmarks” + group + “/group | ” + “/bookmarks” + group + “/bookmark”)
    File “lxml.etree.pyx”, line 1317, in lxml.etree._Element.xpath (src/lxml/lxml.etree.c:37255)
    File “xpath.pxi”, line 289, in lxml.etree.XPathElementEvaluator.__call__ (src/lxml/lxml.etree.c:104028)
    File “xpath.pxi”, line 212, in lxml.etree._XPathEvaluatorBase._handle_result (src/lxml/lxml.etree.c:103335)
    File “xpath.pxi”, line 197, in lxml.etree._XPathEvaluatorBase._raise_eval_error (src/lxml/lxml.etree.c:103158)
    lxml.etree.XPathEvalError: Invalid predicate

    BTW, thanks a lot for the effort! I appreciate it

  16. coen says :

    Iว˜e got it working again! Somehow after removing and reinstalling radiotray my old bookmarkfile was in the folder. Now I removed the program and the folder, then restarted, and then reinstalled, and it worked. If I put my old bookmarks back it stops again, so i guess I have to reconfigure it manually, but that’s ok. Thanks a lot for your help!

  17. magic says :

    Incase any one hasnt resolved this issue, i solved it by editing two lines under config.xml. Change from false too:

    quit and reload. Works like a charm now ๐Ÿ™‚

  18. magic says :

    Incase any one hasnt resolved this issue, i solved it by editing two lines under config.xml. Change from false to true:
    quit and reload. Works like a charm now ๐Ÿ™‚

%d bloggers like this: