Bug 449934

Summary: Tracks without title metadata have incorrect duration in table view
Product: [Applications] Elisa Reporter: Krut Patel <kroot.patel>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: ASSIGNED ---    
Severity: normal CC: yerrey
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of Elisa with incorrect song durations

Description Krut Patel 2022-02-10 12:18:06 UTC
Created attachment 146531 [details]
Screenshot of Elisa with incorrect song durations

SUMMARY
For songs that are longer than 1 hour, the Tracks view shows "00:00" as the duration. It is displayed correctly in the Playlist view.

STEPS TO REPRODUCE
1. Import a song longer than 1 hour into Elisa
2. Open the Tracks view
3. Scroll to the song row

OBSERVED RESULT
Duration column shows "00:00"

EXPECTED RESULT
Duration column should show actual length of song.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.90
Qt Version: 5.15.2
Comment 1 Yerrey Dev 2022-06-28 09:05:44 UTC
Feel free to correct me, but the bug here isn't related to the length of the songs, rather that they are missing title metadata which means they are not inserted into the database.
Comment 2 Bug Janitor Service 2022-06-28 09:21:58 UTC
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/elisa/-/merge_requests/366
Comment 3 Krut Patel 2022-07-02 10:08:41 UTC
Thanks @Yerrey for looking at this. I can confirm that the files missing the duration do not have a title tag. And manually adding one does cause the duration to show up.