mirror of
https://github.com/LowganDev/PlayfinPS4.git
synced 2026-10-18 10:00:58 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b14eff740 |
No files matched your search
+1
-1
@@ -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
@@ -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)
|
||||
|
||||
@@ -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\"");
|
||||
|
||||
Reference in new issue
Block a user