summaryrefslogtreecommitdiff
path: root/hlsPlayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hlsPlayer.cpp')
-rw-r--r--hlsPlayer.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/hlsPlayer.cpp b/hlsPlayer.cpp
index fe52c7c..605280f 100644
--- a/hlsPlayer.cpp
+++ b/hlsPlayer.cpp
@@ -326,10 +326,15 @@ bool cHlsSegmentLoader::StopLoader(void)
void cHlsSegmentLoader::AddHeader(Poco::Net::HTTPRequest& req)
{
req.add("X-Plex-Client-Identifier", Config::GetInstance().GetUUID());
- req.add("X-Plex-Product", "Plex Home Theater");
req.add("X-Plex-Device", "PC");
- req.add("X-Plex-Platform", "Plex Home Theater");
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");
+ } else {
+ req.add("X-Plex-Product", "Plex Home Theater");
+ req.add("X-Plex-Platform", "Plex Home Theater");
+ }
}
bool cHlsSegmentLoader::Active(void)