From 05ac3a065198378653d0b94dc25946c71d4d23a1 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Fri, 14 Apr 2023 03:52:01 +0200 Subject: Check filesize when retrieving thumbnails In particular, this handles screenshots from Rigol oscilloscopes, which reuse the same name series with the same file modification time. --- fiv-io.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fiv-io.h') diff --git a/fiv-io.h b/fiv-io.h index 1c3500e..71917da 100644 --- a/fiv-io.h +++ b/fiv-io.h @@ -144,6 +144,7 @@ typedef struct { gchar *target_uri; ///< GIO URI for any target gchar *display_name; ///< Label for the file gchar *collate_key; ///< Collate key for the filename + guint64 filesize; ///< Filesize in bytes gint64 mtime_msec; ///< Modification time in milliseconds } FivIoModelEntry; -- cgit v1.2.3-70-g09d2