date field



Hello,

I think the date field is wrong as of now (DC:Date) and should be
File:Modified or File.Accessed.

Thanks.

-- 
Henrique Ferreiro García <henrique ferreiro gmail com>
Index: src/plugins/tracker/rygel-tracker-music-item.vala
===================================================================
--- src/plugins/tracker/rygel-tracker-music-item.vala	(revision 689)
+++ src/plugins/tracker/rygel-tracker-music-item.vala	(working copy)
@@ -61,7 +61,7 @@
         keys[Metadata.ALBUM] = "Audio:Album";
         keys[Metadata.RELEASE] = "Audio:ReleaseDate";
         keys[Metadata.DATE_ADDED] = "Audio:DateAdded";
-        keys[Metadata.DATE] = "DC:Date";
+        keys[Metadata.DATE] = "File:Modified";
 
         return keys;
     }
Index: src/plugins/tracker/rygel-tracker-image-item.vala
===================================================================
--- src/plugins/tracker/rygel-tracker-image-item.vala	(revision 689)
+++ src/plugins/tracker/rygel-tracker-image-item.vala	(working copy)
@@ -61,7 +61,7 @@
         keys[Metadata.HEIGHT] = "Image:Height";
         keys[Metadata.ALBUM] = "Image:Album";
         keys[Metadata.IMAGE_DATE] = "Image:Date";
-        keys[Metadata.DATE] = "DC:Date";
+        keys[Metadata.DATE] = "File:Modified";
 
         return keys;
     }
Index: src/plugins/tracker/rygel-tracker-video-item.vala
===================================================================
--- src/plugins/tracker/rygel-tracker-video-item.vala	(revision 689)
+++ src/plugins/tracker/rygel-tracker-video-item.vala	(working copy)
@@ -57,7 +57,7 @@
         keys[Metadata.AUTHOR] = "Video:Author";
         keys[Metadata.WIDTH] = "Video:Width";
         keys[Metadata.HEIGHT] = "Video:Height";
-        keys[Metadata.DATE] = "DC:Date";
+        keys[Metadata.DATE] = "File:Modified";
 
         return keys;
     }


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