I have installed Bundle:Xmms, and I'm pretty sure it went okay.

Going to read n/sources/modules/03modlist.data.gz
Term::ReadKey is up to date.
Term::ReadLine::Perl is up to date.
Term::ANSIColor is up to date.
MPEG::MP3Info is up to date.
Xmms is up to date.

But, when I try to use it, I get error messages like this:

Perl error: Can't locate auto/Xmms/Remote/get_playlis.al in @INC(@INC
contain: /sw/lib/perl5/darwin /sw/lib/perl5 /sw/lib/perl5/darwin
/sw/lib/perl5 /System/Library/Perl/darwin /System/Library/Perl
/Library/Perl/darwin /Library/Perl /Library/Perl
/Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl .)
at (eval 59) line 13

[hildrum:~/] tor% cd /Library/Perl/darwin/auto/Xmms/Remote
[hildrum:auto/Xmms/Remote] tor% ls
Remote.bs       Remote.bundle

Here is the code:

$xmms_remote = Xmms::Remote->new();

sub xmms {
  $title = $xmms_remote->get_playlist_title;
  $artist = $xmms_remote->get_playlist_artist;
  $song = $xmms_remote->get_playlist_song;
  $time = $xmms_remote->get_playlist_time;
  print "...";
    }

Anyone used this module, or have any answers/hints?

Tor

Reply via email to