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 [2008/11/11 22:43] lau1third_party_apps:xchat [2022/05/23 01:30] (current) – external edit 127.0.0.1
Line 5: Line 5:
 It is inspired from rythmbox xchat perl plugin. It is inspired from rythmbox xchat perl plugin.
  
 +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 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.pl.zip?attredirects=0 +https://sites.google.com/site/lcoudeur/Home/gmplay.pl4.zip?attredirects=0
  
 ==== 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 18: Line 21:
 my $playing ="écoute sur son magnétophone numérique"; #replace with your own message   my $playing ="écoute sur son magnétophone numérique"; #replace with your own message  
 </code>  </code> 
- 
 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 54: Line 56:
 </code> </code>
  
-if everything is fine Xchat will let you know buy printing the message+If everything is fine Xchat will let you know by printing the message
 <code> <code>
- Loaded gmusic XChat 0.0.2:+ Loaded gmusic XChat 0.0.6:
 </code> </code>
 +
 +
 +
 +===== gmusicbrowser is not loaded already. =====
 +
 +
 +The script will start it.
 +
 +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.
  
 ===== Commands available ===== ===== Commands available =====
 +
 +
  
 ==== Help ==== ==== Help ====
Line 66: Line 80:
 What can it do ? What can it do ?
  
-in xchat type +In xchat type 
 <code> <code>
 /gm_help /gm_help
 </code> </code>
 +
 +You will be able to View this:
 +<code>
 + gmusic XChat Help:
 +   * Script Version:     0.0.6
 +  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.
 +</code>
 +
 +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_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...+
  
  
third_party_apps/xchat.1226439807.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