media-export: fix id calculation
authorJens Georg <mail@jensge.org>
Wed, 24 Jun 2009 21:27:23 +0000 (23:27 +0200)
committerJens Georg <mail@jensge.org>
Thu, 25 Jun 2009 12:43:45 +0000 (14:43 +0200)
src/plugins/media-export/rygel-media-export-root-container.vala

index 9c167f3..b8747ad 100644 (file)
@@ -110,9 +110,8 @@ public class Rygel.MediaExportRootContainer : MediaContainer {
             var file = File.new_for_commandline_arg (uri);
             if (file.query_exists (null)) {
                 var id = Checksum.compute_for_string (ChecksumType.MD5,
-                                                      uri);
+                                                      file.get_uri ());
                 if (!this.media_db.exists (id)) {
-                    debug ("Scheduling new harvester");
                     var harvest =
                         new MediaExportHarvester (this.root_container, media_db,
                                 extractor);