diff -ur a/src/hotkey/gui.c b/src/hotkey/gui.c --- a/src/hotkey/gui.c 2012-12-30 02:29:23.413735563 +0400 +++ b/src/hotkey/gui.c 2012-12-30 02:17:07.857966619 +0400 @@ -84,6 +84,7 @@ [EVENT_SHOW_AOSD] = N_("Show On-Screen-Display"), [EVENT_TOGGLE_REPEAT] = N_("Toggle Repeat"), [EVENT_TOGGLE_SHUFFLE] = N_("Toggle Shuffle"), + [EVENT_TOGGLE_STOP] = N_("Toggle Stop After Current"), [EVENT_RAISE] = N_("Raise Player Window(s)") }; diff -ur a/src/hotkey/plugin.c b/src/hotkey/plugin.c --- a/src/hotkey/plugin.c 2012-12-30 02:29:23.413735563 +0400 +++ b/src/hotkey/plugin.c 2012-12-30 02:17:07.857966619 +0400 @@ -282,6 +282,12 @@ return TRUE; } + if (event == EVENT_TOGGLE_STOP) + { + aud_set_bool (NULL, "stop_after_current_song", ! aud_get_bool (NULL, "stop_after_current_song")); + return TRUE; + } + if (event == EVENT_RAISE) { aud_interface_show (TRUE); diff -ur a/src/hotkey/plugin.h b/src/hotkey/plugin.h --- a/src/hotkey/plugin.h 2012-12-30 02:29:23.413735563 +0400 +++ b/src/hotkey/plugin.h 2012-12-30 02:17:07.857966619 +0400 @@ -24,6 +24,7 @@ EVENT_TOGGLE_REPEAT, EVENT_TOGGLE_SHUFFLE, + EVENT_TOGGLE_STOP, EVENT_RAISE,