From b23ef22eaf783360ec70b98f6e3c5dbfc89a0a90 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Tue, 15 Mar 2022 23:55:45 +0000 Subject: [PATCH] Update: Added stub for Xiph metadata (vorbis comments, ...) --- src/Makefile.am | 2 ++ src/metadata_xiph.c | 17 +++++++++++++++++ src/metadata_xiph.h | 12 ++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 src/metadata_xiph.c create mode 100644 src/metadata_xiph.h diff --git a/src/Makefile.am b/src/Makefile.am index 5796bcc0..e58b7016 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -47,6 +47,7 @@ noinst_HEADERS = \ event_exec.h \ event_url.h \ acl.h auth.h \ + metadata_xiph.h \ format.h \ format_ogg.h \ format_mp3.h \ @@ -95,6 +96,7 @@ icecast_SOURCES = \ listensocket.c \ fastevent.c \ navigation.c \ + metadata_xiph.c \ format.c \ format_ogg.c \ format_mp3.c \ diff --git a/src/metadata_xiph.c b/src/metadata_xiph.c new file mode 100644 index 00000000..40ef6ece --- /dev/null +++ b/src/metadata_xiph.c @@ -0,0 +1,17 @@ +/* Icecast + * + * This program is distributed under the GNU General Public License, version 2. + * A copy of this license is included with this source. + * + * Copyright 2022, Philipp "ph3-der-loewe" Schafft + */ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include "metadata_xiph.h" + +#include "logging.h" +#define CATMODULE "metadata-xiph" + diff --git a/src/metadata_xiph.h b/src/metadata_xiph.h new file mode 100644 index 00000000..5386c1fc --- /dev/null +++ b/src/metadata_xiph.h @@ -0,0 +1,12 @@ +/* Icecast + * + * This program is distributed under the GNU General Public License, version 2. + * A copy of this license is included with this source. + * + * Copyright 2022, Philipp "ph3-der-loewe" Schafft + */ + +#ifndef __METADATA_XIPH_H__ +#define __METADATA_XIPH_H__ + +#endif