application icongmusicbrowser

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
third_party_apps:xchat [2009/04/26 11:55] lau1third_party_apps:xchat [2022/05/23 01:30] (current) – external edit 127.0.0.1
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 The script is now capable of launching gmusicbrowser
Line 11: Line 9:
  
 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 will let you do that.
  
 ===== Installing the script ===== ===== Installing the script =====
 Download it from  Download it from 
-http://sites.google.com/site/lcoudeur/Home/gmplay.pl3.zip?attredirects=0+https://sites.google.com/site/lcoudeur/Home/gmplay.pl4.zip?attredirects=0
  
 ==== Changing the message displayed ==== ==== Changing the message displayed ====
Line 61: Line 58:
 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
 <code> <code>
- Loaded gmusic XChat 0.0.5:+ Loaded gmusic XChat 0.0.6:
 </code> </code>
 +
 +
  
 ===== gmusicbrowser is not loaded already. ===== ===== gmusicbrowser is not loaded already. =====
  
  
-The script will start it and wait 4 seconds. +The script will start it.
-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.  +
-<code> +
- starting gmusic browser +
- Error loading '/home/laurent/.xchat2/gmplay.pl': +
- org.freedesktop.DBus.Error.ServiceUnknown: The name org.gmusicbrowser was not provided by any .service files +
-</code>+
  
-If gmusicbrowser loads anyway then you just need to update the script.+If you close gmusicbrowser and try to use a script command querying gmusicbrowser you will get a message telling you that it is not running. 
 +You can start then start it using the command /gm_start.
  
-Search the script file around the line 150 for <code perl>sleep (4);</code> 
-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 =====
 +
  
  
Line 96: Line 88:
 <code> <code>
  gmusic XChat Help:  gmusic XChat Help:
-   * Script Version:     0.0.5+   * Script Version:     0.0.6
   About:   About:
    * Author: Laurent Coudeur <####################">    * Author: Laurent Coudeur <####################">
third_party_apps/xchat.1240739709.txt.gz · Last modified: 2022/05/23 01:30 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0