View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0019868 | MMW 5 | General | public | 2023-03-08 19:55 | 2024-02-18 18:39 |
Reporter | martin | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Android | OS | - | OS Version | all |
Fixed in Version | 5.1 | ||||
Summary | 0019868: Incorrect pairing tracks with the same name in the same folder | ||||
Description | https://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. | ||||
Tags | No tags attached. | ||||
Fixed in build | 2800 | ||||
|
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) |
|
re Verified 2834 no regression found on pairing. |