aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag_file.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-02-12 15:20:38 +0100
committerMax Kellermann <max@duempel.org>2012-02-12 16:10:20 +0100
commit1735284a2ac1773614786b9f5caf50fa29347654 (patch)
tree10837862ab981fa2ec97cdec2008ea5370bc2375 /src/tag_file.h
parent8a3192ffc16c54b1d50ea190f1e3d4f941ceefd1 (diff)
downloadmpd-1735284a2ac1773614786b9f5caf50fa29347654.tar.gz
mpd-1735284a2ac1773614786b9f5caf50fa29347654.tar.xz
mpd-1735284a2ac1773614786b9f5caf50fa29347654.zip
playlist/embcue: new plugin for reading embedded cue sheets
Parses CUE data from the "CUESHEET" tag. Needs further integration in the update thread.
Diffstat (limited to 'src/tag_file.h')
-rw-r--r--src/tag_file.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/tag_file.h b/src/tag_file.h
new file mode 100644
index 000000000..8cf1af3cb
--- /dev/null
+++ b/src/tag_file.h
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2003-2012 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_TAG_FILE_H
+#define MPD_TAG_FILE_H
+
+#include "check.h"
+
+#include <stdbool.h>
+
+struct tag_handler;
+
+/**
+ * Scan the tags of a song file. Invokes matching decoder plugins,
+ * but does not invoke the special "APE" and "ID3" scanners.
+ */
+bool
+tag_file_scan(const char *path_fs,
+ const struct tag_handler *handler, void *handler_ctx);
+
+#endif