Django communication server for KODI plugin
#1
Lightbulb 
Hello,
I created a django application (server) how to create a client, kodi plugin socket support (TCP communication) for my server? Any advice, example? Pleas help me.

Thank you!
Reply
#2
Nobody uses raw TCP. If you control both sides of the communication, REST server and JSON-encoded payload is the preferred way to go. For server-side you can use Django REST framework and for the client side requests is the most obvious choice.
Reply
#3
Hi, ok. Thank you for your help. I will try to put it into operation. Blush
Is there any example for the client - plug-in to KODI?  Wink

Thanks again.
Reply
#4
Pick whatever you like. Almost every plugin retrieves some data from the Net. Purely offline plugins are rare. Also I mentioned requests library. Maybe you should start from requests docs.
Reply
#5
Ok, thank.
Reply

Logout Mark Read Team Forum Stats Members Help
Django communication server for KODI plugin0