diff options
author | Max Kellermann <max@duempel.org> | 2015-10-26 13:16:01 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-10-26 13:16:01 +0100 |
commit | 22ebe0e58f6fc7515f92cc78b406f6a3a2a68aa8 (patch) | |
tree | 8fc8b5847499d9f427a4fcac8a8911620219700a /src/playlist/plugins/FlacPlaylistPlugin.hxx | |
parent | f072cbbba765e3b972655880970d65760a208843 (diff) | |
download | mpd-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/plugins/FlacPlaylistPlugin.hxx')
-rw-r--r-- | src/playlist/plugins/FlacPlaylistPlugin.hxx | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/playlist/plugins/FlacPlaylistPlugin.hxx b/src/playlist/plugins/FlacPlaylistPlugin.hxx new file mode 100644 index 000000000..632be6b12 --- /dev/null +++ b/src/playlist/plugins/FlacPlaylistPlugin.hxx @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2003-2015 The Music Player Daemon Project + * http://www.musicpd.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef MPD_FLAC_PLAYLIST_PLUGIN_HXX +#define MPD_FLAC_PLAYLIST_PLUGIN_HXX + +extern const struct playlist_plugin flac_playlist_plugin; + +#endif |