[Slim-Checkins] r10799 -
/branches/6.5/server/Slim/Buttons/XMLBrowser.pm
andy at svn.slimdevices.com
andy at svn.slimdevices.com
Thu Nov 30 09:36:47 PST 2006
Author: andy
Date: Thu Nov 30 09:36:47 2006
New Revision: 10799
URL: http://svn.slimdevices.com?rev=10799&view=rev
Log:
Move the XMLBrowser showBriefly to before the execute call, so things such as plugins can display a different message
Modified:
branches/6.5/server/Slim/Buttons/XMLBrowser.pm
Modified: branches/6.5/server/Slim/Buttons/XMLBrowser.pm
URL: http://svn.slimdevices.com/branches/6.5/server/Slim/Buttons/XMLBrowser.pm?rev=10799&r1=10798&r2=10799&view=diff
==============================================================================
--- branches/6.5/server/Slim/Buttons/XMLBrowser.pm (original)
+++ branches/6.5/server/Slim/Buttons/XMLBrowser.pm Thu Nov 30 09:36:47 2006
@@ -736,10 +736,6 @@
my $type = $item->{'type'} || $item->{'enclosure'}->{'type'} || '';
if ($type eq 'audio') {
-
- Slim::Music::Info::setTitle( $url, $title );
-
- $client->execute([ 'playlist', $action, $url, $title ]);
my $string;
if ($action eq 'add') {
@@ -759,7 +755,10 @@
}
$client->showBriefly( $string, $title, 10 );
-
+
+ Slim::Music::Info::setTitle( $url, $title );
+
+ $client->execute([ 'playlist', $action, $url, $title ]);
}
elsif ($type eq 'playlist') {
More information about the checkins
mailing list