View Issue Details

IDProjectCategoryView StatusLast Update
0019483MMW 5DB / Backuppublic2022-10-27 00:26
ReporterLudek Assigned To 
PriorityurgentSeverityminorReproducibilityunable to reproduce
Status closedResolutionfixed 
Product Version5.0.4 
Target Version5.0.4Fixed in Version5.0.4 
Summary0019483: 'DB / Tag mismatches' keeps showing some tracks with certain Extended tags
DescriptionAnalyzing the issues reported here: https://www.mediamonkey.com/forum/viewtopic.php?p=501982#p501982
and Ian shared his sample track and DB with me.

I found that scanning the track to my DB correctly shows Extended tags as 'date: 2003'
and is added to DB.Songs.ExtendedTags as
[{"title":"date","value":"2003"}]
but in his DB the value is
[{"title":"date","value":"2003"},{"title":"date","value":"2003"}]
i.e. "doubled" for some reason.

What is worse that upon selecting the track and "Update tags (Ctrl+S)" the value isn't corrected to
[{"title":"date","value":"2003"}]
and file is still shown in 'DB / Tag mismatches' node.

Test note: This happens with MP3 files
Steps To Reproduce1) Select MP3 file (isn't reproducible with FLAC)
2) Go to Properties > Custom and insert the same tag twice like this:
date: 2003
date: 2003
3) Go to DB / Tag mismatches
=> track is shown there with Extended tags highlighted
4) Right click, Update tags, press F5 to refresh
=> track is still shown
i.e. in the DB the tag is twice, but in the file tag itself it is always once
Additional Informationhttps://www.mediamonkey.com/forum/viewtopic.php?t=102666
TagsNo tags attached.
Fixed in build2676

Relationships

related to 0019279 closedmichal Bit depth field doesn't show for users migrating from an earlier version of MediaMonkey 

Activities

Ludek

2022-10-20 16:18

developer   ~0069889

As MP3 cannot contain the same custom tag twice then the solution should be rather to remove the duplicate tag from DB

michal

2022-10-21 12:44

developer   ~0069920

Last edited: 2022-10-21 12:45

Fixed in build 2675. MP3 tagger now can store multivalues to extended tag and tag editing removes duplicate entries before saving (i.e. same title and value). "Update tags" functionality now also removes duplicate extended tags from DB.

peke

2022-10-22 01:03

developer   ~0069942

Reopened Looks like it still can be triggered.

michal

2022-10-23 12:40

developer   ~0069946

Are you sure you tested the right release? In 2675 you are not able to do step 2, so what you mean by "still can be triggered". Please specify repro steps.

peke

2022-10-24 21:02

developer   ~0069961

I retested again and I ma not being able to replicate issue, but both users are replication g it in 2675 See https://www.mediamonkey.com/forum/viewtopic.php?p=502047#p502047

Ludek

2022-10-25 15:38

developer   ~0069964

Last edited: 2022-10-25 16:51

I think I replicated it.

This happens for tracks that were imported from MM4 database (MM.DB), but were not re-scanned into database thus inludes ExtendedTags = null in MM5.DB (while it has extended tags in the file tag).

Suggested solution (to be implemented):
 'Update tags' will run re-scan operation that updates _only_ the tags in question (i.e. to prevent unintended consequences for any tracks that have DB/Tag mismatches).
i.e. for those tracks having ExtendedTags = null in the database it adds the values from file tags.
Same for bps and bit-depth (related to 0019279 )

michal

2022-10-25 16:55

developer   ~0069968

Another repro steps:
1) delete extended tags from some file
2) go to DB / Tag mismatches
-> the file is there, even though we just saved same tags to DB and file.

michal

2022-10-25 18:49

developer   ~0069974

Fixed in build 2676. Problem was in saving emtpy extended tags. Possible re-import of new tags after DB upgrade will be solved for 5.1, issue 0019279

peke

2022-10-27 00:26

developer   ~0070025

Verified 2677