Subject: Re: irssi script
To: Pavel Trubl <trubl@katel.cz>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-users
Date: 01/13/2004 15:31:57
--O3RTKUHj+75w1tg5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

On Tue, Jan 13, 2004 at 02:52:40PM +0100, Pavel Trubl wrote:
> I try irssi script, but it doesn't work:
>=20
> http://www.irssi.org/scripts/html/listen.pl.html
>=20
> Problem is in lsof command, it has nope output:
>=20
> ...
> # most of the players put the file into the memory at first,
> # let's try to catch it there, first
> getmp3filename("/usr/sbin/lsof -d mem | grep -i .mp3|");
                  ^^^^^^^^^^^^^^
> # if we didn't find anything there, we check the fds for mp3s
> if ($mp3player eq "nope") {
> getmp3filename("/usr/sbin/lsof -d 1-15 | grep -i .mp3|");
                  ^^^^^^^^^^^^^^
do you have lsof installed?  are you sure your lsof is in /usr/sbin?


regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>                   --
--                  <salo@silcnet.org>                   --

--O3RTKUHj+75w1tg5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFABAFdiwjDDlS8cmMRAlNhAJ9ntOFwcjM2e3uqjmG/gXId6rKIjQCeM/a4
o6KFT79Cp3UovE57WfLUluQ=
=CXfm
-----END PGP SIGNATURE-----

--O3RTKUHj+75w1tg5--