Replies: 8 comments 9 replies
-
Try searching foobar 2000 forums, there's a whole thread on it: I'm sure you'll find something similar to what you need. |
Beta Was this translation helpful? Give feedback.
-
Regarding your other questions, there's a rating plugin which you could download, which allows to set ratings using a menu. But I don't know whether it supports configuring a range to be 0..100.
Title formatting is read only. It's used for converting and displaying metadata in various ways. It can't be used to modify metadata. |
Beta Was this translation helpful? Give feedback.
-
@kpcee I guess it depends on file format though. I don't think there's any mapping of rating value for FLAC. |
Beta Was this translation helpful? Give feedback.
-
This would require modifying every tag read/write in deadbeef, to ensure the rating gets converted into a common range on read, and then converted into a format-specific range on write. It should not be done by the plugin. |
Beta Was this translation helpful? Give feedback.
-
Not sure why you'd think the opposite. The point of what I wrote is to make ratings use different range, depending on the format, and be compatible with other apps. |
Beta Was this translation helpful? Give feedback.
-
There's no such thing. Deadbeef itself doesn't have functionality for changing the ratings in media files. The plugin does it in some way that seemed appropriate, and it works for some file formats, but not the others. |
Beta Was this translation helpful? Give feedback.
-
I have tested this with a FLAC file with Vorbis Comments and a MP3 with ID3v2 tag. Creating a rating frame in both files with the plugin or e.g. kid3-cli, the rating frame can be viewed and changed via the internal Track Properties dialog. After changing a rating from 1 to 5 and saving it, DeaDBeeF changes the value to 255 when saving the ID3v2 tag, but in the Vorbis Comments it stays at the value 5. I have no problem with this behavior since I don't use FLAC or using another player. However, I can also understand MountainX point of view, since the Vorbis Comments ratings saved by DeaDBeeF are only displayed correctly under DeaDBeeF. |
Beta Was this translation helpful? Give feedback.
-
The point is that the tag reading and writing is responsibility of Deadbeef, not the plugin, and conversion of rating range belongs there.
The plugin only provides the UI pretty much.
To fix the issue with incorrect rating ranges -- Deadbeef would have to convert ratings to some common representation when reading, and then convert back to the file format when writing, regardless of the plugins.
… On 25 Sep 2021, at 02.34, Dave ***@***.***> wrote:
I think I should add another comment just to say that I'm still confused as to what the possible path toward a solution is. Is it to change the plugin or to change deadbeef?
Deadbeef itself doesn't have functionality for changing the ratings in media files. The plugin does it in some way that seemed appropriate, and it works for some file formats, but not the others.
I probably misunderstood, but when I read that, I understootd it to mean: the responsibility for how to save ratings metadata for FLAC files lies with the plugin. But then...
This would require modifying every tag read/write in deadbeef, to ensure the rating gets converted into a common range on read, and then converted into a format-specific range on write. It should not be done by the plugin.
On the other hand, this sounds the value range for ratings metadata should not be determined by the plugin.
All I can say is that I'm confused about the possible implementation, so sorry if some of my comments don't make sense. I'm not trying to tell you guys what you should be doing.
I do have some familiarity with FLAC metadata for ratings and the ranges of values stored in that metadata by different apps. I can also do testing. So if I can help in any way, I am glad to do so.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#2677 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAOO2EVS45AX7TVBPW5DNQTUDUKKBANCNFSM5EQOUJZQ>.
|
Beta Was this translation helpful? Give feedback.
-
Steps to reproduce the problem
What's going on? Describe the problem in as much detail as possible.
My flac files all have a 0-100 rating stored in an tag named
rating
. I display this in DeadBeef with a custom column that has the format:I was reading older issues today and I learned how to display my ratings as stars. The following works with my 0-100 rating range and translates it to 5 stars for display only:
This also works and displays the numerical rating across ten stars:
I'm really enjoying this. I'd like to figure out how to use half-stars in a total length of 5 stars, and maybe even round up (such as set 4 stars for a rating of 79).
However, to make it really useful, I need to be able to click on a star to set a numerical rating value that gets saved back to the track's metadata. Other music players have this functionality (Quod Libet, Strawberry, etc.). This is my main interest in regard to this issue: how to save ratings with one click by clicking on a star.
Saving it back to the existing
rating
tag would make the most sense. I'm just going thru all the title formatting options, but this one caught my eye:Is that part of the puzzle to accomplishing this goal? Or is title formatting strictly a read-only operation?
If title formatting is not the answer, is there an existing way to accomplish the goal of a one-click method to save ratings for tracks?
If there is no existing method, please consider this a feature request.
I am aware that I can change a numerical rating value within deadbeef by these steps:
In my experience, if I don't do all those steps very carefully, my rating change does not get saved. It requires multiple mouse clicks (both right and left) as well as multiple typing steps.
In contrast, some other plays allow setting a rating with these steps:
That's it. Done.
Ratings are one of the main ways I manage my music and it is getting very tedious to do this with the 8 steps above. I'm willing to put a bounty on this feature if it requires development.
Thank you for the great music player!
Information about the software:
Deadbeef version: DeaDBeeF 1.8.8
OS: Arch Linux
Beta Was this translation helpful? Give feedback.
All reactions