playlist: emit IDLE_OPTIONS when resetting single mode
This commit is contained in:
parent
1bffdabe41
commit
0a0c78674f
1
NEWS
1
NEWS
|
@ -4,6 +4,7 @@ ver 0.15.11 (2010/??/??)
|
||||||
* decoders:
|
* decoders:
|
||||||
- mp4ff: support tags "albumartist", "band"
|
- mp4ff: support tags "albumartist", "band"
|
||||||
- mikmod: fix memory leak
|
- mikmod: fix memory leak
|
||||||
|
* playlist: emit IDLE_OPTIONS when resetting single mode
|
||||||
|
|
||||||
|
|
||||||
ver 0.15.10 (2010/05/30)
|
ver 0.15.10 (2010/05/30)
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
|
|
||||||
#include "playlist_internal.h"
|
#include "playlist_internal.h"
|
||||||
#include "player_control.h"
|
#include "player_control.h"
|
||||||
|
#include "idle.h"
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
|
@ -156,6 +157,8 @@ nextSongInPlaylist(struct playlist *playlist)
|
||||||
if (next_order < 0) {
|
if (next_order < 0) {
|
||||||
/* cancel single */
|
/* cancel single */
|
||||||
playlist->queue.single = false;
|
playlist->queue.single = false;
|
||||||
|
idle_add(IDLE_OPTIONS);
|
||||||
|
|
||||||
/* no song after this one: stop playback */
|
/* no song after this one: stop playback */
|
||||||
stopPlaylist(playlist);
|
stopPlaylist(playlist);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue