aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/playlist.c8
-rw-r--r--src/playlist_control.c7
2 files changed, 11 insertions, 4 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 146ef9f0f..3b9c33ce8 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -30,6 +30,9 @@
#include <assert.h>
+#undef G_LOG_DOMAIN
+#define G_LOG_DOMAIN "playlist"
+
void playlistVersionChange(struct playlist *playlist)
{
queue_modify_all(&playlist->queue);
@@ -80,8 +83,7 @@ playlist_queue_song_order(struct playlist *playlist, unsigned order)
song = queue_get_order(&playlist->queue, order);
uri = song_get_uri(song);
- g_debug("playlist: queue song %i:\"%s\"",
- playlist->queued, uri);
+ g_debug("queue song %i:\"%s\"", playlist->queued, uri);
g_free(uri);
queueSong(song);
@@ -178,7 +180,7 @@ playPlaylistOrderNumber(struct playlist *playlist, int orderNum)
song = queue_get_order(&playlist->queue, orderNum);
uri = song_get_uri(song);
- g_debug("playlist: play %i:\"%s\"", orderNum, uri);
+ g_debug("play %i:\"%s\"", orderNum, uri);
g_free(uri);
playerPlay(song);
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;