[Slim-Checkins] r9339 - /trunk/server/Slim/Schema.pm

dsully at svn.slimdevices.com dsully at svn.slimdevices.com
Fri Sep 1 05:47:41 PDT 2006


Author: dsully
Date: Fri Sep  1 05:47:38 2006
New Revision: 9339

URL: http://svn.slimdevices.com?rev=9339&view=rev
Log:
Bug: N/A
Description: Don't pull playlists from lastTrack, as the resulting object won't be of the correct class.

Modified:
    trunk/server/Slim/Schema.pm

Modified: trunk/server/Slim/Schema.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Schema.pm?rev=9339&r1=9338&r2=9339&view=diff
==============================================================================
--- trunk/server/Slim/Schema.pm (original)
+++ trunk/server/Slim/Schema.pm Fri Sep  1 05:47:38 2006
@@ -1345,7 +1345,7 @@
 	my $dirname = dirname($url);
 	my $source  = $playlist ? 'Playlist' : 'Track';
 
-	if (defined $self->lastTrackURL && $url eq $self->lastTrackURL) {
+	if (!$playlist && defined $self->lastTrackURL && $url eq $self->lastTrackURL) {
 
 		$track = $self->lastTrack->{$dirname};
 



More information about the checkins mailing list