PDA

View Full Version : Slim scrobbler errors



mwphoto
2005-05-24, 03:56
Hi,

I'm new to slimserver, but I am a perl developer so I'm reasonably happy digging around in the code. However I'd like some help on my steep learning curve.

I'm trying to use Slimserver 6.02 with Slimscrobbler 0.27 (I think this is the latest version of each).

I've been running the server from the command line and SlimScrobbler in verbose mode. Here's what I've got:


C:\Software\SlimServer\server>slim --d_cli
2005-05-24 11:06:03.9062 Server slim accepting command line interface connection s on port 9090
2005-05-24 11:06:04.1938 hookScrobbler() engaged, SlimScrobbler V0.27 activated.

2005-05-24 11:06:04.5312 Creating new PlayerStatus for Lounge SB2 (00:04:20:05:ac:47)
2005-05-24 11:06:04.5318 Using default User/password (Lounge SB2)
Undefined subroutine &Digest::Perl::MD5::md5_hex called at C:/Software/SlimServer/server/Plugins/Scrobbler.pm line 440.

I could fix this easily by pointing it at a valid MD5::md5_hex on the next run I got this:


C:\Software\SlimServer\server>slim --d_cli
2005-05-24 11:07:15.0312 Server slim accepting command line interface connections on port 9090
2005-05-24 11:07:15.3220 hookScrobbler() engaged, SlimScrobbler V0.27 activated.

2005-05-24 11:07:17.7356 Creating new PlayerStatus for Lounge SB2 (00:04:20:05:ac:47)
2005-05-24 11:07:17.7366 Using default User/password (Lounge SB2)
2005-05-24 11:07:17.7370 User ID: *****
2005-05-24 11:07:17.7372 Password: ************
Malformed UTF-8 character (unexpected continuation byte 0xb0, with no preceding start byte) in substitution iterator at /PerlApp/Slim/Player/SqueezeboxG.pm line 408.
Malformed UTF-8 character (unexpected continuation byte 0xb0, with no preceding start byte) in unpack at /PerlApp/Slim/Display/Graphics.pm line 70.
Malformed UTF-8 character (unexpected continuation byte 0xb0, with no preceding start byte) in substitution iterator at /PerlApp/Slim/Player/SqueezeboxG.pm line 408.
Malformed UTF-8 character (unexpected continuation byte 0xb0, with no preceding start byte) in unpack at /PerlApp/Slim/Display/Graphics.pm line 70.
Malformed UTF-8 character (unexpected continuation byte 0xb0, with no preceding start byte) in substitution iterator at /PerlApp/Slim/Player/SqueezeboxG.pm line 408.
Malformed UTF-8 character (unexpected continuation byte 0xb0, with no preceding start byte) in unpack at /PerlApp/Slim/Display/Graphics.pm line 70.
2005-05-24 11:08:22.5923 *----------------------------
2005-05-24 11:08:22.5929 Open command [Lounge SB2 (00:04:20:05:ac:47)]
2005-05-24 11:08:22.5931 *----------------------------
Undefined subroutine &Slim::Music::Info::durationSeconds called at C:/Software/SlimServer/server/Plugins/Scrobbler.pm line 621.

C:\Software\SlimServer\server>


While the UTF-8 warnings will need to be looked at the most critical issue is that we've lost the durationSeconds function. I assume that this is replaced by a morem generic 'get' function along the lines of get('DURATION') however I can't pin it down at the moment.

Can anyone point me in the right direction . . . .

Malcolm

Craig, James (IT)
2005-05-24, 03:57
There's a 6.0 compatible version of SlimScrobbler available from
Sourceforge CVS

http://sourceforge.net/projects/slimscrobbler/

You can't yet download a packaged version though... Hint...

James
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.

mwphoto
2005-05-24, 13:22
Thanks for the tip - I now have the CVS version of SlimScrobbler installed and working - saved me some effort, no I can concentrate my time on building my own plugins. ;)

Malcolm