2023-03-06 14:42:04 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
// Copyright The Music Player Daemon Project
|
2016-02-19 19:06:06 +01:00
|
|
|
|
|
|
|
#ifndef MPD_TAG_ID3_LOAD_HXX
|
|
|
|
#define MPD_TAG_ID3_LOAD_HXX
|
|
|
|
|
2016-02-19 19:16:40 +01:00
|
|
|
#include "Id3Unique.hxx"
|
2016-02-19 19:06:06 +01:00
|
|
|
|
2016-02-19 19:35:16 +01:00
|
|
|
class InputStream;
|
2016-02-19 19:06:06 +01:00
|
|
|
|
|
|
|
/**
|
2016-02-19 19:35:16 +01:00
|
|
|
* Loads the ID3 tags from the #InputStream into a libid3tag object.
|
|
|
|
*
|
2017-02-08 08:48:44 +01:00
|
|
|
* @return nullptr on error or if no ID3 tag was found in the file
|
2016-02-19 19:35:16 +01:00
|
|
|
*/
|
|
|
|
UniqueId3Tag
|
|
|
|
tag_id3_load(InputStream &is);
|
|
|
|
|
2016-02-19 19:06:06 +01:00
|
|
|
#endif
|