Bug 441001 - Elisa ignores ratings for music files rated outside of Elisa
Summary: Elisa ignores ratings for music files rated outside of Elisa
Status: CONFIRMED
Alias: None
Product: Elisa
Classification: Applications
Component: general (show other bugs)
Version: 21.04.3
Platform: Gentoo Packages Linux
: HI normal
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-15 09:38 UTC by Steve Evans
Modified: 2023-11-06 09:53 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of elisa wth 0 rating (29.58 KB, image/png)
2021-08-15 09:38 UTC, Steve Evans
Details
Screenshot of kid3 showing the tag values in the same music file (44.38 KB, image/png)
2021-08-15 09:41 UTC, Steve Evans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Evans 2021-08-15 09:38:22 UTC
Created attachment 140739 [details]
Screenshot of elisa wth 0 rating

All my music files (mp3, ogg and flac) have ratings recorded in their TAGS. Elisa does not show them.

For a comparison the clementine music player does display these values.


STEPS TO REPRODUCE
1. Examine a music file with an embedded rating

OBSERVED RESULT

The rating is always shown as zero stars

EXPECTED RESULT

The rating should match the value in the file

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Steve Evans 2021-08-15 09:41:09 UTC
Created attachment 140740 [details]
Screenshot of kid3 showing the tag values in the same music file
Comment 2 Nate Graham 2022-03-11 14:26:33 UTC
Can reproduce the issue.
Comment 3 Nate Graham 2022-03-11 14:33:27 UTC
To elaborate, I can reproduce this by rating a song with 5 stars in kid3.

Thereafter, both baloo and kfilemetadata notice it:

$ ~/kde/build/kfilemetadata/bin/dump '/home/nate/Music/algir/Menoim Kadima/01. Haadama Tipatach.m4a' | grep -i rating
17:             Rating: 10 (int)

$ balooshow '/home/nate/Music/algir/Menoim Kadima/01. Haadama Tipatach.m4a' | grep -i rating
19:             Rating: 10

However it does not show up as rated with 5 stars in Elisa, or--interestingly enough--Dolphin's information Panel sidebar as well. So it seems like both suffer from the same or a similar deficiency.
Comment 4 Karl Ove Hufthammer 2022-07-02 12:06:44 UTC
Note that different file formats (mp3, ogg, m4a, wma, …) all use different tags for storing rating information *and* different numeric rating scales (e.g., 0–100 or 0–255) *and* different number-to-stars cut-offs. To properly handle this, take a look at how it’s implemented in Kid3 (the ‘Settings → Tags → All Tags → Rating’ table and the ‘ratingstars’ pseudo tag in the development version).
Comment 5 Ben Bonacci 2023-11-06 09:52:51 UTC
*** Bug 476594 has been marked as a duplicate of this bug. ***