View Issue Details

IDProjectCategoryView StatusLast Update
0015958MMW 5Tagging / organizing (properties / auto-tools)public2019-09-23 21:18
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionreopened 
Product Version5.0 
Target Version5.0Fixed in Version5.0 
Summary0015958: Auto-tag: many auto-tagged tracks are saved with tags that don't match the DB
DescriptionIt seems that having auto-tagged large numbers of tracks in my collection, in many cases auto-tagging saved one set of Genre tags to the DB and a different set to the tag (evidenced by their appearance in files to edit > out-of-date tags ) !

I haven't yet determined the cause of this with certainty, but seems that it might be related to auto-tagging not saving 'disabled' tags (i.e. tags that don't exist elsewhere in the DB) to the tag (exactly as specced), but then saving those 'disabled' tags to the DB (not expected!).
TagsNo tags attached.
Attached Files
Fixed in build2201

Activities

petr

2019-09-19 15:46

developer   ~0054715

Last edited: 2019-09-19 15:48

I don't think it was caused by auto-tag functionality. Most probably it was caused by any freeze/crash (maybe after auto-tag?). Also check Options - Library - Tags&Playlists - Update tags when editing properties.

rusty

2019-09-19 18:52

administrator   ~0054720

I'm able to replicate this with many tracks. I shared a sample track 'Heart Attack' by Demi Lovato .

rusty

2019-09-19 22:39

administrator   ~0054722

Here's a video that better illustrates the problem (along with a debug log):
https://www.screencast.com/t/V8C0IUIyCfWh
bug15958.7z (220,910 bytes)

Ludek

2019-09-20 10:23

developer   ~0054730

Last edited: 2019-09-20 10:28

As discussed offline, the comparison failed on genre "Pop;Pop/rock" (database) <> "Pop/Pop/rock" (tag)
ID3v2 tag uses '/' as multiple-value separator (according to spec) -- so in the file tag it is considered as 3 genres ("Pop/Pop/rock" -> 'Pop', 'Pop', 'rock')
database uses ';' as mutliple-value separator so it is considered as 2 genres ("Pop;Pop/rock" -> 'Pop', 'Pop/rock')

Solution:
Before auto-tagging use this conversion:
"Pop;Pop/rock" => "Pop;rock"

rusty

2019-09-20 11:23

administrator   ~0054731

But what I still don't understand is that if after the auto-tag operation I select the 'Heart Attack' open Properties, edit Disc # to '1' and save it; then when I navigate to Out-of-date tags, the track no longer appears (even though it still contains Genres: Pop; Pop/rock)!
i.e. if it's a tagging issue then the issue should also occur via the Properties dialog.

petr

2019-09-20 11:56

developer   ~0054735

Fixed

rusty

2019-09-20 21:38

administrator   ~0054761

Verified in 2200. i.e. now a recommendation of "Pop;Pop/rock" is saved as Pop; rock

But I still don't understand why we're taking this approach. i.e. as I asked at 0015958:0054731, I _can_ enter a set of tags in Properties where Genre =Pop;Pop/rock and the tag is saved correctly (i.e. no mismatch between tag and DB). So if that works, then why can't Auto-tag save tags in the same manner as Properties ?

petr

2019-09-22 08:10

developer   ~0054776

Fixed

rusty

2019-09-23 21:18

administrator   ~0054812

Verified 2201.