A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

[Feature] Add total entries to database info

show total database entries in debug>Database Info

Change-Id: Ic22b6a032ae0ee23e0f38c0da6a9cf1433ba29e2

authored by

William Wilgus and committed by
William Wilgus
d521020d d39fcf5c

+4
+2
apps/debug_menu.c
··· 1865 1865 stat->ramcache ? "Yes" : "No"); 1866 1866 simplelist_addline("RAM: %d/%d B", 1867 1867 stat->ramcache_used, stat->ramcache_allocated); 1868 + simplelist_addline("Total entries: %d", 1869 + stat->total_entries); 1868 1870 simplelist_addline("Progress: %d%% (%d entries)", 1869 1871 stat->progress, stat->processed_entries); 1870 1872 simplelist_addline("Curfile: %s",
+1
apps/tagcache.c
··· 5084 5084 5085 5085 struct tagcache_stat* tagcache_get_stat(void) 5086 5086 { 5087 + tc_stat.total_entries = current_tcmh.tch.entry_count; 5087 5088 tc_stat.progress = get_progress(); 5088 5089 tc_stat.processed_entries = processed_dir_count; 5089 5090
+1
apps/tagcache.h
··· 85 85 int ramcache_used; /* How much ram has been really used */ 86 86 int progress; /* Current progress of disk scan */ 87 87 int processed_entries; /* Scanned disk entries so far */ 88 + int total_entries; /* Total entries in tagcache */ 88 89 int queue_length; /* Command queue length */ 89 90 volatile const char 90 91 *curentry; /* Path of the current entry being scanned. */