You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
551 B
C++

// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright The Music Player Daemon Project
#ifndef MPD_TAG_GENERIC_HXX
#define MPD_TAG_GENERIC_HXX
class TagHandler;
class InputStream;
class Path;
/**
* Attempts to scan APE or ID3 tags from the specified stream. The
* stream does not need to be rewound.
*
* Throws on error.
*/
bool
ScanGenericTags(InputStream &is, TagHandler &handler);
/**
* Attempts to scan APE or ID3 tags from the specified file.
*
* Throws on error.
*/
bool
ScanGenericTags(Path path, TagHandler &handler);
#endif