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 [2009/04/22 13:01] – updated with script new fonctionalities lau1 | third_party_apps:xchat [2009/04/26 11:55] – lau1 | ||
---|---|---|---|
Line 7: | Line 7: | ||
I added some checks so that it fails to load gracefully. | I added some checks so that it fails to load gracefully. | ||
- | the script is now capable of launching | + | The script is now capable of launching |
It will load gmusicbrowser automatically upon startup | It will load gmusicbrowser automatically upon startup | ||
Line 15: | Line 15: | ||
===== Installing the script ===== | ===== Installing the script ===== | ||
- | download | + | Download |
http:// | http:// | ||
+ | |||
==== Changing the message displayed ==== | ==== Changing the message displayed ==== | ||
- | |||
Edit the script (in your editor of choice) and update the message printed. | Edit the script (in your editor of choice) and update the message printed. | ||
<code perl> | <code perl> | ||
Line 24: | Line 24: | ||
my $playing =" | my $playing =" | ||
</ | </ | ||
- | |||
The script can display all the informations provided by Dbus to modify the output: | The script can display all the informations provided by Dbus to modify the output: | ||
Dbus provides album, artist, disc, length, title, track. | Dbus provides album, artist, disc, length, title, track. | ||
The current scrip displays artist - title - album | The current scrip displays artist - title - album | ||
- | as shown below. | + | As shown below. |
<code perl> | <code perl> | ||
Line 60: | Line 59: | ||
</ | </ | ||
- | if everything is fine Xchat will let you know by printing the message | + | If everything is fine Xchat will let you know by printing the message |
< | < | ||
| | ||
Line 89: | Line 88: | ||
What can it do ? | What can it do ? | ||
- | in xchat type | + | In xchat type |
< | < | ||
/gm_help | /gm_help | ||
Line 112: | Line 111: | ||
</ | </ | ||
- | there you have it | + | There you have it |
* /gm_start Starts gmusicbrowser if it's not present on dbus. It will not start a second instance. It pauses 4 seconds to allow the application to start. | * /gm_start Starts gmusicbrowser if it's not present on dbus. It will not start a second instance. It pauses 4 seconds to allow the application to start. | ||
Line 127: | Line 126: | ||
===== Todo list ===== | ===== Todo list ===== | ||
- | any suggestions | + | Any suggestions? |