diff options
author | Max Kellermann <max@duempel.org> | 2009-02-04 22:15:31 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-04 22:15:31 +0100 |
commit | 19397a84cc1e8c985eb76df1c106bae7fb9e2fc8 (patch) | |
tree | a5e022da49e09850e63fa5d0920647e68bdf8675 /src/playlist.c | |
parent | 2a1bef222555cbc0a84b0c90ccf4309b35e6387b (diff) | |
download | mpd-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.c | 8 |
1 files changed, 5 insertions, 3 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); |