Sep 22 2007

Exaile Plugin For X-Chat

Tag:Sonic @ 10:45

Un piccolo plugin per xchat scritto in python che e' in grado di annunciare in chat (tramite il comando /song) la canzone che state ascoltando con exaile. (usa dbus per ricavare le informazioni).

Lo script e' stato poco testato spero non ci siano errori gravi.

Exaile np For X-Chat (HTML File with Sintax Highlight)

11 risposte a “Exaile Plugin For X-Chat”

  1. billIsGay ha scritto:

    Your script is not workin’… it says… “Error during trying to comunicate with exaile!”

  2. Fackamato ha scritto:

    Thanks! Works great. To other poster: Make sure you’ve got dbus up and running with the right permissions, and that your user is a member of the the correct groups.

  3. mark ha scritto:

    Thanks a lot for this. It was just what I was looking for :)
    Had been poking around a bit looking for something like gts for windows/mIRC just for fun.

  4. trbs ha scritto:

    small patch to make the script work with shoutcast url’s

    — exaile.py.org 2008-01-12 16:31:33.000000000 +0100
    +++ exaile.py 2008-01-12 16:30:29.000000000 +0100
    @@ -81,10 +81,11 @@
    return xchat.EAT_ALL
    try:
    position = int(get_position())
    + location = exa.get_track_attr(’loc’)
    except:
    print “Error during trying to comunicate with exaile!”
    return xchat.EAT_ALL
    - if not position:
    + if not position and not ‘://’ in location:
    print “Exaile is stopped or not running!”
    return xchat.EAT_ALL
    title = get_title()
    @@ -94,8 +95,11 @@
    album = get_album()
    album = album.encode(”utf-8″)
    length = get_length()
    - #xchat.command (”me is listening to ” + artist + ” – ” + title + ” [" + str(length) + " (" + str(position) + "%)]“)
    - xchat.command (”me is listening to (” + str(title) + “) by (” + str(artist) + “) from (” + str(album) + “) [" + str(length) + "] in his Exaile”)
    + if ‘://’ in location:
    + xchat.command (”me is listening to (” + str(title) + “) by (” + str(artist) + “) from (” + str(album) + “) in his Exaile”)
    + else:
    + #xchat.command (”me is listening to ” + artist + ” – ” + title + ” [" + str(length) + " (" + str(position) + "%)]“)
    + xchat.command (”me is listening to (” + str(title) + “) by (” + str(artist) + “) from (” + str(album) + “) [" + str(length) + "] in his Exaile”)
    return xchat.EAT_ALL

  5. trbs ha scritto:

    the patch can also be found on:

    http://ido.nl.eu.org/exaile/xchatscript/

  6. Sonic ha scritto:

    Good job trbs ;)

  7. madsci ha scritto:

    Can someone post patched script? I can’t patch it – it throws bunch of errors.

  8. madpinger ha scritto:

    Yo, Thanks a bunch man. Gotta love python :D

    Works well. Thanks for the release !

  9. Ubuntuway ha scritto:

    Version en espaņol del Exaile Plugin para X-Chat mas la opcion de ver el ALBUM!
    Spanish version plus ALBUM feature !
    Get it on http://pastebin.com/f43525c8d

    Thanks a lot for the original script!

    FreeDownload

  10. Jack ha scritto:

    Great script, thanks!

  11. SeactWeva ha scritto:

    hmm… really like it )

Lascia una risposta