media-export: Message & signal if harvesting not needed
authorJens Georg <mail@jensge.org>
Sat, 20 Feb 2010 16:25:08 +0000 (17:25 +0100)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Tue, 23 Feb 2010 13:22:37 +0000 (15:22 +0200)
Emit a console message and signal if file does not need harvesting.

src/plugins/media-export/rygel-media-export-harvester.vala

index a84818d..f2c24b0 100644 (file)
@@ -261,6 +261,10 @@ public class Rygel.MediaExportHarvester : GLib.Object {
                     Idle.add (this.on_idle);
                     this.origin = file;
                     this.containers.push_tail (this.parent);
+                } else {
+                    debug ("File %s does not need harvesting",
+                           file.get_uri ());
+                    harvested (file);
                 }
             }