July 2008 Archives

patch frenzy!

| No Comments

Work through the old musictracker issues, looking for ones with patches attached, applying and testing them. Lots of stuff:

  • patch from chet.the.gray for Listen player support (#13)
  • patch from puthali.HB for Last.fm feed support (#48)

    Last.fm feed stuff needs some work.... breaks player autodetection at the moment if a last.fm account name is set, perhaps it should look at timestamp and infer off it is more than 5 minutes (configurable?) in the past; the parsing looking for a non-standard hyphen character separating artist and title in the feed data is also questionable.

  • patch from patrick.dessalle for Audacious 1.4 support (#86)
  • patch from hyperair for Banshee 1.0 support (#87)
  • patch from thelrix for XMPP user tune support (#96)
  • patch from ZeeGeek for XMMS2 player support (#121)

    XMMS2 patch is a bit problematic in that it wants to directly link with xmmsclient library, which gives us a built-time dependency on it. Rejig the autoconfiscation slightly so we can build without it being present, but this still has the problem that binaries which are built with the xmmsclient support have a run-time dependency on it. Should use dlopen/dlsym (as xmms1 support does) to avoid depending on presence of library? (otherwise pidgin can't load it if the library is absent)

  • Improve "Toggle status changing" action so it has a dynamic menu item which reflects the current Enabled/Disabled state (#39), based on a patch by TorresMAT

    pidgin core doesn't provide a way to do this directly, so this involves some kludging, but it's so needed, an action to toggle with no way of knowing if we are currently on or off is just confusing

  • Rhythmbox: Slightly improve the way we report information for streams (#35), based on a patch by eemil.lagerspetz
  • Winamp: don't screw up titles which contain hyphens, try to still do something useful with streams (#59) based on a patch by leonardo.monteiro.fernandes

    Winamp player code has some crazy stuff to try to guess the title from the winamp window title when we are playing a stream; sadly this screws up if their is a hypen in the title, which seems to cause lots of people problems; Streams are generally problematic as they probably only have a streamtitle, not all the fields we expect from a mp3....

  • amarok: Check for running dcopserver to avoid problems when dcop blocks for long enough that we appear to hang pidgin (#68), Don't spam stderr with "call failed" errors from trying to dcop amarok

    Not quite able to reliably reproduce the problem case, although I have seen it occasionally: if there is no dcopserver running, sometimes 'dcop' blocks for a while before reporting failure; unfortunately this seems to be the same or longer than our player check interval so we hang pidigin. Othertimes dcop returns immediately with an error, can't quite work out what causing the difference.

Musictracker project fork

| No Comments

No responses from the existing project owner, so decided to create a fork pidgin-musictracker

Creating a project at google-code and cloning the existing svn repository is surprisingly painless.

Checkin the changes from my patch, and then do some scripting work to automate the release process. Existing makefile omits the windows installer generation stage, so add rules for that (pleased to find that nsis Gentoo package exists, so I can build the windows installer under linux)

This scripting also generates development snapshots

musictracker is a most excellent now-playing plugin for the Pidgin multiprotocol IM client.

Unfortunately it seems to be un-maintained at the moment.

Here's an unofficial release with fixes for the bugs which irritate me

musictracker.dll for Windows
musictracker.so for linux x86
musictracker-0.4.2-unofficial.patch source patch

Edit:if you want to tell me about a problem with this plugin, please go here rather than leaving a comment... I'll see it quicker :-)

Edit2:I've created a fork of musictracker at google code, go there for the most recent version

2008-07-10 (Version 0.4.2 unofficial)

  • Fix finding window for Foobar2000 and later
  • Don't crash if track info from player isn't valid UTF-8!
  • Get UTF-8 track info from iTunes and WMP
  • Avoid damaging valid UTF-8 track info when removing unprintable characters
  • If the track info message is empty, try to restore the status message selected in UI (e.g. for when your player stopped message is empty)
  • Remove use of modified MSN protocol plugin to append now-playing info to nickname (I suggest you use msn-pecan which supports personal messages)
  • Fixed to build with latest purple

About this Archive

This page is an archive of entries from July 2008 listed from newest to oldest.

June 2008 is the previous archive.

August 2008 is the next archive.

Find recent content on the main index or look in the archives to find all content.