diff src/metadata.c @ 1483:7cb24fdf07c0

re-added possibility to display basic file info (size, mode, date)
author nadvornik
date Sun, 29 Mar 2009 10:36:13 +0000
parents 400ecfc3d8b1
children d6061c019ceb
line wrap: on
line diff
--- a/src/metadata.c	Sat Mar 28 15:51:21 2009 +0000
+++ b/src/metadata.c	Sun Mar 29 10:36:13 2009 +0000
@@ -480,6 +480,11 @@
 	        if (metadata_legacy_read(fd, NULL, &comment)) return g_list_append(NULL, comment);
 	        }
 	
+	if (strncmp(key, "file.", 5) == 0)
+		{
+	        return g_list_append(NULL, metadata_file_info(fd, key, format));
+		}
+	
 	exif = exif_read_fd(fd); /* this is cached, thus inexpensive */
 	if (!exif) return NULL;
 	list = exif_get_metadata(exif, key, format);