aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue_print.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-07-25 13:18:57 +0200
committerMax Kellermann <max@duempel.org>2010-07-25 13:28:39 +0200
commitb233c145fa28f2a9e90a40993bc35f408d256e08 (patch)
tree81a4520fde88423f5654c3c97fc748ca7065f44e /src/queue_print.c
parent9de5bb9e23915f847b59d32d9e857c45974b01d7 (diff)
downloadmpd-b233c145fa28f2a9e90a40993bc35f408d256e08.tar.gz
mpd-b233c145fa28f2a9e90a40993bc35f408d256e08.tar.xz
mpd-b233c145fa28f2a9e90a40993bc35f408d256e08.zip
{queue,song}_print: print relative paths if possible
If a song with an absolute path points inside the music directory, print only the relative part. This happens when partial songs from a playlist file were loaded.
Diffstat (limited to '')
-rw-r--r--src/queue_print.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/queue_print.c b/src/queue_print.c
index 3b49dee61..53ddfb689 100644
--- a/src/queue_print.c
+++ b/src/queue_print.c
@@ -24,6 +24,7 @@
#include "song_print.h"
#include "locate.h"
#include "client.h"
+#include "mapper.h"
/**
* Send detailed information about a range of songs in the queue to a