summaryrefslogtreecommitdiffstats
path: root/scripts/xmms.pl
diff options
context:
space:
mode:
authorAilin Nemui2015-01-18 02:15:41 +0100
committerAilin Nemui2015-01-18 02:21:53 +0100
commitac4229402acecd02aad24e874316b9d2c6d1a9d2 (patch)
tree23f0fdc2f7483dc2bd77e0f392569d8d9b24640d /scripts/xmms.pl
parent097ea77e54af0266b70844a23ee1f03224f5143a (diff)
downloadscripts.irssi.org-ac4229402acecd02aad24e874316b9d2c6d1a9d2.tar.bz2
Script generation fall-out
A few small commits to fix the script headers which are used to auto-generate scripts.yaml; * replace licence with license, * fix compilation errors due to missing comma, * fix hiding of information by using `my' instead of `our' / `use vars`, * wrong assignment of hash reference to hash
Diffstat (limited to 'scripts/xmms.pl')
-rw-r--r--scripts/xmms.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/xmms.pl b/scripts/xmms.pl
index dcd8278..a18c2b9 100644
--- a/scripts/xmms.pl
+++ b/scripts/xmms.pl
@@ -29,14 +29,14 @@ use strict;
use Irssi;
use vars qw($VERSION %IRSSI);
$VERSION = "2.0";
-%IRSSI = {
+%IRSSI = (
authors => 'Simon Shine',
contact => 'simon@blueshell.dk',
name => 'xmms',
description => 'XMMS-InfoPipe front-end - allow /np [-help] [dest]',
license => 'Public Domain',
changed => '2004-01-15'
-};
+);
Irssi::settings_add_str('xmms', 'xmms_fifo', '/tmp/xmms-info');
Irssi::settings_add_str('xmms', 'xmms_format', 'np: %title at %bitrate [%pos of %length]');