Kodi Community Forum

Full Version: How to read local network address and display in pop up.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey fellas,

New here to the scene, I have been learning and working on writing some basic stuff to see how things work.

I am currently stuck on how can i read my current LAN IP given by the dhcp server and display it in a pop up dialogue.

I have the pop-up dialogue working with xbmcgui.Dialog().ok but I can't for the life of me find any documentation regarding reading local network IP of my machine.

I know you can see it in settings in xbmc but I would like my addon to display it when it's ran.