[banshee] [Podcasting] Ensure artwork is grabbed asap (bgo#626928)



commit 90b793b599806db88f03bf44841705f8526403f1
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Sat Aug 14 15:47:55 2010 -0700

    [Podcasting] Ensure artwork is grabbed asap (bgo#626928)

 .../Banshee.Podcasting/PodcastService.cs           |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs b/src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs
index e7bb1ef..074a5c4 100644
--- a/src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs
+++ b/src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService.cs
@@ -386,7 +386,7 @@ namespace Banshee.Podcasting
 
         private void RefreshArtworkFor (Feed feed)
         {
-            if (feed.LastDownloadTime != DateTime.MinValue && !CoverArtSpec.CoverExists (PodcastService.ArtworkIdFor (feed))) {
+            if (!String.IsNullOrEmpty (feed.ImageUrl) && !CoverArtSpec.CoverExists (PodcastService.ArtworkIdFor (feed))) {
                 Banshee.Kernel.Scheduler.Schedule (new PodcastImageFetchJob (feed), Banshee.Kernel.JobPriority.BelowNormal);
             }
         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]