https://bugs.kde.org/show_bug.cgi?id=454437

--- Comment #3 from Karl Ove Hufthammer <k...@huftis.org> ---
> So I think that it would be best to support something like
> 
> kid3-cli -c "set rating '***'" file.mp3
> 
> whereas using number would still provide the current low-level interface.
> What do you think?

Yes, I think that could work. But I think it’s a bit strange that the stars
have to be quoted, so I would prefer:

kid3-cli -c 'set rating ***' file.mp3

Also, this syntax can’t support half-stars (e.g., 3.5 stars), which is
supported in some media players. (It is also used in the KDE rating system,
e.g., shown in Dolphin, though this currently doesn’t read rating tags from
audio files.) So I think a cleaner implementation would be:

kid3-cli -c 'set stars 3' file.mp3
or
kid3-cli -c 'set ratingstars 3' file.mp3

and where one can use half-stars:

kid3-cli -c 'set ratingstars 3.5' file.mp3

(And this should give an error for invalid rating star values.)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to