Skip to content

Commit

Permalink
RATING tag name changed to upper case to follow conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
ftrebien committed Apr 21, 2019
1 parent 6c49480 commit e96af64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rating.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit e96af64

Please sign in to comment.