Bug 425392 - Songs missing the "Album Artist" tag do not appear in Artists and Albums views and and have no durations in Tracks view
Summary: Songs missing the "Album Artist" tag do not appear in Artists and Albums vie...
Alias: None
Product: Elisa
Classification: Applications
Component: general (show other bugs)
Version: 24.01.75
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Matthieu Gallien
Depends on:
Reported: 2020-08-15 17:14 UTC by Patrick Silva
Modified: 2023-11-16 16:50 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:

screen recording (2.87 MB, video/webm)
2020-08-15 17:14 UTC, Patrick Silva
Workaround (301.20 KB, video/mp4)
2021-11-11 14:16 UTC, Nagy Tibor

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-08-15 17:14:05 UTC
Created attachment 130891 [details]
screen recording

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
Comment 1 Maksym Hazevych 2020-09-12 16:56:40 UTC
Possibly related to bug 426417
Comment 2 Nate Graham 2020-11-11 06:07:17 UTC
Could you attach one of the problematic MP3 files?
Comment 3 Patrick Silva 2020-11-11 11:24:44 UTC
you can download a test file in the following link

Comment 4 Nate Graham 2020-11-11 17:58:09 UTC
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.
Comment 5 Patrick Silva 2021-09-19 18:43:33 UTC
Currently not even Tracks view lists the problematic tracks.
Comment 6 Nagy Tibor 2021-11-11 07:59:49 UTC
This happens because that MP3 has an empty TPE2 metadata field.
Comment 7 Nagy Tibor 2021-11-11 14:16:31 UTC
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.)