Code

Save lyrics uses CMD_SAVE_PLAYLIST
authorJeffrey Middleton <jefromi@gmail.com>
Tue, 10 Mar 2009 15:53:41 +0000 (10:53 -0500)
committerJeffrey Middleton <jefromi@gmail.com>
Tue, 10 Mar 2009 15:53:41 +0000 (10:53 -0500)
Much more intuitive than using CMD_ADD.

src/screen_help.c
src/screen_lyrics.c

index 827284d5456b951058bbafa5c1e58092dbcc3fb5..f4f07ffa026607b9db973dd433fbab61dc308aaa 100644 (file)
@@ -152,7 +152,7 @@ static help_text_row_t help_text[] = {
        { 0, CMD_SELECT, N_("(Re)load lyrics") },
        { 0, CMD_INTERRUPT, N_("Interrupt retrieval") },
        { 0, CMD_LYRICS_UPDATE, N_("Explicitly download lyrics") },
-       { 0, CMD_ADD, N_("Save lyrics") },
+       { 0, CMD_SAVE_PLAYLIST, N_("Save lyrics") },
 #endif
 #ifdef ENABLE_OUTPUTS_SCREEN
        { 0, CMD_NONE, NULL },
index 6a413510b1c72a53835e186f872e449be0b87bc4..b9896f11bebb4a5a3d4f4dd44176ec58f97cd33f 100644 (file)
@@ -234,7 +234,7 @@ lyrics_cmd(mpdclient_t *c, command_t cmd)
                        screen_text_clear(&text);
                }
                return true;
-       case CMD_ADD:
+       case CMD_SAVE_PLAYLIST:
                if (current.loader == NULL && current.artist != NULL &&
                    current.title != NULL && store_lyr_hd() == 0)
                        /* lyrics for the song were saved on hard disk */