# vim: set expandtab: use strict; use warnings; no warnings 'closure'; use vars qw($VERSION %IRSSI); $VERSION = "5.9"; %IRSSI = ( authors => "Simon 'simmel' Lundström", contact => 'simmel@(freenode|quakenet|efnet) http://last.fm/user/darksoy', name => "lastfm", date => "20120229", description => 'A now-playing-script which uses Last.fm', license => "BSD", url => "http://soy.se/code/", ); # USAGE # For details on how to use each setting, scroll down to the SETTINGS section. # QUICK START # * First of all, you need the libwww/LWP package installed. The package in # your package system is probably called something with libwww and perl and/or # p5 in it. # * /set lastfm_user to the username that you are using on Last.fm # * Show with /np or %np what song "lastfm_user" last scrobbled to Last.fm via /say. If "lastfm_use_action" is set, it uses /me. # * To see what another user on Last.fm is playing is also possible via /np or %np(). # The now-playing message is configurable via via "lastfm_output" (and lastfm_output_tab_complete when using %np, if not set it will use lastfm_output by default.). "lastfm_strftime" can be used to configure the display of date and time when the song was scrobbled. # SETTINGS # NOTE: Do not set these options here, use /set