aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist/PlaylistRegistry.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-10-26 13:16:01 +0100
committerMax Kellermann <max@duempel.org>2015-10-26 13:16:01 +0100
commit22ebe0e58f6fc7515f92cc78b406f6a3a2a68aa8 (patch)
tree8fc8b5847499d9f427a4fcac8a8911620219700a /src/playlist/PlaylistRegistry.cxx
parentf072cbbba765e3b972655880970d65760a208843 (diff)
downloadmpd-22ebe0e58f6fc7515f92cc78b406f6a3a2a68aa8.tar.gz
mpd-22ebe0e58f6fc7515f92cc78b406f6a3a2a68aa8.tar.xz
mpd-22ebe0e58f6fc7515f92cc78b406f6a3a2a68aa8.zip
playlist/flac: re-add the plugin
This reverts commit d7d9dbd2c2798b6ff39acb07a3bed38b6f99e283 by reimplementing it with the current MPD API. 3 years ago, I was wrong about the "embcue" plugin being able to replace this one, because "embcue" reads a tag named "CUESHEET", while this plugin reads the "CUESHEET" FLAC metablock. There's an important difference between those two!
Diffstat (limited to 'src/playlist/PlaylistRegistry.cxx')
-rw-r--r--src/playlist/PlaylistRegistry.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/playlist/PlaylistRegistry.cxx b/src/playlist/PlaylistRegistry.cxx
index f8b1052bc..2156414be 100644
--- a/src/playlist/PlaylistRegistry.cxx
+++ b/src/playlist/PlaylistRegistry.cxx
@@ -27,6 +27,7 @@
#include "plugins/PlsPlaylistPlugin.hxx"
#include "plugins/AsxPlaylistPlugin.hxx"
#include "plugins/RssPlaylistPlugin.hxx"
+#include "plugins/FlacPlaylistPlugin.hxx"
#include "plugins/CuePlaylistPlugin.hxx"
#include "plugins/EmbeddedCuePlaylistPlugin.hxx"
#include "input/InputStream.hxx"
@@ -53,6 +54,9 @@ const struct playlist_plugin *const playlist_plugins[] = {
#ifdef ENABLE_SOUNDCLOUD
&soundcloud_playlist_plugin,
#endif
+#ifdef ENABLE_FLAC
+ &flac_playlist_plugin,
+#endif
#ifdef ENABLE_CUE
&cue_playlist_plugin,
&embcue_playlist_plugin,