Mozilla
Archived Posts from this Category
Archived Posts from this Category
Posted by Sam on 15 Jul 2010 | Tagged as: Internets, Mozilla, Web development
So I released Ratebird 0.32 with the aforementioned überfix for the RYM site. Took a bit of noodling to get it to happen, but it turned out simpler was better and we got there in the end. Basically if you’re on an artist page when signed in to RYM, your ratings for that artist’s releases appear instead of the ‘rate’ text in the far right; the long-standing problem is that this doesn’t happen for split or various artist releases…until now. Hopefully the RYM guys won’t finally fix this in the immediate future, thus denying me my…er, glory?
I then noticed a typo in the install.rdf I uploaded so pushed 0.33 up with possibly the fastest Mozilla extension feature I’ve ever written – took me less than 40min to add a context menu option for library items that opens a new tab with a basic search of the album (or artist if the album tag is null) for that track. Works for multiple tracks and pseudoThreaded too, just in case. Will get back on to improving the core feature for 0.4, although it won’t be for at least a couple of weeks.
And finally, I looked at the CDN stuff again and it would appear the aforementioned Google App Engine doesn’t support PHP/MySQL – putting WordPress and this site right out of the equation. There has been some success in getting WordPress to work but it’s pretty damn fiddly and I’d probably just be better off paying for Amazon’s CDN. Will revisit at some point.
Ratebird can be found here.
Posted by Sam on 07 Jul 2010 | Tagged as: Internets, Mozilla
I finally pushed the work I’ve been sporadically doing on Ratebird over the last three months or so up to a.s.c (Songbird deserves an acronym for their addons site too).
Basically I wanted to properly sort out the preferences, and implement my greasemonkey script for RYM into the extension – which ended up being one hell of a lot simpler than I had imagined. It still took a couple of days of fiddling to fix the script up (the RYM site had changed, some things weren’t well implemented, and some things needed re-writing entirely), but the actual integration of script and extension took only a couple of hours, which totally took me by surprise. I think I can attribute this succes to a most useful wee tool, along with my recently enhanced knowledge of the way all these extension files fit together.
The next release should be just a few days away – Again on the user-scripting of the RYM site side of things, I’m implementing a fix for what I consider to be one of RYM’s most annoying bugs. After that, I’ll go back to the core functionality and see about getting my code for multiple matches hooked up. Oh, and some kind of UI telling you what’s going on, that would be nice.
You can get Ratebird from here. Requires Songbird, obviously.
Posted by Sam on 19 Jan 2010 | Tagged as: Internets, Mozilla, Music, Web development
So I got annoyed with looking up albums in RYM and decided to write something to extract the ratings into Songbird. The result is here, it’s actually at 0.2 already because I’ve done quite a lot of work on it recently (whilst being something of a slack blogger). Now all I need are the POTI guys to make Songbird do multiple genre tagging, improve the search/filter functions accordingly and then make Songbird much snappier with large libraries. Then I will have the (almost) perfect media player.
Future plans include integrating the RYM enhancer script into this, once I’ve got the hang of pref management.
Posted by Sam on 19 Feb 2009 | Tagged as: Mozilla
I just realised I never blogged about this. Before I started messing about with Greasemonkey, I wrote a small Firefox extension just to dip my toe in the Mozilla waters.
It is far from complex and is based on the classic ‘Define’ extension, simply adding an item to the text selection context menu that allows the user to easily search an artist or album on Rate Your Music.
So here is the extension, feel free to install it on Firefox versions up to and including the forthcoming 3.1, and also (more importantly, as Songbird is my main browser as far as RYM goes) Songbird versions up to and including the forthcoming 1.1. This won’t be submitted to AMO yet, as I first plan to turn my Greasemonkey script into an extension (already done, utilising this nifty tool), before adding an options menu and integrating the context menu functionality in this extension to make the ultimate (only?) RYM enhancement for Firefox.
Posted by Sam on 19 Feb 2009 | Tagged as: Internets, Mozilla, Web development
Yes, that’s right.
The short story is I got annoyed at the glacial pace of feature development over on Rate Your Music, Richey showed me a couple of Greasemonkey scripts he found to enhance the experience and this one popped up as being the most useful. Except that I didn’t like a few things about it, so proceeded to simplify the options and add a small pile of new features.
So I present my enhanced version of the RYM enhancer script. Features:
Starred items are features carried over from the original version of the script. Highlight colours have been carefully chosen to allow readability, and also to provide a colour combination metaphor when rated & owned, or rated & wishlist, highlights are selected. You can’t own an item and have it on your wishlist, so there is no combination highlight for that.
There are certain circumstances where releases that you have rated will not be highlighted. This is because RYM allows you to rate multiple versions of any given release, but doesn’t provide a user friendly way to manage these ratings with respect to the release as a whole. So if you have rated a release version which is different to that displayed in a list or chart, that album’s entry will not show up as having been rated. Most annoyingly, this also happens when looking at artist pages; the way I currently get around it is to rate multiple versions of the same album, which achieves the desired results but can be annoying as you are rating the same release multiple times. I might see if I can provide a better fix to this issue with an extension to the script.
Needless to say, this requires Firefox and the Greasemonkey extension. Go get it
Posted by Sam on 08 Mar 2007 | Tagged as: Internets, Mozilla, Web development
Ok, so new blog set up with minimal customisation (everything is likely to change) and the first theme that validates properly with HTML Tidy (it also happens to be nice and green).
This is the first speed comparison of the new native JavaScript GetElementsByClassName functionality which is built into what will become Firefox 3. Very impressive, it should mean Fx3 will actually feel significantly faster when poking around sites, especially those with lots of JS.
Picture from the above link:

On a side note, I’m very impressed with WordPress so far, it’s all very well laid out, nice and intuitive. You can edit anything you want so eventually I’ll be hacking up a theme and hopefully integrating the blog with the rest of the (not yet existent) site. Oh, and the Dreamhost installation really was only one click!