summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorJames Smith <smithjd15@gmail.com>2021-11-19 09:22:24 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2021-11-21 12:44:57 -0500
commit990c543ebcf821658a421aec3ae842bb51726072 (patch)
treed65c70dcde283fb75fad20d36dd7ae5e5bc70f31 /apps/plugins
parenta14347a6b3970cb327f6c60f308d93c88b33130d (diff)
downloadrockbox-990c543ebcf821658a421aec3ae842bb51726072.tar.gz
rockbox-990c543ebcf821658a421aec3ae842bb51726072.zip
Revert "Pictureflow: Update for tag_virt_canonicalartist."
This reverts commit 60125f6bc987f4e234610f3e23a0e45e5d9b6d6e. Reason for revert: See g#3947. Change-Id: I34bae3cf5a87a5c99b9a4e5755e1a4a69961b28a
Diffstat (limited to 'apps/plugins')
-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 7c2ad520c9..b5cef72732 100644
--- a/apps/plugins/pictureflow/pictureflow.c
+++ b/apps/plugins/pictureflow/pictureflow.c
@@ -1057,8 +1057,8 @@ static int create_album_untagged(struct tagcache_search *tcs,
1057 draw_splashscreen(*buf, *bufsz); 1057 draw_splashscreen(*buf, *bufsz);
1058 draw_progressbar(0, total_count, "Searching " UNTAGGED); 1058 draw_progressbar(0, total_count, "Searching " UNTAGGED);
1059 1059
1060 /* search tagcache for all <untagged> albums & save the canonicalartist seek pos */ 1060 /* search tagcache for all <untagged> albums & save the albumartist seek pos */
1061 if (rb->tagcache_search(tcs, tag_virt_canonicalartist)) 1061 if (rb->tagcache_search(tcs, tag_albumartist))
1062 { 1062 {
1063 rb->tagcache_search_add_filter(tcs, tag_album, pf_idx.album_untagged_seek); 1063 rb->tagcache_search_add_filter(tcs, tag_album, pf_idx.album_untagged_seek);
1064 1064
@@ -1161,7 +1161,7 @@ static int build_artist_index(struct tagcache_search *tcs,
1161 /* artist names starts at beginning of buf */ 1161 /* artist names starts at beginning of buf */
1162 pf_idx.artist_names = *buf; 1162 pf_idx.artist_names = *buf;
1163 1163
1164 rb->tagcache_search(tcs, tag_virt_canonicalartist); 1164 rb->tagcache_search(tcs, tag_albumartist);
1165 res = get_tcs_search_res(ePFS_ARTIST, tcs, &(*buf), bufsz); 1165 res = get_tcs_search_res(ePFS_ARTIST, tcs, &(*buf), bufsz);
1166 rb->tagcache_search_finish(tcs); 1166 rb->tagcache_search_finish(tcs);
1167 if (res < SUCCESS) 1167 if (res < SUCCESS)
@@ -1268,7 +1268,7 @@ static int create_album_index(void)
1268 draw_progressbar(j, pf_idx.album_ct, NULL); 1268 draw_progressbar(j, pf_idx.album_ct, NULL);
1269 if (pf_idx.album_index[j].artist_seek >= 0) { continue; } 1269 if (pf_idx.album_index[j].artist_seek >= 0) { continue; }
1270 1270
1271 rb->tagcache_search(&tcs, tag_virt_canonicalartist); 1271 rb->tagcache_search(&tcs, tag_albumartist);
1272 rb->tagcache_search_add_filter(&tcs, tag_album, pf_idx.album_index[j].seek); 1272 rb->tagcache_search_add_filter(&tcs, tag_album, pf_idx.album_index[j].seek);
1273 1273
1274 last = 0; 1274 last = 0;
@@ -1602,7 +1602,7 @@ static void create_track_index(const int slide_index)
1602 1602
1603 if (pf_idx.album_index[slide_index].artist_idx >= 0) 1603 if (pf_idx.album_index[slide_index].artist_idx >= 0)
1604 { 1604 {
1605 rb->tagcache_search_add_filter(&tcs, tag_virt_canonicalartist, 1605 rb->tagcache_search_add_filter(&tcs, tag_albumartist,
1606 pf_idx.album_index[slide_index].artist_seek); 1606 pf_idx.album_index[slide_index].artist_seek);
1607 } 1607 }
1608 1608
@@ -1757,7 +1757,7 @@ static bool get_albumart_for_index_from_db(const int slide_index, char *buf,
1757 rb->tagcache_search_add_filter(&tcs, tag_album, 1757 rb->tagcache_search_add_filter(&tcs, tag_album,
1758 pf_idx.album_index[slide_index].seek); 1758 pf_idx.album_index[slide_index].seek);
1759 1759
1760 rb->tagcache_search_add_filter(&tcs, tag_virt_canonicalartist, 1760 rb->tagcache_search_add_filter(&tcs, tag_albumartist,
1761 pf_idx.album_index[slide_index].artist_seek); 1761 pf_idx.album_index[slide_index].artist_seek);
1762 1762
1763 if ( rb->tagcache_get_next(&tcs) ) { 1763 if ( rb->tagcache_get_next(&tcs) ) {