output/httpd/IcyMetaDataServer: pass metaint as std::size_t
This commit is contained in:
parent
9d66fc491c
commit
8906ce07de
|
@ -12,7 +12,7 @@
|
|||
std::string
|
||||
icy_server_metadata_header(const char *name,
|
||||
const char *genre, const char *url,
|
||||
const char *content_type, int metaint) noexcept
|
||||
const char *content_type, std::size_t metaint) noexcept
|
||||
{
|
||||
return fmt::format("HTTP/1.1 200 OK\r\n"
|
||||
"icy-notice1:<BR>This stream requires an audio player!<BR>\r\n" /* TODO */
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
// Copyright The Music Player Daemon Project
|
||||
|
||||
#ifndef MPD_ICY_META_DATA_SERVER_HXX
|
||||
#define MPD_ICY_META_DATA_SERVER_HXX
|
||||
#pragma once
|
||||
|
||||
#include "Page.hxx"
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
|
@ -15,9 +15,7 @@ struct Tag;
|
|||
std::string
|
||||
icy_server_metadata_header(const char *name,
|
||||
const char *genre, const char *url,
|
||||
const char *content_type, int metaint) noexcept;
|
||||
const char *content_type, std::size_t metaint) noexcept;
|
||||
|
||||
PagePtr
|
||||
icy_server_metadata_page(const Tag &tag, const TagType *types) noexcept;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue