summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames D. Smith <smithjd15@gmail.com>2021-09-17 18:41:24 -0600
committerWilliam Wilgus <me.theuser@yahoo.com>2021-09-17 21:42:05 -0400
commit60125f6bc987f4e234610f3e23a0e45e5d9b6d6e (patch)
tree60573e375e151840d68601fcc4b2f8f49410b1bc
parentfb04b9b5ee4cc55900a3c93da16de7eeb99535e2 (diff)
downloadrockbox-60125f6bc987f4e234610f3e23a0e45e5d9b6d6e.tar.gz
rockbox-60125f6bc987f4e234610f3e23a0e45e5d9b6d6e.tar.bz2
rockbox-60125f6bc987f4e234610f3e23a0e45e5d9b6d6e.zip
Pictureflow: Update for tag_virt_canonicalartist.
Change-Id: Ie9fc906b6f863347174b383b01514961b307c4f1
-rw-r--r--apps/plugins/pictureflow/pictureflow.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c
index f2bf1f79b3..a170a57ec4 100644
--- a/apps/plugins/pictureflow/pictureflow.c
+++ b/apps/plugins/pictureflow/pictureflow.c
@@ -1056,8 +1056,8 @@ static int create_album_untagged(struct tagcache_search *tcs,
draw_splashscreen(*buf, *bufsz);
draw_progressbar(0, total_count, "Searching " UNTAGGED);
- /* search tagcache for all <untagged> albums & save the albumartist seek pos */
- if (rb->tagcache_search(tcs, tag_albumartist))
+ /* search tagcache for all <untagged> albums & save the canonicalartist seek pos */
+ if (rb->tagcache_search(tcs, tag_virt_canonicalartist))
{
rb->tagcache_search_add_filter(tcs, tag_album, pf_idx.album_untagged_seek);
@@ -1160,7 +1160,7 @@ static int build_artist_index(struct tagcache_search *tcs,
/* artist names starts at beginning of buf */
pf_idx.artist_names = *buf;
- rb->tagcache_search(tcs, tag_albumartist);
+ rb->tagcache_search(tcs, tag_virt_canonicalartist);
res = get_tcs_search_res(ePFS_ARTIST, tcs, &(*buf), bufsz);
rb->tagcache_search_finish(tcs);
if (res < SUCCESS)
@@ -1267,7 +1267,7 @@ static int create_album_index(void)
draw_progressbar(j, pf_idx.album_ct, NULL);
if (pf_idx.album_index[j].artist_seek >= 0) { continue; }
- rb->tagcache_search(&tcs, tag_albumartist);
+ rb->tagcache_search(&tcs, tag_virt_canonicalartist);
rb->tagcache_search_add_filter(&tcs, tag_album, pf_idx.album_index[j].seek);
last = 0;
@@ -1601,7 +1601,7 @@ static void create_track_index(const int slide_index)
if (pf_idx.album_index[slide_index].artist_idx >= 0)
{
- rb->tagcache_search_add_filter(&tcs, tag_albumartist,
+ rb->tagcache_search_add_filter(&tcs, tag_virt_canonicalartist,
pf_idx.album_index[slide_index].artist_seek);
}
@@ -1756,7 +1756,7 @@ static bool get_albumart_for_index_from_db(const int slide_index, char *buf,
rb->tagcache_search_add_filter(&tcs, tag_album,
pf_idx.album_index[slide_index].seek);
- rb->tagcache_search_add_filter(&tcs, tag_albumartist,
+ rb->tagcache_search_add_filter(&tcs, tag_virt_canonicalartist,
pf_idx.album_index[slide_index].artist_seek);
if ( rb->tagcache_get_next(&tcs) ) {