aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder_api.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c
index 5d5763b1f..2009733ad 100644
--- a/src/decoder_api.c
+++ b/src/decoder_api.c
@@ -45,6 +45,11 @@ void decoder_initialized(struct decoder * decoder,
notify_signal(&pc.notify);
}
+const char *decoder_get_url(mpd_unused struct decoder * decoder, char * buffer)
+{
+ return get_song_url(buffer, dc.current_song);
+}
+
enum decoder_command decoder_get_command(mpd_unused struct decoder * decoder)
{
return dc.command;