mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Fixed post capabilities
Client was not showing as a player in the web client.
This commit is contained in:
parent
1a472a43cd
commit
5952b60b32
1 changed files with 1 additions and 2 deletions
|
@ -110,8 +110,7 @@ class DownloadUtils():
|
||||||
playableMediaTypes = "Audio,Video,Photo"
|
playableMediaTypes = "Audio,Video,Photo"
|
||||||
supportedCommands = "Play,Playstate,DisplayContent,GoHome,SendString,GoToSettings,DisplayMessage,PlayNext"
|
supportedCommands = "Play,Playstate,DisplayContent,GoHome,SendString,GoToSettings,DisplayMessage,PlayNext"
|
||||||
|
|
||||||
url = "http://" + mb3Host + ":" + mb3Port + "/mediabrowser/Sessions/Capabilities?Id=" + sessionId + "&PlayableMediaTypes=" + playableMediaTypes + "&SupportedCommands=" + supportedCommands
|
url = "http://" + mb3Host + ":" + mb3Port + "/mediabrowser/Sessions/Capabilities?Id=" + sessionId + "&PlayableMediaTypes=" + playableMediaTypes + "&SupportedCommands=" + supportedCommands + "&SupportsMediaControl=True"
|
||||||
+ "&SupportsMediaControl=True"
|
|
||||||
postData = {}
|
postData = {}
|
||||||
#postData["Id"] = sessionId;
|
#postData["Id"] = sessionId;
|
||||||
#postData["PlayableMediaTypes"] = "Video";
|
#postData["PlayableMediaTypes"] = "Video";
|
||||||
|
|
Loading…
Reference in a new issue