Kodi Community Forum
How do I use Nawar kodi-cli? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: How do I use Nawar kodi-cli? (/showthread.php?tid=375418)



How do I use Nawar kodi-cli? - steelhouse - 2023-12-16

I'm trying to understand why I can't get Nawar kodi-cli to work.

Code:

kodi-cli -y https://www.youtube.com/watch?v=310QegMWzSg
failure: Some Kodi configurations are not loaded. Please make sure they are.

From looking at the source, it seems it wants some environment variables, but even if I set them, it has no effect

 
Code:

env|grep -i kodi_
KODI_USER=kodi
KODI_PASSWORD=kodi
KODI_PORT=8080
KODI_HOST=10.10.10.1

I see that there are two different kodi-cli

https://github.com/nawar/kodi-cli#arguments
https://github.com/JavaWiz1/kodi-cli

I'm using the Nawar one