[rygel] media-export: fix id calculation
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel] media-export: fix id calculation
- Date: Thu, 25 Jun 2009 15:47:40 +0000 (UTC)
commit 9a7b933fbed24d42b011cdbe5cf4326cf3755090
Author: Jens Georg <mail jensge org>
Date: Wed Jun 24 23:27:23 2009 +0200
media-export: fix id calculation
.../rygel-media-export-root-container.vala | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-root-container.vala b/src/plugins/media-export/rygel-media-export-root-container.vala
index 9c167f3..b8747ad 100644
--- a/src/plugins/media-export/rygel-media-export-root-container.vala
+++ b/src/plugins/media-export/rygel-media-export-root-container.vala
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]