PDA

View Full Version : 6.0 patch to cover art search for urls



Triode
2005-02-20, 07:46
Hi,

Could I propose the following (isSong actually matches on remote urls!)

Adrian

--- /home/adrian/slimserver/trunk/server/Slim/DataStores/DBI/Track.pm 2005-02-17 23:17:27.000000000 +0000
+++ Slim/DataStores/DBI/Track.pm 2005-02-20 14:38:03.224864011 +0000
@@ -243,7 +243,8 @@
my $image;

# return with nothing if this isn't a file. We dont need to search on streams, for example.
- if (!Slim::Utils::Prefs::get('lookForArtwork') || !Slim::Music::Info::isSong($self)) {
+ if (!Slim::Utils::Prefs::get('lookForArtwork') || !Slim::Music::Info::isSong($self)
+ || Slim::Music::Info::isRemoteURL($self)) {
return undef;
}

Dan Sully
2005-02-20, 09:46
* Triode shaped the electrons to say...

>Could I propose the following (isSong actually matches on remote urls!)

Thanks - applied.

-D
--
For every new fool-proof invention there is a new and improved fool.