From 944b04b89a82afffe282ceb20f16fd1ea8d008d5 Mon Sep 17 00:00:00 2001 From: shaun Date: Mon, 23 Mar 2015 19:44:16 +1100 Subject: [PATCH] we dont support DisplayContent in this addon --- resources/lib/DownloadUtils.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/lib/DownloadUtils.py b/resources/lib/DownloadUtils.py index 1a0ad5d0..fcddcda3 100644 --- a/resources/lib/DownloadUtils.py +++ b/resources/lib/DownloadUtils.py @@ -130,8 +130,10 @@ class DownloadUtils(): self.logMsg("Session Id : " + str(sessionId)) # post capability data - playableMediaTypes = "Audio,Video,Photo" - supportedCommands = "Play,Playstate,DisplayContent,GoHome,SendString,GoToSettings,DisplayMessage,PlayNext" + #playableMediaTypes = "Audio,Video,Photo" + playableMediaTypes = "Audio,Video" + #supportedCommands = "Play,Playstate,DisplayContent,GoHome,SendString,GoToSettings,DisplayMessage,PlayNext" + supportedCommands = "Play,Playstate,SendString,DisplayMessage,PlayNext" url = "http://" + mb3Host + ":" + mb3Port + "/mediabrowser/Sessions/Capabilities?Id=" + sessionId + "&PlayableMediaTypes=" + playableMediaTypes + "&SupportedCommands=" + supportedCommands + "&SupportsMediaControl=True" postData = {}