[Slim-Checkins] r10798 - /trunk/server/Slim/Buttons/XMLBrowser.pm
andy at svn.slimdevices.com
andy at svn.slimdevices.com
Thu Nov 30 09:35:27 PST 2006
Author: andy
Date: Thu Nov 30 09:35:27 2006
New Revision: 10798
URL: http://svn.slimdevices.com?rev=10798&view=rev
Log:
Move the XMLBrowser showBriefly to before the execute call, so things such as plugins can display a different message
Modified:
trunk/server/Slim/Buttons/XMLBrowser.pm
Modified: trunk/server/Slim/Buttons/XMLBrowser.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Buttons/XMLBrowser.pm?rev=10798&r1=10797&r2=10798&view=diff
==============================================================================
--- trunk/server/Slim/Buttons/XMLBrowser.pm (original)
+++ trunk/server/Slim/Buttons/XMLBrowser.pm Thu Nov 30 09:35:27 2006
@@ -740,10 +740,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') {
@@ -763,7 +759,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