Merge pull request #7668 from heitbaum/snapcast11

[le11] snapclient and snapserver: update to 0.27.0 and addon (1)
This commit is contained in:
CvH 2023-03-27 10:58:37 +02:00 committed by GitHub
commit 866c027410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 14 additions and 58 deletions

View File

@ -2,8 +2,8 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="asio" PKG_NAME="asio"
PKG_VERSION="1.24.0" PKG_VERSION="1.27.0"
PKG_SHA256="6bb8139ebc1c97a4364f6e517b9258ecc96345a3bfc4d110f931ac123dbdc824" PKG_SHA256="9bee8e50236ce7752325efde38cae223cbc85759ed49509d9cbc5d55458332d9"
PKG_LICENSE="BSL" PKG_LICENSE="BSL"
PKG_SITE="http://think-async.com/Asio" PKG_SITE="http://think-async.com/Asio"
PKG_URL="https://github.com/chriskohlhoff/asio/archive/asio-${PKG_VERSION//./-}.zip" PKG_URL="https://github.com/chriskohlhoff/asio/archive/asio-${PKG_VERSION//./-}.zip"

View File

@ -2,8 +2,8 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="snapcast" PKG_NAME="snapcast"
PKG_VERSION="0.26.0" PKG_VERSION="0.27.0"
PKG_SHA256="166353267a5c461a3a0e7cbd05d78c4bfdaebeda078801df3b76820b54f27683" PKG_SHA256="c662c6eafbaa42a4797a4ed6ba4a7602332abf99f6ba6ea88ff8ae59978a86ba"
PKG_LICENSE="GPLv3" PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/badaix/snapcast" PKG_SITE="https://github.com/badaix/snapcast"
PKG_URL="https://github.com/badaix/snapcast/archive/v${PKG_VERSION}.tar.gz" PKG_URL="https://github.com/badaix/snapcast/archive/v${PKG_VERSION}.tar.gz"

View File

@ -1,48 +0,0 @@
commit 438b83b0b93f2914b1830347b4e24722618d9ba4
Author: Rudi Heitbaum <rudi@heitbaum.com>
Date: Wed Dec 21 11:31:29 2022 +0000
server/control_session_http: update for boost 1.81.0
diff --git a/server/control_session_http.cpp b/server/control_session_http.cpp
index 385b3197..6522f5a9 100644
--- a/server/control_session_http.cpp
+++ b/server/control_session_http.cpp
@@ -127,8 +127,8 @@ boost::beast::string_view mime_type(boost::beast::string_view path)
std::string path_cat(boost::beast::string_view base, boost::beast::string_view path)
{
if (base.empty())
- return path.to_string();
- std::string result = base.to_string();
+ return static_cast<std::string>(path);
+ std::string result = static_cast<std::string>(base);
char constexpr path_separator = '/';
if (result.back() == path_separator)
result.resize(result.size() - 1);
@@ -171,7 +171,7 @@ void ControlSessionHttp::handle_request(http::request<Body, http::basic_fields<A
res.set(http::field::server, HTTP_SERVER_NAME);
res.set(http::field::content_type, "text/html");
res.keep_alive(req.keep_alive());
- res.body() = why.to_string();
+ res.body() = static_cast<std::string>(why);
res.prepare_payload();
return res;
};
@@ -182,7 +182,7 @@ void ControlSessionHttp::handle_request(http::request<Body, http::basic_fields<A
res.set(http::field::server, HTTP_SERVER_NAME);
res.set(http::field::content_type, "text/html");
res.keep_alive(req.keep_alive());
- res.body() = "The resource '" + target.to_string() + "' was not found.";
+ res.body() = "The resource '" + static_cast<std::string>(target) + "' was not found.";
res.prepare_payload();
return res;
};
@@ -204,7 +204,7 @@ void ControlSessionHttp::handle_request(http::request<Body, http::basic_fields<A
res.set(http::field::server, HTTP_SERVER_NAME);
res.set(http::field::content_type, "text/html");
res.keep_alive(req.keep_alive());
- res.body() = "An error occurred: '" + what.to_string() + "'";
+ res.body() = "An error occurred: '" + static_cast<std::string>(what) + "'";
res.prepare_payload();
return res;
};

View File

@ -1 +1,3 @@
initial release 1
- asio: update to 1.27.0
- snapcast: update to 0.27.0

View File

@ -2,8 +2,8 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="snapclient" PKG_NAME="snapclient"
PKG_VERSION="0.26.0" PKG_VERSION="0.27.0"
PKG_REV="0" PKG_REV="1"
PKG_ARCH="any" PKG_ARCH="any"
PKG_LICENSE="GPLv3" PKG_LICENSE="GPLv3"
PKG_DEPENDS_TARGET="toolchain alsa-plugins snapcast" PKG_DEPENDS_TARGET="toolchain alsa-plugins snapcast"

View File

@ -1 +1,3 @@
initial release 1
- asio: update to 1.27.0
- snapcast: update to 0.27.0

View File

@ -2,8 +2,8 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="snapserver" PKG_NAME="snapserver"
PKG_VERSION="0.26.0" PKG_VERSION="0.27.0"
PKG_REV="0" PKG_REV="1"
PKG_ARCH="any" PKG_ARCH="any"
PKG_LICENSE="GPLv3" PKG_LICENSE="GPLv3"
PKG_DEPENDS_TARGET="toolchain nqptp shairport-sync snapcast" PKG_DEPENDS_TARGET="toolchain nqptp shairport-sync snapcast"