summaryrefslogtreecommitdiff
path: root/hlsPlayer.cpp
diff options
context:
space:
mode:
authorChristian <zerov83@gmail.com>2016-01-16 20:13:22 +0100
committerChristian <zerov83@gmail.com>2016-01-16 20:13:22 +0100
commit8b862dd3213937e3a7d8df53e3255dfcd01719c6 (patch)
tree71cadebc3aad3f395d83af91a8ccab19fd3bb973 /hlsPlayer.cpp
parent53641a15e7ff7c092d8b73a0e59f8b1edad6c9e3 (diff)
downloadvdr-plugin-plex-8b862dd3213937e3a7d8df53e3255dfcd01719c6.tar.gz
vdr-plugin-plex-8b862dd3213937e3a7d8df53e3255dfcd01719c6.tar.bz2
testing new transcode settings
Diffstat (limited to 'hlsPlayer.cpp')
-rw-r--r--hlsPlayer.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/hlsPlayer.cpp b/hlsPlayer.cpp
index c0cd423..68f4b2e 100644
--- a/hlsPlayer.cpp
+++ b/hlsPlayer.cpp
@@ -384,14 +384,13 @@ bool cHlsSegmentLoader::StopLoader(void)
void cHlsSegmentLoader::AddHeader(Poco::Net::HTTPRequest& req)
{
req.add("X-Plex-Client-Identifier", Config::GetInstance().GetUUID());
- req.add("X-Plex-Device", "PC");
+// req.add("X-Plex-Device", "PC");
req.add("X-Plex-Model", "Linux");
if(Config::GetInstance().UseCustomTranscodeProfile) {
- req.add("X-Plex-Product", "VDR Plex Plugin");
- req.add("X-Plex-Platform", "VDR Plex Plugin");
+ req.add("X-Plex-Device", "VDR Plex Plugin");
} else {
- req.add("X-Plex-Product", "Plex Home Theater");
- req.add("X-Plex-Platform", "Plex Home Theater");
+ //req.add("X-Plex-Device", "Plex Home Theater");
+ req.add("X-Plex-Device", "tvOS");
}
if(Config::GetInstance().UsePlexAccount && !m_pVideo->m_pServer->GetAuthToken().empty()) {