aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_control.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-04 22:15:31 +0100
committerMax Kellermann <max@duempel.org>2009-02-04 22:15:31 +0100
commit19397a84cc1e8c985eb76df1c106bae7fb9e2fc8 (patch)
treea5e022da49e09850e63fa5d0920647e68bdf8675 /src/playlist_control.c
parent2a1bef222555cbc0a84b0c90ccf4309b35e6387b (diff)
downloadmpd-19397a84cc1e8c985eb76df1c106bae7fb9e2fc8.tar.gz
mpd-19397a84cc1e8c985eb76df1c106bae7fb9e2fc8.tar.xz
mpd-19397a84cc1e8c985eb76df1c106bae7fb9e2fc8.zip
playlist: added G_LOG_DOMAIN
Removed the explicit "playlist:" prefix from all log messages.
Diffstat (limited to '')
-rw-r--r--src/playlist_control.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/playlist_control.c b/src/playlist_control.c
index 22b922872..2d9c180e7 100644
--- a/src/playlist_control.c
+++ b/src/playlist_control.c
@@ -24,6 +24,11 @@
#include "playlist_internal.h"
#include "player_control.h"
+#include <glib.h>
+
+#undef G_LOG_DOMAIN
+#define G_LOG_DOMAIN "playlist"
+
enum {
/**
* When the "prev" command is received, rewind the current
@@ -39,7 +44,7 @@ void stopPlaylist(struct playlist *playlist)
assert(playlist->current >= 0);
- g_debug("playlist: stop");
+ g_debug("stop");
playerWait();
playlist->queued = -1;
playlist->playing = false;