Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
third_party_apps:xchat [2008/11/11 22:40] – added install info and update instruction lau1 | third_party_apps:xchat [2009/04/26 11:49] – typo lau1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
It's at a very early stage so be kind. | It's at a very early stage so be kind. | ||
It is inspired from rythmbox xchat perl plugin. | It is inspired from rythmbox xchat perl plugin. | ||
+ | |||
+ | I added some checks so that it fails to load gracefully. | ||
+ | |||
+ | the script is now capable of launching gmusicbrowser | ||
+ | It will load gmusicbrowser automatically upon startup | ||
+ | |||
+ | If you close gmusicbrowser then use one of the command it will let you know that it needs restarting. | ||
+ | A new commands lets you do that. | ||
===== Installing the script ===== | ===== Installing the script ===== | ||
download it from | download it from | ||
- | http:// | + | http:// |
==== Changing the message displayed ==== | ==== Changing the message displayed ==== | ||
Line 53: | Line 60: | ||
</ | </ | ||
+ | if everything is fine Xchat will let you know by printing the message | ||
+ | < | ||
+ | | ||
+ | </ | ||
+ | |||
+ | ===== gmusicbrowser is not loaded already. ===== | ||
+ | |||
+ | |||
+ | The script will start it and wait 4 seconds. | ||
+ | It is possible that your machine is slower to load gmusicbrowser. | ||
+ | In that case the script will not load correctly as it has not waited long enough. | ||
+ | < | ||
+ | | ||
+ | Error loading '/ | ||
+ | | ||
+ | </ | ||
+ | |||
+ | If gmusicbrowser loads anyway then you just need to update the script. | ||
+ | |||
+ | Search the script file around the line 150 for <code perl> | ||
+ | change it to 6 or more to lengthen the time margin your script will wait before it attempts to connect via Dbus. | ||
===== Commands available ===== | ===== Commands available ===== | ||
- | to be done (it' | + | |
+ | ==== Help ==== | ||
+ | Now that you have installed and updated your script. | ||
+ | |||
+ | What can it do ? | ||
+ | |||
+ | in xchat type | ||
+ | < | ||
+ | /gm_help | ||
+ | </ | ||
+ | |||
+ | You will be able to View this: | ||
+ | < | ||
+ | | ||
+ | * Script Version: | ||
+ | About: | ||
+ | * Author: Laurent Coudeur <####################"> | ||
+ | Commands: | ||
+ | * /gm_start - starts gmusic browser when it has been closed. | ||
+ | * /gm_play - Display the current song playing to a channel. | ||
+ | * /gm_next - Skip to the next track. | ||
+ | * /gm_prev - Skip to the previous track. | ||
+ | * /gm_pause - Pause/start playback. | ||
+ | * /gm_browse - Open Gmusic UI window. | ||
+ | * /gm_volup - Increase volume. | ||
+ | * /gm_voldown - Decrease volume. | ||
+ | * /gm_help - Display this help screen. | ||
+ | </ | ||
+ | |||
+ | there you have it | ||
+ | |||
+ | * /gm_start Starts gmusicbrowser if it' | ||
+ | * /gm_play does what it says on the tin. Displays the currently playing song information as set in previous paragraph. | ||
+ | * /gm_next skips the current song | ||
+ | * /gm_prev plays the previous song | ||
+ | * /gm_pause will pause a playing song, or restart a paused song. | ||
+ | * /gm_browse opens the gmusic browser window | ||
+ | * /gm_volup increase the volume (if your at the maximum level it won't) | ||
+ | * /gm_voldown decrease the volume (...) | ||
+ | |||
===== Todo list ===== | ===== Todo list ===== | ||
- | Lots ;) | + | any suggestions |
- | Updating the page... | + | |