View Issue Details

IDProjectCategoryView StatusLast Update
0019868MMW 5Generalpublic2024-02-18 18:39
Reportermartin Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformAndroidOS-OS Versionall
Fixed in Version5.1 
Summary0019868: Incorrect pairing tracks with the same name in the same folder
Descriptionhttps://www.mediamonkey.com/forum/viewtopic.php?t=103873

I can replicate it.
1. Modify three tracks to have the same title, artist, but have different album and album artists (I used three tracks with same duration)
2. Crate new folder on phone storage and copy these track to this folder
in my case it was "MusicTest" there were:
03 Soundtrack - Wig Wam Bam.mp3
03 Soundtrack - Wig Wam Bam_2.mp3
03 Soundtrack - Wig Wam Bam_3.mp3

3. From MMA include "MusicTest" folder in library
all tracks are scanned correctly and the albums are correct too

4. Run Wifi-Sync
Those tracks are unpaired, so the pairing process identifies these track correctly and upload metadata to MM5 server.
MM5 returns a list to pair these tracks, but all have the same album and THIS IS WHY MMA updates local tracks by the same album.
TagsNo tags attached.
Fixed in build2800

Relationships

related to 0014934 closedLudek MMW 5 Track pairing/matching tweaks 
related to 0019888 newrusty MMA Duplicate tracks are not offerer to deleted during sync 

Activities

Ludek

2023-03-08 22:14

developer   ~0071333

Last edited: 2023-03-08 22:21

Checking the code and I think this is because the tracks has same duration.

There is series of conditions and based on the code you very really lucky, because
1) Full-text-search is done to get candidates to match (based on title + artist)
2) Then there is another condition:
  if (lenMatch or (artistMatch and albumMatch)) // 0014934 - items 7,8
=> in your case it passed because length/duration matched
3) Then another condition
if (albumMatch and titleMatch) or (artistMatch and titleMatch)
=> Also matched because of the second part (artistMatch and titleMatch)

This "less strict" mode was introduced in course of matching track with online services like Spotify and GPM (where album info is often missing or inaccurate) and duration can differs several seconds.

Fixed in 5.0.1.2800 by leaving "less strict" mode for online services, but made it strict for MMA sync/pairing (to the level of MM4 strictness)

peke

2024-02-18 18:39

developer   ~0074293

re Verified 2834

no regression found on pairing.