forked from len0rd/rockbox
FS#12076 - DB stats resurrection: If the filename was changed, require
all three of album, artist, and title tags to match for resurrection to take place. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29858 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0e7c04e57d
commit
bc315ad731
1 changed files with 2 additions and 2 deletions
|
|
@ -2311,7 +2311,7 @@ static bool build_numeric_indices(struct tagcache_header *h, int tmpfd)
|
|||
* If tag_filename matches, no further checking necessary.
|
||||
*
|
||||
* For string hashes: tag_artist, tag_album, tag_title
|
||||
* - Two of these must match
|
||||
* - All three of these must match
|
||||
*/
|
||||
for (j = 0; j < count; j++)
|
||||
{
|
||||
|
|
@ -2335,7 +2335,7 @@ static bool build_numeric_indices(struct tagcache_header *h, int tmpfd)
|
|||
tmpdb_match(tag_album);
|
||||
tmpdb_match(tag_title);
|
||||
|
||||
if (match_count < 2)
|
||||
if (match_count < 3)
|
||||
{
|
||||
/* Still no match found, give up. */
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue