From f4ba4f102a420a2bd22c2def8b7e0f63a5e83a11 Mon Sep 17 00:00:00 2001 From: areff Date: Sun, 9 Mar 2008 16:19:14 +0000 Subject: [PATCH] Fixed error in Scrobbling resulting in all songs taking 3:55 minutes before scrobble (cause was that PlaylistEntry.length is no longer an int, but an NSNumber). --- AudioScrobbler/AudioScrobbler.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AudioScrobbler/AudioScrobbler.m b/AudioScrobbler/AudioScrobbler.m index 22f94650e..499fda1ab 100644 --- a/AudioScrobbler/AudioScrobbler.m +++ b/AudioScrobbler/AudioScrobbler.m @@ -110,7 +110,7 @@ escapeForLastFM(NSString *string) escapeForLastFM([pe title]), escapeForLastFM([pe album]), @"", // TODO: MusicBrainz support - (int)(pe.length), + [[pe length] intValue], escapeForLastFM([[pe URL] path]) ]]; }