Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

tagcache: Prevent a infinite tagcache scan/commit loop

If no new entries were committed, there's no need to kick
off a new scan/autoupdate.

Change-Id: I3e8e497e4fe04d46612401e1ec6b72f30a8b77a4

+2 -2
+2 -2
apps/tagcache.c
··· 3549 3549 tcrc_buffer_unlock(); 3550 3550 } 3551 3551 3552 - /* Reload tagcache. */ 3553 - if (tc_stat.ramcache_allocated > 0) 3552 + /* Reload tagcache only if we committed new entries */ 3553 + if (tc_stat.ramcache_allocated > 0 && tch.entry_count > 0) 3554 3554 tagcache_start_scan(); 3555 3555 #endif /* HAVE_TC_RAMCACHE */ 3556 3556