MythTV
master
mythtv
libs
libmythmetadata
metaiooggvorbis.h
Go to the documentation of this file.
1
#ifndef METAIOOGGVORBIS_H_
2
#define METAIOOGGVORBIS_H_
3
4
// libmythmetadata
5
#include "
metaiotaglib.h
"
6
#include "
musicmetadata.h
"
7
8
// Taglib
9
#include <vorbisfile.h>
10
11
using
TagLib::Tag;
12
using
TagLib::String;
13
21
class
META_PUBLIC
MetaIOOggVorbis
:
public
MetaIOTagLib
22
{
23
public
:
24
MetaIOOggVorbis
(
void
) =
default
;
25
~
MetaIOOggVorbis
(
void
)
override
=
default
;
26
27
bool
write
(
const
QString &
filename
,
MusicMetadata
* mdata)
override
;
// MetaIOTagLib
28
MusicMetadata
*
read
(
const
QString &
filename
)
override
;
// MetaIOTagLib
29
30
private
:
31
static
TagLib::Ogg::Vorbis::File *OpenFile(
const
QString &
filename
);
32
};
33
34
#endif
MetaIOTagLib::write
bool write(const QString &filename, MusicMetadata *mdata) override=0
Writes all metadata back to a file.
MusicMetadata
Definition:
musicmetadata.h:81
MetaIOTagLib::read
MusicMetadata * read(const QString &filename) override=0
Reads MusicMetadata from a file.
MetaIOOggVorbis
Read and write Vorbis (Xiph) tags in an Ogg container.
Definition:
metaiooggvorbis.h:21
MetaIOTagLib
Base for Taglib metadata classes.
Definition:
metaiotaglib.h:20
metaiotaglib.h
build_compdb.filename
filename
Definition:
build_compdb.py:21
META_PUBLIC
#define META_PUBLIC
Definition:
mythmetaexp.h:9
musicmetadata.h
Generated on Tue Jan 7 2025 03:18:26 for MythTV by
1.8.17