aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_queue.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-12-26 12:55:24 +0100
committerMax Kellermann <max@duempel.org>2009-12-27 16:08:53 +0100
commit201316cd67d374357c1aabc8a4aa2210fe20f1e8 (patch)
tree1f7454c5ca8ee2610d6013dc4a7a5fa11e1ceb58 /src/playlist_queue.h
parenta038bca74580359a883dc8d526feb7104a677d8c (diff)
downloadmpd-201316cd67d374357c1aabc8a4aa2210fe20f1e8.tar.gz
mpd-201316cd67d374357c1aabc8a4aa2210fe20f1e8.tar.xz
mpd-201316cd67d374357c1aabc8a4aa2210fe20f1e8.zip
playlist_queue: resolve relative URIs, database lookup
Prepend the playlist's base URI to relative song URIs. Look up songs in the database (if the URI refers to a local song file). Merge existing database metadata with metadata from the playlist plugin.
Diffstat (limited to 'src/playlist_queue.h')
-rw-r--r--src/playlist_queue.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/playlist_queue.h b/src/playlist_queue.h
index b571cd63a..b1fc9dde9 100644
--- a/src/playlist_queue.h
+++ b/src/playlist_queue.h
@@ -32,9 +32,12 @@ struct playlist;
/**
* Loads the contents of a playlist and append it to the specified
* play queue.
+ *
+ * @param uri the URI of the playlist, used to resolve relative song
+ * URIs
*/
enum playlist_result
-playlist_load_into_queue(struct playlist_provider *source,
+playlist_load_into_queue(const char *uri, struct playlist_provider *source,
struct playlist *dest);
/**