[Slim-Checkins] r10178 - /branches/6.5/server/Slim/Player/Playlist.pm

andy at svn.slimdevices.com andy at svn.slimdevices.com
Wed Oct 4 09:22:35 PDT 2006


Author: andy
Date: Wed Oct  4 09:22:34 2006
New Revision: 10178

URL: http://svn.slimdevices.com?rev=10178&view=rev
Log:
Don't crash if newSongPlaylistCallback doesn't have a client

Modified:
    branches/6.5/server/Slim/Player/Playlist.pm

Modified: branches/6.5/server/Slim/Player/Playlist.pm
URL: http://svn.slimdevices.com/branches/6.5/server/Slim/Player/Playlist.pm?rev=10178&r1=10177&r2=10178&view=diff
==============================================================================
--- branches/6.5/server/Slim/Player/Playlist.pm (original)
+++ branches/6.5/server/Slim/Player/Playlist.pm Wed Oct  4 09:22:34 2006
@@ -676,7 +676,7 @@
 sub newSongPlaylistCallback {
 	my $request = shift;
 	
-	my $client = $request->client();
+	my $client = $request->client() || return;
 
 	my $playlist = '';
 



More information about the checkins mailing list