From 5952b60b326c0bf15d2f6d0be4a4ddc29260c9af Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sun, 22 Mar 2015 03:09:25 -0500 Subject: [PATCH] Fixed post capabilities Client was not showing as a player in the web client. --- resources/lib/DownloadUtils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/lib/DownloadUtils.py b/resources/lib/DownloadUtils.py index 0c610768..02dab5d6 100644 --- a/resources/lib/DownloadUtils.py +++ b/resources/lib/DownloadUtils.py @@ -110,8 +110,7 @@ class DownloadUtils(): playableMediaTypes = "Audio,Video,Photo" supportedCommands = "Play,Playstate,DisplayContent,GoHome,SendString,GoToSettings,DisplayMessage,PlayNext" - url = "http://" + mb3Host + ":" + mb3Port + "/mediabrowser/Sessions/Capabilities?Id=" + sessionId + "&PlayableMediaTypes=" + playableMediaTypes + "&SupportedCommands=" + supportedCommands - + "&SupportsMediaControl=True" + url = "http://" + mb3Host + ":" + mb3Port + "/mediabrowser/Sessions/Capabilities?Id=" + sessionId + "&PlayableMediaTypes=" + playableMediaTypes + "&SupportedCommands=" + supportedCommands + "&SupportsMediaControl=True" postData = {} #postData["Id"] = sessionId; #postData["PlayableMediaTypes"] = "Video";