I recently upgraded to SS 6.5 and was going to wait until SlimScrobbler
was official before I upgraded it, but decided I couldn't wait.  So I
got the latest version from CVS and installed it correctly, but it
doesn't appear in the SlimServer Plugin Menu (the Last.FM plugin worked
fine).

Here is the log entry:
2006-10-12 11:49:52.7909 Requiring Plugins::SlimScrobbler::Plugin
plugin.
2006-10-12 11:49:53.1656 Module [Plugins::SlimScrobbler::Plugin] failed
to load: [syntax error at
/usr/local/slimserver/Plugins/SlimScrobbler/Plugin.pm line 1692, near
")"
Missing right curly or square bracket at
/usr/local/slimserver/Plugins/SlimScrobbler/Plugin.pm line 1835, at end
of line
Compilation failed in require at (eval 211) line 2, <DATA> line 64.
BEGIN failed--compilation aborted at (eval 211) line 2, <DATA> line
64.
]
Removing [Plugins::SlimScrobbler::Plugin] from the symbol table - load
failed.
Removing [Scrobbler::Track] from the symbol table - load failed.
Removing [MP3::Info] from the symbol table - load failed.
Removing [Scrobbler::Session] from the symbol table - load failed.
Removing [Time::Stopwatch] from the symbol table - load failed.
Removing [Time::Countdown] from the symbol table - load failed.
Removing [Digest::Perl::MD5] from the symbol table - load failed.
Removing [Math::Round] from the symbol table - load failed.
2006-10-12 11:49:53.2066 Can't load Plugins::SlimScrobbler::Plugin for
Plugins menu: Undefined subroutine &Plugins::SlimScrobbler::Plugin for
Plugins menu: Undefined subroutine
&Plugins::SlimScrobbler::Plugin::getDisplayName called at
/usr/local/slimserver/Slim/Utils/PluginManager.pm line 227.


I tried to follow the advice that others have given and added a ] to
line 1683, changing this:

my %group = (
PrefOrder => [  'plugin_scrobbler_userid',
'plugin_scrobbler_enabled',
PrefsInTable => 1,
GroupHead => string('SETUP_GROUP_PLUGIN_SCROBBLER'),
GroupDesc =>
string('SETUP_GROUP_PLUGIN_SCROBBLER_PLAYER_DESC'),
GroupLine => 1,
GroupSub => 1,
Suppress_PrefSub => 1,
Suppress_PrefLine => 1,
Suppress_PrefHead => 1
);


to this:

my %group = (
PrefOrder => [  'plugin_scrobbler_userid',
'plugin_scrobbler_enabled', ]
PrefsInTable => 1,
GroupHead => string('SETUP_GROUP_PLUGIN_SCROBBLER'),
GroupDesc =>
string('SETUP_GROUP_PLUGIN_SCROBBLER_PLAYER_DESC'),
GroupLine => 1,
GroupSub => 1,
Suppress_PrefSub => 1,
Suppress_PrefLine => 1,
Suppress_PrefHead => 1
);

It still didn't appear in the plugins menu, and this is what appeared
in the log:


2006-10-12 12:00:12.0249 Requiring Plugins::SlimScrobbler::Plugin
plugin.
2006-10-12 12:00:12.4279 Module [Plugins::SlimScrobbler::Plugin] failed
to load: [syntax error at
/usr/local/slimserver/Plugins/SlimScrobbler/Plugin.pm line 1684, near
"PrefsInTable"
Compilation failed in require at (eval 211) line 2, <DATA> line 64.
BEGIN failed--compilation aborted at (eval 211) line 2, <DATA> line
64.
]
Removing [Plugins::SlimScrobbler::Plugin] from the symbol table - load
failed.
Removing [Scrobbler::Track] from the symbol table - load failed.
Removing [MP3::Info] from the symbol table - load failed.
Removing [Scrobbler::Session] from the symbol table - load failed.
Removing [Time::Stopwatch] from the symbol table - load failed.
Removing [Time::Countdown] from the symbol table - load failed.
Removing [Digest::Perl::MD5] from the symbol table - load failed.
Removing [Math::Round] from the symbol table - load failed.
2006-10-12 12:00:12.4689 Can't load Plugins::SlimScrobbler::Plugin for
Plugins menu: Undefined subroutine &Plugins::SlimScrobbler::Plugin for
Plugins menu: Undefined subroutine
&Plugins::SlimScrobbler::Plugin::getDisplayName called at
/usr/local/slimserver/Slim/Utils/PluginManager.pm line 227.


I don't really know Perl so I didn't want to keep poking around putting
random characters all over the place, so I thought I'd just report it
here.  I hope it helps and that a fix can be posted soon...I miss my
SlimScrobbler!  All my last.fm buddies think that I'm taking a hiatus
from music!


-- 
thing-fish
------------------------------------------------------------------------
thing-fish's Profile: http://forums.slimdevices.com/member.php?userid=5288
View this thread: http://forums.slimdevices.com/showthread.php?t=27160

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to