From e96af64208c2b35334f0204a015bc4285727cddd Mon Sep 17 00:00:00 2001 From: Fernando Trebien Date: Sat, 20 Apr 2019 20:05:59 -0300 Subject: [PATCH] RATING tag name changed to upper case to follow conventions --- rating.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rating.c b/rating.c index 98f70d2..a0c851e 100644 --- a/rating.c +++ b/rating.c @@ -59,9 +59,9 @@ rating_action_rate_helper(DB_plugin_action_t *action, int ctx, int rating) while (it) { if (deadbeef->pl_is_selected(it) || ctx == DDB_ACTION_CTX_NOWPLAYING) { if (rating == -1) { - deadbeef->pl_delete_meta(it, "rating"); + deadbeef->pl_delete_meta(it, "RATING"); } else { - deadbeef->pl_set_meta_int(it, "rating", rating); + deadbeef->pl_set_meta_int(it, "RATING", rating); } deadbeef->pl_lock(); const char *dec = deadbeef->pl_find_meta_raw(it, ":DECODER");