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/30 18:15] – 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 | ||
If you close gmusicbrowser then use one of the command it will let you know that it needs restarting. | 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. | A new commands lets you do that. | ||
+ | |||
===== Installing the script ===== | ===== Installing the script ===== | ||
- | download | + | Download |
- | http:// | + | https:// |
- | ==== 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 25: | ||
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 60: | ||
</ | </ | ||
- | 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 89: | ||
What can it do ? | What can it do ? | ||
- | in xchat type | + | In xchat type |
< | < | ||
/gm_help | /gm_help | ||
Line 112: | Line 112: | ||
</ | </ | ||
- | 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 127: | ||
===== Todo list ===== | ===== Todo list ===== | ||
- | any suggestions | + | Any suggestions? |