diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/pictureflow/pictureflow.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c index a170a57ec4..6e6b35a892 100644 --- a/apps/plugins/pictureflow/pictureflow.c +++ b/apps/plugins/pictureflow/pictureflow.c | |||
@@ -451,6 +451,7 @@ static struct configdata config[] = | |||
451 | { TYPE_INT, 0, 999999, { .int_p = &pf_cfg.last_album }, "last album", NULL }, | 451 | { TYPE_INT, 0, 999999, { .int_p = &pf_cfg.last_album }, "last album", NULL }, |
452 | { TYPE_INT, 0, 1, { .int_p = &pf_cfg.backlight_mode }, "backlight", NULL }, | 452 | { TYPE_INT, 0, 1, { .int_p = &pf_cfg.backlight_mode }, "backlight", NULL }, |
453 | { TYPE_INT, 0, 999999, { .int_p = &aa_cache.idx }, "art cache pos", NULL }, | 453 | { TYPE_INT, 0, 999999, { .int_p = &aa_cache.idx }, "art cache pos", NULL }, |
454 | { TYPE_INT, 0, 999999, { .int_p = &aa_cache.inspected }, "art cache inspected", NULL } | ||
454 | }; | 455 | }; |
455 | 456 | ||
456 | #define CONFIG_NUM_ITEMS (sizeof(config) / sizeof(struct configdata)) | 457 | #define CONFIG_NUM_ITEMS (sizeof(config) / sizeof(struct configdata)) |
@@ -2002,6 +2003,7 @@ static bool create_albumart_cache(void) | |||
2002 | { | 2003 | { |
2003 | draw_splashscreen(pf_idx.buf, pf_idx.buf_sz); | 2004 | draw_splashscreen(pf_idx.buf, pf_idx.buf_sz); |
2004 | draw_progressbar(0, pf_idx.album_ct, "Preparing artwork"); | 2005 | draw_progressbar(0, pf_idx.album_ct, "Preparing artwork"); |
2006 | aa_cache.inspected = 0; | ||
2005 | for (int i=0; i < pf_idx.album_ct; i++) | 2007 | for (int i=0; i < pf_idx.album_ct; i++) |
2006 | { | 2008 | { |
2007 | incremental_albumart_cache(true); | 2009 | incremental_albumart_cache(true); |