Page 1 of 1

BUG: Error in 'genre' Indexing

Posted: 25 Jan 2018 11:48
by strepto
Revision: a51247083
VLC: ced0c03d9d
Phone: SM-G930F @ Android 7.0

First of all - let me start by thanking the collective VLC team for an amazing product. I have been an avid lover of VLC since the dinosaurs ruled, and continue to love the product on all my platforms.

After the recent update in January, I experienced problems with track listing by 'Genre'. The problem may be related to other listings as well (Album, Songs, etc..), but I've only noticed it in 'Genre'. I use MP3Tag and MixedInKey to deal with tagging of my music collection, which is exclusively lossless .AIFF files, tagged with ID3 v.2.3.

The general problem is that VLC does not sort tracks by genre in a correct manner. Tracks that are tagged with a specific genre end up in the wrong category, or is not listed by a genre at all. Other tracks are listed in several- or all genres. One problem seems to be that all files in an album where one or more tracks tagged with a specific genre is present - all files in that album is listed, regardless of other genres present. VLC doesn't seem to filter out the tracks that are tagged with genres other than the one specific genre in question - resulting in the same tracks showing up in several 'genre' listings.

From MP3Tag I see that 'Genre' is handled by;

Value: $meta_sep(genre,\\)
Field: %genre%

Reading the very same collection of music in VLC on Windows works just fine.

Cheers,

Tord

Re: BUG: Error in 'genre' Indexing

Posted: 26 Jan 2018 12:46
by chouquette
Hi,

I believe this is now fixed. The issue was that we were extracting the genres' tracks using albums as an intermediate. As a result, any album having at least a track of a specific genre would end up being listed in its entirety in the tracks tab.

We now have the correct listing for genres:
- Albums will list all the albums with at least a track with this genre
- Tracks will list all the tracks with this genre.

If you can try out those APKs to confirm:
- http://people.videolan.org/~chouquette/ ... new-ml.apk
- http://people.videolan.org/~chouquette/ ... new-ml.apk

Re: BUG: Error in 'genre' Indexing

Posted: 26 Jan 2018 14:10
by Lotesdelere
Same problem for me with the latest debug build.

For instance, and since you have my files, when I check the Genres list and I go to the R&B genre, I can see in the Albums sublist a Greatest Hits folder with Earth, Wind & Fire AND ZZ Top.
E,W&F genre tag is R&B but ZZ Top genre tag is Rock. So ZZ Top has no reason to be in the R&B genre.

It looks like the Album tag has some priority over all other tags in the Artists and Genre main lists.

Re: BUG: Error in 'genre' Indexing

Posted: 29 Jan 2018 07:07
by strepto
Dear chouquette,

I tried with the build you suggested, and it does seem to have improved somewhat, as in I see more listings in the various genres - but still - the same tracks is placed in multiple genre listings, and some aren't listed at all.

Cheers,

Tord

Re: BUG: Error in 'genre' Indexing

Posted: 29 Jan 2018 22:01
by strepto

Re: BUG: Error in 'genre' Indexing

Posted: 30 Jan 2018 13:39
by chouquette
Same problem for me with the latest debug build.

For instance, and since you have my files, when I check the Genres list and I go to the R&B genre, I can see in the Albums sublist a Greatest Hits folder with Earth, Wind & Fire AND ZZ Top.
E,W&F genre tag is R&B but ZZ Top genre tag is Rock. So ZZ Top has no reason to be in the R&B genre.

It looks like the Album tag has some priority over all other tags in the Artists and Genre main lists.
I might have screwed something up, but in any case, in my local build, ZZ Top doesn't appear in R&B anymore. Hopefully we will release this afternoon in the beta channel.

Re: BUG: Error in 'genre' Indexing

Posted: 30 Jan 2018 22:17
by chouquette
The beta version is live :)

If you're not a tester yet but would like to check, you can enlist here: https://play.google.com/apps/testing/org.videolan.vlc

Re: BUG: Error in 'genre' Indexing

Posted: 19 Feb 2018 17:44
by strepto
Hi,

The problem remains in version 3.0.0.

This used to work just fine. What went wrong?

Re: BUG: Error in 'genre' Indexing

Posted: 20 Feb 2018 17:47
by chouquette
I'm a bit puzzled, I can't reproduce with the collection I have.

Could you provide me with a few files that exhibit the issue? Or at least could you provide a more specific description of your issue?

Re: BUG: Error in 'genre' Indexing

Posted: 21 Feb 2018 15:51
by strepto
Hi, thank you for your kind reply.

Looking closer into the subject, it seems I might have gotten a bit closer to the core of the problem. What I believed to be a sorting/cataloging error, seems to be related to VLC ability to read, analyse and categorize the files from the phone.

The files that I noticed were missing from the "AUDIO" -> "GENRE" section of VLC, are in fact not found by VLC at all. However, when going to "DIRECTORIES", and manually choosing the file to play - it works just fine.

Could this problem be related to how VLC reads .aif/.aiff files? It seems like the few .mp3 files I have are read- and sorted correctly.

Re: BUG: Error in 'genre' Indexing

Posted: 21 Feb 2018 16:37
by chouquette
That could be it indeed. Could you upload on of the files you're using somewhere? (dropbox/wetransfer/framadrop, you name it, or even by mail: hugo@videolan.org)

Re: BUG: Error in 'genre' Indexing

Posted: 23 Feb 2018 09:18
by strepto
Hi! I sent you an email with a few examples :)

Re: BUG: Error in 'genre' Indexing

Posted: 23 Feb 2018 09:58
by chouquette
Fixed by https://code.videolan.org/videolan/medi ... 2bb8f6b351

Thanks a lot for your help!