1 Commits
Author SHA1 Message Date
Logan 6b14eff740 build: Playfin 1.0.0 2026-10-17 05:34:38 +02:00
3 changed files with 5 additions and 4 deletions

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
# Changelog
## 1.0.0 (not released yet)
## 1.0.0 (2026-10-17)
- Servers: several servers and several users per server, found on the network or added by address; sign-in with
a password or Quick Connect; HTTPS with certificate pinning for self-signed servers.
+1 -1
View File
@@ -8,7 +8,7 @@ if(PLATFORM_PS4 AND NOT CMAKE_TOOLCHAIN_FILE)
set(CMAKE_TOOLCHAIN_FILE "$ENV{OPENORBIS}/cmake/ps4.cmake" CACHE FILEPATH "")
endif()
project(Playfin VERSION 0.1.0 LANGUAGES C CXX)
project(Playfin VERSION 1.0.0 LANGUAGES C CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
+3 -2
View File
@@ -2,6 +2,7 @@
#include <string>
#include "core/version.hpp"
#include "jellyfin/client.hpp"
#include "net/crypto.hpp"
#include "support/fake_jellyfin.hpp"
@@ -37,8 +38,8 @@ TEST_CASE("authorization header") {
Session s = session("http://x");
s.deviceName = "PlayStation 4";
s.deviceId = "d1";
const std::string base =
"MediaBrowser Client=\"Playfin\", Device=\"PlayStation 4\", DeviceId=\"d1\", Version=\"0.1.0\"";
const std::string base = "MediaBrowser Client=\"Playfin\", Device=\"PlayStation 4\", DeviceId=\"d1\", Version=\"" +
std::string(core::version()) + "\"";
CHECK(jellyfin::authorizationHeader(s) == base);
s.token = "t\"x,y\n";
CHECK(jellyfin::authorizationHeader(s) == base + ", Token=\"txy\"");