summarylogtreecommitdiffstats
path: root/qt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'qt.patch')
-rw-r--r--qt.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/qt.patch b/qt.patch
new file mode 100644
index 000000000000..5b415cab7c05
--- /dev/null
+++ b/qt.patch
@@ -0,0 +1,14 @@
+--- a/src/player/CodecsComponent.cpp 2019-12-10 20:22:36.000000000 +0300
++++ b/src/player/CodecsComponent.cpp 2019-12-25 18:13:48.973701844 +0300
+@@ -683,9 +683,9 @@
+ Downloader::HeaderList headers;
+ QString auth = SystemComponent::Get().authenticationToken();
+ if (auth.size())
+- headers.append({"X-Plex-Token", auth});
+- headers.append({"X-Plex-Product", WITH_CODECS ? "Plex Media Player" : "openpmp"});
+- headers.append({"X-Plex-Platform", "Konvergo"});
++ headers.append(qMakePair<QString, QString>("X-Plex-Token", auth));
++ headers.append(qMakePair<QString, QString>("X-Plex-Product", WITH_CODECS ? "Plex Media Player" : "openpmp"));
++ headers.append(qMakePair<QString, QString>("X-Plex-Platform", "Konvergo"));
+ return headers;
+ }