[Slim-Checkins] r12788 - /trunk/server/Slim/Buttons/XMLBrowser.pm
andy at svn.slimdevices.com
andy at svn.slimdevices.com
Wed Aug 29 12:46:05 PDT 2007
Author: andy
Date: Wed Aug 29 12:46:05 2007
New Revision: 12788
URL: http://svn.slimdevices.com?rev=12788&view=rev
Log:
Fix play attribute for CLI XMLBrowser. Can now play Pandora stations from Jive
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=12788&r1=12787&r2=12788&view=diff
==============================================================================
--- trunk/server/Slim/Buttons/XMLBrowser.pm (original)
+++ trunk/server/Slim/Buttons/XMLBrowser.pm Wed Aug 29 12:46:05 2007
@@ -1263,6 +1263,11 @@
$subFeed = $subFeed->{'items'}->[$i];
push @crumbIndex, $i;
+
+ if ( $isPlaylistCmd && $subFeed->{play} ) {
+ $subFeed->{url} = $subFeed->{play};
+ $subFeed->{type} = 'audio';
+ }
# If the feed is another URL, fetch it and insert it into the
# current cached feed
More information about the checkins
mailing list