[Android] Feedback: add more thumbnail statistics to reports
Nicolas Pomepuy
git at videolan.org
Wed Sep 9 07:23:26 UTC 2026
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Jul 30 07:19:46 2026 +0200| [d91b8de25a3c06cfab5c8b4800687bf1b3f99c43] | committer: Duncan McNamara
Feedback: add more thumbnail statistics to reports
> https://code.videolan.org/videolan/vlc-android/commit/d91b8de25a3c06cfab5c8b4800687bf1b3f99c43
---
.../vlc-android/src/org/videolan/vlc/gui/helpers/FeedbackUtil.kt | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/helpers/FeedbackUtil.kt b/application/vlc-android/src/org/videolan/vlc/gui/helpers/FeedbackUtil.kt
index 0883a925a3..1871a9ee06 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/helpers/FeedbackUtil.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/helpers/FeedbackUtil.kt
@@ -132,11 +132,13 @@ object FeedbackUtil {
val medialibFolder = File(it.absolutePath + Medialibrary.MEDIALIB_FOLDER_NAME)
if (medialibFolder.exists()) {
append("Medialibrary external folder size: ${Formatter.formatFileSize(context, FileUtils.getFolderSize(medialibFolder))}\r\n")
+ append("Total thumbnails size: ${Formatter.formatFileSize(context, FileUtils.getFolderSize(medialibFolder))}\r\n")
+ append("Total thumbnails count: ${FileUtils.getFileCount(medialibFolder)}\r\n")
}
val thumbsFolder = File(medialibFolder, "thumbnails")
if (thumbsFolder.exists()) {
- append("Thumbnails size: ${Formatter.formatFileSize(context, FileUtils.getFolderSize(thumbsFolder))}\r\n")
- append("Thumbnails count: ${FileUtils.getFileCount(thumbsFolder)}\r\n")
+ append("ML thumbnails size: ${Formatter.formatFileSize(context, FileUtils.getFolderSize(thumbsFolder))}\r\n")
+ append("ML thumbnails count: ${FileUtils.getFileCount(thumbsFolder)}\r\n")
}
}
val dbFile = File(context.getDir("db", Context.MODE_PRIVATE).absolutePath + Medialibrary.VLC_MEDIA_DB_NAME)
More information about the Android
mailing list