Created attachment 130891 [details]
This issue affects both Elisa 20.08 and Elisa master.
Something weird occurs between Elisa and some of my mp3 files.
I add their path to Elisa settings but Elisa does not show them
under Albums and Artists views despite their correct tags. These mp3 files are only listed under Tracks view and the duration of all of them is 0:00. However, when I add them to playlist the playback occurs as expected and I can see their correct durations. Watch the attached screen recording please.
Enabling file system indexing in Elisa settings does no difference and Elisa started via Konsole shows no suspicious message. Furthermore, I have several music players installed on my system and Elisa is the only one that does not handle these mp3 files as expected.
Elisa should list all files under Artists and Albums views and correctly detect their durations
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2
Possibly related to bug 426417
Could you attach one of the problematic MP3 files?
you can download a test file in the following link
I can confirm the issue with that file. The duration shows up correctly in Dolphin's Places panel so it seems like KFileMetadata is doing its part and the problem is somewhere in Elisa.
Currently not even Tracks view lists the problematic tracks.
This happens because that MP3 has an empty TPE2 metadata field.
Created attachment 143449 [details]
That TPE2 ID3 field corresponds to "Album Artist" in Elisa. If you remove that empty field through the Details window you can see your track/album/artist data starting to correctly appear. Don't know what's exactly the root cause of this bug and how it could be fixed.
(The video's search view track duplication issue is a separate bug. Elisa sometimes not persisting the removal of empty metadata fields shown in the video is a separate bug. You may need to hit "Refresh Music Collection" twice for the your updated metadata to appear. If you hit that menu while you're at the Tracks page you may need to navigate away and back to that page for being able to find your track through the search field. That is a separate bug.)