Harsh J

Memoirs of a QWERTY Keyboard

Archive for the ‘Plugin’ tag

Click the second dot in this {..}

6 comments

Life has not been so low as right now. No this isn’t some depression stuff. And I mean right _now_ as in right now. 28th Nov, near 2 AM in the morning.

I love the rains, yes I do. I don’t mind the water-logged roads either, I like walking in it. No matter how gloomy the weather, the falling droplets always make me cheerful. But no, this won’t last, not yet in my country. Just as I try to get some work done, my electricity starts to fluctuate, the EB would blame the rains if I blame them. Poof goes my router’s blinkenlights, and I have to reconnect and wonder if what was going on can be got back.

Not to mention what am trying to do seems so-much impossible on the thing am doing the what upon but the same what is, in fact, possible and that having been rubbed into your face by some powers that be, makes you literally go tearing your hair and screaming what the …

Weather on focus, my city’s been receiving lots of cyclone-induced rainfall. I’m thinking it rained enough to last a quarter of the oncoming summer period, if not half. Walked loads in the water today, some places almost upto thigh-deep water.

A little something on movies – Punisher – War Zone’s coming with Jigsaw in it (Dec 5), and these marketers are getting clever, releasing the original old Punisher with Jane and Travolta in it just a week before. Saw Quantum of Solace and it isn’t good, all action and deaths, or atleast most of it. Also saw The Dark Knight so many times that I started to like Batman Begins more.

Installed a new code-highlight plugin (The same awesome one as on WordPress.com blogs). Here’s a sample:

# In Python
class Foo(object):
    def __init__(self): pass
    @somedecorator
    def abc(ghi):
        print ("Spam and eggs")

More later as I get back to owning the lizard – the mighty, unconquerable openSuSE 11.0.

Just-for-record: 9 router disconnects in this post-typing period. Great voltage!

Written by Harsh

November 28th, 2008 at 2:50 am

Posted in Personal

Tagged with , , , , , , ,

Listen Music Player Announcer Plugin for XChat

4 comments

I recently blogged about the lesser-known Listen Music Player for GNOME.

Being an XChat IRC user I wanted a plugin (or do you spell it plug-in?) similar to the ones for Amarok, Exaile or Banshee, etc to display my current playing song along with the artist and album information. But I couldn’t find one out there, so I decided to modify the Amarok one and made one myself for Listen Music Player.

So all, say hello to my first ever release:

Listen Announcer

(An XChat IRC plugin to display song information from Listen Music Player)
Download:

Download Listen Announcer
XChat plugin for Listen Music Player
(Right click and choose Save As …)

Its easy to install and use this in XChat, and here are the steps:

Installation:

Graphical (Easy) Method:

  1. Open your Home folder and press Ctrl + H (To view hidden folders).
  2. Open the folder called .xchat2 (Note the dot) and place the downloaded listen.py file in it.
  3. Start or restart XChat and the Listen Announcer plugin will automatically load

Command (Faster) Method:
Give the command:
mv listen.py ~/.xchat/

Or another way is to open XChat and go to the XChat menu and choose the Load Plugin or Script … option and from the dialog box that appears, choose the listen.py file. This method doesn’t make the loading automatic however. Anyone of the previous methods make the loading automatic.

Usage:

Give the command /lis in any channel to make it display the current song.

An example: [QwertyM] is listening to ‘US History’ by ‘Flipsyde’ on ‘We the People’

Of course, give /help lis for more information. :)

Enjoy! :D

Note: You may need the Python module for XChat to make this Listen Announcer plugin work.

Written by Harsh

November 25th, 2007 at 10:55 pm